]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
* manual/sysinfo.texi: Document MTASC-safety properties.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6af8bab7
AO
12014-02-01 Alexandre Oliva <aoliva@redhat.com>
2
3 * manual/sysinfo.texi: Document MTASC-safety properties.
4
663b02d7
AO
52014-02-01 Alexandre Oliva <aoliva@redhat.com>
6
7 * manual/startup.texi: Document MTASC-safety properties.
8
973f180b
AO
92014-02-01 Alexandre Oliva <aoliva@redhat.com>
10
11 * manual/socket.texi: Document MTASC-safety properties.
12
8f3c25c8
AO
132014-02-01 Alexandre Oliva <aoliva@redhat.com>
14
15 * manual/signal.texi: Document MTASC-safety properties.
16
542210fb
AO
172014-01-31 Alexandre Oliva <aoliva@redhat.com>
18
19 * manual/setjmp.texi: Document MTASC-safety properties.
20
433c45a2
AO
212014-01-31 Alexandre Oliva <aoliva@redhat.com>
22
23 * manual/search.texi: Document MTASC-safety properties.
24
c8ce789c
AO
252014-01-31 Alexandre Oliva <aoliva@redhat.com>
26
27 * manual/resource.texi: Document MTASC-safety properties.
28
19f5d29c
AO
292014-01-31 Alexandre Oliva <aoliva@redhat.com>
30
31 * manual/process.texi: Document MTASC-safety properties.
32
e2dfb7f4
AO
332014-01-31 Alexandre Oliva <aoliva@redhat.com>
34
35 * manual/platform.texi: Document MTASC-safety properties.
36
8c1413f5
AO
372014-01-31 Alexandre Oliva <aoliva@redhat.com>
38
39 * manual/pipe.texi: Document MTASC-safety properties.
40
03483ada
AO
412014-01-31 Alexandre Oliva <aoliva@redhat.com>
42
43 * manual/pattern.texi: Document MTASC-safety properties.
44
29e7e2df
AO
452014-01-31 Alexandre Oliva <aoliva@redhat.com>
46
47 * manual/message.texi: Document MTASC-safety properties.
48
9f529d7c
AO
492014-01-31 Alexandre Oliva <aoliva@redhat.com>
50
51 [BZ #12751]
52 * manual/memory.texi: Document MTASC-safety properties.
53
27aaa791
AO
542014-01-31 Alexandre Oliva <aoliva@redhat.com>
55
56 * manual/math.texi: Document MTASC-safety properties.
57
f2d58726
AO
582014-01-31 Alexandre Oliva <aoliva@redhat.com>
59
60 * manual/locale.texi: Document MTASC-safety properties.
61
2cc3615c
AO
622014-01-31 Alexandre Oliva <aoliva@redhat.com>
63
64 * manual/llio.texi: Document MTASC-safety properties.
65
d9f0ec97
AO
662014-01-31 Alexandre Oliva <aoliva@redhat.com>
67
68 * manual/libdl.texi: New.
69
e7c4409a
AO
702014-01-31 Alexandre Oliva <aoliva@redhat.com>
71
72 * manual/lang.texi: Document MTASC-safety properties.
73
27bdc63c
AO
742014-01-31 Alexandre Oliva <aoliva@redhat.com>
75
76 * manual/job.texi: Document MTASC-safety properties.
77
a7b90ea9
AO
782014-01-31 Alexandre Oliva <aoliva@redhat.com>
79
80 * manual/getopt.texi: Document MTASC-safety properties.
81
c49130e3
AO
822014-01-31 Alexandre Oliva <aoliva@redhat.com>
83
84 * manual/ctype.texi: Document MTASC-safety properties.
85
0d23a5c1
MR
862014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
87
88 [BZ #16046]
89 * csu/libc-tls.c (static_map): Remove variable.
90 (__libc_setup_tls): Use main executable's link map for TLS data.
91 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
92 casing for LM_ID_BASE and GL(dl_nns).
93 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
94 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
95 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
96 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
97 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
98 member.
99 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
100 l_phnum members.
101
0037bb60
AO
1022014-01-30 Alexandre Oliva <aoliva@redhat.com>
103
104 * manual/debug.texi: Document MTASC-safety properties.
105
409e00bd
L
1062014-01-29 H.J. Lu <hongjiu.lu@intel.com>
107
108 [BZ #16510]
109 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
110 of __x86_64__ when disabling x87 inline functions.
111
86e60666
AO
1122014-01-29 Alexandre Oliva <aoliva@redhat.com>
113
114 * manual/charset.texi: Document MTASC-safety properties.
115
76167637
AO
1162014-01-29 Alexandre Oliva <aoliva@redhat.com>
117
118 * manual/crypt.texi: Document MTASC-safety properties.
119
e567f2a0
AO
1202014-01-29 Alexandre Oliva <aoliva@redhat.com>
121
122 * manual/conf.texi: Document MTASC-safety properties.
123
b719dafd
AO
1242014-01-29 Alexandre Oliva <aoliva@redhat.com>
125
126 * manual/arith.texi: Document MTASC-safety properties.
127
4a16c662
AO
1282014-01-29 Alexandre Oliva <aoliva@redhat.com>
129
130 * manual/argp.texi: Document MTASC-safety properties.
131
0a57b83e
AO
1322014-01-29 Alexandre Oliva <aoliva@redhat.com>
133
134 * manual/macros.texi: Introduce macros to document multi
135 thread, asynchronous signal and asynchronous cancellation
136 safety properties.
137 * manual/intro.texi: Introduce the properties themselves.
138
feab2397
KK
1392014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
140
141 * sysdeps/sh/sh4/Makefile: New file.
142
1c0d11bc
AS
1432014-01-27 Andreas Schwab <schwab@linux-m68k.org>
144
145 * math/gen-libm-test.pl ($srcdir): New variable.
146 ($auto_input): Use it.
147
af37a8a3
SP
1482014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
149
d7b00f98
SP
150 [BZ #16506]
151 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
152 access beyond array bounds when parsing netgroups file.
153
af37a8a3
SP
154 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
155 the old buffer before realloc.
156
0c00f062
AM
1572014-01-27 Allan McRae <allan@archlinux.org>
158
159 * po/fr.po: Update French translation from translation project.
160
7d69a1b0
KK
1612014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
162
163 * sysdeps/sh/libm-test-ulps: Regenerate.
164
6e697ff7
DM
1652014-01-24 David S. Miller <davem@davemloft.net>
166
167 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
168
9cadb35c
KK
1692014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
170
171 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
172 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
173
5d41dadf
SP
1742013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
175
176 [BZ #16474]
177 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
178 string pointers after reallocation.
179
0bad441c
KK
1802014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
181
182 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
183 __SH4A__ instead of __SH_FPU_ANY__.
184
7007c661
KK
1852014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
186
187 * sysdeps/sh/fpu_control.h: New file.
188 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
189 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
190 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
191 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
192 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
193 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
194 * sysdeps/sh/sys/ucontext.h: Remove.
195 * sysdeps/sh/sys: Remove directory.
196
0f0c35e4
AK
1972014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
198
199 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
200 s390/sys/ucontext.h.
201 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
202 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
203
4959e284
L
2042014-01-20 H.J. Lu <hongjiu.lu@intel.com>
205
206 [BZ #15605]
207 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
208
d98720e0
AZ
2092014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
210
211 [BZ#16431]
212 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
213 Adjust the vDSO correctly for internal calls.
214 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
215
91cbd0bc
AM
2162014-01-20 Allan McRae <allan@archlinux.org>
217
218 * po/ca.po: Update Catalan translation from translation project.
219
7a02cfad
MF
2202014-01-16 Mike Frysinger <vapier@gentoo.org>
221
222 * sysdeps/s390/sotruss-lib.c: New file.
223
736c304a
AZ
2242014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
225
226 [BZ#16430]
6e077ee5 227 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
228 (__GI___gettimeofday): Alias for a different internal symbol to avoid
229 local calls issues by not having a PLT stub required for IFUNC calls.
230 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
231
94d0cea0
JM
2322014-01-16 Joseph Myers <joseph@codesourcery.com>
233
234 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
235 * math/test-fpucw-static.c: Likewise.
236
980cb518
SP
2372013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
238
239 [BZ #16453]
240 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
241
2393fc01
AZ
2422014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
243
244 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
245 implementation for powerpc.
246
d359bcc2
OB
2472014-01-15 Ondřej Bílka <neleai@seznam.cz>
248
249 [BZ #14782]
250 * sysdeps/posix/system.c (__libc_system): Do not enable
251 asynchronous cancellation.
252
7beb48cb
AK
2532014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
254
255 [BZ #16427]
256 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
257 handling only for numbers special also in the IEEE case.
258
c20d5bf5
AK
2592014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
260
261 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
262
e83bd4ee
AM
2632014-01-11 Allan McRae <allan@archlinux.org>
264
76d0ea69
AM
265 * po/bg.po: Update Bulgarian translation from translation project.
266
e83bd4ee
AM
267 * po/de.po: Update German translation from translation project.
268
bc2ba20a
RM
2692014-01-10 Roland McGrath <roland@hack.frob.com>
270
271 * sysdeps/generic/gcc-compat.h: New file.
272
649ecea2
SP
2732014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
274
275 * benchtests/asin-inputs: Correct slow inputs.
276 * benchtests/acos-inputs: Likewise.
277
1b19c006
AM
2782014-01-10 Allan McRae <allan@archlinux.org>
279
a46dab08
AM
280 * po:sv.po: Update Swedish translation from translation project.
281
421df74a
AM
282 * po/vi.po: Update Vietnamese translation from translation project.
283
d61c51a7
AM
284 * po/eo.po: Update Esperanto translation from translation project.
285
0339a319
AM
286 * po/cs.po: Update Czech translation from translation project.
287
94ad3e99
AM
288 * po/nl.po: Update Dutch translation from translation project.
289
e349ca71
AM
290 * po/pl.po: Update Polish translation from translation project.
291
ddf930c1
AM
292 * po/ru.po: Update Russian translation from translation project.
293
1b19c006
AM
294 * po/uk.po: Update Ukrainian translation from translation project.
295
9f236c49
BM
2962014-01-08 Brooks Moses <bmoses@google.com>
297
298 * elf/dl-load.c: Fix comment typo.
299
cd6701cf
CD
3002014-01-08 Carlos O'Donell <carlos@redhat.com>
301
302 * po/header.pot: Rename to...
303 * po/pot.header: ... this.
304 * po/Makefile: Use pot.header.
305
66671c84
YK
3062014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
307 Maxim Kuvyrkov <maxim@kugelworks.com>
308
309 [BZ #16394]
cd6701cf
CD
310 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
311 SRC and DEST against LEN.
66671c84 312
38f34581
AZ
3132014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
314
315 [BZ #16414]
316 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
317 implementation.
318 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
319
3202014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
321
322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
323
4c327f2a
JM
3242014-01-08 Joseph Myers <joseph@codesourcery.com>
325
326 [BZ #16408]
327 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
328 for large positive arguments.
329
b821f414
JM
3302014-01-07 Joseph Myers <joseph@codesourcery.com>
331
1f0f2067
JM
332 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
333
a5a326f6
JM
334 * math/auto-libm-test-in: Mark various tests with
335 xfail-rounding:ldbl-128ibm.
336 * math/auto-libm-test-out: Regenerated.
337
b821f414
JM
338 [BZ #16407]
339 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
340 Increase overflow threshold.
341
94c8a4bc
OB
3422014-01-07 Ondřej Bílka <neleai@seznam.cz>
343
344 [BZ #14286]
345 * stdio-common/vfprintf.c: Check for integer overflow.
346
87ded0c3
AK
3472014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
348
349 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
350 the first argument and return value of __tls_get_addr_internal.
351
c5eebdd0
AK
3522014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
353
354 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
355 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
356
05d138ef
AK
3572014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
358
359 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
360 * sysdeps/s390/rtld-global-offsets.sym: New file.
361 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
362 GLIBC_2.19 symbol.
363 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
364 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
365 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
366 ... this.
367 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
368 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
369 ... this.
370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
371 Regenerate.
372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
373 Regenerate.
374 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
375 halfs of GPRs for high_gprs contexts.
376 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
377 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
378 field.
379 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
380 uc_flags field.
381 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
382 64 bit versions:
383 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
384 for high GPRs (uc_high_gprs) and for future extensions
385 (__reserved).
386 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
387 for future extensions (__reserved).
388 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
389 64 bit versions:
390 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
391 SC_HIGHGPRS offset definition.
392 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
393 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
394
93a45ff1
AK
3952014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
396
397 * Versions.def: Add GLIBC_2.19 for libpthread.
398 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
399 siglongjmp for libpthread with GLIBC_2.19 symver.
400 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
401 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
402 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
403 * sysdeps/s390/__longjmp.c: New file.
404 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
405 * sysdeps/s390/longjmp.c: New file.
406 * sysdeps/s390/setjmp.S: New file.
407 * sysdeps/s390/sigjmp.S: New file.
408 * sysdeps/s390/v1-longjmp.c: New file.
409 * sysdeps/s390/v1-setjmp.h: New file.
410 * sysdeps/s390/v1-sigjmp.c: New file.
411 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
412 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
413 GLIBC_2.19 version.
414 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
415 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
416 versioned symbols for ____longjmp_chk.
417 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
418 Likewise.
419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
420 Regenerate.
421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
422 Regenerate.
423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
424 Regenerate.
425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
426 Regenerate.
427 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
428 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
429 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
430 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
431 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
432 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
433 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
434 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
435 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
436 * sysdeps/s390/rtld-__longjmp.c: New file.
437 * sysdeps/s390/rtld-setjmp.S: New file.
438
eb3fc44b
JM
4392014-01-06 Joseph Myers <joseph@codesourcery.com>
440
441 [BZ #16400]
442 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
443 Return -__logl (x) for small positive arguments without evaluating
444 a polynomial.
445
9341dde4
MF
4462014-01-06 Mike Frysinger <vapier@gentoo.org>
447
448 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
449 Rename to ...
450 (__ptrace_peeksiginfo_args): ... this.
451 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
452 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
453 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
454
4cff0293
AM
4552014-01-06 Allan McRae <allan@archlinux.org>
456
457 * inet/netinet/in.h: Fix typo in comment.
458
75595dcf
AJ
4592014-01-05 Andreas Jaeger <aj@suse.de>
460
461 * sysdeps/i386/fpu/libm-test-ulps: Update.
462
79c1e109
AM
4632014-01-05 Allan McRae <allan@archlinux.org>
464
dd804818
AM
465 * po/libc.pot: Regenerated.
466
79c1e109
AM
467 * malloc/memusagestat.c: Fix gettext call formatting.
468
0c813d1f
SK
4692014-01-04 Sami Kerola <kerolasa@iki.fi>
470
471 * nscd/nscd.c: Improve usage() output.
472
20f4a8d9
MF
4732014-01-04 Mike Frysinger <vapier@gentoo.org>
474
475 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
476 * sysdeps/unix/sysv/linux/configure: Regenerated.
477 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
478 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
479
22562bb2
JM
4802014-01-03 Joseph Myers <joseph@codesourcery.com>
481
482 [BZ #16390]
483 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
484 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
485
d7ad2d9b
AZ
4862014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
487
488 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
489 extra tokens at end of #undef directive.
490 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
491 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
492 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
493
7f507ee1
AH
4942014-01-03 Andrew Hunter <ahh@google.com>
495
0da43124 496 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
497 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
498 atomic_compare_and_exchange_bool_acq
499 (_dl_allocate_static_tls): Block signals.
500 * elf/dl-tls.c (allocate_and_init): Return void.
501 (_dl_update_slotinfo): Block signals, use atomic update.
502
7dd009d8
JM
5032014-01-03 Joseph Myers <joseph@codesourcery.com>
504
24db925a
JM
505 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
506
7dd009d8
JM
507 * math/auto-libm-test-in: Mark various tests with
508 xfail-rounding:ldbl-128ibm.
509 * math/auto-libm-test-out: Regenerated.
510
396e3ecf
JM
5112014-01-02 Joseph Myers <joseph@codesourcery.com>
512
819e5d50
JM
513 [BZ #16386]
514 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
515 numbers with subnormal high part when calculating exponent.
516
90b6a1e5
JM
517 [BZ #16385]
518 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
519 fabs.
520
396e3ecf
JM
521 [BZ #16384]
522 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
523 M_LN2l.
524 (__ieee754_acoshl): Use __log1pl not __log1p.
525
6c8dbf00
OB
5262013-01-02 Ondřej Bílka <neleai@seznam.cz>
527
528 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
529 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
530 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
531 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
532 Convert to GNU style.
533 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
534 mem2mem_check, mem2chunk_check, top_check, realloc_check,
535 memalign_check, __malloc_set_state): Likewise.
536 * malloc/mallocbug.c (main): Likewise.
537 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
538 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
539 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
540 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
541 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
542 * malloc/malloc.h: Likewise.
543 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
544 memalignhook, reallochook, mabort): Likewise.
545 * malloc/mcheck.h: Likewise.
546 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
547 mmap64, mremap, munmap, dest): Likewise.
548 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
549 * malloc/morecore.c (__default_morecore): Likewise.
550 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
551 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
552 _obstack_allocated_p, obstack_free, _obstack_memory_used,
553 print_and_abort): Likewise.
554 * malloc/obstack.h: Likewise.
555 * malloc/set-freeres.c (__libc_freeres): Likewise.
556 * malloc/tst-mallocstate.c (main): Likewise.
557 * malloc/tst-mtrace.c (main): Likewise.
558 * malloc/tst-realloc.c (do_test): Likewise.
559
d4124212
SP
5602013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
561
9a3c6a6f
SP
562 [BZ #16366]
563 * nscd/netgroupcache.c (do_notfound): New function.
564 (addgetnetgrentX): Use it.
565
d4124212
SP
566 [BZ # 16365]
567 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
568 NSS_STATUS_NOTFOUND.
569
97b9a009
JM
5702014-01-01 Joseph Myers <joseph@codesourcery.com>
571
572 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
574
d4697bc9
AM
5752014-01-01 Allan McRae <allan@archlinux.org>
576
ddb3687f
AM
577 * scripts/update-copyrights: Update configure input file suffix.
578
88726d48
AM
579 * NEWS: Update copyright year.
580 * catgets/gencat.c: Likewise.
581 * csu/version.c: Likewise.
582 * debug/catchsegv.sh: Likewise.
583 * debug/pcprofiledump.c: Likewise.
584 * debug/xtrace.sh: Likewise.
585 * elf/ldconfig.c: Likewise.
586 * elf/ldd.bash.in: Likewise.
587 * elf/pldd.c: Likewise.
588 * elf/sotruss.ksh: Likewise.
589 * elf/sprof.c: Likewise.
590 * iconv/iconv_prog.c: Likewise.
591 * iconv/iconvconfig.c: Likewise.
592 * locale/programs/locale.c: Likewise.
593 * locale/programs/localedef.c: Likewise.
594 * login/programs/pt_chown.c: Likewise.
595 * malloc/memusage.sh: Likewise.
596 * malloc/memusagestat.c: Likewise.
597 * malloc/mtrace.pl: Likewise.
598 * manual/libc.texinfo: Likewise.
599 * nscd/nscd.c: Likewise.
600 * nss/getent.c: Likewise.
601 * nss/makedb.c: Likewise.
602 * posix/getconf.c: Likewise.
603 * scripts/test-installation.pl: Likewise.
604
d4697bc9
AM
605 * All files with FSF copyright notices: Update copyright dates
606 using scripts/update-copyrights.
607 * intl/plural.c: Regenerated.
608 * locale/programs/charmap-kw.h: Likewise.
609 * locale/programs/locfile-kw.h: Likewise.
610
c8590f9d
MF
6112013-12-31 Mike Frysinger <vapier@gentoo.org>
612
613 * sysdeps/unix/sysv/linux/configure: Regenerated.
614 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
615 the linux/fanotify.h header.
616 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
617 HAVE_LINUX_FANOTIFY_H is defined.
618
b19221b9
SP
6192013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
620
dd1d85e5
SP
621 * benchtests/cos-inputs: New inputs.
622 * benchtests/sin-inputs: Likewise.
623
1acbb90f
SP
624 * benchtests/atan-inputs: New inputs. Fix name of multiple
625 precision fallback inputs.
626
4c012ed3
SP
627 * benchtests/atanh-inputs: New inputs.
628 * benchtests/tanh-inputs: Likewise.
629
eff98324
SP
630 * benchtests/acosh-inputs: New inputs.
631 * benchtests/asinh-inputs: Likewise.
632
ce641152
SP
633 * benchtests/cosh-inputs: New inputs.
634 * benchtests/sinh-inputs: Likewise.
635
b19221b9
SP
636 * benchtests/acos-inputs: Add more inputs.
637 * benchtests/asin-inputs: Likewise.
638
030a4976 6392013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 640
030a4976 641 [BZ #16375]
9dcc8f11
VS
642 * manual/arith.texi: Fix spelling.
643 * manual/charset.texi: Likewise.
644 * manual/errno.texi: Likewise.
645 * manual/filesys.texi: Likewise.
646 * manual/lang.texi: Likewise.
647 * manual/llio.texi: Likewise.
648 * manual/locale.texi: Likewise.
649 * manual/message.texi: Likewise.
650 * manual/resource.texi: Likewise.
651 * manual/search.texi: Likewise.
652 * manual/setjmp.texi: Likewise.
653 * manual/stdio.texi: Likewise.
654 * manual/string.texi: Likewise.
655 * manual/sysinfo.texi: Likewise.
656 * manual/time.texi: Likewise.
657
11520a57
CD
6582013-12-27 Carlos O'Donell <carlos@redhat.com>
659
660 * po/sl.po: New file.
661
471103ae
MF
6622013-12-27 Mike Frysinger <vapier@gentoo.org>
663
664 * .gitignore: Add core/.gdbinit/.gdb_history.
665
6c9642ed
AM
6662013-12-27 Allan McRae <allan@archlinux.org>
667
668 [BZ #16369]
669 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
670 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
671
3f637079
BM
6722013-12-24 Brooks Moses <bmoses@google.com>
673
674 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
675 all compilers that claim C++98 compliance, not just GCC.
676 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
677 Likewise.
678
abc26e99
MK
6792013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
680
681 * NEWS: Restore accidentally deleted bug-fix entries.
682
362b47fe
MK
6832013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
684 Ondřej Bílka <neleai@seznam.cz>
685
686 [BZ #15073]
687 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 688 have_lock.
362b47fe 689
b9bcbbcb
OB
6902013-12-23 Ondřej Bílka <neleai@seznam.cz>
691
692 [BZ #12986]
693 * manual/stdio.texi (String Input Conversions): Clarify that character
694 classes are not supported.
695
fb55fcd2
AZ
6962013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
697
698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
699
ef7344f0
JM
7002013-12-22 Joseph Myers <joseph@codesourcery.com>
701
4f40e4b3
JM
702 [BZ #16337]
703 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
704 Calculate results for small negative arguments directly rather
705 than using reflection formula with special underflow handling.
706
ef7344f0
JM
707 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
708 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
709 sysdeps/unix/bsd/bsd4.4/syscalls.list.
710 (fchflags): Likewise.
711 (revoke): Likewise.
712 (setlogin): Likewise.
713 (sigaltstack): Likewise.
714 (wait4): Likewise.
715 (sigblock): Remove.
716 (sigsetmask): Likewise.
717 (wait3): Likewise.
718 (waitpid): Likewise.
719 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
720 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
721 file.
722 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
723 * sysdeps/unix/bsd/Makefile: ... here.
724 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
725 * sysdeps/unix/bsd/Versions: ... here.
726 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
727 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
728 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
729 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
730 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
731 * sysdeps/unix/bsd/sigblock.c: ... here.
732 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
733 * sysdeps/unix/bsd/sigsetmask.c: ... here.
734 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
735 * sysdeps/unix/bsd/sigvec.c: ... here.
736 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
737 * sysdeps/unix/bsd/tcdrain.c: ... here.
738 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
739 * sysdeps/unix/bsd/tcgetattr.c: ... here.
740 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
741 * sysdeps/unix/bsd/tcsetattr.c: ... here.
742 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
743 * sysdeps/unix/bsd/wait.c: ... here.
744 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
745 * sysdeps/unix/bsd/wait3.c: ... here.
746 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
747 * sysdeps/unix/bsd/waitpid.c: ... here.
748
5b0626b9
JM
7492013-12-21 Joseph Myers <joseph@codesourcery.com>
750
751 [BZ #16356]
752 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
753 round-to-nearest for [!USE_AS_EXPM1L].
754 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
755 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
756 more tests of exp and exp10. Expect some exp10 tests to miss
757 exceptions or fail in directed rounding modes.
758 * math/auto-libm-test-out: Regenerated.
759 * math/libm-test.inc (exp10_tonearest_test_data): New array.
760 (exp10_test_tonearest): New function.
761 (exp10_towardzero_test_data): New array.
762 (exp10_test_towardzero): New function.
763 (exp10_downward_test_data): New array.
764 (exp10_test_downward): New function.
765 (exp10_upward_test_data): New array.
766 (exp10_test_upward): New function.
767 (main): Call the new functions.
768 * sysdeps/i386/fpu/libm-test-ulps: Update.
769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
770
7fda5682
JM
7712013-12-20 Joseph Myers <joseph@codesourcery.com>
772
31e3a405
JM
773 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
774 asinh, atan, atan2, atanh, cbrt, cos and cosh.
775 * math/auto-libm-test-out: Regenerated.
776 * math/libm-test.inc (acosh_test_data): Add more tests.
777 (atanh_test_data): Likewise.
778 (ceil_test_data): Likewise.
779 (copysign_test_data): Likewise.
780 * sysdeps/i386/fpu/libm-test-ulps: Update.
781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
782
85bff96a
JM
783 * timezone/checktab.awk: Update from tzcode 2013i.
784 * timezone/private.h: Likewise.
785 * timezone/scheck.c: Likewise.
786 * timezone/tzfile.h: Likewise.
787 * timezone/tzselect.ksh: Likewise.
788 * timezone/zdump.c: Likewise.
789 * timezone/zic.c: Likewise.
790
b7867a3b
JM
791 * math/auto-libm-test-in: Add tests of cpow.
792 * math/auto-libm-test-out: Regenerated.
793 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
794 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
795 mpc_cc_c.
796 (func_calc_desc): Add mpc_cc_c union field.
797 (test_functions): Add cpow.
798 (special_fill_2pi): New function.
799 (special_real_inputs): Add 2pi.
800 (calc_generic_results): Handle mpc_cc_c.
801 * sysdeps/i386/fpu/libm-test-ulps: Update.
802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
803
7fda5682
JM
804 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
805 csqrt, ctan and ctanh.
806 * math/auto-libm-test-out: Regenerated.
807 * math/libm-test.inc (TEST_COND_x86_64): New macro.
808 (TEST_COND_x86): Likewise.
809 (ccos_test_data): Use AUTO_TESTS_c_c.
810 (ccosh_test_data): Likewise.
811 (cexp_test_data): Likewise.
812 (clog_test_data): Likewise.
813 (csqrt_test_data): Likewise.
814 (ctan_test_data): Likewise.
815 (ctan_tonearest_test_data): Likewise.
816 (ctan_towardzero_test_data): Likewise.
817 (ctan_downward_test_data): Likewise.
818 (ctan_upward_test_data): Likewise.
819 (ctanh_test_data): Likewise.
820 (ctanh_tonearest_test_data): Likewise.
821 (ctanh_towardzero_test_data): Likewise.
822 (ctanh_downward_test_data): Likewise.
823 (ctanh_upward_test_data): Likewise.
824 * math/gen-auto-libm-tests.c (func_calc_method): Add value
825 mpc_c_c.
826 (func_calc_desc): Add mpc_c_c union field.
827 (FUNC_mpc_c_c): New macro.
828 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
829 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
830 ctanh.
831 (special_fill_min_subnorm_p120): New function.
832 (special_real_inputs): Add min_subnorm_p120.
833 (calc_generic_results): Handle mpc_c_c.
834 * sysdeps/i386/fpu/libm-test-ulps: Update.
835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
836
5ff8d60e
SP
8372013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
838
392dd2de
SP
839 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
840 do_sin_slow): New functions.
841 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
842 cslow2, csloww1, csloww2): Use the new functions.
843
84ba214c
SP
844 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
845 Use M to change sign of result instead of X. Assume X is
846 positive.
847 (csloww1): Likewise.
848 (__sin): Adjust.
849 (__cos): Adjust.
850
975195e4
SP
851 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
852 arguments A and DA.
853 (__sin): Adjust.
854 (__cos): Likewise.
855
5ff8d60e
SP
856 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
857 (__cos): Likewise.
858 (sloww1): Don't adjust sign of DX.
859 (csloww1): Likewise.
860 (sloww2): Use X directly and don't adjust sign of DX.
861 (csloww2): Likewise.
862
eb983568
JM
8632013-12-19 Joseph Myers <joseph@codesourcery.com>
864
64a17f1a
JM
865 * math/auto-libm-test-in: Add tests of cabs and carg.
866 * math/auto-libm-test-out: Regenerated.
867 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
868 (carg_test_data): Likewise.
869 * math/gen-auto-libm-tests.c (func_calc_method): Add value
870 mpc_c_f.
871 (func_calc_desc): Add mpc_c_f union field.
872 (test_functions): Add cabs and carg.
873 (calc_generic_results): Handle mpc_c_f.
874
eb983568
JM
875 * sysdeps/powerpc/powerpc32/libgcc-compat.S
876 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
877 as a macro and a compat symbol.
878 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
879 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
880 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
881 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
882 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
883 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
884 not use .hidden.
885 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
886 Likewise.
887 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
888 Likewise.
889 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
890 Likewise.
891 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
892 Likewise.
893 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
894 Likewise.
895 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
896 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
897 from GLIBC_2.3.2.
898
6eeb678a
AZ
8992013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
900
901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
902
063b2acb
PP
9032013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
904
905 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
906 (__signal_safe_memalign, __signal_safe_free): Use it.
907 (__signal_safe_realloc): Likewise.
908
6f6fc482
JM
9092013-12-19 Joseph Myers <joseph@codesourcery.com>
910
21fea2e2
JM
911 * manual/texinfo.tex: Update to version 2013-11-26.10 with
912 trailing whitespace removed.
913 * scripts/config.guess: Update to version 2013-11-29.
914 * scripts/config.sub: Update to version 2013-10-01.
915
6f6fc482
JM
916 * math/auto-libm-test-in: Add tests of sincos.
917 * math/auto-libm-test-out: Regenerated.
918 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
919 * math/gen-auto-libm-tests.c (func_calc_method): Add value
920 mpfr_f_11.
921 (func_calc_desc): Add mpfr_f_11 union field.
922 (test_functions): Add sincos.
923 (calc_generic_results): Handle mpfr_f_11.
924 * sysdeps/i386/fpu/libm-test-ulps: Update.
925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
926
83f5c32d
AS
9272013-12-19 Andreas Schwab <schwab@suse.de>
928
929 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
930 CALL_MCOUNT.
931 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
932 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
933 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
934
c688b419
JM
9352013-12-19 Joseph Myers <joseph@codesourcery.com>
936
335ee092
JM
937 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
938 * sysdeps/i386/fpu/libm-test-ulps: Update.
939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
940
f88acd39
JM
941 [BZ #16293]
942 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
943 round-to-nearest mode when using frndint.
944 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
945 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
946 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
947 Likewise.
948 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
949 sinh test to fail.
950 * math/auto-libm-test-out: Regenerated.
951 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
952 (TEST_COND_x86): Likewise.
953 (expm1_tonearest_test_data): New array.
954 (expm1_test_tonearest): New function.
955 (expm1_towardzero_test_data): New array.
956 (expm1_test_towardzero): New function.
957 (expm1_downward_test_data): New array.
958 (expm1_test_downward): New function.
959 (expm1_upward_test_data): New array.
960 (expm1_test_upward): New function.
961 (main): Run the new test functions.
962 * sysdeps/i386/fpu/libm-test-ulps: Update.
963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
964
c688b419
JM
965 * include/features.h: Update comment documenting feature test
966 macros. Mention _DEFAULT_SOURCE in comment.
967 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
968 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
969 _BSD_SOURCE and _SVID_SOURCE.
970 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
971 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
972 !_SVID_SOURCE]: Likewise.
973 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
974 (__USE_POSIX_IMPLICITLY): Define.
975 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
976 (_POSIX_SOURCE): Undefine and redefine.
977 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
978 (_POSIX_C_SOURCE): Likewise.
979 * manual/creature.texi (_DEFAULT_SOURCE): Document.
980 (Feature Test Macros): Update documentation of default features.
981
9f6e964c
RS
9822013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
983
984 * benchtests/Makefile: Add bench-strtok.
985 * benchtests/bench-strtok.c: New file: strtok benchtest.
986
ee0a148a
AM
9872013-12-19 Allan McRae <allan@archlinux.org>
988
989 * manual/install.texi: Suppress menu for plain text output.
990 * INSTALL: Regenerated.
991
1f33d36a
PP
9922013-12-18 Andrew Hunter <ahh@google.com>
993
994 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
995 (__signal_safe_malloc, __signal_safe_free): Likewise.
996 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
997 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
998 (__signal_safe_memalign, __signal_safe_malloc): New function.
999 (__signal_safe_free, __signal_safe_realloc): Likewise.
1000 (__signal_safe_calloc): Likewise.
1001 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
1002 functions.
1003 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
1004
35e8f7ab
PP
10052013-12-18 Andrew Hunter <ahh@google.com>
1006
1007 * elf/Versions (ld): Add _dl_clear_dtv.
1008 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
1009 * elf/dl-tls.c (_dl_clear_dtv): New function.
1010 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
1011
69a17d9d
PP
10122013-12-18 Andrew Hunter <ahh@google.com>
1013
1014 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
1015 (_dl_unmask_signals): Likewise.
1016 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
1017 (_dl_unmask_all_signals): Likewise.
1018 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
1019 (_dl_unmask_all_signals): Likewise.
1020 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
1021 (_dl_unmask_signals): Likewise.
1022
b9ab448f
BM
10232013-12-18 Brooks Moses <bmoses@google.com>
1024
1025 [BZ #15846]
1026 * misc/getauxval.c: Include errno.h.
1027 (__getauxval): Set errno to ENOENT if the requested type is not
1028 found.
1029 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1030 don't declare with __attribute_const__.
1031 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1032 * manual/startup.texi: Document that getauxval sets errno.
1033
23776487
JM
10342013-12-18 Joseph Myers <joseph@codesourcery.com>
1035
f889953b
JM
1036 * math/auto-libm-test-in: Add tests of jn and yn.
1037 * math/auto-libm-test-out: Regenerated.
1038 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1039 (yn_test_data): Likewise.
1040 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1041 mpfr_if_f.
1042 (func_calc_desc): Add mpfr_if_f union field.
1043 (FUNC_mpfr_if_f): New macro.
1044 (test_functions): Add jn and yn.
1045 (calc_generic_results): Assert type of second input for
1046 mpfr_ff_f. Handle mpfr_if_f.
1047 (output_for_one_input_case): Disable all checking for arguments
1048 fitting floating-point types in case of an integer argument.
1049 * sysdeps/i386/fpu/libm-test-ulps: Update.
1050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1051
23776487
JM
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1053 Don't expect fegetround reference in libm.so.
1054
cb756c6d
MS
10552013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1056
1057 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1058 $(config-cflags-nofma).
1059
2dec468f
JM
10602013-12-18 Joseph Myers <joseph@codesourcery.com>
1061
5953eb3a
JM
1062 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1063 * math/auto-libm-test-out: Regenerated.
1064
2dec468f
JM
1065 [BZ #16338]
1066 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1067 to determine exponent and adjust argument to have exponent of -1.
1068 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1069 log2.
1070 * math/auto-libm-test-out: Regenerated.
1071 * sysdeps/i386/fpu/libm-test-ulps: Update.
1072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1073
4d84e6ad
OB
10742013-12-18 Ondřej Bílka <neleai@seznam.cz>
1075
1076 * manual/probes.texi: Remove cases when per-thread arenas are
1077 disabled.
1078
1818483b
AS
10792013-12-18 Andreas Schwab <schwab@suse.de>
1080
1081 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1082 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1083 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1084 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1085 * sysdeps/i386/i686/multiarch/Makefile: Update.
1086 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1087
25de95bf
JM
10882013-12-17 Joseph Myers <joseph@codesourcery.com>
1089
1090 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1091 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1092
674762d9
PE
10932013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1094
0748546f
PE
1095 Support TZ transition times < 00:00:00.
1096 This is needed for version-3 tz-format files; it supports time
1097 stamps past 2037 for America/Godthab (the only entry in the tz
1098 database for which this change is relevant).
1099 * manual/time.texi (TZ Variable): Document transition times
1100 from -167:59:59 through -00:00:01.
1101 * time/tzset.c (tz_rule): Time of day is now signed.
1102 (__tzset_parse_tz): Parse negative time of day.
1103
4480e934
PE
1104 Document TZ transition times >= 25:00:00.
1105 * manual/time.texi (TZ Variable): Document transition times from
1106 25:00:00 through 167:59:59. These are already supported, and this
1107 support will help with version-3 tz-format files.
1108
69947401
PE
1109 * manual/time.texi (TZ Variable): Modernize North America example
1110 to reflect current (i.e., 2007-and-later) daylight saving rules.
1111
674762d9
PE
1112 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1113
7011c262
JM
11142013-12-17 Joseph Myers <joseph@codesourcery.com>
1115
2fc6557e
JM
1116 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1117 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1118 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1119 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1120 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1121 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1122 * sysdeps/unix/bsd/clock.c: Likewise.
1123 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1124 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1125 * sysdeps/unix/bsd/init-posix.c: Likewise.
1126 * sysdeps/unix/bsd/poll.c: Likewise.
1127 * sysdeps/unix/bsd/ptsname.c: Likewise.
1128 * sysdeps/unix/bsd/seekdir.c: Likewise.
1129 * sysdeps/unix/bsd/setegid.c: Likewise.
1130 * sysdeps/unix/bsd/seteuid.c: Likewise.
1131 * sysdeps/unix/bsd/setgid.c: Likewise.
1132 * sysdeps/unix/bsd/setrgid.c: Likewise.
1133 * sysdeps/unix/bsd/setruid.c: Likewise.
1134 * sysdeps/unix/bsd/setsid.c: Likewise.
1135 * sysdeps/unix/bsd/setuid.c: Likewise.
1136 * sysdeps/unix/bsd/sigaction.c: Likewise.
1137 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1138 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1139 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1140 * sysdeps/unix/bsd/telldir.c: Likewise.
1141 * sysdeps/unix/bsd/times.c: Likewise.
1142 * sysdeps/unix/bsd/usleep.c: Likewise.
1143
029c7b25
JM
1144 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1145 ($(objpfx)libbsd-compat.a): Remove rule.
1146
7011c262
JM
1147 * include/features.h (__FAVOR_BSD): Do not define.
1148 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1149 features conflicting with POSIX.
1150 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1151 (_BSD_SOURCE): Remove description of not being a subset of other
1152 feature test macros.
1153 * manual/job.texi (getpgrp): Do not document BSD version.
1154 (getpgid): Do not document by reference to BSD getpgrp.
1155 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1156 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1157 * signal/signal.h [__FAVOR_BSD]: Likewise.
1158 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1159 instead of making contents conditional on [__FAVOR_BSD].
1160 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1161
affb6f78
AZ
11622013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1163
1164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1165
c88769dd
JM
11662013-12-17 Joseph Myers <joseph@codesourcery.com>
1167
6432a540
JM
1168 [BZ #16314]
1169 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1170 values below 2**-450, not 2**-500.
1171 * math/auto-libm-test-in: Don't allow spurious underflow from
1172 hypot.
1173 * math/auto-libm-test-out: Regenerated.
1174
c88769dd
JM
1175 [BZ #16316]
1176 [BZ #16330]
1177 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1178 values of ha and hb and sort them after adjusting subnormal
1179 arguments.
1180 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1181 Likewise.
1182 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1183 values of ea and eb and sort them after adjusting subnormal
1184 arguments.
1185 * math/auto-libm-test-in: Do not expect some hypot tests of
1186 subnormals to fail. Add more hypot tests.
1187 * math/auto-libm-test-out: Regenerated.
1188
29618f6b
KK
11892013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1190
1191 [BZ #13304]
1192 * sysdeps/sh/s_fma.c: New file.
1193 * sysdeps/sh/s_fmaf.c: New file.
1194 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1195 version.
1196 * sysdeps/sh/Implies: Add sh/soft-fp.
1197
eacfdfbf
RM
11982013-12-16 Roland McGrath <roland@hack.frob.com>
1199
1200 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1201 level of indirection to members `objname', `errstring', `malloced'.
1202 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1203 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1204 it as the __longjmp argument (just pass 1 instead).
1205 (_dl_catch_error): Initialize C with argument pointers and address of
1206 volatile local ERRCODE rather than copying values out of C at return.
1207
ff362e5b
JM
12082013-12-16 Joseph Myers <joseph@codesourcery.com>
1209
1210 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1211 * math/auto-libm-test-out: Regenerated.
1212 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1213 (hypot_test_data): Likewise.
1214 (pow_test_data): Likewise.
1215 (pow_tonearest_test_data): Likewise.
1216 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1217 mpfr_ff_f.
1218 (func_calc_desc): Add mpfr_ff_f union field.
1219 (FUNC_mpfr_ff_f): New macro.
1220 (test_functions): Add atan2, hypot and pow.
1221 (special_fill_min): New function.
1222 (special_fill_minus_min): Likewise.
1223 (special_fill_min_subnorm): Likewise.
1224 (special_fill_minus_min_subnorm): Likewise.
1225 (special_real_inputs): Add min, -min, min_subnorm and
1226 -min_subnorm.
1227 (calc_generic_results): Handle mpfr_ff_f.
1228 * sysdeps/i386/fpu/libm-test-ulps: Update.
1229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1230
5764c27f
WN
12312013-12-16 Will Newton <will.newton@linaro.org>
1232
1233 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1234 (Aligned Memory Blocks): Add documentation for aligned_alloc
1235 and suggest it as an alternative to posix_memalign.
1236 (Hooks for Malloc): Document __memalign_hook is also called
1237 for aligned_alloc. (Summary of Malloc): Add summary for
1238 aligned alloc. Document __memalign_hook is also called
1239 for aligned_alloc.
1240
0a096e44
WN
12412013-12-16 Will Newton <will.newton@linaro.org>
1242
1243 * manual/memory.texi (Malloc Examples): Clarify default
1244 alignment documentation. Suggest posix_memalign rather
1245 than memalign or valloc.
1246 (Aligned Memory Blocks): Remove suggestion to use memalign
1247 or valloc. Remove obsolete comment about BSD.
1248 Document memalign errno values and mark the function obsolete.
1249 Document posix_memalign returned error codes. Mark valloc
1250 as obsolete. (Hooks for Malloc): __memalign_hook is also
1251 called for posix_memalign and valloc.
1252 (Summary of Malloc): Add posix_memalign to function summary.
1253 __memalign_hook is also called for posix_memalign and valloc.
1254
8d561986
SP
12552013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1256
1257 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1258 TAYLOR_SIN.
1259 (__sin): Adjust.
1260 (__cos): Likewise.
1261 (sloww): Use mynumber union. Expand ternary operator into
1262 if-else statements.
1263 (cslow): use mynumber union.
1264
73616a74
AM
12652013-12-16 Allan McRae <allan@archlinux.org>
1266
9e8ac24b
AM
1267 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1268 * configure: Regenerated.
1269
6f8e37eb
AM
1270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1271
8894bad3
AM
1272 [BZ #14120]
1273 * configure.ac: Added --enable-maintainer-mode. Check for
1274 autoconf when enabled.
1275 * configure: Regenerated.
1276
73616a74
AM
1277 * nscd/nscd.service: New file.
1278 * nscd/nscd.tmpfiles: New file.
1279
584b18eb
OB
12802013-12-14 Ondřej Bílka <neleai@seznam.cz>
1281
1282 [BZ #12100]
1283 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1284 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1285 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1286 (strstr): Add __strstr_sse2_unaligned ifunc.
1287 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1288 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1289 (strcasestr): Remove __strcasestr_sse42 ifunc.
1290 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1291 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1293
8a5c7897
KK
12942013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1295
1296 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1297 * sysdeps/sh/bits/fenv.h: ... here.
1298 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1299
fd712ef3
AZ
13002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301
1302 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1303
42fcb46c
AZ
13042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1305
1306 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1307 hypotf multiarch implementations.
1308 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1309 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1310 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1311 multiarch hypot for PPC64.
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1313 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1315 multiarch hypotf for PPC64.
1316
83efded4
AZ
13172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1318
1319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1320 modff multiarch implementations.
1321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1324 multiarch modf for PPC64.
1325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1328 multiarch modff for PPC64.
1329
43e246d2
AZ
13302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1331
1332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1333 and logl multiarch implementations.
1334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1337 multiarch logb for PPC64.
1338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1341 multiarch logb for PPC64.
1342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1345 multiarch logb for PPC64.
1346
8fdad123
AZ
13472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1348
1349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1350 isinff multiarch implementation.
1351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1352 file.
1353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1355 multiarch isinf for PPC64.
1356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1357 file.
1358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1359 multiarch isinff for PPC64.
1360
1481d706
AZ
13612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1362
1363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1364 finitef multiarch implementation.
1365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1366 file.
1367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1369 multiarch finite for PPC64.
1370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1371 file.
1372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1373 multiarch finitef for PPC64.
1374
5ccd5fc8
AZ
13752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1376
1377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1378 lrint multiarch implementation.
1379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1380 file.
1381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1383 multiarch llrint for PPC64.
1384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1385 multiarch lrint for PPC64.
1386
2568f3fa
AZ
13872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1388
1389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1390 copysignf multiarch implementation.
1391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1392 file.
1393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1394 file.
1395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1396 multiarch copysign for PPC64.
1397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1398 multiarch copysignf for PPC64.
1399
1cb341fd
AZ
14002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1401
1402 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1403 multiarch implementation.
1404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1405 file.
1406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1407 file.
1408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1409 file.
1410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1411 file.
1412 multiarch llround for PPC64.
1413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1414 multiarch trunc for PPC64.
1415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1416 multiarch truncf for PPC64.
1417
59a3e194
AZ
14182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1419
1420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1421 multiarch implementation.
1422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1423 file.
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1425 file.
1426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1427 file.
1428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1429 file.
1430 multiarch llround for PPC64.
1431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1432 multiarch round for PPC64.
1433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1434 multiarch roundf for PPC64.
1435
357fd3b4
AZ
14362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1437
1438 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1439 multiarch implementation.
1440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1441 file.
1442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1443 file.
1444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1445 file.
1446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1447 file.
1448 multiarch llround for PPC64.
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1450 multiarch floor for PPC64.
1451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1452 multiarch floorf for PPC64.
1453
96770f12
AZ
14542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1455
1456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1457 multiarch implementation.
1458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1459 file.
1460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1461 file.
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1463 file.
1464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1465 file.
1466 multiarch llround for PPC64.
1467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1468 multiarch ceil for PPC64.
1469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1470 multiarch ceilf for PPC64.
1471
c3627f6e
AZ
14722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1473
1474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1475 multiarch implementation.
1476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1477 file.
1478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1479 file.
1480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1481 file.
1482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1483 multiarch llround for PPC64.
1484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1485 multiarch lround for PPC64.
1486
b2284ad7
AZ
14872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1488
1489 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1490 multiarch implementation.
1491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1494 file.
1495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1498 multiarch isnan for PPC64.
1499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1500 multiarch isnanf for PPC64.
1501
69bbc63d
AZ
15022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1503
1504 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1505 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1506 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1507 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1508 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1510
c24517c9
AZ
15112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1512
1513 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1514 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1515 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1516 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1517
a52374e8
AZ
15182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1519
1520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1521 multiarch implementations.
1522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1523 (__libc_ifunc_impl_list): Likewise.
1524 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1525 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1526 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1527 multiarch stpcpy for PPC64.
1528
7f5ec113
AZ
15292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1530
1531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1532 multiarch implementations.
1533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1534 (__libc_ifunc_impl_list): Likewise.
1535 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1536 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1537 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1538 multiarch strcpy for PPC64.
1539
e28bcd42
AZ
15402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541
1542 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1543 redefine function name.
1544 (_wordcopy_fwd_dest_aligned): Likewise.
1545 (_wordcopy_bwd_aligned): Likewise.
1546 (_wordcopy_bwd_dest_aligned): Likewise.
1547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1548 multiarch implementations.
1549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1550 (__libc_ifunc_impl_list): Likewise.
1551 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1552 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1553 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1554 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1555 multiarch wcscpy for PPC64.
1556
92cacfce
AZ
15572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1558
1559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1560 multiarch implementations.
1561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1562 (__libc_ifunc_impl_list): Likewise.
1563 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1564 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1565 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1566 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1567 multiarch wcscpy for PPC64.
1568
7b714620
AZ
15692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1570
1571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1572 multiarch implementations.
1573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1574 (__libc_ifunc_impl_list): Likewise.
1575 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1576 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1577 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1578 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1579 multiarch wcsrchr for PPC64.
1580
16fd2ae3
AZ
15812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1582
1583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1584 multiarch implementations.
1585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1586 (__libc_ifunc_impl_list): Likewise.
1587 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1588 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1589 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1590 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1591 multiarch wcschr for PPC64.
1592
9ee2969b
AZ
15932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1594
1595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1596 multiarch implementations.
1597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1598 (__libc_ifunc_impl_list): Likewise.
1599 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1600 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1601 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1602 multiarch strchrnul for PPC64.
1603
372dc060
AZ
16042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1605
1606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1607 implementations.
1608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1609 (__libc_ifunc_impl_list): Likewise.
1610 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1611 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1612 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1613 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1614 strchr for PPC64.
1615
24c2c3b9
AZ
16162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1617
1618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1619 implementations.
1620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1621 (__libc_ifunc_impl_list): Likewise.
1622 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1623 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1624 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1625 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1626 strncmp for PPC64.
1627
1c92d9a0
AZ
16282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1629
1630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1631 multiarch implementations.
1632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1633 (__libc_ifunc_impl_list): Likewise.
1634 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1635 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1636 strncasecmp for PPC64.
1637 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1638 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1639 multiarch strncasecmp_l for PPC64.
1640
17de3ee3
AZ
16412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642
1643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1644 multiarch implementations.
1645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1646 (__libc_ifunc_impl_list): Likewise.
1647 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1648 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1649 multiarch strcasecmp for PPC64.
1650 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1651 file.
1652 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1653 multiarch strcasecmp_l for PPC64.
1654
62982bf9
AZ
16552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1656
1657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1658 implementations.
1659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1660 (__libc_ifunc_impl_list): Likewise.
1661 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1662 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1663 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1664 strnlen for PPC64.
1665
a65f4904
AZ
16662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1667
1668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1669 implementations.
1670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1671 (__libc_ifunc_impl_list): Likewise.
1672 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1673 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1674 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1675 strlen for PPC64.
1676
1fd005ad
AZ
16772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1678
1679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1680 implementations.
1681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1682 (__libc_ifunc_impl_list): Likewise.
1683 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1684 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1685 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1686 rawmemrchr for PPC64.
1687
cd05ba91
AZ
16882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1689
1690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1691 implementation.
1692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1693 (__libc_ifunc_impl_list): Likewise.
1694 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1695 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1696 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1697 memrchr for PPC64.
1698
870f8676
AZ
16992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1700
1701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1702 implementation.
1703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1704 (__libc_ifunc_impl_list): Likewise.
1705 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1706 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1707 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1708 memchr for PPC64.
1709
f00be62b
AZ
17102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1711
1712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1713 implementation.
1714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1715 (__libc_ifunc_impl_list): Likewise.
1716 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1717 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1718 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1719 mempcpy for PPC64.
1720
8a29a3d0
AZ
17212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1722
1723 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1724 avoid cretion of __bzero symbol.
1725 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1726 Likewise.
1727 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1728 Likewise.
1729 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1730 Likewise.
1731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1732 multiarch implementations.
1733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1734 (__libc_ifunc_impl_list): Likewise.
1735 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1736 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1737 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1738 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1739 bzero for PPC32.
1740 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1741 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1742 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1743 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1744 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1745 memset for PPC64.
1746 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1747
07253fcf
AZ
17482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1749
1750 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1752 implementations.
1753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1754 (__libc_ifunc_impl_list): Likewise.
1755 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1756 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1757 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1758 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1759 memcmp for PPC64.
1760
b5beafbc
AZ
17612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1762
1763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1764 multiarch for POWER/PPC64.
1765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1766 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1767 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1768 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1769 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1770 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1771 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1773 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1774 memcpy for PPC64.
1775
5e6a4d4b
AZ
17762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1777
1778 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1779 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1780 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1781 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1782 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1783 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1784 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1785 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1786 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1787 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1788 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1789 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1790 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1791 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1792 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1800
ddfab6dc
KK
18012013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1802
1803 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1804
19b5525e
SP
18052013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1806
1807 * benchtests/Makefile (bench): Add exp2 and log2.
1808 (LDLIBS-bench-exp2): Add -lm.
1809 (LDLIBS-bench-log2): Likewise.
1810 * benchtests/exp2-inputs: New inputs file.
1811 * benchtests/log2-inputs: New inputs file.
1812 * benchtests/log-inputs: Add new inputs.
1813 * benchtests/tan-inputs: Likewise.
1814
196f7f5d
SP
18152013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1816
7a74607f
SP
1817 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1818 definition...
1819 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1820 csloww1, csloww2): ... from here.
1821
196f7f5d
SP
1822 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1823 instead of structures.
1824 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1825 (POLYNOMIAL): Likewise.
1826 (TAYLOR_SLOW): Likewise.
1827 (__sin): Likewise.
1828 (__cos): Likewise.
1829 (slow1): Likewise.
1830 (slow2): Likewise.
1831 (sloww): Likewise.
1832 (sloww1); Likewise.
1833 (sloww2): Likewise.
1834 (bsloww1): Likewise.
1835 (bsloww2): Likewise.
1836 (cslow2): Likewise.
1837 (csloww): Likewise.
1838 (csloww1): Likewise.
1839 (csloww2): Likewise.
1840
0dfa665c
OB
18412013-12-10 Ondřej Bílka <neleai@seznam.cz>
1842
1843 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1844 (__malloc_assert, __libc_realloc, __libc_calloc,
1845 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1846 memcpy and memset.
1847 * malloc/hooks.c (realloc_check): Likewise.
1848
5782a80f
OB
18492013-12-10 Ondřej Bílka <neleai@seznam.cz>
1850
1851 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1852 * malloc/arena.c: Remove PER_THREAD conditional.
1853 [!PER_THREAD]: Remove code.
1854 (ptmalloc_unlock_all2): Likewise.
1855 (ptmalloc_init): Likewise.
1856 (_int_new_arena): Likewise.
1857 (arena_get2): Likewise.
1858 * malloc/hooks.c (__malloc_get_state): Likewise.
1859 (__malloc_set_state): Likewise.
1860 * malloc/malloc.c: Likewise.
1861 (struct malloc_state): Likewise.
1862 (struct malloc_par): Likewise.
1863 (__libc_realloc): Likewise.
1864 (__libc_mallopt): Likewise.
1865
aeb95445
AZ
18662013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1867
1868 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1869
e8349efd
OB
18702013-12-09 Ondřej Bílka <neleai@seznam.cz>
1871
1872 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1873 macro to a function. Check for zero perturb_byte.
1874 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1875
f3eeb3fc
OB
18762013-12-09 Ondřej Bílka <neleai@seznam.cz>
1877
1878 * malloc/malloc.c: (force_reg): Remove.
1879 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1880 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1881 force_reg by atomic_forced_read.
1882 * malloc/arena.c (ptmalloc_init): Likewise.
1883 * malloc/hooks.c (top_check): Likewise.
1884
be2f9009
AZ
18852013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1886
1887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1888
e7b914bd
MT
18892013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1890
1891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1892
9f0be4f8
JM
18932013-12-08 Joseph Myers <joseph@codesourcery.com>
1894
1895 * math/auto-libm-test-in: Add tests of lgamma.
1896 * math/auto-libm-test-out: Regenerated.
1897 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1898 (M_LOG_2_SQRT_PIl): Likewise.
1899 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1900 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1901 mpfr_f_f1.
1902 (func_calc_desc): Add mpfr_f_f1 union field.
1903 (ARGS1): New macro.
1904 (ARGS2): Likewise.
1905 (ARGS3): Likewise.
1906 (ARGS4): Likewise.
1907 (RET1): Likewise.
1908 (RET2): Likewise.
1909 (CALC): Likewise.
1910 (FUNC): Likewise.
1911 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1912 (test_functions): Add lgamma.
1913 (calc_generic_results): Handle mpfr_f_f1.
1914 * sysdeps/i386/fpu/libm-test-ulps: Update.
1915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1916
24eeafdb
AZ
19172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1918
1919 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1920 __mpn_add_n for PowerPC64/POWER7.
1921 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1922 __mpn_sub_n for PowerPC64/POWER7.
1923
4a2c0fd4
AZ
19242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925
1926 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1927 __mpn_addmul_1 for PowerPC64.
1928 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1929 __mpn_submul_1 for PowerPC64.
1930 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1931 for PowerPC64.
1932 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1933 for PowerPC64.
1934
4b5b548c
FS
19352013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1936
1937 [BZ #15089]
1938 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1939
0a3ac0aa
AZ
19402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1941
1942 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1943
ccdc8438
AZ
19442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1945
1946 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1947 add multiarch folders.
1948 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1949 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1950 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1951 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1952 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1953 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1954 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1955 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1956 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1957 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1958 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1965
2e973d99
AZ
19662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1967
1968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1969 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1971 New file.
1972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1973 New file.
1974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1975 multiarch __ieee754_hypot for PowerPC32.
1976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1977 New file.
1978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1979 New file.
1980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1981 multiarch __ieee754_hypotf for PowerPC32.
1982
2d9470b2
AZ
19832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1984
1985 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1986 long_double_symbol only if __logbl is defined.
1987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1988 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1990 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1992 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1993 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1994 path for implementation.
1995 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1998 logb, and logbl multiarch implementations for PowerPC32.
1999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2000 file.
2001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2002 file.
2003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2004 multiarch logb for PowerPC32.
2005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2006 file.
2007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2008 file.
2009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2010 multiarch logbf for PowerPC32.
2011 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2013 file.
2014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2015 multiarch logbl implementation for PowerPC32.
2016
5212ffce
AZ
20172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018
2019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2020 and modff multiarch implementations.
2021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2022 New file.
2023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2024 New file.
2025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2026 multiarch modf for PowerPC32.
2027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2028 New file.
2029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2030 New file.
2031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2032 multiarch modff for PowerPC32.
2033
79dccf31
AZ
20342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2035
2036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2037 and lrintf multiarch implementations.
2038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2039 New file.
2040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2041 New file.
2042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2043 multiarch lrint for PowerPC32.
2044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2045 file: multiarch lrintf for PowerPC32.
2046
deb66480
AZ
20472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2048
2049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2050 and lroundf multiarch implementations.
2051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2052 New file.
2053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2054 New file.
2055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2056 New file.
2057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2058 multiarch lround for PowerPC32.
2059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2060 file: multiarch lroundf for PowerPC32.
2061
264b036b
AZ
20622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2063
2064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2065 copysign and copysignf multiarch implementations.
2066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2067 New file.
2068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2069 New file.
2070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2071 file: multiarch copysign for PowerPC32.
2072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2073 file: multiarch copysignf for PowerPC32.
2074
d47db6c9
AZ
20752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2076
2077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2078 and truncf multiarch implementations.
2079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2080 New file.
2081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2082 file.
2083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2084 multiarch trunc for PowerPC32.
2085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2086 New file.
2087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2088 New file.
2089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2090 multiarch truncf for PowerPC32.
2091
ddb60b5a
AZ
20922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2093
2094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2095 and roundf multiarch implementations.
2096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2097 New file.
2098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2099 file.
2100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2101 multiarch round for PowerPC32.
2102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2103 New file.
2104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2105 New file.
2106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2107 multiarch roundf for PowerPC32.
2108
bedcf49b
AZ
21092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2110
2111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2112 and floorf multiarch implementations.
2113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2114 New file.
2115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2116 file.
2117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2118 multiarch floor for PowerPC32.
2119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2120 New file.
2121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2122 New file.
2123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2124 multiarch floorf for PowerPC32.
2125
35ae5b40
AZ
21262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2127
2128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2129 and ceilf multiarch implementations.
2130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2131 New file.
2132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2133 file.
2134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2135 multiarch ceil for PowerPC32.
2136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2137 New file.
2138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2139 file.
2140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2141 multiarch ceilf for PowerPC32.
2142
ae1a4cd9
AZ
21432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2144
2145 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2146 is defined.
2147 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2148 FINITEF is defined.
2149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2150 and finitef multiarch implementations.
2151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2152 New file.
2153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2154 file.
2155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2156 multiarch finite for PowerPC32.
2157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2158 New file.
2159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2160 file: multiarch finitef for PowerPC32.
2161
64fffd65
AZ
21622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2163
2164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2165 and isinff multiarch implementations.
2166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2167 file.
2168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2169 file.
2170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2171 multiarch isinf for PowerPC32.
2172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2173 New file.
2174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2175 multiarch isinff for PowerPC32.
2176
8e4e7ba2
AZ
21772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2178
2179 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2180 alias when __isnan is defined.
2181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2182 and isnanf multiarch implementations.
2183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2184 file.
2185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2186 file.
2187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2188 file.
2189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2190 file.
2191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2192 multiarch isnan for PowerPC32.
2193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2194 New file.
2195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2196 New file.
2197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2198 multiarch isnanf for PowerPC32.
2199
ddba588e
AZ
22002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2201
2202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2203 and sqrtf multiarch implementations.
2204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2205 file.
2206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2207 file.
2208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2209 multiarch sqrt for PowerPC32.
2210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2211 file.
2212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2213 file.
2214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2215 multiarch sqrtf for PowerPC32.
2216
0f96a2f0
AZ
22172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2218
2219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2220 and llroundf multiarch implementations.
2221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2222 New file.
2223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2224 New file.
2225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2226 New file.
2227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2228 file: multiarch llround for PowerPC32.
2229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2230 file: multiarch llroundf for PowerPC32.
2231
c9b5d79e
AZ
22322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2233
2234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2235 multiarch PowerPC32 fpu implementations.
2236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2237 New file.
2238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2239 New file.
2240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2241 multiarch llrint for PowerPC32.
2242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2243 New file.
2244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2245 New file.
2246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2247 file.
2248
9cbb3aab
AZ
22492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2250
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2252
ea5a72f8
AZ
22532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2254
2255 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2256 file.
2257 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2258 file.
2259 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2260 file.
2261 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2262 multiarch wordcopy for PPC32.
2263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2264 wordcopy objects.
2265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2266 (__libc_ifunc_impl_list): Likewise.
2267 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2268 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2269 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2270 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2271 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2272 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2273
93be09e7
AZ
22742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2275
2276 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2278 file.
2279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2280 file.
2281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2282 file.
2283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2284 multiarch wcscpy for PPC32.
2285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
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/wcscpy.c: Adjust to use
2292 sysdeps/powerpc/power6/wcscpy.c.
2293
bb04e529
AZ
22942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2295
2296 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2298 file.
2299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2300 file.
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2302 file.
2303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2304 multiarch wcsrchr for PPC32.
2305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2306 multiarch objects.
2307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2308 (__libc_ifunc_impl_list): Likewise.
2309 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2310 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2311 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2312 sysdeps/powerpc/power6/wcsrchr.c.
2313
05b5cd1c
AZ
23142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2315
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2317 file.
2318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2319 file.
2320 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2322 multiarch wcschr for PPc32.
2323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2324 multiarch objects.
2325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2326 (__libc_ifunc_impl_list): Likewise.
2327 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2328 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2329 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2330 sysdeps/powerpc/power6/wcschr.c.
2331
ba964147
AZ
23322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2333
2334 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2335 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2336 file.
2337 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2338 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2339 file: multiarch strchr for PPC32.
2340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2341 multiarch objects.
2342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2343 (__libc_ifunc_impl_list): Likewise.
2344
31c81aaa
AZ
23452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2346
2347 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2348 name.
2349 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2350 file.
2351 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2352 file.
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2354 multiarch strchrnul for PPC32.
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2356 multiarch objects.
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2358 (__libc_ifunc_impl_list): Likewise.
2359
0d0607d9
AZ
23602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2361
2362 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2363 file.
2364 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2365 multiarch strncasecmp for PPC32.
2366 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2367 file.
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2369 multiarch strncasecmp_l for PPC32.
2370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2371 strncasecmp multiarch objects.
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2373 (__libc_ifunc_impl_list): Likewise.
2374
4dfd5c86
AZ
23752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2376
2377 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2378 file.
2379 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2380 multiarch strncasecmp for PPC32.
2381 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2382 New file.
2383 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2384 multiarch strcasecmp_l for PPC32.
2385 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2386 multiarch objects.
2387 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2388 (__libc_ifunc_impl_list): Likewise.
2389
a19e01a3
AZ
23902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2391
2392 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2393 file.
2394 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2395 file.
2396 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2397 multiarch strncmp for PPC32.
2398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2399 multiarch objects.
2400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2401 (__libc_ifunc_impl_list): Likewise.
2402
ae9cf7a2
AZ
24032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2404
2405 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2406 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2407 file.
2408 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2409 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2411 multiarch objects.
2412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2413 (__libc_ifunc_impl_list): Likewise.
2414
3148bb7d
AZ
24152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2416
2417 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2418 file.
2419 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2420 file.
2421 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2423 multiarch objects.
2424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2425 (__libc_ifunc_impl_list): Likewise.
2426
7af8b946
AZ
24272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2428
2429 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2430 file.
2431 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2432 file.
2433 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2434 multiarch rawmemchr for PPC32.
2435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2436 multiarch objects.
2437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2438 (__libc_ifunc_impl_list): Likewise.
2439
03a6aa6a
AZ
24402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2441
2442 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2443 file.
2444 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2445 file.
2446 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2447 file: memrchr multiarch for PPC32.
2448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2449 multiarch objects.
2450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2451 (__libc_ifunc_impl_list): Likewise.
2452
1c62e6d9
AZ
24532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2454
2455 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2456 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2457 file.
2458 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2459 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2460 multiarch memchr for PPC32.
2461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2462 multiarch objects.
2463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2464 (__libc_ifunc_impl_list): Likewise.
2465
87da8bdb
AZ
24662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2467
2468 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2469 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2470 file.
2471 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2472 file.
2473 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2474 file: multiarch mempcpy for PPC32.
2475 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2476 multiarch objects.
2477 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2478 (__libc_ifunc_impl_list): Likewise.
2479
20ed4714
AZ
24802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2481
2482 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2483 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2484 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2485 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2486 multiarch bzero for PPC32.
2487 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2488 file.
2489 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2490 file.
2491 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2492 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2493 file: multiarch memset for PPC32.
2494 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2496 memset multiarch objects.
2497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2498 (__libc_ifunc_impl_list): Likewise.
2499
ab3e3a46
AZ
25002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2501
2502 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2503 file.
2504 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2506 memcmp for PPC32.
2507 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2509 multiarch objects.
2510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2511 (__libc_ifunc_impl_list): Likewise.
2512
930de6f0
AZ
25132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2514
2515 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2516 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2517 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2518 file.
2519 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2520 file.
2521 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2522 file.
2523 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2524 multiarch memcpy for PPC32.
2525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2526 multiarch objects.
2527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2528 (__libc_ifunc_impl_list): Likewise.
2529
4c628e00
AZ
25302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2531
2532 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2533 support multiarch for POWER/PPC32.
2534 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2535 Likewise.
2536 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2538 Implies file to make multiarch folder appers before the fpu and
2539 default folder for power4 configuration.
2540
f4479220
SP
25412013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2542
2543 * scripts/bench.pl: Append volatile keyword to type.
2544
8517800f
KK
25452013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2546
2547 * sysdeps/sh/sotruss-lib.c: New file.
2548 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2549
180138f1
AZ
25502013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2551
2552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2553
bbf37bdc
JM
25542013-12-05 Joseph Myers <joseph@codesourcery.com>
2555
e47cc4e0
JM
2556 [BZ #6810]
2557 * math/w_tgamma.c: Include <errno.h>.
2558 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2559 * math/w_tgammaf.c: Include <errno.h>.
2560 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2561 * math/w_tgammal.c: Include <errno.h>.
2562 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2563 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2564 underflow. Add more tgamma tests.
2565 * math/auto-libm-test-out: Regenerated.
2566 * sysdeps/i386/fpu/libm-test-ulps: Update.
2567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2568
bbf37bdc
JM
2569 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2570 sin, sinh, tan, tanh, tgamma, y0 and y1.
2571 * math/auto-libm-test-out: Regenerated.
2572 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2573 (TEST_COND_x86): Likewise.
2574 (M_E2l): Remove macro.
2575 (M_E3l): Likewise.
2576 (M_2_SQRT_PIl): Likewise.
2577 (M_SQRT_PIl): Likewise.
2578 (M_1_DIV_El): Likewise.
2579 (log_test_data): Use AUTO_TESTS_f_f.
2580 (log10_test_data): Likewise.
2581 (log1p_test_data): Likewise.
2582 (log2_test_data): Likewise.
2583 (sin_test_data): Likewise.
2584 (sin_tonearest_test_data): Likewise.
2585 (sin_towardzero_test_data): Likewise.
2586 (sin_downward_test_data): Likewise.
2587 (sin_upward_test_data): Likewise.
2588 (sinh_test_data): Likewise.
2589 (sinh_tonearest_test_data): Likewise.
2590 (sinh_towardzero_test_data): Likewise.
2591 (sinh_downward_test_data): Likewise.
2592 (sinh_upward_test_data): Likewise.
2593 (tan_test_data): Likewise.
2594 (tan_tonearest_test_data): Likewise.
2595 (tan_towardzero_test_data): Likewise.
2596 (tan_downward_test_data): Likewise.
2597 (tan_upward_test_data): Likewise.
2598 (tanh_test_data): Likewise.
2599 (tgamma_test_data): Likewise.
2600 (y0_test_data): Likewise.
2601 (y1_test_data): Likewise.
2602 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2603 (special_real_inputs): Add pi/4.
2604 * sysdeps/i386/fpu/libm-test-ulps: Update.
2605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2606
eb5ad6b9
AZ
26072013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2608
2609 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2610 "longjmp_target" static probes.
2611 (__longjmp): Rename to __longjmp_symbol.
2612 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2613 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2614 on which longjmp to generate.
2615 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2616 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2617 probe.
2618 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2619 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2620 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2621 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2622 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2623 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2625 __longjmp_symbol based on which __longjmp to generate.
2626 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2627 probe.
2628 (setjmp): Rename to setjmp_symbol.
2629 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2630 (_setjmp): Rename to _setjmp_symbol.
2631 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2632 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2633 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2634 which setjmp to generate.
2635 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2636 "longjmp_target" static probes.
2637
d136c6dc
SP
26382013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2639
9298ecba
SP
2640 * benchtests/README: Add note about output arguments.
2641 * benchtests/bench-sincos.c: Remove file.
2642 * benchtests/sincos-inputs: New file.
2643 * scripts/bench.pl: Identify output arguments and define
2644 static variables for them.
2645
232983e9
SP
2646 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2647
d136c6dc
SP
2648 [BZ #15941]
2649 * Makefile (INSTALL): Add install-plain.texi as the primary
2650 dependency.
2651 * manual/install-plain.texi: New file.
2652 * manual/install.texi: Include node directive only for
2653 non-plaintext output.
2654
699ff837
JM
26552013-12-04 Joseph Myers <joseph@codesourcery.com>
2656
ab07cea8
JM
2657 * stdlib/longlong.h: Update from GCC.
2658
699ff837
JM
2659 [BZ #6807]
2660 [BZ #15901]
2661 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2662 * math/w_j0f.c (y0f): Likewise.
2663 * math/w_j0l.c (__y0l): Likewise.
2664 * math/w_j1.c (y1): Likewise.
2665 * math/w_j1f.c (y1f): Likewise.
2666 * math/w_j1l.c (__y1l): Likewise
2667 * math/w_jn.c (yn): Likewise.
2668 * math/w_jnf.c (ynf): Likewise.
2669 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2670 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2671 value for Bessel function domain errors outside _SVID_ mode.
2672 Adjust sign of return value for yn (negative integer, 0).
2673 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2674 by zero in return for negative x and set sign appropriately for
2675 negative n.
2676 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2677 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2678 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2679 expectations in error cases.
2680 (y1_test_data): Likewise.
2681 (yn_test_data): Likewise.
2682 * sysdeps/i386/fpu/libm-test-ulps: Update.
2683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2684
5b118558
UW
26852013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2686
2687 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2688 "64" to "64-v1". Add "64-v2".
2689 (abi-64-options): Rename to ...
2690 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2691 (abi-64-condition): Rename to ...
2692 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2693 (abi-64-ld-soname): Rename to ...
2694 (abi-64-v1-ld-soname): ... this.
2695 (abi-64-v2-options): Define.
2696 (abi-64-v2-condition): Likewise.
2697 (abi-64-v2-ld-soname): Likewise.
2698 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2699 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2703
61cd8fe4
UW
27042013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2705 Alan Modra <amodra@gmail.com>
2706
2707 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2708 New versions for use with the ELFv2 ABI.
2709 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2710 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2711 declaration.
2712 (struct La_ppc64v2_retval): Likewise.
2713 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2714 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2715 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2716 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2717 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2718 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2719 Do not save or restore CR.
2720 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2721 (_dl_profile_resolve): Do no save or restore CR. Support extended
2722 return values for ELFv2 ABI. Fix location of FPR return registers.
2723 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2724 updated values for _CALL_ELF == 2.
2725 (La_regs, La_retval, int_retval): Likewise.
2726
8b8a692c
UW
27272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2728
2729 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2730 (FRAME_MIN_SIZE_PARM): Likewise.
2731 (FRAME_BACKCHAIN): Likewise.
2732 (FRAME_CR_SAVE): Likewise.
2733 (FRAME_LR_SAVE): Likewise.
2734 (FRAME_TOC_SAVE): Likewise.
2735 (FRAME_PARM_SAVE): Likewise.
2736 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2737 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2738 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2739 (call_mcount_parm_offset): New macro.
2740 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2741 (PROF): Use symbolic stack frame offsets.
2742 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2743 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2744 Redefine in terms of FRAME_MIN_SIZE.
2745 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2746 (_dl_profile_resolve): Likewise. Update comment.
2747 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2748 symbols stack frame offsets.
2749 (__sigsetjmp): Likewise.
2750 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2751 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2752 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2753 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2754
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2756 (FRAME_BACKCHAIN): Remove.
2757 (FRAME_CR_SAVE): Likewise.
2758 (FRAME_LR_SAVE): Likewise.
2759 (FRAME_COMPILER_DW): Likewise.
2760 (FRAME_LINKER_DW): Likewise.
2761 (FRAME_TOC_SAVE): Likewise.
2762 (FRAME_PARM_SAVE): Likewise.
2763 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2764 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2765 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2767 (CHECK_SP): Use symbolic stack frame offsets.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2769 zone" instead of caller's parameter save area for temp storage.
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2771 Likewise. Also, use symbolic stack frame offsets.
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2773 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2774 our own stack frame instead of the caller's.
2775 (__socket): Use symbolic stack frame offsets.
2776
122b66de
UW
27772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2778 Alan Modra <amodra@gmail.com>
2779
2780 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2781 Define.
2782 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2783 PPC64_LOCAL_ENTRY_OFFSET): Define.
2784 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2785 New function.
2786 (elf_machine_fixup_plt): Call it.
2787 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2788 reloc arguments.
2789 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2790 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2791 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2792 r2 before calling target.
2793
696caf1d
UW
27942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2795 Alan Modra <amodra@gmail.com>
2796
2797 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2798 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2799 versions of macros to support ELFv2 ABI.
2800 (LOCALENTRY): New macro.
2801 (ENTRY, EALIGN): Use it.
2802 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2803 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2804 fall through into ENTRY entry point.
2805 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2806 Only define if _CALL_ELF != 2.
2807
2808 (elf_machine_matches_host): Verify ABI version matches.
2809 (RTLD_START): Use LOCALENTRY.
2810 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2811 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2812 (PLT_ENTRY_WORDS): New macro.
2813 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2814 (elf_machine_runtime_setup): Support ELFv2 ABI.
2815 (elf_machine_fixup_plt): Likewise.
2816 (elf_machine_plt_conflict): Likewise.
2817 (resolve_ifunc): Likewise.
2818 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2819 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2820 Likewise.
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2822 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2824 (makecontext): Support ELFv2 ABI.
2825 * elf/elf.h (EF_PPC64_ABI): Define.
2826
d31beafa
UW
28272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2828
2829 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2830 New assembler macro.
2831 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2832 [ASSEMBLER] (ENTRY): ... but instead here ...
2833 [ASSEMBLER] (EALIGN): ... and here.
2834 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2835 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2836 [!ASSEMBLER] (ENTRY_2): Use it.
2837 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2838 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2839 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2840 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2841 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2843 Use PPC64_LOAD_FUNCPTR.
2844
b525166b
UW
28452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2846
2847 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2848
7ec07d9a
AM
28492013-12-04 Alan Modra <amodra@gmail.com>
2850
2851 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2852 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2853 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2854 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2855
2856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2857 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2858 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2859 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2860 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2861 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2862
5162e7dd
UW
28632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2864
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2866 (__makecontext): Fix incorrect CFI when backtracing out of
2867 context created via makecontext.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2869 (__setcontext): Fix incorrect CFI during switch to new context.
2870 (__novec_setcontext): Likewise.
2871
19e3372b
OB
28722013-12-04 Ondřej Bílka <neleai@seznam.cz>
2873
2874 [BZ #4772]
2875 * time/strptime_l.c (__strptime_internal): Allow modifiers
2876 in strptime.
2877 * time/tst-strptime.c (day_tests): Add testcase.
2878
2879
ecaf142d
SP
28802013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2881
2882 * scripts/bench.pl: Skip over blank lines.
2883
fbf964ae
PE
28842013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2885
2886 [BZ #926]
2887 * manual/time.texi (Calendar Time): Clarify what timezone functions
2888 use.
2889
fa60a674
AZ
28902013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2891
2892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2893
d674f0ef
OB
28942013-12-04 Ondřej Bílka <neleai@seznam.cz>
2895
2896 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2897 implementation.
2898 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2899 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2900 * debug/memset_chk.c (__memset_chk): Likewise.
2901 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2902 * debug/strncpy_chk.c: Likewise.
2903
17dea188
JM
29042013-12-03 Joseph Myers <joseph@codesourcery.com>
2905
749008ff
JM
2906 [BZ #15268]
2907 [BZ #15425]
2908 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2909 (__ieee754_exp): For possibly underflowing results, check size of
2910 result and force underflow exception if required.
2911 * math/auto-libm-test-in: Add more tests of exp.
2912 * math/auto-libm-test-out: Regenerated.
2913 * sysdeps/i386/fpu/libm-test-ulps: Update.
2914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2915
17dea188
JM
2916 [BZ #16283]
2917 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2918 * math/w_exp2f.c (__exp2f): Likewise.
2919 * math/w_exp2l.c (__exp2l): Likewise.
2920 * math/auto-libm-test-in: Do not allow missing errno on exp2
2921 underflow.
2922 * math/auto-libm-test-out: Regenerated.
2923
b20de2c3
OB
29242013-12-03 Ondřej Bílka <neleai@seznam.cz>
2925
2926 [BZ #16274]
2927 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2928 handle filename validation.
2929 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2930 (do_open): Delete.
2931
d8e2dbe3
JM
29322013-12-03 Joseph Myers <joseph@codesourcery.com>
2933
34e16df5
JM
2934 [BZ #6786]
2935 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2936 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2937 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2938 <float.h>.
2939 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2940 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2941 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2942 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2943 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2944 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2945 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2946 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2947 Add more erfc tests.
2948 * math/auto-libm-test-out: Regenerated.
2949 * sysdeps/i386/fpu/libm-test-ulps: Update.
2950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2951
d8e2dbe3
JM
2952 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2953 exp2, expm1, j0 and j1.
2954 * math/auto-libm-test-out: Regenerated.
2955 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2956 (erfc_test_data): Likewise.
2957 (exp_test_data): Likewise.
2958 (exp_tonearest_test_data): Likewise.
2959 (exp_towardzero_test_data): Likewise.
2960 (exp_downward_test_data): Likewise.
2961 (exp_upward_test_data): Likewise.
2962 (exp10_test_data): Likewise.
2963 (exp2_test_data): Likewise.
2964 (expm1_test_data): Likewise.
2965 (j0_test_data): Likewise.
2966 (j1_test_data): Likewise.
2967 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2968 (input_flag_type): Add flag_xfail_rounding.
2969 (input_flags): Add xfail-rounding.
2970 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2971 (output_for_one_input_case): Handle flag_xfail_rounding.
2972 * sysdeps/i386/fpu/libm-test-ulps: Update.
2973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2974
18d14251
AJ
29752013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2976
3d2e6075 2977 [BZ #16289]
18d14251
AJ
2978 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2979 division by 0.
2980
520d437b
SP
29812013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2982
2983 [BZ #16195]
2984 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2985 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2986 (STAP_PROBE0): New macro.
2987 (STAP_PROBE1): Likewise.
2988 (STAP_PROBE2): Likewise.
2989 (STAP_PROBE3): Likewise.
2990 (STAP_PROBE4): Likewise.
2991
416e0145
OB
29922013-12-02 Ondřej Bílka <neleai@seznam.cz>
2993
2994 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2995
9d17796a
SE
29962013-12-02 Steve Ellcey <sellcey@mips.com>
2997
2998 * benchtests/Makefile (bench): Add sqrt.
2999 (LDLIBS-bench-sqrt): New.
3000 * benchtests/sqrt-input: New.
3001
f524d6a8
PS
30022013-12-02 Pavel Simerda <psimerda@redhat.com>
3003
639a0ef8
PS
3004 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3005 (GAIH_EAI): Likewise.
3006 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3007 (gaih_inet): Likewise.
3008 (getaddrinfo): Don't use GAIH_EAI.
3009
f524d6a8
PS
3010 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3011 (struct gaih): Remove definition.
3012
df3aedaf
SP
30132013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3014
3015 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3016 Use HERRNOP directly.
3017
1ab19dec
AZ
30182013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3019
b42ad38d 3020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 3021
176b0c79
JM
30222013-11-30 Joseph Myers <joseph@codesourcery.com>
3023
3024 * math/gen-auto-libm-tests.c (test_functions): Add more
3025 single-argument functions.
3026 (special_fill_pi_2): New function.
3027 (special_fill_minus_pi_2): Likewise.
3028 (special_fill_pi_6): Likewise.
3029 (special_fill_minus_pi_6): Likewise.
3030 (special_fill_pi_3): Likewise.
3031 (special_fill_2pi_3): Likewise.
3032 (special_fill_e): Likewise.
3033 (special_fill_1_e): Likewise.
3034 (special_fill_e_minus_1): Likewise.
3035 (special_real_inputs): Add more special inputs.
3036 (output_for_one_input_case): Do not require ERANGE on underflow to
3037 zero if round-to-nearest result does not underflow to zero, unless
3038 exact results required.
3039 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3040 atan, atanh, cbrt, cos and cosh.
3041 * math/auto-libm-test-out: Regenerated.
3042 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3043 (acos_tonearest_test_data): Likewise.
3044 (acos_towardzero_test_data): Likewise.
3045 (acos_downward_test_data): Likewise.
3046 (acos_upward_test_data): Likewise.
3047 (acosh_test_data): Likewise.
3048 (asin_test_data): Likewise.
3049 (asin_tonearest_test_data): Likewise.
3050 (asin_towardzero_test_data): Likewise.
3051 (asin_upward_test_data): Likewise.
3052 (asinh_test_data): Likewise.
3053 (atan_test_data): Likewise.
3054 (atanh_test_data): Likewise.
3055 (cbrt_test_data): Likewise.
3056 (cos_test_data): Likewise.
3057 (cos_tonearest_test_data): Likewise.
3058 (cos_towardzero_test_data): Likewise.
3059 (cos_downward_test_data): Likewise.
3060 (cos_upward_test_data): Likewise.
3061 (cosh_test_data): Likewise.
3062 (cosh_tonearest_test_data): Likewise.
3063 (cosh_towardzero_test_data): Likewise.
3064 (cosh_downward_test_data): Likewise.
3065 (cosh_upward_test_data): Likewise.
3066 * sysdeps/i386/fpu/libm-test-ulps: Update.
3067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3068
ffb536d0
JM
30692013-11-29 Joseph Myers <joseph@codesourcery.com>
3070
2a77a467
JM
3071 [BZ #6787]
3072 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3073 * math/w_exp10f.c (__exp10f): Likewise.
3074 * math/w_exp10l.c (__exp10l): Likewise.
3075 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3076 errno settings in existing tests.
3077
ea3bc4e8
JM
3078 [BZ #14032]
3079 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3080 precision control set to double precision.
3081 * sysdeps/i386/fpu/w_sqrt.c: New file.
3082 * math/auto-libm-test-in: Add more tests.
3083 * math/auto-libm-test-out: Update.
3084
0712c9d8
JM
3085 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3086 (sqrt_test_tonearest): New function.
3087 (sqrt_towardzero_test_data): New variable.
3088 (sqrt_test_towardzero): New function.
3089 (sqrt_downward_test_data): New variable.
3090 (sqrt_test_downward): New function.
3091 (sqrt_upward_test_data): New variable.
3092 (sqrt_test_upward): New function.
3093 (main): Call the new functions.
3094
ffb536d0
JM
3095 * math/gen-auto-libm-tests.c: New file.
3096 * math/auto-libm-test-in: Likewise.
3097 * math/auto-libm-test-out: New generated file.
3098 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3099 variables.
3100 (%beautify): Add generated representations of zero.
3101 (top level): Set $auto_input and call parse_auto_input.
3102 (beautify): Remove trailing "f" from hex float constants.
3103 (parse_args): Handle XFAIL_TEST.
3104 (convert_condition): New function.
3105 (or_value): Likewise.
3106 (or_cond_value): Likewise.
3107 (generate_testfile): Handle AUTO_TESTS_* lines.
3108 (parse_auto_input): New function.
3109 * math/libm-test.inc (XFAIL_TEST): New macro.
3110 (ERRNO_UNCHANGED): Update value.
3111 (ERRNO_EDOM): Likewise.
3112 (ERRNO_ERANGE): Likewise.
3113 (IGNORE_RESULT): Likewise.
3114 (TEST_COND_flt_32): New macro.
3115 (TEST_COND_dbl_64): Likewise.
3116 (TEST_COND_ldbl_96_intel): Likewise.
3117 (TEST_COND_ldbl_96_m68k): Likewise.
3118 (TEST_COND_ldbl_128): Likewise.
3119 (TEST_COND_ldbl_128ibm): Likewise.
3120 (TEST_COND_long32): Likewise.
3121 (TEST_COND_long64): Likewise.
3122 (TEST_COND_before_rounding): Likewise.
3123 (TEST_COND_after_rounding): Likewise.
3124 (enable_test): Handle XFAIL_TEST flag.
3125 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3126 with finite results.
3127 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3128 auto-libm-test-out.
3129
acd98a8e
AK
31302013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3131 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3132
3133 [BZ #16214]
3134 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3135 __tls_get_addr_internal instead of __tls_get_offset in order to
3136 avoid GOT pointer dependency. Make rtld export
3137 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3138 __tls_get_addr since we are a __tls_get_offset platform.
3139 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3140 GOT pointer being set up before.
3141 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3142
3c1c46a6
JM
31432013-11-28 Joseph Myers <joseph@codesourcery.com>
3144
7475aef5
JM
3145 * manual/math.texi (Errors in Math Functions): Document accuracy
3146 goals.
3147
8bca7cd8
JM
3148 [BZ #15004]
3149 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3150 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3151 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3152 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3153 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3154 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3155 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3156 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3157 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3158 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3159 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3160 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3161 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3162 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3163 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3164 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3165
91a1f3fe
JM
3166 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3167 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3168 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3169 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3170 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3171 Likewise.
3172 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3173 Likewise.
3174 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3175 Likewise.
3176 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3177 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3178 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3179 atomic-feupdateenv and flt-rounds.
3180 * sysdeps/powerpc/nofpu/Versions (libc): Add
3181 __atomic_feholdexcept, __atomic_feclearexcept,
3182 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3183 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3184 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3185 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3186 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3187 here.
3188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3189 Update.
3190
c5df7609
JM
3191 * manual/arith.texi (FP Exceptions): Document that exceptions may
3192 not be raised when matherr is used.
3193 (Math Error Reporting): Document overflow in directed rounding
3194 modes. Document that errno may not be set when finite values are
3195 returned on overflow. Document intent to set errno on underflow
3196 only for underflow to zero.
3197
3c1c46a6
JM
3198 [BZ #16271]
3199 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3200 round-to-nearest then adjust result for other rounding modes.
3201 * include/fenv.h (fegetround): Use libm_hidden_proto.
3202 * math/fegetround.c (fegetround): Use libm_hidden_def.
3203 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3204 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3205 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3206 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3207 Likewise.
3208 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3209 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3210 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3211 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3212
5a4c6d53
SP
32132013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3214
3215 [BZ #16077]
3216 * nss/Versions (libnss_files): Add
3217 _nss_files_gethostbyname3_r.
3218 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3219 New function.
3220 (HOST_DB_LOOKUP): Remove macro.
3221 (_nss_files_gethostbyname_r): Implement function without the
3222 HOST_DB_LOOKUP macro.
3223 (_nss_files_gethostbyname2_r): Likewise.
3224
897b98ba
OB
32252013-11-28 Ondřej Bílka <neleai@seznam.cz>
3226
3227 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3228
6f476861
UB
32292013-11-26 Uros Bizjak <ubizjak@gmail.com>
3230
3231 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3232 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3233 warning.
3234
bd12ab55
AZ
32352013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3236
3237 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3238 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3239 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3240 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3241 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3242 __fe_nomask_env_priv and attribute_hidden.
3243 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3244 (libc_feupdateenv_test_ppc): Likewise.
3245 (libc_feresetround_ppc): Likewise.
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3247 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3248 compat_symbol macro.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3250 (__fe_nomask_env): Likewise.
3251 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3252
52bb6543
OB
32532013-11-26 Ondřej Bílka <neleai@seznam.cz>
3254
3255 * string/Makefile: Remove ifunc tests.
3256 * string/test-string.h: Define TEST_IFUNC.
3257 * string/test-bcopy-ifunc.c: Remove.
3258 * string/test-bzero-ifunc.c: Likewise.
3259 * string/test-memccpy-ifunc.c: Likewise.
3260 * string/test-memchr-ifunc.c: Likewise.
3261 * string/test-memcmp-ifunc.c: Likewise.
3262 * string/test-memcpy-ifunc.c: Likewise.
3263 * string/test-memmem-ifunc.c: Likewise.
3264 * string/test-memmove-ifunc.c: Likewise.
3265 * string/test-mempcpy-ifunc.c: Likewise.
3266 * string/test-memrchr-ifunc.c: Likewise.
3267 * string/test-memset-ifunc.c: Likewise.
3268 * string/test-rawmemchr-ifunc.c: Likewise.
3269 * string/test-stpcpy-ifunc.c: Likewise.
3270 * string/test-stpncpy-ifunc.c: Likewise.
3271 * string/test-strcasecmp-ifunc.c: Likewise.
3272 * string/test-strcasestr-ifunc.c: Likewise.
3273 * string/test-strcat-ifunc.c: Likewise.
3274 * string/test-strchr-ifunc.c: Likewise.
3275 * string/test-strchrnul-ifunc.c: Likewise.
3276 * string/test-strcmp-ifunc.c: Likewise.
3277 * string/test-strcpy-ifunc.c: Likewise.
3278 * string/test-strcspn-ifunc.c: Likewise.
3279 * string/test-strlen-ifunc.c: Likewise.
3280 * string/test-strncasecmp-ifunc.c: Likewise.
3281 * string/test-strncat-ifunc.c: Likewise.
3282 * string/test-strncmp-ifunc.c: Likewise.
3283 * string/test-strncpy-ifunc.c: Likewise.
3284 * string/test-strnlen-ifunc.c: Likewise.
3285 * string/test-strpbrk-ifunc.c: Likewise.
3286 * string/test-strrchr-ifunc.c: Likewise.
3287 * string/test-strspn-ifunc.c: Likewise.
3288 * string/test-strstr-ifunc.c: Likewise.
3289
ab260039 32902013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3291
3292 * benchtests/Makefile: Remove ifunc tests.
3293 * benchtests/bench-string.h: Define TEST_IFUNC.
3294 * benchtests/bench-bcopy-ifunc.c: Remove.
3295 * benchtests/bench-bzero-ifunc.c: Likewise.
3296 * benchtests/bench-memccpy-ifunc.c: Likewise.
3297 * benchtests/bench-memchr-ifunc.c: Likewise.
3298 * benchtests/bench-memcmp-ifunc.c: Likewise.
3299 * benchtests/bench-memcpy-ifunc.c: Likewise.
3300 * benchtests/bench-memmem-ifunc.c: Likewise.
3301 * benchtests/bench-memmove-ifunc.c: Likewise.
3302 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3303 * benchtests/bench-memrchr-ifunc.c: Likewise.
3304 * benchtests/bench-memset-ifunc.c: Likewise.
3305 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3306 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3307 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3308 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3309 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3310 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3311 * benchtests/bench-strcat-ifunc.c: Likewise.
3312 * benchtests/bench-strchr-ifunc.c: Likewise.
3313 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3314 * benchtests/bench-strcmp-ifunc.c: Likewise.
3315 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3316 * benchtests/bench-strcpy-ifunc.c: Likewise.
3317 * benchtests/bench-strcspn-ifunc.c: Likewise.
3318 * benchtests/bench-strlen-ifunc.c: Likewise.
3319 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3320 * benchtests/bench-strncat-ifunc.c: Likewise.
3321 * benchtests/bench-strncmp-ifunc.c: Likewise.
3322 * benchtests/bench-strncpy-ifunc.c: Likewise.
3323 * benchtests/bench-strnlen-ifunc.c: Likewise.
3324 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3325 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3326 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3327 * benchtests/bench-strspn-ifunc.c: Likewise.
3328 * benchtests/bench-strstr-ifunc.c: Likewise.
3329
33302013-11-26 Ondřej Bílka <neleai@seznam.cz>
3331
ab260039
OB
3332 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3333
d1d9eaf4 33342013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3335
d1d9eaf4
OB
3336 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3337 * rt/aio.h: Likewise.
3338 * sysdeps/gnu/bits/utmp.h: Likewise.
3339 * sysdeps/gnu/bits/utmpx.h: Likewise.
3340 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3341 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3342 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3343 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3344 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3345 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3346 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3347 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3348 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3349 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3350 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3351 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3352 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3354 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3355 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3356 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3357 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3358 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3359 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3360 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3361 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3362 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3363 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3364 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3366 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3367 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3368 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3369 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3370 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3371 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3372 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3373 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3374 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3375 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3376 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3377 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3378 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3379 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3380 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3381 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3382
a7624ed9
CD
33832013-11-25 Carlos O'Donell <carlos@redhat.com>
3384
3385 [BZ #16245]
3386 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3387 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3388
63cfe52b
JM
33892013-11-25 Joseph Myers <joseph@codesourcery.com>
3390
3391 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3392 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3393 Likewise.
3394
41e8926a
AZ
33952013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3396
3397 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3398 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3399 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3400 (__fesetround): Remove define.
3401 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3402 rounding and exceptions handling.
3403 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3404 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3405 (__fe_nomask_env): Likewise.
3406 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3407 __fegetround instead of fegetround.
3408 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3409 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3410
6851bd4d
RM
34112013-11-21 Roland McGrath <roland@hack.frob.com>
3412
070906ff
RM
3413 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3414 it's there.
3415
6851bd4d
RM
3416 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3417
84ae135d
MI
34182013-11-21 Meador Inge <meadori@codesourcery.com>
3419
3420 [BZ #11157]
3421 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3422 (encrypt_r): Likewise.
3423 * malloc/obstack.h (obstack_free): Likewise.
3424 * posix/unistd.h (encrypt): Likewise.
3425
daf75146
GM
34262013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3427
3428 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3429 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3430 DL_CALL_DT_FINI() that call the functions directly.
3431 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3432 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3433 * elf/dl-fini.c: Likewise.
3434
10ad46bc
OB
34352013-11-20 Ondřej Bílka <neleai@seznam.cz>
3436
3437 * malloc/hooks.c (memalign_check): Add alignment rounding.
3438 * malloc/malloc.c (_mid_memalign): New function.
3439 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3440 Implement by calling _mid_memalign.
3441 * manual/probes.texi (Memory Allocation Probes): Remove
3442 memory_valloc_retry and memory_pvalloc_retry.
3443
f3fd2628
SP
34442013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3445
4712799f
SP
3446 * locale/programs/locarchive.c (open_archive): Add const
3447 qualifier to ARCHIVEFNAME and copy default fname to
3448 DEFAULT_FNAME.
3449
0417b20f
SP
3450 [BZ #15601]
3451 * libio/tst-widetext.input: Rename Oriya to Odia.
3452 * locale/iso-639.def: Likewise.
3453
f3fd2628
SP
3454 * manual/probes.texi (Mathematical Function Probes): Add
3455 documentation for sin, cos, asin and acos probes.
3456 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3457 (__sin32): Add slowasin probe.
3458 (__cos32): Add slowacos probe.
3459 (__mpsin): Add slowsin probe.
3460 (__mpcos): Add slowcos probe.
3461
73c1ce4f
JM
34622013-11-19 Joseph Myers <joseph@codesourcery.com>
3463
3464 [BZ #15483]
3465 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3466 thread-local __sim_exceptions_thread and global
3467 __sim_exceptions_global.
3468 (__sim_disabled_exceptions): Change to thread-local
3469 __sim_disabled_exceptions_thread and global
3470 __sim_disabled_exceptions_global.
3471 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3472 and global __sim_round_mode_global.
3473 (__simulate_exceptions): Use thread-local floating-point state and
3474 set global state from it as needed.
3475 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3476 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3477 __sim_round_mode_thread.
3478 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3479 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3480 and global __sim_exceptions_global.
3481 (__sim_disabled_exceptions): Change to thread-local
3482 __sim_disabled_exceptions_thread and global
3483 __sim_disabled_exceptions_global.
3484 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3485 and global __sim_round_mode_global.
3486 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3487 (SIM_SET_GLOBAL): Likewise.
3488 * sysdeps/powerpc/soft-fp/sfp-machine.h
3489 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3490 __sim_round_mode_thread.
3491 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3492 __sim_disabled_exceptions_thread.
3493 (__sim_exceptions): Change to __sim_exceptions_thread.
3494 (__sim_disabled_exceptions): Change to
3495 __sim_disabled_exceptions_thread.
3496 (__sim_round_mode): Change to __sim_round_mode_thread.
3497 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3498 thread-local floating-point state and set global state from it as
3499 needed.
3500 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3501 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3502 (__sim_disabled_exceptions): Remove extern declaration.
3503 (feenableexcept): Use thread-local floating-point state and set
3504 global state from it as needed.
3505 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3506 extern declaration.
3507 (__sim_disabled_exceptions): Likewise.
3508 (__sim_round_mode): Likewise.
3509 (__fegetenv): Use thread-local floating-point state.
3510 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3511 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3512 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3513 floating-point state and set global state from it as needed.
3514 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3515 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3516 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3517 Likewise.
3518 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3519 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3520 Likewise.
3521 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3522 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3523 Use __sim_round_mode_thread.
3524 * math/test-fenv-tls.c: New file.
3525 * math/Makefile (tests): Add test-fenv-tls.
3526 ($(objpfx)test-fenv-tls): Depend on
3527 $(common-objpfx)nptl/libpthread.so.
3528
b5449b12
AS
35292013-11-19 Andreas Schwab <schwab@suse.de>
3530
3531 * locale/programs/locale.c (show_info): Decode wordarray elements.
3532 * locale/categories.def (LC_MONETARY): Add element for
3533 _NL_MONETARY_CRNCYSTR.
3534 * locale/C-monetary.c (conversion_rate): New variable.
3535 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3536 element.
3537
e186536b
CM
35382013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3539
3540 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3541 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3542
5c349950
PP
35432013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3544
3545 * elf/Makefile (tst-auxv): New test.
3546 * elf/tst-auxv.c: New
3547 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3548
699df45b
JM
35492013-11-18 Joseph Myers <joseph@codesourcery.com>
3550
3551 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3552 (hidden_proto): Caller changed.
3553 (hidden_tls_proto): New macro.
3554 (libc_hidden_tls_proto): Likewise.
3555 (rtld_hidden_tls_proto): Likewise.
3556 (libm_hidden_tls_proto): Likewise.
3557 (libresolv_hidden_tls_proto): Likewise.
3558 (librt_hidden_tls_proto): Likewise.
3559 (libdl_hidden_tls_proto): Likewise.
3560 (libnss_files_hidden_tls_proto): Likewise.
3561 (libnsl_hidden_tls_proto): Likewise.
3562 (libnss_nisplus_hidden_tls_proto): Likewise.
3563 (libutil_hidden_tls_proto): Likewise.
3564
b7589107
OB
35652013-11-18 Ondřej Bílka <neleai@seznam.cz>
3566
3567 [BZ #10253]
3568 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3569 (decompose_rpath): Defer expansion to fillin_rpath.
3570 (_dl_init_paths): Pass linkmap to fillin_rpath.
3571
250c23bd
RS
35722013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3573
3574 * benchtests/Makefile: Add strsep.
3575 * benchtests/bench-strsep.c: New file: strsep benchtest.
3576 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3577
a7931fcf
AS
35782013-11-18 Andreas Schwab <schwab@suse.de>
3579
3580 * locale/programs/locale.c (show_info) [case byte]: Check for
3581 '\377' instead of '\177'.
3582 * locale/C-monetary.c (not_available): Always use "\377".
3583 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3584 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3585 detect unavailable sign_posn locale elements.
3586 * locale/localeconv.c (__localeconv): For grouping and
3587 mon_grouping handle "\177" and "\377" like no grouping.
3588 (INT_ELEM): New macro. Use it to set all numeric members.
3589 * locale/programs/ld-monetary.c (monetary_read)
3590 <tok_mon_grouping>: Normalize single -1 to the empty string.
3591 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3592 Likewise.
3593
728dab0e
OB
35942013-11-07 Ondřej Bílka <neleai@seznam.cz>
3595
3596 [BZ #16055]
3597 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3598 when we match (nil).
3599 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3600
66294491
JM
36012013-11-16 Joseph Myers <joseph@codesourcery.com>
3602
ce665817
JM
3603 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3604 (NO_TEST_INLINE): Update value.
3605 (ERRNO_UNCHANGED): Likewise.
3606 (ERRNO_EDOM): Likewise.
3607 (ERRNO_ERANGE): Likewise.
3608 (IGNORE_RESULT): Likewise.
3609 (check_float_internal): Check signs of NaN results if
3610 TEST_NAN_SIGN used.
3611 (check_complex): Pass TEST_NAN_SIGN flag through to second
3612 check_float_internal call.
3613 (copysign_test_data): Add tests with quiet NaNs as second
3614 argument. Use TEST_NAN_SIGN.
3615 (fabs_test_data): Add test of negative quiet NaN argument. Use
3616 TEST_NAN_SIGN.
3617 (signbit_test_data): Add tests of quiet NaN argument.
3618 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3619
ee1466a9
JM
3620 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3621 $ignore_result.
3622 (parse_args): Handle function results specified as IGNORE.
3623 * math/libm-test.inc (IGNORE_RESULT): New macro.
3624 (check_float_internal): Do not check numerical result if flag
3625 IGNORE_RESULT set.
3626 (check_complex): Pass through IGNORE_RESULT to second
3627 check_float_internal call.
3628 (check_int): Do not check numerical result if flag IGNORE_RESULT
3629 set.
3630 (check_long): Likewise.
3631 (check_bool): Likewise.
3632 (check_longlong): Likewise.
3633 (lrint_test_data): Add tests of infinite and NaN arguments.
3634 (lrint_tonearest_test_data): Likewise.
3635 (lrint_towardzero_test_data): Likewise.
3636 (lrint_downward_test_data): Likewise.
3637 (lrint_upward_test_data): Likewise.
3638 (llrint_test_data): Likewise.
3639 (llrint_tonearest_test_data): Likewise.
3640 (llrint_towardzero_test_data): Likewise.
3641 (llrint_downward_test_data): Likewise.
3642 (llrint_upward_test_data): Likewise.
3643 (lround_test_data): Likewise.
3644 (llround_test_data): Likewise.
3645
14407b7e
JM
3646 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3647 (ERRNO_UNCHANGED): Update value.
3648 (ERRNO_EDOM): Likewise.
3649 (ERRNO_ERANGE): Likewise.
3650 (NO_TEST_INLINE_FLOAT): New macro.
3651 (NO_TEST_INLINE_DOUBLE): Likewise.
3652 (enable_test): New function.
3653 (RUN_TEST_f_f): Check enable_test before running test.
3654 (RUN_TEST_2_f): Likewise.
3655 (RUN_TEST_fff_f): Likewise.
3656 (RUN_TEST_c_f): Likewise.
3657 (RUN_TEST_f_f1): Likewise.
3658 (RUN_TEST_fF_f1): Likewise.
3659 (RUN_TEST_fI_f1): Likewise.
3660 (RUN_TEST_ffI_f1): Likewise.
3661 (RUN_TEST_c_c): Likewise.
3662 (RUN_TEST_cc_c): Likewise.
3663 (RUN_TEST_f_i): Likewise.
3664 (RUN_TEST_f_i_tg): Likewise.
3665 (RUN_TEST_ff_i_tg): Likewise.
3666 (RUN_TEST_f_b): Likewise.
3667 (RUN_TEST_f_b_tg): Likewise.
3668 (RUN_TEST_f_l): Likewise.
3669 (RUN_TEST_f_L): Likewise.
3670 (RUN_TEST_fFF_11): Likewise.
3671 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3672 conditionals.
3673 (cosh_test_data): Likewise.
3674 (exp_test_data): Likewise.
3675 (expm1_test_data): Likewise.
3676 (hypot_test_data): Likewise.
3677 (pow_test_data): Likewise.
3678 (sinh_test_data): Likewise.
3679 (tanh_test_data): Likewise.
3680 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3681 flags argument.
3682
ca07f197
JM
3683 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3684 tests with quiet NaN input and output.
3685 (acosh_test_data): Likewise.
3686 (asin_test_data): Likewise.
3687 (asinh_test_data): Likewise.
3688 (atan_test_data): Likewise.
3689 (atanh_test_data): Likewise.
3690 (atan2_test_data): Likewise.
3691 (cbrt_test_data): Likewise.
3692 (cos_test_data): Likewise.
3693 (cosh_test_data): Likewise.
3694 (erf_test_data): Likewise.
3695 (erfc_test_data): Likewise.
3696 (exp_test_data): Likewise.
3697 (exp10_test_data): Likewise.
3698 (exp2_test_data): Likewise.
3699 (expm1_test_data): Likewise.
3700 (hypot_test_data): Likewise.
3701 (j0_test_data): Likewise.
3702 (j1_test_data): Likewise.
3703 (jn_test_data): Likewise.
3704 (lgamma_test_data): Likewise.
3705 (log_test_data): Likewise.
3706 (log10_test_data): Likewise.
3707 (log1p_test_data): Likewise.
3708 (log2_test_data): Likewise.
3709 (pow_test_data): Likewise.
3710 (scalb_test_data): Likewise.
3711 (sin_test_data): Likewise.
3712 (sincos_test_data): Likewise.
3713 (sinh_test_data): Likewise.
3714 (tan_test_data): Likewise.
3715 (tanh_test_data): Likewise.
3716 (tgamma_test_data): Likewise.
3717 (y0_test_data): Likewise.
3718 (y1_test_data): Likewise.
3719 (yn_test_data): Likewise.
3720
66294491
JM
3721 [BZ #16167]
3722 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3723 argument being NaN and avoid computations with second argument in
3724 that case.
3725 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3726 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3727 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3728
1820b143
CL
37292013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3730
3731 * locale/iso-639.def: Add Chitwani Tharu (the).
3732
714bd261
AS
37332013-11-14 Andreas Schwab <schwab@suse.de>
3734
3735 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3736 word instead of empty string.
3737
7ab44563
AZ
37382013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3739
3740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3741 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3743 (__fe_nomask_env): Likewise.
3744
e8470ea2
SE
37452013-11-13 Steve Ellcey <sellcey@mips.com>
3746
3747 * benchtests/bench-timing.h: Include time.h.
3748
17c1d9f0
L
37492013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3750
3751 [BZ #15997]
3752 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3753 to 3.4.0 for x32.
3754 * sysdeps/unix/sysv/linux/configure: Regenerated.
3755
9310c284
JM
37562013-11-13 Joseph Myers <joseph@codesourcery.com>
3757
3758 [BZ #16151]
3759 * stdlib/strtod_l.c (round_and_return): Do not consider
3760 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3761 exponent one less than half the least subnormal exponent.
3762 * stdlib/test-strtod-round-data: Add more tests.
3763 * stdlib/tst-strtod-round.c (tests): Regenerated.
3764
7a2ad8cf
AZ
37652013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3766
3767 [BZ #14143]
3768 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3769 (__fe_mask_env): Likewise.
3770 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3771 libm_hidden_proto and add function prototype.
3772 (__fe_mask_env): Add function prototype.
3773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3774 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3776 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3778 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3779
50727aa7
MS
37802013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3781
b2f386c1 3782 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3783 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3784
a615be46
MS
37852013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3786
3787 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3788 of htab_find_slot().
3789
7ddace62
DM
37902013-11-11 David S. Miller <davem@davemloft.net>
3791
3792 [BZ #16150]
3793 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3794 symbol in the non-vis3 case in static builds.
3795 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3796 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3797 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3798 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3799
9182aa67
JK
38002013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3801
3802 [BZ #387]
3803 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3804 it is empty.
3805
450a2e2d
AZ
38062013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3807
b2f386c1
SP
3808 * benchtests/Makefile: Add bench-strtod.
3809 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3810
8ec3f656
AS
38112013-11-11 Andreas Schwab <schwab@suse.de>
3812
3813 [BZ #16153]
3814 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3815 terminating NUL in key length.
3816
76a9b998
AZ
38172013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3818
3819 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3820 Add artificial ODP entry for vDSO symbol for PPC64.
3821 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3822 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3823
e4368156
OB
38242013-11-07 Ondřej Bílka <neleai@seznam.cz>
3825
3826 [BZ #15374]
3827 * nss/getent.c (services_keys): Recognize services starting with digit.
3828
8d6bb57c
DM
38292013-11-06 David S. Miller <davem@davemloft.net>
3830
3831 [BZ #15985]
3832 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3833 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3834
e256c421
WN
38352013-11-06 Will Newton <will.newton@linaro.org>
3836
3837 * manual/memory.texi (Malloc Examples): Remove register
3838 keyword from examples.
3839
f6e12daa 38402013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3841
f6e12daa 3842 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3843
9d880655
AS
38442013-11-04 Joseph Myers <joseph@codesourcery.com>
3845
3846 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3847 depending on [__GCC_IEC_559 > 0].
3848 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3849 depending on [__GCC_IEC_559_COMPLEX > 0].
3850
ae129d3c
CL
38512013-11-03 Chris Leonard <cjl@sugarlabs.org>
3852
3853 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3854 to iso-639.def.
3855
4a15c2a4 38562013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3857
3858 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3859
8b35e35d
OB
38602013-11-01 Ondřej Bílka <neleai@seznam.cz>
3861
3862 [BZ #16112]
3863 * malloc/malloc (malloc_info): Do not handle first bin as
3864 special case.
3865
1d70fd6c
CL
38662013-11-01 Chris Leonard <cjl@sugarlabs.org>
3867
3868 * locale/iso-639.def: Add Central Nahuatl (nhn).
3869
8c5c2600
BH
38702013-11-01 Bruno Haible <bruno@clisp.org>
3871
3872 [BZ #7003]
3873 * manual/math.texi (BSD Random): Specify range upper bound as
3874 in POSIX.
3875
da5579c2
CL
38762013-10-31 Chris Leonard <cjl@sugarlabs.org>
3877
3878 * locale/iso-639.def: Add Meadow Mari (mhr).
3879
5d30d853
OB
38802013-10-31 Ondřej Bílka <neleai@seznam.cz>
3881
3882 [BZ #14752], [BZ #15763]
3883 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3884 Validate name.
3885 * rt/tst_shm.c: Add test for escaping directory.
3886
a4966c61
AS
38872013-10-31 Andreas Schwab <schwab@suse.de>
3888
8a43e768 3889 [BZ #15917]
a4966c61
AS
3890 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3891 followed by 'x' as part of digit sequence.
3892 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3893
28d708c4
MAP
38942013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3895
3896 [BZ #16037]
3897 * configure.ac: allow GNU Make 4.0 and greater.
3898 * configure: Regenerated.
3899
a56ee40b
WN
39002013-10-30 Will Newton <will.newton@linaro.org>
3901
3902 [BZ #16038]
3903 * malloc/hooks.c (memalign_check): Limit alignment to the
3904 maximum representable power of two.
3905 * malloc/malloc.c (__libc_memalign): Likewise.
3906 * malloc/tst-memalign.c (do_test): Add test for very
3907 large alignment values.
3908 * malloc/tst-posix_memalign.c (do_test): Likewise.
3909
c6e4925d
OB
39102013-10-30 Ondřej Bílka <neleai@seznam.cz>
3911
3912 [BZ #11087]
3913 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3914 (munmap_chunk): Likewise.
3915 (mremap_chunk): Likewise.
3916
39172013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3918
8a43e768 3919 [BZ #15799]
bbea82f7
OB
3920 * stdlib/div.c (div): Remove obsolete code.
3921 * stdlib/ldiv.c (ldiv): Likewise.
3922 * stdlib/lldiv.c (lldiv): Likewise.
3923
977f4b31
SP
39242013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3925
3926 [BZ #16071]
3927 * nss/nss_files/files-XXX.c (get_contents_ret): New
3928 enumerator.
3929 (get_contents): New function.
3930 (internal_getent): Use it. Expand size of LINEBUFLEN.
3931
cb8a6dbd
MF
39322013-10-30 Mike Frysinger <vapier@gentoo.org>
3933
3934 * configure.in: Moved to ...
3935 * configure.ac: ... here. Change reference to configure.in
3936 to configure.ac.
3937 * sysdeps/arm/preconfigure.ac: ... here.
3938 configure.in to configure.ac.
3939 * sysdeps/gnu/configure.in: Moved to ...
3940 * sysdeps/gnu/configure.ac: ... here.
3941 * sysdeps/i386/configure.in: Moved to ...
3942 * sysdeps/i386/configure.ac: ... here.
3943 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3944 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3945 * sysdeps/mach/configure.in: Moved to ...
3946 * sysdeps/mach/configure.ac: ... here.
3947 * sysdeps/mach/hurd/configure.in: Moved to ...
3948 * sysdeps/mach/hurd/configure.ac: ... here.
3949 * sysdeps/powerpc/configure.in: Moved to ...
3950 * sysdeps/powerpc/configure.ac: ... here.
3951 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3952 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3953 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3954 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3955 * sysdeps/s390/s390-32/configure.in: Moved to ...
3956 * sysdeps/s390/s390-32/configure.ac: ... here.
3957 * sysdeps/s390/s390-64/configure.in: Moved to ...
3958 * sysdeps/s390/s390-64/configure.ac: ... here.
3959 * sysdeps/sh/configure.in: Moved to ...
3960 * sysdeps/sh/configure.ac: ... here.
3961 * sysdeps/sparc/configure.in: Moved to ...
3962 * sysdeps/sparc/configure.ac: ... here.
3963 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3964 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3965 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3966 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3967 * sysdeps/x86_64/configure.in: Moved to ...
3968 * sysdeps/x86_64/configure.ac: ... here.
3969 * sysdeps/x86_64/preconfigure.in: Moved to ...
3970 * sysdeps/x86_64/preconfigure.ac: ... here.
3971 * aclocal.m4: Change reference to configure.in to configure.ac.
3972 * config.h.in: Likewise.
3973 * manual/install.texi: Likewise.
3974 * manual/maint.texi: Likewise.
3975 * Makefile: Likewise.
3976 * malloc/Makefile: Likewise.
3977 * nscd/Makefile: Likewise.
3978 * Makeconfig: Change reference to configure.in and
3979 preconfigure.in to configure.ac and preconfigure.ac
3980 respectively.
3981 * INSTALL: Regenerated.
3982 * configure: Likewise.
3983 * sysdeps/gnu/configure: Likewise.
3984 * sysdeps/i386/configure: Likewise.
3985 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3986 * sysdeps/mach/configure: Likewise.
3987 * sysdeps/mach/hurd/configure: Likewise.
3988 * sysdeps/powerpc/configure: Likewise.
3989 * sysdeps/powerpc/powerpc32/configure: Likewise.
3990 * sysdeps/powerpc/powerpc64/configure: Likewise.
3991 * sysdeps/s390/s390-32/configure: Likewise.
3992 * sysdeps/s390/s390-64/configure: Likewise.
3993 * sysdeps/sh/configure: Likewise.
3994 * sysdeps/sparc/configure: Likewise.
3995 * sysdeps/unix/sysv/linux/configure: Likewise.
3996 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3997 * sysdeps/x86_64/configure: Likewise.
3998 * sysdeps/x86_64/preconfigure: Likewise.
3999
36a4953a
AS
40002013-10-29 Andreas Schwab <schwab@suse.de>
4001
4002 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4003
c79a1204
SP
40042013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4005
dfa1b402
SP
4006 * benchtests/pow-inputs: Add new inputs.
4007
54f73d9c
SP
4008 * benchtests/exp-inputs: Add new inputs.
4009
c79a1204
SP
4010 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4011 conditional check for return value.
4012 (__cos32): Likewise.
4013
67beb545 40142013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
4015
4016 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4017 to provide a boost for large inputs with word alignment.
4018 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4019 implementation based on optimized PPC64 strcpy.
4020 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4021 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4022 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4023 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4024
151659f6
OB
40252013-10-25 Ondřej Bílka <neleai@seznam.cz>
4026
482a077e 4027 [BZ #2801]
151659f6
OB
4028 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4029
10b0f26b
OB
40302013-10-25 Ondřej Bílka <neleai@seznam.cz>
4031
4032 [BZ #14876]
4033 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4034 * time/tst-strptime.c (day_tests): Add testcase.
4035
ca42d35e
OB
40362013-10-25 Ondřej Bílka <neleai@seznam.cz>
4037
482a077e 4038 [BZ #14029]
ca42d35e
OB
4039 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4040
52e6d801
FB
40412013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4042
4043 [BZ #16074]
4044 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4045 MAP_FAILED on error.
4046
7cbcdb36
SP
40472013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4048
4049 [BZ #16072]
4050 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4051 heap for large requests.
4052
894f3f10
AM
40532013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4054
4055 [BZ #9954]
4056 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4057 result if the result has no associated interface.
4058 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4059 interface for all 127.X.Y.Z addresses.
4060
b85545a6
CL
40612013-10-24 Chris Leonard <cjl@sugarlabs.org>
4062
4063 * locale/iso-639.def: Add Ligurian (lij)
4064
d1f23d46
OB
40652013-10-21 Ondřej Bílka <neleai@seznam.cz>
4066
4067 [BZ #15825]
4068 * sunrpc/rpc_main.c: Document rpcgen -5.
4069
4db5b08f
MS
40702013-10-19 Michael Stahl <mstahl@redhat.com>
4071
4072 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4073
a471e96a
OB
40742013-10-19 Ondřej Bílka <neleai@seznam.cz>
4075
d1f23d46 4076 [BZ #10278]
a471e96a
OB
4077 * posix/glob.c: Match only directories when trailing slash is present.
4078 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4079 (main): Add testcase.
4080
45c30c61
OB
40812013-10-19 Ondřej Bílka <neleai@seznam.cz>
4082
4083 [BZ #15670]
4084 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4085
484c12fb
CD
40862013-10-18 Carlos O'Donell <carlos@redhat.com>
4087
3d7dc513
CD
4088 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4089 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4090 AUTH_DES and cindex for FIPS 140-2.
4091 (DES Encryption): Add cindex FIPS 46-3.
4092
484c12fb
CD
4093 * locale/locarchive.h (struct locarhandle): Add fname.
4094 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4095 if an optional argument was specified to --list-archive,
4096 otherwise NULL.
4097 * locale/programs/locarchive.c (show_archive_content): Take new
4098 argument fname and pass it via ah.fname to open_archive.
4099 * locale/programs/localedef.h: Update decl.
4100 (open_archive): If AH->fname is non-null, open that file
4101 rather than the default file name, and don't ignore ENOENT.
4102 (create_archive): Set AH.fname to NULL.
4103 (delete_locales_from_archive): Likewise.
4104 (add_locales_to_archive): Likewise.
4105 * locale/programs/locfile.c (write_all_categories): Likewise.
4106
3c8325fb
JM
41072013-10-18 Joseph Myers <joseph@codesourcery.com>
4108 Aldy Hernandez <aldyh@redhat.com>
4109
4110 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4111 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4112 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4113 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4114 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4115 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4116 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4117 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4118 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4119 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4120 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4121 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4122 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4123 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4124 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4125 Likewise.
4126 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4127 Likewise.
4128 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4129 Likewise.
4130 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4131 Likewise.
4132 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4133 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4134 Likewise.
4135 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4136 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4137 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4138 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4139 Likewise.
4140 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4141 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4142 * sysdeps/powerpc/preconfigure: Likewise.
4143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4144 Likewise.
4145 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4146 Replace contents of file by #include of <fenv_libc.h>.
4147 * sysdeps/powerpc/soft-fp/sfp-machine.h
4148 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4149 and <sys/prctl.h>.
4150 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4151 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4152 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4153 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4154 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4155 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4157 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4158 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4159 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4160 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4161 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4163 Allow copysignl PLT reference to be missing.
4164
5abe0682
RS
41652013-10-18 Richard Sandiford <richard@codesourcery.com>
4166 Joseph Myers <joseph@codesourcery.com
4167
4168 [BZ #15948]
4169 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4170 single character.
4171 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4172
c7738d08
SP
41732013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4174
4175 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4176 * elf/tst-tls1.c: Likewise.
4177 * elf/tst-tls10.h: Likewise.
4178 * elf/tst-tls14.c: Likewise.
4179 * elf/tst-tls2.c: Likewise.
4180 * elf/tst-tls3.c: Likewise.
4181 * elf/tst-tls4.c: Likewise.
4182 * elf/tst-tls5.c: Likewise.
4183 * elf/tst-tls6.c: Likewise.
4184 * elf/tst-tls7.c: Likewise.
4185 * elf/tst-tls8.c: Likewise.
4186 * elf/tst-tls9.c: Likewise.
4187 * elf/tst-tlsmod1.c: Likewise.
4188 * elf/tst-tlsmod13.c: Likewise.
4189 * elf/tst-tlsmod13a.c: Likewise.
4190 * elf/tst-tlsmod14a.c: Likewise.
4191 * elf/tst-tlsmod16a.c: Likewise.
4192 * elf/tst-tlsmod16b.c: Likewise.
4193 * elf/tst-tlsmod2.c: Likewise.
4194 * elf/tst-tlsmod3.c: Likewise.
4195 * elf/tst-tlsmod4.c: Likewise.
4196 * elf/tst-tlsmod5.c: Likewise.
4197 * elf/tst-tlsmod6.c: Likewise.
4198
0bfcf2c7
OB
41992013-10-18 Ondřej Bílka <neleai@seznam.cz>
4200
4201 [BZ #12486]
4202 * malloc/malloc.c: remove checks for statistics.
4203
264aad1e
OB
42042013-10-17 Ondřej Bílka <neleai@seznam.cz>
4205
4206 [BZ #15277]
4207 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4208 * inet/tst-network.c: Add testcase.
4209
b957ced8
AS
42102013-10-17 Andreas Schwab <schwab@suse.de>
4211
4212 [BZ #15218]
4213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4214 to determine canonical name.
4215
c5d5d574
OB
42162013-10-17 Ondřej Bílka <neleai@seznam.cz>
4217
4218 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4219 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4242 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4243 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4248 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4276
e5c2c2d0
JM
42772013-10-17 Joseph Myers <joseph@codesourcery.com>
4278
4279 [BZ #16041]
4280 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4281 make result into a quiet NaN.
4282
51ca9e29
JM
42832013-10-16 Joseph Myers <joseph@codesourcery.com>
4284
4285 * soft-fp/adddf3.c: Fix horizontal whitespace.
4286 * soft-fp/addsf3.c: Likewise.
4287 * soft-fp/addtf3.c: Likewise.
4288 * soft-fp/divdf3.c: Likewise.
4289 * soft-fp/divsf3.c: Likewise.
4290 * soft-fp/divtf3.c: Likewise.
4291 * soft-fp/double.h: Likewise.
4292 * soft-fp/eqdf2.c: Likewise.
4293 * soft-fp/eqsf2.c: Likewise.
4294 * soft-fp/eqtf2.c: Likewise.
4295 * soft-fp/extenddftf2.c: Likewise.
4296 * soft-fp/extended.h: Likewise.
4297 * soft-fp/extendsfdf2.c: Likewise.
4298 * soft-fp/extendsftf2.c: Likewise.
4299 * soft-fp/extendxftf2.c: Likewise.
4300 * soft-fp/fixdfdi.c: Likewise.
4301 * soft-fp/fixdfsi.c: Likewise.
4302 * soft-fp/fixdfti.c: Likewise.
4303 * soft-fp/fixsfdi.c: Likewise.
4304 * soft-fp/fixsfsi.c: Likewise.
4305 * soft-fp/fixsfti.c: Likewise.
4306 * soft-fp/fixtfdi.c: Likewise.
4307 * soft-fp/fixtfsi.c: Likewise.
4308 * soft-fp/fixtfti.c: Likewise.
4309 * soft-fp/fixunsdfdi.c: Likewise.
4310 * soft-fp/fixunsdfsi.c: Likewise.
4311 * soft-fp/fixunsdfti.c: Likewise.
4312 * soft-fp/fixunssfdi.c: Likewise.
4313 * soft-fp/fixunssfsi.c: Likewise.
4314 * soft-fp/fixunssfti.c: Likewise.
4315 * soft-fp/fixunstfdi.c: Likewise.
4316 * soft-fp/fixunstfsi.c: Likewise.
4317 * soft-fp/fixunstfti.c: Likewise.
4318 * soft-fp/floatdidf.c: Likewise.
4319 * soft-fp/floatdisf.c: Likewise.
4320 * soft-fp/floatditf.c: Likewise.
4321 * soft-fp/floatsidf.c: Likewise.
4322 * soft-fp/floatsisf.c: Likewise.
4323 * soft-fp/floatsitf.c: Likewise.
4324 * soft-fp/floattidf.c: Likewise.
4325 * soft-fp/floattisf.c: Likewise.
4326 * soft-fp/floattitf.c: Likewise.
4327 * soft-fp/floatundidf.c: Likewise.
4328 * soft-fp/floatundisf.c: Likewise.
4329 * soft-fp/floatunditf.c: Likewise.
4330 * soft-fp/floatunsidf.c: Likewise.
4331 * soft-fp/floatunsisf.c: Likewise.
4332 * soft-fp/floatunsitf.c: Likewise.
4333 * soft-fp/floatuntidf.c: Likewise.
4334 * soft-fp/floatuntisf.c: Likewise.
4335 * soft-fp/floatuntitf.c: Likewise.
4336 * soft-fp/fmadf4.c: Likewise.
4337 * soft-fp/fmasf4.c: Likewise.
4338 * soft-fp/fmatf4.c: Likewise.
4339 * soft-fp/gedf2.c: Likewise.
4340 * soft-fp/gesf2.c: Likewise.
4341 * soft-fp/getf2.c: Likewise.
4342 * soft-fp/ledf2.c: Likewise.
4343 * soft-fp/lesf2.c: Likewise.
4344 * soft-fp/letf2.c: Likewise.
4345 * soft-fp/muldf3.c: Likewise.
4346 * soft-fp/mulsf3.c: Likewise.
4347 * soft-fp/multf3.c: Likewise.
4348 * soft-fp/negdf2.c: Likewise.
4349 * soft-fp/negsf2.c: Likewise.
4350 * soft-fp/negtf2.c: Likewise.
4351 * soft-fp/op-1.h: Likewise.
4352 * soft-fp/op-2.h: Likewise.
4353 * soft-fp/op-4.h: Likewise.
4354 * soft-fp/op-8.h: Likewise.
4355 * soft-fp/op-common.h: Likewise.
4356 * soft-fp/quad.h: Likewise.
4357 * soft-fp/single.h: Likewise.
4358 * soft-fp/soft-fp.h: Likewise.
4359 * soft-fp/sqrtdf2.c: Likewise.
4360 * soft-fp/sqrtsf2.c: Likewise.
4361 * soft-fp/sqrttf2.c: Likewise.
4362 * soft-fp/subdf3.c: Likewise.
4363 * soft-fp/subsf3.c: Likewise.
4364 * soft-fp/subtf3.c: Likewise.
4365 * soft-fp/truncdfsf2.c: Likewise.
4366 * soft-fp/trunctfdf2.c: Likewise.
4367 * soft-fp/trunctfsf2.c: Likewise.
4368 * soft-fp/trunctfxf2.c: Likewise.
4369 * soft-fp/unorddf2.c: Likewise.
4370 * soft-fp/unordsf2.c: Likewise.
4371 * soft-fp/unordtf2.c: Likewise.
4372
9ebb0332
JM
43732013-10-15 Joseph Myers <joseph@codesourcery.com>
4374
4375 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4376 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4377
4b1a6d8b
OB
43782013-10-15 Ondřej Bílka <neleai@seznam.cz>
4379
4380 * elf/dl-libc.c: Clear initfini list after freeing.
4381
1e145589
JM
43822013-10-14 Joseph Myers <joseph@codesourcery.com>
4383
4384 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4385 * soft-fp/addsf3.c: Likewise.
4386 * soft-fp/addtf3.c: Likewise.
4387 * soft-fp/divdf3.c: Likewise.
4388 * soft-fp/divsf3.c: Likewise.
4389 * soft-fp/divtf3.c: Likewise.
4390 * soft-fp/double.h: Likewise.
4391 * soft-fp/eqdf2.c: Likewise.
4392 * soft-fp/eqsf2.c: Likewise.
4393 * soft-fp/eqtf2.c: Likewise.
4394 * soft-fp/extenddftf2.c: Likewise.
4395 * soft-fp/extended.h: Likewise.
4396 * soft-fp/extendsfdf2.c: Likewise.
4397 * soft-fp/extendsftf2.c: Likewise.
4398 * soft-fp/extendxftf2.c: Likewise.
4399 * soft-fp/fixdfdi.c: Likewise.
4400 * soft-fp/fixdfsi.c: Likewise.
4401 * soft-fp/fixdfti.c: Likewise.
4402 * soft-fp/fixsfdi.c: Likewise.
4403 * soft-fp/fixsfsi.c: Likewise.
4404 * soft-fp/fixsfti.c: Likewise.
4405 * soft-fp/fixtfdi.c: Likewise.
4406 * soft-fp/fixtfsi.c: Likewise.
4407 * soft-fp/fixtfti.c: Likewise.
4408 * soft-fp/fixunsdfdi.c: Likewise.
4409 * soft-fp/fixunsdfsi.c: Likewise.
4410 * soft-fp/fixunsdfti.c: Likewise.
4411 * soft-fp/fixunssfdi.c: Likewise.
4412 * soft-fp/fixunssfsi.c: Likewise.
4413 * soft-fp/fixunssfti.c: Likewise.
4414 * soft-fp/fixunstfdi.c: Likewise.
4415 * soft-fp/fixunstfsi.c: Likewise.
4416 * soft-fp/fixunstfti.c: Likewise.
4417 * soft-fp/floatdidf.c: Likewise.
4418 * soft-fp/floatdisf.c: Likewise.
4419 * soft-fp/floatditf.c: Likewise.
4420 * soft-fp/floatsidf.c: Likewise.
4421 * soft-fp/floatsisf.c: Likewise.
4422 * soft-fp/floatsitf.c: Likewise.
4423 * soft-fp/floattidf.c: Likewise.
4424 * soft-fp/floattisf.c: Likewise.
4425 * soft-fp/floattitf.c: Likewise.
4426 * soft-fp/floatundidf.c: Likewise.
4427 * soft-fp/floatundisf.c: Likewise.
4428 * soft-fp/floatunsidf.c: Likewise.
4429 * soft-fp/floatunsisf.c: Likewise.
4430 * soft-fp/floatuntidf.c: Likewise.
4431 * soft-fp/floatuntisf.c: Likewise.
4432 * soft-fp/floatuntitf.c: Likewise.
4433 * soft-fp/fmadf4.c: Likewise.
4434 * soft-fp/fmasf4.c: Likewise.
4435 * soft-fp/fmatf4.c: Likewise.
4436 * soft-fp/gedf2.c: Likewise.
4437 * soft-fp/gesf2.c: Likewise.
4438 * soft-fp/getf2.c: Likewise.
4439 * soft-fp/ledf2.c: Likewise.
4440 * soft-fp/lesf2.c: Likewise.
4441 * soft-fp/letf2.c: Likewise.
4442 * soft-fp/muldf3.c: Likewise.
4443 * soft-fp/mulsf3.c: Likewise.
4444 * soft-fp/multf3.c: Likewise.
4445 * soft-fp/negdf2.c: Likewise.
4446 * soft-fp/negsf2.c: Likewise.
4447 * soft-fp/negtf2.c: Likewise.
4448 * soft-fp/op-1.h: Likewise.
4449 * soft-fp/op-2.h: Likewise.
4450 * soft-fp/op-4.h: Likewise.
4451 * soft-fp/op-8.h: Likewise.
4452 * soft-fp/op-common.h: Likewise.
4453 * soft-fp/quad.h: Likewise.
4454 * soft-fp/single.h: Likewise.
4455 * soft-fp/soft-fp.h: Likewise.
4456 * soft-fp/sqrtdf2.c: Likewise.
4457 * soft-fp/sqrtsf2.c: Likewise.
4458 * soft-fp/sqrttf2.c: Likewise.
4459 * soft-fp/subdf3.c: Likewise.
4460 * soft-fp/subsf3.c: Likewise.
4461 * soft-fp/subtf3.c: Likewise.
4462 * soft-fp/truncdfsf2.c: Likewise.
4463 * soft-fp/trunctfdf2.c: Likewise.
4464 * soft-fp/trunctfsf2.c: Likewise.
4465 * soft-fp/trunctfxf2.c: Likewise.
4466 * soft-fp/unorddf2.c: Likewise.
4467 * soft-fp/unordsf2.c: Likewise.
4468 * soft-fp/unordtf2.c: Likewise.
4469
17c48a60
OB
44702013-10-14 Ondřej Bílka <neleai@seznam.cz>
4471
4472 [BZ #15672]
4473 * misc/error.c (error_tail): Fix possible buffer overflow.
4474
cabba934
OB
44752013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4476
4477 [BZ #13028]
4478 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4479 address.
4480
94bf958a
PM
44812013-10-14 P. J. McDermott <pj@pehjota.net>
4482
4483 [BZ #832]
4484 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4485 testing pipefail option.
4486
71b4dea7
JM
44872013-10-12 Joseph Myers <joseph@codesourcery.com>
4488
4489 * soft-fp/double.h: Indent preprocessor directives inside #if.
4490 * soft-fp/extended.h: Likewise.
4491 * soft-fp/op-2.h: Likewise.
4492 * soft-fp/op-4.h: Likewise.
4493 * soft-fp/op-common.h: Likewise.
4494 * soft-fp/quad.h: Likewise.
4495 * soft-fp/single.h: Likewise.
4496 * soft-fp/soft-fp.h: Likewise.
4497
55602758
YC
44982013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4499
4500 * iconv/iconv_prog.c: Fix typos.
4501 * stdio-common/psiginfo-data.h: Likewise.
4502
9cd83302
RT
45032013-10-12 Reuben Thomas <rrt@sc3d.org>
4504
4505 [BZ #15764]
4506 * locale/setlocale.c: Fix typo.
4507
99fd9f47
JM
45082013-10-12 Joseph Myers <joseph@codesourcery.com>
4509
b7ea74f0
JM
4510 [BZ #16036]
4511 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4512 signaling NaN arguments.
4513 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4514 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4515
8a509447
JM
4516 [BZ #14910]
4517 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4518 unordered operands.
4519 * soft-fp/gesf2.c (__gesf2): Likewise.
4520 * soft-fp/getf2.c (__getf2): Likewise.
4521 * soft-fp/ledf2.c (__ledf2): Likewise.
4522 * soft-fp/lesf2.c (__lesf2): Likewise.
4523 * soft-fp/letf2.c (__letf2): Likewise.
4524
98998e9f
JM
4525 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4526 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4527 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4528 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4529 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4530 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4531 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4532 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4533 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4534 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4535 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4536 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4537 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4538 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4539 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4540 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4541 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4542 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4543 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4544 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4545 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4546 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4547 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4548 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4549 * soft-fp/floattidf.c (__floattidf): Likewise.
4550 * soft-fp/floattisf.c (__floattisf): Likewise.
4551 * soft-fp/floattitf.c (__floattitf): Likewise.
4552 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4553 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4554 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4555 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4556 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4557 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4558 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4559 * soft-fp/gesf2.c (__gesf2): Likewise.
4560 * soft-fp/getf2.c (__getf2): Likewise.
4561 * soft-fp/ledf2.c (__ledf2): Likewise.
4562 * soft-fp/lesf2.c (__lesf2): Likewise.
4563 * soft-fp/letf2.c (__letf2): Likewise.
4564
8edc4a11
JM
4565 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4566 Undefine and redefine.
4567 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4568 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4569 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4570 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4571 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4572 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4573 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4574 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4575 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4576 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4577 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4578 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4579 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4580 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4581 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4582
8399acaf
JM
4583 [BZ #16032]
4584 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4585 without decrementing exponent if mantissa >= that for the
4586 denominator, not >.
4587 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4588 denominator, not >. Decrement exponent in < case instead of
4589 incrementing in >= case.
4590 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4591 without decrementing exponent if mantissa >= that for the
4592 denominator, not >.
4593
99fd9f47
JM
4594 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4595 computing saturated result for unsigned overflow.
4596
10e1cf6b
SP
45972013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4598 Jeff Law <law@redhat.com>
4599
4600 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4601 (atan2Mp): Add systemtap probe marker.
4602 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4603 (__ieee754_log): Add systemtap probe marker.
4604 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4605 (atanMp): Add systemtap probe marker.
4606 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4607 (tanMp): Add systemtap probe marker.
4608 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4609 (__slowexp): Add systemtap probe marker.
4610 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4611 (__slowpow): Add systemtap probe marker.
4612 * manual/probes.texi: Document probes.
4613
3d110c7c
EB
46142013-10-11 Eric Biggers <ebiggers3@gmail.com>
4615
4616 [BZ #15362]
4617 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4618 written.
4619 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4620 written.
4621 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4622 written to buffer but not flushed.
4623 * libio/iofwrite_u.c: Likewise.
4624 * libio/iopadn.c: Return bytes returned even if EOF was
4625 encountered.
4626 * libio/iowpadn.c: Likewise.
4627 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4628 if _IO_padn does not write the whole buffer.
4629 [!COMPILE_WPRINTF] (PAD): Likewise.
4630
75b4202a
DM
46312013-10-10 David S. Miller <davem@davemloft.net>
4632
4633 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4634 directory block.
4635
6c6352e6
JM
46362013-10-10 Joseph Myers <joseph@codesourcery.com>
4637
33b853c3
JM
4638 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4639 instead of FSF address.
4640 * soft-fp/fixdfti.c: Likewise.
4641 * soft-fp/fixsfti.c: Likewise.
4642 * soft-fp/fixtfti.c: Likewise.
4643 * soft-fp/fixunsdfti.c: Likewise.
4644 * soft-fp/fixunssfti.c: Likewise.
4645 * soft-fp/fixunstfti.c: Likewise.
4646 * soft-fp/floattidf.c: Likewise.
4647 * soft-fp/floattisf.c: Likewise.
4648 * soft-fp/floattitf.c: Likewise.
4649 * soft-fp/floatuntidf.c: Likewise.
4650 * soft-fp/floatuntisf.c: Likewise.
4651 * soft-fp/floatuntitf.c: Likewise.
4652 * soft-fp/trunctfxf2.c: Likewise.
4653
6c6352e6
JM
4654 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4655 * soft-fp/fixdfti.c: Likewise.
4656 * soft-fp/fixsfti.c: Likewise.
4657 * soft-fp/fixtfti.c: Likewise.
4658 * soft-fp/fixunsdfti.c: Likewise.
4659 * soft-fp/fixunssfti.c: Likewise.
4660 * soft-fp/fixunstfti.c: Likewise.
4661 * soft-fp/floattidf.c: Likewise.
4662 * soft-fp/floattisf.c: Likewise.
4663 * soft-fp/floattitf.c: Likewise.
4664 * soft-fp/floatuntidf.c: Likewise.
4665 * soft-fp/floatuntisf.c: Likewise.
4666 * soft-fp/floatuntitf.c: Likewise.
4667 * soft-fp/trunctfxf2.c: Likewise.
4668
3bf78b71
DM
46692013-10-10 David S. Miller <davem@davemloft.net>
4670
4671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4672
6f10289e
JM
46732013-10-10 Joseph Myers <joseph@codsourcery.com>
4674
bd878fc0
JM
4675 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4676 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4677 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4678 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4679 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4680 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4681 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4682
6f10289e
JM
4683 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4684 for NaNs before doing comparisons on argument.
4685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4686 Likewise.
4687
321e2684
WN
46882013-10-10 Will Newton <will.newton@linaro.org>
4689
4690 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4691 passed to _int_memalign does not overflow.
4692
40fefba1
TR
46932013-10-10 Torvald Riegel <triegel@redhat.com>
4694
4695 * scripts/bench.pl: Add include-sources directive.
4696 * benchtests/README: Update documentation.
4697
2ae21ed2
JM
46982013-10-10 Joseph Myers <joseph@codesourcery.com>
4699
dcc2dd3f
JM
4700 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4701 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4702 instead of FP_INIT_ROUNDMODE.
4703 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4704 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4705
2ae21ed2
JM
4706 [BZ #16034]
4707 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4708 copy class of input value.
4709 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4710 not handle exceptions.
4711 * soft-fp/negsf2.c (__negsf2): Likewise.
4712 * soft-fp/negtf2.c (__negtf2): Likewise.
4713 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4714
cb8f9562
JM
47152013-10-09 Joseph Myers <joseph@codesourcery.com>
4716
4717 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4718 semicolon. From Linux kernel.
4719
5b60c59d
AB
47202013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4721
4722 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4723
b86835ca
YC
47242013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4725
4726 [BZ #156]
4727 * manual/socket.texi: Added statement about buffer
4728 for gethostbyname2_r.
4729
e7044ea7
OB
47302013-10-08 Ondřej Bílka <neleai@seznam.cz>
4731
4732 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4733 Use .p2align directive instead, throughout.
4734 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4735 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4736 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4737 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4738 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4739 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4740 * sysdeps/x86_64/strchr.S: Likewise.
4741 * sysdeps/x86_64/strrchr.S: Likewise.
4742
09544cbc
SP
47432013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4744
88576635
SP
4745 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4746
e7b2d1dd
SP
4747 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4748
09544cbc
SP
4749 * sysdeps/generic/math_private.h (__mpsin1): Remove
4750 declaration.
4751 (__mpcos1): Likewise.
4752 (__mpsin): New argument __range_reduce.
4753 (__mpcos): Likewise.
4754 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4755 (slow): Use __mpsin and __mpcos.
4756 (slow1): Likewise.
4757 (slow2): Likewise.
4758 (sloww): Likewise.
4759 (sloww1): Likewise.
4760 (sloww2): Likewise.
4761 (bsloww): Likewise.
4762 (bsloww1): Likewise.
4763 (bsloww2): Likewise.
4764 (cslow2): Likewise.
4765 (csloww): Likewise.
4766 (csloww1): Likewise.
4767 (csloww2): Likewise.
4768 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4769 range_reduce. Merge in __mpsin1.
4770 (__mpcos): Likewise.
4771 (__mpsin1): Remove.
4772 (__mpcos1): Likewise.
4773
7602d070
JM
47742013-10-07 Joseph Myers <joseph@codesourcery.com>
4775
4776 * locale/loadlocale.c (_nl_intern_locale_data): Use
4777 LOCFILE_ALIGNED_P.
4778 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4779 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4780 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4781 obstack data is appropriately aligned.
4782 (obstack_int32_grow_fast): Likewise.
4783 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4784 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4785 (add_locale_uint32_array): Likewise.
4786
a357259b
SP
47872013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4788
4789 * benchtests/Makefile: Remove ARGLIST and RET variables.
4790 ($(objpfx)bench-%.c): Pass only function name to the script.
4791 * benchtests/README: Update documentation.
4792 * benchtests/acos-inputs: Add new directives.
4793 * benchtests/acosh-inputs: Likewise.
4794 * benchtests/asin-inputs: Likewise.
4795 * benchtests/asinh-inputs: Likewise.
4796 * benchtests/atan-inputs: Likewise.
4797 * benchtests/atanh-inputs: Likewise.
4798 * benchtests/cos-inputs: Likewise.
4799 * benchtests/cosh-inputs: Likewise.
4800 * benchtests/exp-inputs: Likewise.
4801 * benchtests/log-inputs: Likewise.
4802 * benchtests/pow-inputs: Likewise.
4803 * benchtests/rint-inputs: Likewise.
4804 * benchtests/sin-inputs: Likewise.
4805 * benchtests/sinh-inputs: Likewise.
4806 * benchtests/tan-inputs: Likewise.
4807 * benchtests/tanh-inputs: Likewise.
4808 * scripts/bench.pl: Add support for new directives.
4809
9ec1b13d
AM
48102013-10-07 Alan Modra <amodra@gmail.com>
4811
4812 * README: Fix careless merge.
4813
8b7d57cd
AM
48142013-10-05 Alan Modra <amodra@gmail.com>
4815
4816 * NEWS: Mention powerpc64le support and bugs fixed.
4817 * README: Both big-endian and little-endian powerpc64 supported.
4818
7b7bab13
ST
48192013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4820
4821 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4822 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4823 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4824 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4825
d39baad1
RA
48262013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4827
4828 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4829 match prototype.
4830
cd78f7e7
JM
48312013-10-04 Joseph Myers <joseph@codesourcery.com>
4832
29d73d86
JM
4833 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4834 Move -mhard-float appending from
4835 ports/sysdeps/powerpc/powerpc32/Makefile.
4836 [$(with-fp) = yes] (ASFLAGS): Likewise.
4837 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4838 * sysdeps/powerpc/nofpu: Move directory from
4839 ports/sysdeps/powerpc/nofpu.
4840 * sysdeps/powerpc/soft-fp: Move directory from
4841 ports/sysdeps/powerpc/soft-fp.
4842 * sysdeps/powerpc/powerpc32/405: Move directory from
4843 ports/sysdeps/powerpc/powerpc32/405.
4844 * sysdeps/powerpc/powerpc32/440: Move directory from
4845 ports/sysdeps/powerpc/powerpc32/440.
4846 * sysdeps/powerpc/powerpc32/464: Move directory from
4847 ports/sysdeps/powerpc/powerpc32/464.
4848 * sysdeps/powerpc/powerpc32/476: Move directory from
4849 ports/sysdeps/powerpc/powerpc32/476.
4850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4851 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4853 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4855 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4857 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4859 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4860 * README: Update for powerpc-*-linux-gnu software floating point
4861 support in libc.
4862
e246b347
JM
4863 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4864 case to powerpc/powerpc32*.
4865 * sysdeps/unix/sysv/linux/configure: Regenerated.
4866
89c2003e
JM
4867 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4868 (_FPU_MASK_OM): Define as 0x04.
4869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4871 0x00c10080.
4872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4873 0x0000003c.
4874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4875
cd78f7e7
JM
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4877 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4878 getcontext_e500.
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4880 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4881 setcontext_e500.
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4883 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4884 and setcontext_e500.
4885
c755294d
CL
48862013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4887
4888 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4889
e16d221c
SP
48902013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4891
4892 * manual/threads.texi (Default Thread Attributes): Fix typo.
4893
215c7d43
WN
48942013-10-04 Will Newton <will.newton@linaro.org>
4895
4896 * malloc/Makefile: Add tst-memalign.
4897 * malloc/tst-memalign.c: New file.
4898
27d0461b
WN
4899 * malloc/tst-posix_memalign.c: Add comments.
4900 (do_test): Add comments and call free on all potentially
4901 allocated pointers. Add space after cast.
4902
1bc92709
WN
4903 * malloc/tst-pvalloc.c: Add comments.
4904 (do_test): Add comments and call free on all potentially
4905 allocated pointers. Remove duplicate check for NULL pointer.
4906 Add space after cast.
4907
66a9be9d
WN
4908 * malloc/tst-valloc.c: Add comments.
4909 (do_test): Add comments and call free on all potentially
4910 allocated pointers. Remove duplicate check for NULL pointer.
4911 Add space after cast.
4912
4cb81307
AM
49132013-10-04 Alan Modra <amodra@gmail.com>
4914
4915 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4916 Use stdint types in rather than __attribute__((mode())).
4917 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4918
f8e3e9f3
AM
49192013-10-04 Alan Modra <amodra@gmail.com>
4920
4921 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4922 Correct handling of unaligned relocs for little-endian.
4923 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4924
8f9ebb08
AM
49252013-10-04 Alan Modra <amodra@gmail.com>
4926
4927 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4928 * configure: Regenerate.
4929 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4930 * shlib-versions: Likewise.
4931
0edf96c2
AM
49322013-10-04 Alan Modra <amodra@gmail.com>
4933
4934 * string/tester.c (test_memrchr): Increment reported test cycle.
4935
e0f7a380
AM
49362013-10-04 Alan Modra <amodra@gmail.com>
4937
4938 * string/test-memcpy.c (do_one_test): When reporting errors, print
4939 string address and don't overrun end of string.
4940
466b0393
AM
49412013-10-04 Alan Modra <amodra@gmail.com>
4942
4943 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4944 insrdi. Make better use of reg selection to speed exit slightly.
4945 Schedule entry path a little better. Remove useless "are we done"
4946 checks on entry to main loop. Handle wrapping around zero address.
4947 Correct main loop count. Handle single left-over word from main
4948 loop inline rather than by using loop_small. Remove extra word
4949 case in loop_small caused by wrong loop count. Add little-endian
4950 support.
4951 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4952 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4953 cache hint.
4954 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4955 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4956 support. Avoid rlwimi.
4957 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4958
3be87c77
AM
49592013-10-04 Alan Modra <amodra@gmail.com>
4960
4961 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4962 insrdi. Formatting.
3be87c77
AM
4963 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4964 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4965 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4966 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4967 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4968 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4969
759cfef3
AM
49702013-10-04 Alan Modra <amodra@gmail.com>
4971
4972 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4973 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4974 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4975 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4976 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4977 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4978 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4979 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4980 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4981 use of regs. Use power7 mtocrf. Tidy function tails.
4982
fe6e95d7
AM
49832013-10-04 Alan Modra <amodra@gmail.com>
4984
4985 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4986 Formatting. Consistently use rXXX register defines or rN defines.
4987 Use early exit labels that avoid restoring unused non-volatile regs.
4988 Make cr field use more consistent with rWORDn compares. Rename
4989 regs used as shift registers for unaligned loop, using rN defines
4990 for short lifetime/multiple use regs.
4991 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4992 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4993 addi 1,1,64 to pop stack frame. Simplify return value code.
4994 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4995
664318c3
AM
49962013-10-04 Alan Modra <amodra@gmail.com>
4997
4998 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4999 support. Correct typos, formatting. Optimize tail. Use insrdi
5000 rather than rlwimi.
5001 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5002 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5003 little-endian support. Correct typos.
5004 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5005 rather than rlwimi.
5006 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5007 in loop and entry code to keep "and." results.
5008 (strchr): Add little-endian support. Comment. Move cntlzd
5009 earlier in tail.
5010 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5011
43b84013
AM
50122013-10-04 Alan Modra <amodra@gmail.com>
5013
5014 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5015 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5016 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5017 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5018
8a7413f9
AM
50192013-10-04 Alan Modra <amodra@gmail.com>
5020
5021 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5022 (rTMP): Define as r11.
5023 (strcmp): Add little-endian support. Optimise tail.
5024 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5025 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5026 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5027 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5028 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5029 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5030 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5031
33ee81de
AM
50322013-10-04 Alan Modra <amodra@gmail.com>
5033
5034 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5035 little-endian support. Remove unnecessary "are we done" tests.
5036 Handle "s" wrapping around zero and extremely large "size".
5037 Correct main loop count. Handle single left-over word from main
5038 loop inline rather than by using small_loop. Correct comments.
5039 Delete "zero" tail, use "end_max" instead.
5040 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5041
db9b4570
AM
50422013-10-04 Alan Modra <amodra@gmail.com>
5043
5044 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5045 support. Don't branch over align.
5046 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5047 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5048 support. Rearrange tmp reg use to suit. Comment.
5049 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5050
f7c399cf
AM
50512013-10-04 Alan Modra <amodra@gmail.com>
5052
5053 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5054
0b2c2ace
AM
50552013-10-04 Alan Modra <amodra@gmail.com>
5056
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5058 conditional form of branch and link when obtaining pc.
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5060
02f04a6c
AM
50612013-10-04 Alan Modra <amodra@gmail.com>
5062
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5064 HIWORD/LOWORD.
5065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5067
9b874b2f
AM
50682013-10-04 Alan Modra <amodra@gmail.com>
5069
5070 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5071 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5072 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5073 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5074 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5075 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5076 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5077 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5078 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5079 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5080
be1e5d31
AB
50812013-10-04 Anton Blanchard <anton@au1.ibm.com>
5082 Alistair Popple <alistair@ozlabs.au.ibm.com>
5083 Alan Modra <amodra@gmail.com>
5084
5085 [BZ #15723]
5086 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5087 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5088 _dl_hwcap access for little-endian.
5089 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5090 destroy vmx regs when saving unaligned.
5091 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5092 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5093 destroy vmx regs when saving unaligned.
5094
fef13a78
AM
50952013-10-04 Alan Modra <amodra@gmail.com>
5096
5097 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5098 Don't use a union to pack hi/low value.
5099
76a66d51
AB
51002013-10-04 Anton Blanchard <anton@au1.ibm.com>
5101
5102 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5103 for little-endian.
5104 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5105 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5106 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5107 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5108 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5109
6a31fe7f
AM
51102013-10-04 Alan Modra <amodra@gmail.com>
5111
5112 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5113 constants to usual value for .cst8 section, and remove redundant
5114 high address load.
5115 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5116 constant for 0x1p52. Load little-endian words of double from
5117 correct stack offsets.
5118
7b88401f
AM
51192013-10-04 Alan Modra <amodra@gmail.com>
5120
5121 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5122 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5123 words of double from correct stack offsets.
5124 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5125 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5126 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5127 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5128 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5129 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5130 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5131 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5132 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5133 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5134 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5135 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5136 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5137 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5138 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5139 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5140 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5141
9c008155
AM
51422013-10-04 Alan Modra <amodra@gmail.com>
5143
5144 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5145 64-bit int/double union.
5146 (_FPU_SETCW): Likewise.
5147 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5148 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5149
da13146d
AM
51502013-10-04 Alan Modra <amodra@gmail.com>
5151
5152 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5153 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5154
603e8410
AM
51552013-10-04 Alan Modra <amodra@gmail.com>
5156
5157 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5158 use vector int constants.
5159 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5160
4a28b3ca
AB
51612013-10-04 Anton Blanchard <anton@au1.ibm.com>
5162
5163 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5164 array with long long.
5165 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5166 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5167 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5168 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5169 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5170 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5171 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5172 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5173 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5174 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5175 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5176 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5177 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5178
2ca85d2b
AB
51792013-10-04 Anton Blanchard <anton@au1.ibm.com>
5180
5181 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5182 (__signbit): Likewise. Correct for little-endian.
5183 (__signbitl): Call __signbit.
5184 (lrint): Correct for little-endian.
5185 (lrintf): Call lrint.
5186
62a728ae
AM
51872013-10-04 Alan Modra <amodra@gmail.com>
5188
5189 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5190 union 32-bit int array member with 64-bit int array.
5191 (t515, tm256): Double rather than long double.
5192 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5193
32c301df
AM
51942013-10-04 Alan Modra <amodra@gmail.com>
5195
5196 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5197 Delete.
5198 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5200 version of math_ldbl.h.
5201
650ef4bd
AM
52022013-10-04 Alan Modra <amodra@gmail.com>
5203
5204 [BZ #15734], [BZ #15735]
5205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5206 all uses of ieee875 long double macros and unions. Simplify test
5207 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5208 ldbl_extract_mantissa value for ix,iy exponents. Properly
5209 normalize after ldbl_extract_mantissa, and don't add hidden bit
5210 already handled. Don't treat low word of ieee854 mantissa like
5211 low word of IBM long double and mask off bit when testing for
5212 zero.
5213 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5214 all uses of ieee875 long double macros and unions. Simplify tests
5215 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5216 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5217 two1022, instead use their values. Recognise that tests for large
5218 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5219 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5220 Rewrite all uses of ieee875 long double macros and unions. Simplify
5221 test for 0.0L and nan. Correct negation.
5222 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5223 ieee875 long double macros and unions. Correct output for large
5224 magnitude x. Correct absolute value calculation.
5225 (__erfcl): Likewise.
5226 * math/libm-test.inc: Add tests for errors discovered in IBM long
5227 double versions of fmodl, remainderl, erfl and erfcl.
5228
765714ca
AM
52292013-10-04 Alan Modra <amodra@gmail.com>
5230
5231 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5232 all uses of ieee854 long double macros and unions. Simplify tests
5233 for long doubles that are fully specified by the high double.
5234 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5235 Likewise.
5236 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5237 Remove dead code too.
5238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5239 (__ieee754_ynl): Likewise.
5240 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5241 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5243 Remove dead code too.
5244 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5245 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5246 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5247 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5248 Simplify.
5249 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5250 Simplify.
5251 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5253 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5254 Comment on variable precision.
5255 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5256 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5257 Likewise.
5258 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5259 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5260 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5261 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5262 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5263
4ebd120c
AM
52642013-10-04 Alan Modra <amodra@gmail.com>
5265
5266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5267 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5268 all uses of ieee854 long double macros and unions.
5269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5270 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5271 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5272 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5273 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5275 Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5278 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5279 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5281 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5282 Simplify sign and nan test too.
5283 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5284 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5285 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5286 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5287 Likewise.
5288 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5289 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5290 Likewise.
5291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5292 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5293 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5294 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5295 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5297
1b6adf88
AM
52982013-10-04 Alan Modra <amodra@gmail.com>
5299
5300 * stdio-common/printf_size.c (__printf_size): Don't use
5301 union ieee854_long_double in fpnum union.
5302 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5303 signbit macro to retrieve sign from long double.
5304 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5305 retrieve sign from long double.
5306 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5307 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5308 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5309 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5310 * math/test-misc.c (main): Don't use union ieee854_long_double.
5311
4cf69995
AM
53122013-10-04 Alan Modra <amodra@gmail.com>
5313
5314 [BZ #15680]
5315 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5316 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5317 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5318 calculation. Remove unnecessary test for denormal exponent.
5319 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5320 Correct handling of denormals. Avoid undefined shift behaviour.
5321 Correct normalisation of low mantissa when low double is denormal.
5322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5323 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5324 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5325 Correct normalisation of low mantissa. Test for overflow of high
5326 mantissa and normalise.
5327 (ldbl_nearbyint): Use more readable constant for two52.
5328 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5329 (__mpn_construct_long_double): Fix test for overflow of high
5330 mantissa and correct normalisation. Avoid undefined shift.
5331
9605ca6c
AM
53322013-10-04 Alan Modra <amodra@gmail.com>
5333
5334 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5335 (union ibm_extended_long_double): Define as an array of ieee754_double.
5336 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5337 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5338 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5339 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5340 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5341 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5342 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5343 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5344 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5345 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5346 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5347
975569d0
JM
53482013-10-03 Joseph Myers <joseph@codesourcery.com>
5349
d3d23756
JM
5350 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5351 page size instead of calling getpagesize.
5352
975569d0
JM
5353 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5354 (LOCFILE_ALIGN_MASK): Likewise.
5355 (LOCFILE_ALIGN_UP): Likewise.
5356 (LOCFILE_ALIGNED_P): Likewise.
5357 * locale/programs/ld-collate.c (collate_output): Use the new
5358 macros instead of __alignof__ (int32_t).
5359 * locale/weight.h (findidx): Likewise.
5360
b1fe1f2b
OB
53612013-10-03 Ondřej Bílka <neleai@seznam.cz>
5362
5363 [BZ #431]
5364 * manual/string.texi: Fix strncat and wcsncat.
5365
5f855e35
BM
53662013-10-03 Brooks Moses <bmoses@google.com>
5367
5368 [BZ #15915]
5369 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5370 * Makerules: ...here, and adjust associated comments.
5371
3cef6009
WN
53722013-10-02 Will Newton <will.newton@linaro.org>
5373
5374 * malloc/Makefile: Add tst-pvalloc.
5375 * malloc/tst-pvalloc.c: New file.
5376
7815420b
WN
53772013-10-02 Will Newton <will.newton@linaro.org>
5378
5379 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5380 improve test coverage.
5381
4868b204
WN
53822013-10-02 Will Newton <will.newton@linaro.org>
5383
5384 * malloc/Makefile: Add tst-posix_memalign.
5385 * malloc/tst-posix_memalign.c: New file.
5386
29c793b3
EB
53872013-10-01 Eric Blake <eblake@redhat.com>
5388
5389 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5390 Use __THROWNL rather than __THROW on static functions.
5391
fd967522
PM
53922013-09-30 Petr Machata <pmachata@redhat.com>
5393
5394 * elf/elf.h (R_AARCH64_ABS16): New macro.
5395 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5396 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5397 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5398 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5399 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5400 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5401 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5402 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5403 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5404 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5405 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5406 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5407 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5408 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5409 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5410 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5411 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5412 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5413 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5414 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5415 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5416 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5417 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5418 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5419 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5420 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5421 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5422 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5423 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5424 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5425 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5426 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5427 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5428 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5429 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5430 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5431 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5432 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5433 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5434 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5435 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5436 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5437 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5438 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5439 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5440 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5441 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5442 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5443 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5444 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5445 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5446 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5447 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5448 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5449 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5450 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5451 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5452 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5453 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5454 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5455 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5456 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5457 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5458 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5459 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5460 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5461 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5462 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5463 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5464 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5465 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5466 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5467 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5468 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5469 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5470 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5471 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5472 (R_AARCH64_TLSDESC_LDR): Likewise.
5473 (R_AARCH64_TLSDESC_ADD): Likewise.
5474 (R_AARCH64_TLSDESC_CALL): Likewise.
5475
b2179107
AS
54762013-09-30 Andreas Schwab <schwab@suse.de>
5477
5478 [BZ #15048]
5479 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5480 the nss database lookup.
5481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5483
47f28d0a
MF
54842013-09-28 Mike Frysinger <vapier@gentoo.org>
5485
5486 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5487
54882013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5489
5490 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5491 ${Bash-specific parameter/pattern/string} parameter expansion.
5492 * sysdeps/unix/make-syscalls.sh: Likewise.
5493
f4518a17
KK
54942013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5495
5496 * sysdeps/sh/stackguard-macros.h: New file.
5497
dc1a95c7
OB
54982013-09-26 Ondřej Bílka <neleai@seznam.cz>
5499
5500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5502 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5503 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5504 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5505 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5506
5ebbff8f
AZ
55072013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5508
5509 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5510 Fix thread ID register.
5511
4fd2cf9f
JM
55122013-09-25 Joseph Myers <joseph@codesourcery.com>
5513
5514 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5515 [POSIX || UNIX98]: Require rather than permitting all symbols from
5516 <time.h>.
5517 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5518 element of struct sched_param.
5519 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5520 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5521 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5522 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5523 constant.
5524
12c22bc4
OL
55252013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5526
5527 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5528 argument calculation.
5529
a03d8ea7
JM
55302013-09-24 Joseph Myers <joseph@codesourcery.com>
5531
5532 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5533 Expect macro.
5534 [POSIX] (pthread_attr_t): Do not require type.
5535 [POSIX] (pthread_cond_t): Likewise.
5536 [POSIX] (pthread_condattr_t): Likewise.
5537 [POSIX] (pthread_key_t): Likewise.
5538 [POSIX] (pthread_mutex_t): Likewise.
5539 [POSIX] (pthread_mutexattr_t): Likewise.
5540 [POSIX] (pthread_once_t): Likewise.
5541 [POSIX] (pthread_t): Likewise.
5542 [POSIX-based standards] (pthread_atfork): Expect function.
5543
6055173a
JM
55442013-09-24 Joseph Myers <joseph@codesourcery.com>
5545 Richard Sandiford <richard@codesourcery.com>
5546
5547 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5548 (swap_endianness_p): New extern variable.
5549 (set_big_endian): New inline function.
5550 (maybe_swap_uint32): Likewise.
5551 (maybe_swap_uint32_array): Likewise.
5552 (maybe_swap_uint32_obstack): Likewise.
5553 * locale/programs/locfile.c: Include <stdbool.h>.
5554 (swap_endianness_p): New variable.
5555 (add_locale_uint32): Call maybe_swap_uint32.
5556 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5557 (write_locale_data): Call maybe_swap_uint32_array.
5558 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5559 maybe_swap_uint32.
5560 (obstack_int32_grow_fast): Likewise.
5561 (output_weightwc): Call maybe_swap_uint32_obstack.
5562 (collate_output): Likewise.
5563 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5564 (OPT_LITTLE_ENDIAN): Likewise.
5565 (options): Add --little-endian and --big-endian options.
5566 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5567 * locale/programs/locarchive.c: Include "locfile.h".
5568 (GET): New macro.
5569 (SET): Likewise.
5570 (INC): Likewise.
5571 (create_archive): Use the new macros to access fields of
5572 structures directly mapped from or written to locale archives.
5573 (oldlocrecentcmp): Likewise.
5574 (enlarge_archive): Likewise.
5575 (insert_name): Likewise.
5576 (add_alias): Likewise.
5577 (add_locale): Likewise.
5578 (delete_locales_from_archive): Likewise.
5579 (show_archive_content): Likewise.
5580 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5581 locale data.
5582
39bf0bb4
RM
55832013-09-24 Roland McGrath <roland@hack.frob.com>
5584
5585 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5586 http://www.gnu.org/doc/freemanuals.texi.
5587 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5588
f02eed10
WN
55892013-09-24 Will Newton <will.newton@linaro.org>
5590
5591 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5592 macro.
5593
a3a6c312
JM
55942013-09-23 Joseph Myers <joseph@codesourcery.com>
5595
5596 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5597 unsigned char.
5598
107375ac
MR
55992013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5600
5601 * manual/threads.texi (POSIX Threads): Fix a typo.
5602
141f3a77
SP
56032013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5604
303e567a
SP
5605 [BZ #14547]
5606 * string/tst-strcoll-overflow.c: New test case.
5607 * string/Makefile (xtests): Add tst-strcoll-overflow.
5608 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5609 cache if string sizes may cause integer overflow.
5610
141f3a77
SP
5611 [BZ #14547]
5612 * string/strcoll_l.c (coll_seq): New members rule, idx,
5613 save_idx and back_us.
5614 (get_next_seq_nocache): New function.
5615 (do_compare_nocache): New function.
5616 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5617 when malloc fails.
5618
c61b4d41
CD
56192013-09-23 Carlos O'Donell <carlos@redhat.com>
5620
0b1f8e35
CD
5621 [BZ #15754]
5622 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5623 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5624 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5625
c61b4d41
CD
5626 [BZ #15754]
5627 * elf/Makefile (tests): Add tst-ptrguard1.
5628 (tests-static): Add tst-ptrguard1-static.
5629 (tst-ptrguard1-ARGS): Define.
5630 (tst-ptrguard1-static-ARGS): Define.
5631 * elf/tst-ptrguard1.c: New file.
5632 * elf/tst-ptrguard1-static.c: New file.
5633 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5634 * sysdeps/i386/stackguard-macros.h: Likewise.
5635 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5636 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5637 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5638 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5639 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5640 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5641
56422013-09-23 Hector Marco <hecmargi@upv.es>
5643 Ismael Ripoll <iripoll@disca.upv.es>
5644 Carlos O'Donell <carlos@redhat.com>
5645
5646 [BZ #15754]
5647 * sysdeps/generic/stackguard-macros.h: Define
5648 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5649 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5650 Define __pointer_chk_guard_local.
5651 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5652 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5653
f5f4e7b4
VV
56542013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5655
5656 [BZ #15859]
5657 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5658
5bb43a43
AS
56592013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5660
5661 * include/string.h (__ffs): Declare as hidden.
5662 * string/ffs.c (__ffs): Define as hidden.
5663 * sysdeps/i386/ffs.c (__ffs): Likewise.
5664 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5665 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5666 * sysdeps/s390/ffs.c (__ffs): Likewise.
5667 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5668
3ea5be54
AO
56692013-09-20 Alexandre Oliva <aoliva@redhat.com>
5670
ffb89e53
AO
5671 * NEWS: Mention malloc probes.
5672
322dea08
AO
5673 * malloc/arena.c (new_heap): New memory_heap_new probe.
5674 (grow_heap): New memory_heap_more probe.
5675 (shrink_heap): New memory_heap_less probe.
5676 (heap_trim): New memory_heap_free probe.
5677 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5678 (systrim): New memory_sbrk_less probe.
5679 * manual/probes.texi: Document them.
5680
655673f3
AO
5681 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5682 * manual/probes.texi: Document it.
5683
35fed6f1
AO
5684 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5685 (__libc_realloc): Add memory_realloc_retry probe.
5686 (__libc_memalign): Add memory_memalign_retry probe.
5687 (__libc_valloc): Add memory_valloc_retry probe.
5688 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5689 (__libc_calloc): Add memory_calloc_retry probe.
5690 * manual/probes.texi: Document them.
5691
6999d38c
AO
5692 * malloc/arena.c (get_free_list): Add probe
5693 memory_arena_reuse_free_list.
5694 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5695 and memory_arena_reuse.
5696 (arena_get2) [!PER_THREAD]: Likewise.
5697 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5698 memory_arena_reuse_realloc.
5699 * manual/probes.texi: Document them.
5700
0653427f
AO
5701 * malloc/malloc.c (__libc_free): Add
5702 memory_mallopt_free_dyn_thresholds probe.
5703 (__libc_mallopt): Add multiple memory_mallopt probes.
5704 * manual/probes.texi: Document them.
5705
3ea5be54
AO
5706 * malloc/malloc.c: Include stap-probe.h.
5707 (__libc_mallopt): Add memory_mallopt probe.
5708 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5709 * manual/probes.texi: New.
5710 * manual/Makefile (chapters): Add probes.
5711 * manual/threads.texi: Set next node.
5712
e35696c3 57132013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5714
e35696c3
CL
5715 [BZ #15963, #13985]
5716 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5717 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5718 Add `Chinese' to `nan' entry name.
5719
4aafb73c
SP
57202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5721
5722 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5723 (POLYNOMIAL): Likewise.
5724 (TAYLOR_SINCOS): Likewise.
5725 (TAYLOR_SLOW): Likewise.
5726 (__sin): Use TAYLOR_SINCOS.
5727 (__cos): Likewise.
5728 (slow): Use TAYLOR_SLOW.
5729 (sloww): Likewise.
5730 (bsloww): Likewise.
5731 (csloww): Likewise.
5732
d84f25c7
LD
57332013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5734
5735 * stdlib/strtod_l.c: Fix buffer overrun.
5736
5eea0404
SP
57372013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5738
7849ff93
SP
5739 * benchtests/Makefile (bench): Add sincos.
5740 * benchtests/bench-sincos.c: New file.
5741
cfa3c886
SP
5742 * math/libm-test.inc (cos_test_data): New test inputs.
5743 (sin_test_data): Likewise.
5744
b348e1e3
SP
5745 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5746 macro.
5747 (__sin): Use it.
5748 (__cos): Likewise.
5749 (slow1): Likewise.
5750 (slow2): Likewise.
5751 (sloww1): Likewise.
5752 (sloww2): Likewise.
5753 (bsloww1): Likewise.
5754 (bsloww2): Likewise.
5755 (cslow2): Likewise.
5756 (csloww1): Likewise.
5757 (csloww2): Likewise.
5758
6cce25f8
SP
5759 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5760 function.
5761 (__sin): Use it.
5762 (__cos): Likewise.
5763
5eea0404
SP
5764 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5765 gotos.
5766 (__cos): Likewise.
5767
9c21573c
MR
57682013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5769
5770 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5771 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5772 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5773 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5774 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5775 * elf/cache.c (print_entry): Handle the new cache flags.
5776
24d22e65
JM
57772013-09-18 Joseph Myers <joseph@codesourcery.com>
5778 Aldy Hernandez <aldyh@redhat.com>
5779
5780 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5781 Change condition to [_SOFT_FLOAT].
5782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5794 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5797 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5798 declaration.
5799
d13ef066
JM
58002013-09-18 Joseph Myers <joseph@codesourcery.com>
5801
2e071de0
JM
5802 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5803 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5804 (__longjmp): Use LOAD_GP to load saved GPRs.
5805 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5806 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5807 (__sigsetjmp): Use SAVE_GP to save GPRs.
5808
d13ef066
JM
5809 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5810 Do not append -msoft-float.
5811 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5812
97a0650b
SP
58132013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5814
5815 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5816
11ca09e9
JM
58172013-09-17 Joseph Myers <joseph@codesourcery.com>
5818
5819 [BZ #15966]
5820 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5821 (_FPU_GETCW): Use initial "__" on variable and field names but not
5822 on macro parameter name.
5823 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5824 parentheses around reference to macro parameter.
5825
08ffcf34
RS
58262013-09-13 Richard Sandiford <richard@codesourcery.com>
5827
5828 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5829 prototype.
5830 (ctype_startup): Use uint32_t in cast and sizeof for
5831 ctype->charnames.
5832
ae7080d3
JL
58332013-09-11 Jia Liu <proljc@gmail.com>
5834
5835 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5836 __daddr_t_defined.
5837 [__FreeBSD__]: Likewise.
5838
5905e7b3
OB
58392013-09-11 Ondřej Bílka <neleai@seznam.cz>
5840
5841 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5842 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5843 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5844 (strchr): Remove __strchr_sse42 ifunc selection.
5845 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5846 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5847
b987c776
WN
58482013-09-11 Will Newton <will.newton@linaro.org>
5849
5850 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5851 parameter to RES. Remove hardcoded 1000 value.
5852 * benchtests/bench-skeleton.c (main): Pass RES parameter
5853 to TIMING_INIT and multiply result by 1000.
5854
ddf985af
AZ
58552013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5856
5857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5858
ffdd3181
AS
58592013-09-11 Andreas Schwab <schwab@suse.de>
5860
5861 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5862 if not defined.
5863 (O_TMPFILE) [__USE_GNU]: Define.
5864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5865 Define.
5866
b73ed247
WN
58672013-09-11 Will Newton <will.newton@linaro.org>
5868
5869 [BZ #15857]
5870 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5871 does not overflow.
5872
55e17aad
WN
58732013-09-11 Will Newton <will.newton@linaro.org>
5874
5875 [BZ #15856]
5876 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5877 does not overflow.
5878
1159a193
WN
58792013-09-11 Will Newton <will.newton@linaro.org>
5880
5881 [BZ #15855]
5882 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5883 does not overflow.
5884
5905e7b3 58852013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5886
5887 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5888 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5889 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5890 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5892
cdfc721b
AM
58932013-09-10 Allan McRae <allan@archlinux.org>
5894
aa04af00
AM
5895 [BZ #15748]
5896 * manual/arith.texi (Parsing of Floats): Clarify
5897 cross-reference.
5898
cdfc721b
AM
5899 [BZ #15849]
5900 * manual/install.texi (Running make install): Mention
5901 --enable-pt-chown.
5902 * INSTALL: Regenerated.
5903
95e7cf29
MR
59042013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5905
5906 * csu/init-first.c (_init): Remove the !SHARED condition around
5907 FPU control word initialization.
5908 * elf/dl-support.c (_dl_fpu_control): New variable.
5909 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5910 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5911 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5912 * math/test-fpucw-static.c: New file.
5913 * math/test-fpucw-ieee.c: New file.
5914 * math/test-fpucw-ieee-static.c: New file.
5915 * math/Makefile (tests): Add `test-fpucw-ieee' and
5916 `$(tests-static)'.
5917 (tests-static): New variable.
5918 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5919 dependency to...
5920 [($(build-shared),yes)]
5921 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5922 ... this.
5923 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5924 New dependency.
5925
83e43bf0
AM
59262013-09-09 Allan McRae <allan@archlinux.org>
5927
a9f5ce09
AM
5928 [BZ #15939]
5929 * manual/string.texi (Collation Functions): Fix typo in
5930 strcoll example.
5931 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5932
34829bc2
AM
5933 [BZ #15893]
5934 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5935
3932737d
AM
5936 [BZ #15892]
5937 * libio/memstream.c (open_memstream): Fix memory leak.
5938 * libio/wmemstream.c (open_wmemstream): Likewise.
5939
83e43bf0
AM
5940 [BZ #15895]
5941 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5942
0c66b8e9
WN
59432013-09-09 Will Newton <will.newton@linaro.org>
5944
5945 * malloc/Makefile: Add tst-realloc to tests.
5946 * malloc/tst-realloc.c: New file.
5947
f6b00fd1
AM
59482013-09-09 Allan McRae <allan@archlinux.org>
5949
5950 [BZ #15844]
5951 * COPYING: Update from GNU website to fix FSF address.
5952 * COPYING.LIB: Likewise.
5953
eec55e16
DM
59542013-09-06 David S. Miller <davem@davemloft.net>
5955
5956 * po/zh_TW.po: Update Chinese (traditional) translation from
5957 translation project.
5958
1ecbb381
RS
59592013-09-06 Richard Sandiford <richard@codesourcery.com>
5960 Joseph Myers <joseph@codesourcery.com>
5961
5962 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5963 "localeinfo.h".
5964 (obstack_chunk_alloc): New macro.
5965 (obstack_chunk_free): Likewise.
5966 (record_offset): New function.
5967 (init_locale_data): Likewise.
5968 (align_locale_data): Likewise.
5969 (add_locale_empty): Likewise.
5970 (add_locale_raw_data): Likewise.
5971 (add_locale_raw_obstack): Likewise.
5972 (add_locale_string): Likewise.
5973 (add_locale_wstring): Likewise.
5974 (add_locale_uint32): Likewise.
5975 (add_locale_uint32_array): Likewise.
5976 (add_locale_char): Likewise.
5977 (start_locale_structure): Likewise.
5978 (end_locale_structure): Likewise.
5979 (start_locale_prelude): Likewise.
5980 (end_locale_prelude): Likewise.
5981 (write_locale_data): Take locale_file structure rather than an
5982 iovec.
5983 * locale/programs/locfile.h: Include "obstack.h".
5984 (struct locale_file): Change to store locale file contents instead
5985 of header.
5986 (init_locale_data): New prototype.
5987 (align_locale_data): Likewise.
5988 (add_locale_empty): Likewise.
5989 (add_locale_raw_data): Likewise.
5990 (add_locale_raw_obstack): Likewise.
5991 (add_locale_string): Likewise.
5992 (add_locale_wstring): Likewise.
5993 (add_locale_uint32): Likewise.
5994 (add_locale_uint32_array): Likewise.
5995 (add_locale_char): Likewise.
5996 (start_locale_structure): Likewise.
5997 (end_locale_structure): Likewise.
5998 (start_locale_prelude): Likewise.
5999 (end_locale_prelude): Likewise.
6000 (write_locale_data): Update prototype.
6001 * locale/programs/3level.h (struct TABLE): Remove result field.
6002 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6003 Use new locale_file interface.
6004 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6005 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6006 * locale/programs/ld-address.c (address_output): Use new
6007 locale_file interface.
6008 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6009 NO_ADD_LOCALE.
6010 (collate_finish): Don't call collseq_table_finalize.
6011 (collate_output): Use new locale_file interface.
6012 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6013 in file.
6014 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6015 (TABLE): Move defines earlier in file.
6016 (ELEMENT): Likewise.
6017 (DEFAULT): Likewise.
6018 (wctrans_table_add): Move macro and inline function earlier in
6019 file.
6020 (struct wctype_table): Move type earlier in file.
6021 (add_locale_wctype_table): New static prototype.
6022 (struct locale_ctype_t): Use logical types instead of struct iovec
6023 pointers for members.
6024 (ctype_output): Use new locale_file interface.
6025 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6026 new locale_file interface.
6027 (allocate_arrays): Update for use of new locale_file interface.
6028 * locale/programs/ld-identification.c (identification_output): Use
6029 new locale_file interface.
6030 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6031 * locale/programs/ld-messages.c (messages_output): Likewise.
6032 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6033 * locale/programs/ld-name.c (name_output): Likewise.
6034 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6035 * locale/programs/ld-paper.c (paper_output): Likewise.
6036 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6037 * locale/programs/ld-time.c (time_output): Likewise.
6038
e029e2e5
AZ
60392013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6040
6041 * benchtests/Makefile: Add memrchr benchmark.
6042 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6043 benchmark as memrchr.
6044 * benchtests/bench-memrchr-ifunc.c: New file.
6045 * benchtests/bench-memrchr.c: New file.
6046
bbf6e8e4
WN
60472013-09-06 Will Newton <will.newton@linaro.org>
6048
6049 * benchtests/Makefile (string-bench): Add memcpy.
6050
6c82a2f8
CD
60512013-09-05 Carlos O'Donell <carlos@redhat.com>
6052 Cong Wang <amwang@redhat.com>
6053
e732c5f0 6054 [BZ #15850]
6c82a2f8
CD
6055 * sysdeps/unix/sysv/linux/bits/in.h
6056 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6057 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6058 before __USE_KERNEL_IPV6_DEFS uses.
6059 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6060 IPPROTO_BEETPH.
6061 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6062 sockaddr_in6, or ipv6_mreq.
6063
5430fc65
AZ
60642013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6065
6066 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6067 memory access for final bytes in some large inputs.
6068 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6069
4660856c
AZ
60702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6071
6072 * string/test-memrchr.c: New file.
6073 * string/test-memrchr-ifunc.c: New file.
6074 * string/Makefile: Add new memrchr testcase.
6075
bb8ea713
MF
60762013-09-05 Mike Frysinger <vapier@gentoo.org>
6077
6078 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6079 fanotify_init returns EPERM.
6080
b92a20b5
JM
60812013-09-04 Joseph Myers <joseph@codesourcery.com>
6082
6083 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6084 errors.
6085 (top level): Treat second token from macro or constant entries for
6086 allowed headers as allowed.
6087 * include/complex.h: Condition internal declarations on
6088 [!_ISOMAC].
6089 * include/fenv.h: Condition include of <stdbool.h> and internal
6090 declarations on [!_ISOMAC].
7447ccd9
CL
6091
60922013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6093
3e181dda 6094 [BZ #15923]
7447ccd9
CL
6095 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6096
3f2e46a4
JM
60972013-09-04 Joseph Myers <joseph@codesourcery.com>
6098
6099 * configure.in (--enable-versioning): Remove configure option.
6100 (libc_cv_asm_symver_directive): Remove configure test.
6101 (libc_cv_ld_version_script_option): Likewise.
6102 (VERSIONING): Remove variable and AC_SUBST.
6103 (DO_VERSIONING): Remove AC_DEFINE.
6104 * configure: Regenerated.
6105 * config.h.in (DO_VERSIONING): Remove macro.
6106 * Makerules [$(versioning) = yes]: Change conditionals to
6107 [$(build-shared) = yes].
6108 * config.make.in (versioning): Remove variable.
6109 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6110 [$(build-shared) = yes].
6111 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6112 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6113 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6114 [$(build-shared) = yes].
6115 * extra-lib.mk [$(versioning) = yes]: Likewise.
6116 * hurd/Makefile [$(versioning) = yes]: Likewise.
6117 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6118 [SHARED].
6119 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6120 [SHARED].
6121 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6122 [SHARED && !NO_HIDDEN].
6123 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6124 [SHARED].
6125 [SHARED && DO_VERSIONING]: Likewise..
6126 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6127 [$(build-shared) = yes].
6128 * manual/install.texi (--disable-versioning): Remove
6129 documentation.
6130 * INSTALL: Regenerated.
6131 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6132 to [SHARED].
6133 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6134 [$(build-shared) = yes].
6135 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6136 * sysdeps/i386/i686/multiarch/strstr-c.c
6137 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6138 [SHARED && !NO_HIDDEN].
6139 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6140 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6141 * sysdeps/powerpc/powerpc32/dl-machine.c
6142 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6143 * sysdeps/powerpc/powerpc32/sysdep.h
6144 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6145 to [SHARED && PIC && !NO_HIDDEN].
6146 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6147 conditional to [SHARED].
6148
44558701
WN
61492013-09-04 Will Newton <will.newton@linaro.org>
6150
6151 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6152 * benchtests/bench-string.h: Include bench-timing.h instead
6153 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6154 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6155 call to HP_TIMING_DIFF_INIT.
6156 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6157 instead of hp-timing.h macros.
6158 * benchtests/bench-memchr.c: Likewise.
6159 * benchtests/bench-memcmp.c: Likewise.
6160 * benchtests/bench-memcpy.c: Likewise.
6161 * benchtests/bench-memmem.c: Likewise.
6162 * benchtests/bench-memmove.c: Likewise.
6163 * benchtests/bench-memset.c: Likewise.
6164 * benchtests/bench-rawmemchr.c: Likewise.
6165 * benchtests/bench-strcasecmp.c: Likewise.
6166 * benchtests/bench-strcasestr.c: Likewise.
6167 * benchtests/bench-strcat.c: Likewise.
6168 * benchtests/bench-strchr.c: Likewise.
6169 * benchtests/bench-strcmp.c: Likewise.
6170 * benchtests/bench-strcpy.c: Likewise.
6171 * benchtests/bench-strcpy_chk.c: Likewise.
6172 * benchtests/bench-strlen.c: Likewise.
6173 * benchtests/bench-strncasecmp.c: Likewise.
6174 * benchtests/bench-strncat.c: Likewise.
6175 * benchtests/bench-strncmp.c: Likewise.
6176 * benchtests/bench-strncpy.c: Likewise.
6177 * benchtests/bench-strnlen.c: Likewise.
6178 * benchtests/bench-strpbrk.c: Likewise.
6179 * benchtests/bench-strrchr.c: Likewise.
6180 * benchtests/bench-strspn.c: Likewise.
6181 * benchtests/bench-strstr.c: Likewise.
6182
cae16d66
WN
61832013-09-04 Will Newton <will.newton@linaro.org>
6184
6185 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6186
ffa3cd7f
JM
61872013-09-03 Joseph Myers <joseph@codesourcery.com>
6188
6189 [BZ #15427]
6190 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6191 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6192 * math/libm-test.inc (lgamma_test_data): Add more tests.
6193 * sysdeps/i386/fpu/libm-test-ulps: Update.
6194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6195
8f02859f
OB
61962013-09-03 Ondřej Bílka <neleai@seznam.cz>
6197
6198 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6200 Add ifunc.
6201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6202 Add strcmp-sse2-unaligned
6203 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6204
18d43716
MF
62052013-09-02 Mike Frysinger <vapier@gentoo.org>
6206
6207 * Versions.def (libc): Add GLIBC_2.19.
6208
ac444012
MF
62092013-09-02 Mike Frysinger <vapier@gentoo.org>
6210
6211 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6212 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6213
b7835e32
JM
62142013-09-02 Joseph Myers <joseph@codesourcery.com>
6215
6216 [BZ #14155]
6217 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6218 intermediate calculations in recurrence.
6219 (__ieee754_ynf): Likewise.
6220 * math/libm-test.inc (jn_test_data): Do not allow spurious
6221 underflow exception. Add more tests.
6222 (yn_test_data): Add more tests.
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6225
8220f4f0
OB
62262013-09-02 Ondřej Bílka <neleai@seznam.cz>
6227
6228 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6229
f24a6d08
OB
62302013-08-30 Ondřej Bílka <neleai@seznam.cz>
6231
6232 * csu/init-first.c: Fix then/than typos.
6233 * locale/programs/ld-collate.c: Likewise.
6234 * locale/programs/linereader.h: Likewise.
6235 * manual/charset.texi: Likewise.
6236 * manual/filesys.texi: Likewise.
6237 * manual/stdio.texi: Likewise.
6238 * manual/string.texi: Likewise.
6239 * stdlib/fmtmsg.c: Likewise.
6240 * sysdeps/i386/stpncpy.S: Likewise.
6241 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6242 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6243 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6244 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6245
382466e0
OB
62462013-08-30 Ondřej Bílka <neleai@seznam.cz>
6247
6248 * elf/dl-open.c: Fix typos.
6249 * iconvdata/gbbig5.c: Likewise.
6250 * iconvdata/iso-2022-jp.c: Likewise.
6251 * iconv/gconv_int.h: Likewise.
6252 * iconv/loop.c: Likewise.
6253 * nis/rpcsvc/nis.h: Likewise.
6254 * resolv/ns_name.c: Likewise.
6255 * stdio-common/vfscanf.c: Likewise.
6256 * streams/stropts.h: Likewise.
6257 * sunrpc/rpc_thread.c: Likewise.
6258 * sysdeps/i386/strpbrk.S: Likewise.
6259 * sysdeps/ieee754/k_standard.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6262 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6263 * sysdeps/mach/hurd/profil.c: Likewise.
6264 * sysdeps/s390/dl-procinfo.h: Likewise.
6265 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6266 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6267 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6268 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6269 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6270
0186c6e9
OB
62712013-08-30 Ondřej Bílka <neleai@seznam.cz>
6272
6273 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6275
d4e16af1
OB
62762013-08-29 Ondřej Bílka <neleai@seznam.cz>
6277
6278 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6279 aix specific files.
6280 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6281 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6282 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6283 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6284 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6285 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6286 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6287 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6288
88335980
TS
62892013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6290 Roland McGrath <roland@hack.frob.com>
6291
6292 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6293 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6294
ed479b02
ST
62952013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6296
6297 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6298 __executable_start symbol instead of _start.
6299
f1cc4c86
TS
63002013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6301
d821f07c
TS
6302 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6303 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6304 Move macros to...
6305 * sysdeps/gnu/ldsodefs.h: ... this new file.
6306
c54290cf
TS
6307 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6308 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6309 instead of ELFOSABI_LINUX.
6310
0007fc9b 6311 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6312 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6313 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6314 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6315 Likewise.
6316 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6317 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6318 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6319 Likewise.
6320 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6321 (ibm_extended_long_double): Add ieee_nan member.
6322 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6323 (do_test): New function.
6324
f1cc4c86
TS
6325 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6326 TEST_TRUNC.
6327 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6328 functions, renamed from truncdfsf_test, trunctfsf_test,
6329 trunctfdf_test.
6330 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6331 functions.
6332 (do_test): Run all these.
6333
6f65e668
OB
63342013-08-29 Ondřej Bílka <neleai@seznam.cz>
6335
6336 * argp/argp-help.c: Fix typos.
6337 * argp/argp-parse.c: Likewise.
6338 * debug/backtracesyms.c: Likewise.
6339 * elf/elf.h: Likewise.
6340 * malloc/malloc.c: Likewise.
6341 * nis/nis_print.c: Likewise.
6342 * resolv/res_comp.c: Likewise.
6343 * stdlib/stdlib.h: Likewise.
6344 * sunrpc/clnt_tcp.c: Likewise.
6345 * sunrpc/clnt_udp.c: Likewise.
6346 * sunrpc/clnt_unix.c: Likewise.
6347 * sysdeps/unix/bsd/ptsname.c: Likewise.
6348 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6349 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6351 Likewise.
6352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6353 Likewise.
6354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6355 Likewise.
6f65e668
OB
6356 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6357
3a309239
SP
63582013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6359
6360 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6362
3b813b29
MF
63632013-08-27 Mike Frysinger <vapier@gentoo.org>
6364
6365 [BZ #15897]
6366 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6367 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6368 ($(objpfx)bug-dl-leaf): New rule.
6369 ($(objpfx)bug-dl-leaf.so): Likewise.
6370 ($(objpfx)bug-dl-leaf.out): Likewise.
6371 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6372 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6373 * dlfcn/bug-dl-leaf.c: New test.
6374 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6375 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6376 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6377 (dlclose): Likewise.
6378 (dlmopen): Likewise.
6379
8cc3269f
RM
63802013-08-27 Roland McGrath <roland@hack.frob.com>
6381
7f9d0034
RM
6382 * include/netdb.h [!_ISOMAC]:
6383 Don't include <tls.h>.
6384 (h_errno, __libc_h_errno): Move declaration and macros out of
6385 [_LIBC_REENTRANT].
6386
fb431262
RM
6387 * include/resolv.h [_RESOLV_H_]:
6388 Don't include <tls.h>.
6389 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6390 * resolv/res_libc.c: Don't include <tls.h>.
6391 (_res): Use __attribute__ ((nocommon)) in place of
6392 __attribute__ ((section (".bss"))).
6393
bd81123a
RM
6394 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6395 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6396
c4e42566
RM
6397 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6398
f890a59b
RM
6399 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6400 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6401
6402 * resolv/res_mkquery.c: Include <sys/time.h>.
6403
5d1f0a09
RM
6404 * inet/ifreq.c: Moved to ...
6405 * sysdeps/unix/ifreq.c: ... here.
6406 * inet/ifreq.c: New file, true stub version.
6407
6fcf28b3
RM
6408 * socket/sa_len.c: New file.
6409 * socket/Makefile (aux): Add it.
6410 * sysdeps/unix/sysv/linux/Makefile
6411 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6412 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6413 and #include <socket/sa_len.c>.
6414 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6415 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6416
e041fb8b
RM
6417 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6418 * bits/socket.h: ... here.
6419
8cc3269f
RM
6420 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6421 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6422 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6423
5d228a43
AS
64242013-08-27 Andreas Schwab <schwab@suse.de>
6425
45b8accc
AS
6426 [BZ #15736]
6427 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6428 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6429 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6430 * string/test-strcasecmp.c (test_main): Run tests in several
6431 locales.
6432 * string/test-strncasecmp.c (test_main): Likewise.
6433
5d228a43
AS
6434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6435 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6436 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6438 (__strncasecmp_ssse3) [PIC]: Likewise.
6439
59d112a4
RM
64402013-08-26 Roland McGrath <roland@hack.frob.com>
6441
53234cc3
RM
6442 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6443
59d112a4
RM
6444 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6445 instead of explicitly declaring xdecrypt.
6446 * nis/nss_nis/nis-publickey.c: Likewise.
6447
595aba70
SP
64482013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6449
6450 [BZ #15890]
6451 * nscd/aicache.c: Include res_hconf.h.
6452 (addhstaiX): Initialize res_hconf.
6453
ffabd393
AS
64542013-08-26 Andreas Schwab <schwab@suse.de>
6455
6456 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6457 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6458
e0a69f5c
SP
64592013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6460
6461 * nscd/aicache.c (addhstaiX): Fix indentation.
6462
8c12f01d
MF
64632013-08-25 Mike Frysinger <vapier@gentoo.org>
6464
6465 * configure.ac: Quote $build_pt_chown test.
6466 * configure: Regenerated.
6467
8fe89494
JM
64682013-08-23 Joseph Myers <joseph@codesourcery.com>
6469
6470 [BZ #15532]
6471 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6472 * math/s_cexpf.c (__cexpf): Likewise.
6473 * math/s_cexpl.c (__cexpl): Likewise.
6474 * math/libm-test.inc (cexp_test_data): Correct expected return
6475 value for NaN + i0. Add another test.
6476
75b181d6
DM
64772013-08-22 David S. Miller <davem@davemloft.net>
6478
6479 * po/ca.po: Update Catalan translation from translation project.
936241e4 6480 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6481
acd06bb1
JM
64822013-08-21 Joseph Myers <joseph@codesourcery.com>
6483
6484 [BZ #15797]
6485 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6486 is infinite, not alongside NaN test.
6487 * math/s_fdimf.c (__fdimf): Likewise.
6488 * math/s_fdiml.c (__fdiml): Likewise.
6489 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6490 errno is unchanged.
6491
c0c3f78a
OB
64922013-08-21 Ondřej Bílka <neleai@seznam.cz>
6493
6494 * argp/argp-help.c: Fix typos.
6495 * crypt/speeds.c: Likewise.
6496 * csu/check_fds.c: Likewise.
6497 * elf/dl-load.c: Likewise.
6498 * elf/dl-open.c: Likewise.
6499 * elf/reldep3.c: Likewise.
6500 * elf/reldep.c: Likewise.
6501 * elf/sprof.c: Likewise.
6502 * iconv/iconv_charmap.c: Likewise.
6503 * iconv/skeleton.c: Likewise.
6504 * iconv/strtab.c: Likewise.
6505 * io/lockf64.c: Likewise.
6506 * libio/libioP.h: Likewise.
6507 * resolv/gai_notify.c: Likewise.
6508 * resolv/ns_name.c: Likewise.
6509 * resolv/ns_samedomain.c: Likewise.
6510 * resolv/res_send.c: Likewise.
6511 * stdlib/random.c: Likewise.
6512 * sunrpc/rpc/xdr.h: Likewise.
6513 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6514 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6515 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6516 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6517 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6518 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6519 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6520 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6521 * sysdeps/mach/hurd/check_fds.c: Likewise.
6522 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6523 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6525 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6526 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6527 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6528 * sysdeps/pthread/aio_notify.c: Likewise.
6529 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6530 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6531 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6532 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6533 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6534
46ed1038
LD
65352013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6536
6537 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6538 version if bit_Slow_SSE4_2 is set.
6539 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6540 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6541
d400dcac
AZ
65422013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6543
6544 [BZ #15867]
6545 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6546 trampoline stack frame information.
6547 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6548 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6549 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6550 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6551 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6552 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6553 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6554 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6555 sa_flags value.
6556 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6557 interrupting a syscall and set with option SA_SIGINFO.
6558
42c8fdd8
JM
65592013-08-20 Joseph Myers <joseph@codesourcery.com>
6560
c980f2f4
JM
6561 [BZ #15531]
6562 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6563 argument is infinite.
6564 * math/s_cprojf.c (__cprojf): Likewise.
6565 * math/s_cprojl.c (__cprojl): Likewise.
6566 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6567 * math/libm-test.inc (cproj_test_data): Add more tests.
6568
0716c4fc
JM
6569 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6570
42c8fdd8
JM
6571 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6572 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6573 size. Use __ffs to determine corresponding shift.
6574
b31469d0
JM
65752013-08-20 Joseph Myers <joseph@codesourcery.com>
6576 Roland McGrath <roland@hack.frob.com>
6577
6578 * Makefile (INSTALL): Remove trailing blank lines from output of
6579 makeinfo.
6580
4e39af6e
AK
65812013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6582
6583 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6584 Align 32 bit compat elf_greg to 8 bytes.
6585
f315524e
AA
65862013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6587
6588 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6589
1326ba1a
SP
65902013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6591
6592 * string/strcoll_l.c (coll_seq): New structure.
6593 (get_next_seq_cached): New function.
6594 (get_next_seq): New function.
6595 (do_compare): New function.
6596 (STRCOLL): Use GNU style definition. Simplify implementation
6597 by using get_next_seq, get_next_seq_cached and do_compare.
6598
91ce4085
FW
65992013-08-16 Florian Weimer <fweimer@redhat.com>
6600
6601 [BZ #14699]
6602 CVE-2013-4237
6603 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6604 member.
6605 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6606 member.
6607 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6608 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6609 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6610 conditional.
6611 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6612 GETDENTS_64BIT_ALIGNED.
6613 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6614 * manual/filesys.texi (Reading/Closing Directory): Document
6615 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6616 strongly.
6617 * manual/conf.texi (Limits for Files): Add portability note to
6618 NAME_MAX, PATH_MAX.
6619 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6620
ca0a6bc4
AS
66212013-08-13 Andreas Schwab <schwab@suse.de>
6622
6623 [BZ #15749]
6624 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6625 of fabs.
6626 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6627 LDBL_MAX_EXP >= 16384]: Add tests for it.
6628
6c1fd795
DM
66292013-08-12 David S. Miller <davem@davemloft.net>
6630
6631 * version.h (RELEASE): Set to "development".
6632 (VERSION): Set to "2.18.90".
6633 * NEWS: Add 2.19 section.
6634
31ad488d
DM
66352013-08-03 David S. Miller <davem@davemloft.net>
6636
6637 * po/ko.po: Update Korean translation from translation project.
6638
db24e684
DM
66392013-08-01 David S. Miller <davem@davemloft.net>
6640
6641 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6642 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6643 Bilka.
6644
f723285b
DM
66452013-07-30 David S. Miller <davem@davemloft.net>
6646
6647 * po/fr.po: Update French translation from translation project.
6648
3cbc52db
DM
66492013-07-28 David S. Miller <davem@davemloft.net>
6650
30bbc0cc
DM
6651 * po/cs.po: Update Czech translation from translation project.
6652
3cbc52db
DM
6653 * po/sv.po: Update Swedish translation from translation project.
6654
d492e6d0
DM
66552013-07-27 David S. Miller <davem@davemloft.net>
6656
f1a7f492
DM
6657 * po/eo.po: Update Esperanto translation from translation project.
6658
90e62a4a
DM
6659 * po/vi.po: Update Vietnamese translation from translation project.
6660
d492e6d0
DM
6661 * po/de.po: Update German translation from translation project.
6662
d4baa62d
DM
66632013-07-26 David S. Miller <davem@davemloft.net>
6664
641aa7b4
DM
6665 * po/bg.po: Update Bulgarian translation from translation project.
6666
d4baa62d
DM
6667 * po/nl.po: Update Dutch translation from translation project.
6668 * po/pl.po: Update Polish translation from translation project.
6669 * po/ru.po: Update Russian translation from translation project.
6670
61a9dcb9
DM
66712013-07-24 David S. Miller <davem@davemloft.net>
6672
6673 * po/libc.pot: Update.
6674
7b1f8b58
AZ
66752013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6676
6677 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6678 variable page size.
6679 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6680 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6681 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6682
a8fc7a03
AK
66832013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6684
6685 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6686
e4608715
CD
66872013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6688 Andreas Schwab <schwab@suse.de>
6689 Roland McGrath <roland@hack.frob.com>
6690 Joseph Myers <joseph@codesourcery.com>
6691 Carlos O'Donell <carlos@redhat.com>
6692
6693 [BZ #15755]
6694 * config.h.in: Define HAVE_PT_CHOWN.
6695 * config.make.in (build-pt-chown): New variable.
6696 * configure.in (--enable-pt_chown): New configure option.
6697 * configure: Regenerate.
6698 * login/Makefile: Include Makeconfig. Build pt_chown only if
6699 build-pt-chown is enabled.
6700 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6701 pt_chown to fix pty ownership.
6702 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6703 CLOSE_ALL_FDS.
6704 * manual/install.texi (Configuring and compiling): Mention
6705 --enable-pt_chown. Add @findex for grantpt.
6706 * INSTALL: Regenerate.
6707
da2d62df
DM
67082013-07-20 David S. Miller <davem@davemloft.net>
6709
6710 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6711 difference between 32-bit and 64-bit.
6712
d7e06450
CD
67132013-07-15 Carlos O'Donell <carlos@redhat.com>
6714
6715 [BZ #15711]
6716 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6717 Avoid system header dependency with -ffreestanding.
6718 ($(objpfx)bits/syscall%d): Likewise.
6719
f959cfd7
DM
67202013-07-13 David S. Miller <davem@davemloft.net>
6721
6722 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6723 underflows from atanl/atan2l due to bug 15319.
6724 (casinh_test_data): Likewise.
6725
c61f8513
DM
67262013-07-07 David S. Miller <davem@davemloft.net>
6727
6728 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6729
72c90ed0
JA
67302013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6731
6732 * sysdeps/i386/fpu/libm-test-ulps: Update.
6733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6734
52dfbe13
SP
67352013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6736
6737 * configure.in (--enable-lock-elision): Fix message text.
6738 * INSTALL: Regenerate.
6739 * configure: Regenerate.
6740
3f169543
AZ
67412013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6742
6743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6744
521c6785
AJ
67452013-07-03 Andreas Jaeger <aj@suse.de>
6746
6747 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6748 define.
6749 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6750 (ptrace_peeksiginfo_args): Add.
6751 (__ptrace_peeksiginfo_flags): Add.
6752 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6753 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6754 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6755
d2cc15cb
AM
67562013-07-03 Allan McRae <allan@archlinux.org>
6757
6758 * sysdeps/i386/fpu/libm-test-ulps: Update.
6759
3aaeeca7
DM
67602013-07-02 David S. Miller <davem@davemloft.net>
6761
6762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6763
5314ed1a
MT
67642013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6765
6766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6767
67338156
JM
67682013-07-02 Joseph Myers <joseph@codesourcery.com>
6769
6770 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6772
1717da59
AK
67732013-07-02 Andi Kleen <ak@linux.intel.com>
6774
6775 * config.h.in (ENABLE_LOCK_ELISION): Add.
6776 * configure.in (--enable-lock-elision): Add option.
6777 * manual/install.texi: Document --enable lock elision.
6778 * configure: Regenerate
6779 * INSTALL: Regenerate.
6780
1c81621c
L
67812013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6782
6783 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6784 SSE4.2 strcasecmp for libc.a.
6785 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6786
77f01ab5
JM
67872013-07-02 Joseph Myers <joseph@codesourcery.com>
6788
6789 [BZ #13304]
6790 * soft-fp/op-common.h (_FP_FMA): New macro.
6791 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6792 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6793 (_FP_MUL_MEAT_1_imm): ... here.
6794 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6795 (_FP_MUL_MEAT_1_wide): ... here.
6796 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6797 (_FP_MUL_MEAT_1_hard): ... here.
6798 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6799 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6800 (_FP_MUL_MEAT_2_wide): ... here.
6801 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6802 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6803 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6804 (_FP_MUL_MEAT_2_gmp): ... here.
6805 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6806 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6807 (_FP_MUL_MEAT_4_wide): ... here.
6808 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6809 (_FP_MUL_MEAT_4_gmp): ... here.
6810 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6811 (_FP_WFRACBITS_DW_S): Likewise.
6812 (_FP_WFRACXBITS_DW_S): Likewise.
6813 (_FP_HIGHBIT_DW_S): Likewise.
6814 (FP_FMA_S): Likewise.
6815 (_FP_FRAC_HIGH_DW_S): Likewise.
6816 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6817 (_FP_WFRACBITS_DW_D): Likewise.
6818 (_FP_WFRACXBITS_DW_D): Likewise.
6819 (_FP_HIGHBIT_DW_D): Likewise.
6820 (FP_FMA_D): Likewise.
6821 (_FP_FRAC_HIGH_DW_D): Likewise.
6822 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6823 (_FP_WFRACBITS_DW_E): Likewise.
6824 (_FP_WFRACXBITS_DW_E): Likewise.
6825 (_FP_HIGHBIT_DW_E): Likewise.
6826 (FP_FMA_E): Likewise.
6827 (_FP_FRAC_HIGH_DW_E): Likewise.
6828 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6829 (_FP_WFRACBITS_DW_Q): Likewise.
6830 (_FP_WFRACXBITS_DW_Q): Likewise.
6831 (_FP_HIGHBIT_DW_Q): Likewise.
6832 (FP_FMA_Q): Likewise.
6833 (_FP_FRAC_HIGH_DW_Q): Likewise.
6834 * soft-fp/fmasf4.c: New file.
6835 * soft-fp/fmadf4.c: Likewise.
6836 * soft-fp/fmatf4.c: Likewise.
6837
6308fd9a
LD
68382013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6839
6840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6841 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6842 Silvermont.
6843 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6844 macro.
6845 (index_Slow_SSE4_2): Likewise.
6846 (index_Prefer_PMINUB_for_stringop): Likewise.
6847 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6848 bit_Slow_SSE4_2 is set.
6849 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6850 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6851
89cd9569
RA
68522013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6853
6854 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6855 rtld_global._dl_hwcap2.
6856 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6857 POWER8.
6858 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6859 POWER8 feature descriptions defined in _dl_hwcap2.
6860 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6861 string handling for POWER8 feature bits.
6862 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6863 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6864 _dl_powerpc_cap_flags.
6865 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6866 * sysdeps/powerpc/rtld-global-offsets.sym
6867 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6868 _dl_hwcap2 in the rtld_global_ro structure.
6869
1ae8bfe0
RA
68702013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6871
6872 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6873 hardware capabilities in support of AT_HWCAP2.
6874 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6875 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6876 GLRO(dl_hwcap2).
6877 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6878 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6879 explicitly the unknown a_type display mechanism is used.
6880 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6881 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6882 struct member.
6883 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6884 to macro prototype for AT_HWCAP2 support.
6885 * sysdeps/i386/dl-procinfo.h: Likewise.
6886 * sysdeps/s390/dl-procinfo.h: Likewise.
6887 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6888 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6889 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6890 return -1 for unknown a_type display fallback.
6891 * sysdeps/sparc/dl-procinfo.h: Likewise.
6892 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6893 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6894
8fbec010
JM
68952013-06-28 Joseph Myers <joseph@codesourcery.com>
6896
6897 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6898 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6899
0432680e
PY
69002013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6901
6902 [BZ #12492]
6903 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6904 mprotect making __stack_prot writable.
6905
ce61a2ad
NF
69062013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6907 Joseph Myers <joseph@codesourcery.com>
6908
6909 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6910 as being properly aligned.
6911
f91f1c0f
MR
69122013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6913
3d0f5d0c
MR
6914 * dlfcn/modstatic5.c: New file.
6915 * dlfcn/tststatic5.c: New file.
6916 * dlfcn/Makefile (tests): Add tststatic5.
6917 (tests-static): Likewise.
6918 (modules-names): Add modstatic5.
6919 (tststatic5-ENV): New variable.
6920 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6921
f91f1c0f
MR
6922 [BZ #15022]
6923 * elf/dl-support.c (_dl_main_map): New variable.
6924 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6925 (_dl_nns, _dl_load_adds): Set to 1.
6926 (_dl_initial_searchlist): Refer to _dl_main_map.
6927 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6928 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6929 call to _dl_get_origin.
6930 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6931 around call_map.
6932 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6933 * dlfcn/modstatic3.c: New file.
6934 * dlfcn/tststatic3.c: New file.
6935 * dlfcn/tststatic4.c: New file.
6936 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6937 (tests-static): Likewise.
6938 (modules-names): Add modstatic3.
6939 (tststatic3-ENV, tststatic4-ENV): New variables.
6940 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6941 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6942
cbe7d24b
JM
69432013-06-26 Joseph Myers <joseph@codesourcery.com>
6944
6945 * configure.in (CC): Require GCC version 4.4 or later.
6946 * configure: Regenerated.
6947 * manual/install.texi (Tools for Compilation): Update GCC version
6948 requirement.
6949 * INSTALL: Regenerated.
6950
11b8a0e1
LD
69512013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6952
6953 [BZ #15674]
bb5bb87c
L
6954 * string/test-memcmp.c (check2): New.
6955 (main): Call check2.
6956
11b8a0e1
LD
6957 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6958
b0037103
MR
69592013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6960
6961 [BZ #15022]
6962 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6963 over to...
6964 (dl_open_worker) [!SHARED]: ... here.
6965
c18c701d
RA
69662013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6967
6968 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6969
1d17fa5f
RH
69702013-06-25 Richard Henderson <rth@redhat.com>
6971
6972 * locale/programs/locarchive.c: Include <libc-internal.h>
6973
8fcb833a
JM
69742013-06-25 Joseph Myers <joseph@codesourcery.com>
6975
6976 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6977 trailing whitespace removed.
6978
17db6e8d
MF
69792013-06-24 Mike Frysinger <vapier@gentoo.org>
6980
6981 [BZ #10283]
17db6e8d
MF
6982 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6983 * locale/programs/locarchive.c: Include libc-mmap.h.
6984 (prepare_address_space): Take two new outputs (the mmap base and len).
6985 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6986 values.
6987 (create_archive): Declare new mmap base and len values for
6988 prepare_address_space, and store the result in ah.
6989 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6990 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6991 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6992 Declare new mmap base and len values for
6993 prepare_address_space, and store the result in new_ah.
6994 (open_archive): Declare new mmap base and len values for
6995 prepare_address_space, and store the result in ah.
6996 (close_archive): If ah->mmap_base is not NULL, use that and
6997 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6998 * sysdeps/generic/libc-mmap.h: New file.
6999
d605071e
MF
70002013-06-24 Mike Frysinger <vapier@gentoo.org>
7001
7002 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7003 (ALIGN_UP): Likewise.
7004 (PTR_ALIGN_DOWN): Likewise.
7005 (PTR_ALIGN_UP): Likewise.
7006
2f063a6e
RA
70072013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7008
7009 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7010 entry mapped to PPC_PLATFORM_POWER8.
7011 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7012 POWER8.
7013 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7014 (_dl_string_platform): Add case for exporting platform position for
7015 POWER8.
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7017 search path to sysdeps/powerpc/powerpc32/power8 directory.
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7019 search path to sysdeps/powerpc/powerpc64/power8 directory.
7020 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7021 power7 directories.
7022 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7023 power7 directories.
7024
a31ee4b3
SP
70252013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7026
a74ca98f
SP
7027 * INSTALL: Regenerate.
7028
a31ee4b3
SP
7029 * nscd/connections.c (nscd_init): Fix comment.
7030
695c378f
JM
70312013-06-22 Joseph Myers <joseph@codesourcery.com>
7032
d8412221
JM
7033 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7034
695c378f
JM
7035 [BZ #15667]
7036 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7037 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7038
d1d54715
MR
70392013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7040
7041 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7042 DL_DST_REQ_STATIC.
7043 (DL_DST_REQ_STATIC): Remove macro.
7044
8fdda7af
JM
70452013-06-21 Joseph Myers <joseph@codesourcery.com>
7046
7047 [BZ #7006]
7048 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7049 with a shift of 0 bits.
7050
f3bc5e5a
MR
70512013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7052
7053 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7054 $(tststatic-ENV).
7055
be09e8c9
KK
70562013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7057
7058 [BZ #15655]
7059 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7060
85c2e611
AZ
70612013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7062
7063 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7064 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7065 accepts -fno-tree-loop-distribute-patterns.
7066 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7067 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7068 recursive call.
7069 * string/memset.c (memset): Likewise.
7070 * string/test-memmove.c (simple_memmove): Disable loop transformation
7071 to library calls.
7072 * string/test-memset.c (simple_memset): Likewise.
7073 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7074 * benchtests/bench-memset.c (simple_memset): Likewise.
7075 * configure: Regenerated.
7076
c91e0825
JM
70772013-06-20 Joseph Myers <joseph@codesourcery.com>
7078
b8c792af
JM
7079 * math/test-misc.c (main): Ignore fesetround failure when failures
7080 of subsequent rounding tests would be ignored.
7081
c91e0825
JM
7082 [BZ #15654]
7083 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7084 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7085 * math/fegetenv.c (__fegetenv): Return 0.
7086 * math/fegetexcept.c (fegetexcept): Return 0.
7087 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7088 FE_TONEAREST.
7089 * math/feholdexcpt.c (feholdexcept): Return 0.
7090 * math/fesetenv.c (__fesetenv): Return 0.
7091 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7092 argument FE_TONEAREST.
7093 * math/feupdateenv.c (__feupdateenv): Return 0.
7094 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7095
bfcacbde
RM
70962013-06-18 Roland McGrath <roland@hack.frob.com>
7097
7098 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7099 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7100 ($(objpfx)rtld-%.os rules): Use them.
7101
e55a9b25
AZ
71022013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7103
7104 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7105 fields.
7106
346d65b3
RM
71072013-06-17 Roland McGrath <roland@hack.frob.com>
7108
12086fb4
RM
7109 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7110 length of target pattern, then descending length of dependency pattern.
7111 * configure.in (AWK): Require gawk 3.1.2 or newer.
7112 * manual/install.texi (Tools for Compilation): Say that we do.
7113 * configure: Regenerated.
7114
346d65b3
RM
7115 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7116 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7117 * scripts/sysd-rules.awk: ... this new script.
7118 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7119 than a glob-style pattern.
7120
1a846317
JM
71212013-06-17 Joseph Myers <joseph@codesourcery.com>
7122
7123 * math/test-misc.c (main): Do not treat incorrectly rounded
7124 conversions as failure unless ROUNDING_TESTS passes.
7125
8fc75e6f
JM
71262013-06-15 Joseph Myers <joseph@codesourcery.com>
7127
3711a167
JM
7128 [BZ #15631]
7129 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7130 restore exception state around main square root computation, then
7131 check for inexactness explicitly.
7132
8fc75e6f
JM
7133 * math/libm-test.inc (fma_test_data): Add another test.
7134
61dd6208
SP
71352013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7136
adf23d2c
SP
7137 * manual/threads.texi (Non-POSIX Extensions): New document
7138 node. Document pthread_getattr_default_np and
7139 pthread_setattr_default_np.
7140
61dd6208
SP
7141 * Versions.def (libpthread): Add GLIBC_2.18.
7142 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7144 Likewise.
7145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7146 Likewise.
7147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7148 Likewise.
7149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7150 Likewise.
7151 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7152 Likewise.
7153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7154 Likewise.
7155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7156 Likewise.
7157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7158 Likewise.
7159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7160 Likewise.
7161
d086fc7b
LD
71622013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7163
7164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7165 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7166
747ef469
SP
71672013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7168 H.J. Lu <hjl.tools@gmail.com>
7169
7170 [BZ #15627]
7171 * sysdeps/x86_64/rtld-memset.c: Remove file.
7172 * sysdeps/x86_64/rtld-memset.S: New file.
7173
1b2feed2
JM
71742013-06-14 Joseph Myers <joseph@codesourcery.com>
7175
7176 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7177 (test_in_one_mode): Take arguments for whether the rounding mode
7178 is supported for each floating-point type.
7179 (do_test): Pass new arguments to test_in_one_mode using
7180 ROUNDING_TESTS.
7181
a58ad3f8
RM
71822013-06-13 Roland McGrath <roland@hack.frob.com>
7183
7184 * posix/tst-waitid.c (do_test): Distinguish different instances of
7185 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7186 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7187 before entering the kernel for waitpid.
7188
c204ab28
SP
71892013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7190
7191 * NEWS: Fix note on clock function precision. Text by Roland
7192 McGrath.
7193
f4a29fba
RM
71942013-06-13 Roland McGrath <roland@hack.frob.com>
7195
7196 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7197 it into place only when and if the sanity check passes.
7198
1f24b9ad
JM
71992013-06-13 Joseph Myers <joseph@codesourcery.com>
7200
7201 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7202 output for whether conversion result is exact. Take argument
7203 indicating whether type is IBM long double.
7204 (round_for_all): Change need_exact field to ibm_ld.
7205 * stdlib/tst-strtod-round.c (struct exactness): New type.
7206 (struct test): Change bool ld_ok field to struct exactness exact.
7207 (TEST): Update all definitions for change to field.
7208 (tests): Regenerate array contents.
7209 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7210 field value. Check for IBM long double here.
7211 (do_test): Update calls to test_in_one_mode.
7212
58206c68
SP
72132013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7214
7215 [BZ #12515]
7216 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7217 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7218
2d6f4c5b 72192013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7220
7221 [BZ #15605]
7222 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7223 generated by the compiler on loop optimizations.
7224 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7225 general definitions.
7226
94f2c076
JM
72272013-06-12 Joseph Myers <joseph@codesourcery.com>
7228
7229 * math/bug-nextafter.c: Include <math-tests.h>.
7230 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7231 the relevant type.
7232 * math/bug-nexttoward.c: Include <math-tests.h>.
7233 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7234 the relevant type.
7235 * math/test-misc.c: Include <math-tests.h>.
7236 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7237 the relevant type.
7238
e0e50a0a
AJ
72392013-06-12 Andreas Jaeger <aj@suse.de>
7240
7241 * po/ia.po: Update Interlingua translation from translation
7242 project.
7243
25061094
SP
72442013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7245
7246 * include/fenv.h: Include stdbool.h.
7247 (struct rm_ctx): New structure.
7248 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7249 Define macro.
7250 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7251 (SET_RESTORE_ROUNDF): Likewise.
7252 (SET_RESTORE_ROUNDL): Likewise.
7253 (SET_RESTORE_ROUND_NOEX): Likewise.
7254 (SET_RESTORE_ROUND_NOEXF): Likewise.
7255 (SET_RESTORE_ROUND_NOEXL): Likewise.
7256 (SET_RESTORE_ROUND_53BIT): Likewise.
7257 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7258 (libc_feresetround_noexf_ctx): Likewise.
7259 (libc_feresetround_noexl_ctx): Likewise.
7260 (libc_feholdsetround_53bit_ctx): Likewise.
7261 (libc_feresetround_53bit_ctx): Likewise.
7262 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7263 (libc_feholdexcept_setround_sse_ctx): New function.
7264 (libc_fesetenv_sse_ctx): Likewise.
7265 (libc_feupdateenv_sse_ctx): Likewise.
7266 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7267 (libc_feholdexcept_setround_387_ctx): Likewise.
7268 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7269 (libc_feholdsetround_387_prec_ctx): Likewise.
7270 (libc_feholdsetround_387_ctx): Likewise.
7271 (libc_feholdsetround_387_53bit_ctx): Likewise.
7272 (libc_feholdsetround_sse_ctx): Likewise.
7273 (libc_feresetround_sse_ctx): Likewise.
7274 (libc_feresetround_387_ctx): Likewise.
7275 (libc_feupdateenv_387_ctx): Likewise.
7276 (libc_feholdexcept_setroundf_ctx): Define macro.
7277 (libc_fesetenvf_ctx): Likewise.
7278 (libc_feupdateenvf_ctx): Likewise.
7279 (libc_feholdsetroundf_ctx): Likewise.
7280 (libc_feresetroundf_ctx): Likewise.
7281 (libc_feholdexcept_setround_ctx): Likewise.
7282 (libc_fesetenv_ctx): Likewise.
7283 (libc_feupdateenv_ctx): Likewise.
7284 (libc_feholdsetround_ctx): Likewise.
7285 (libc_feresetround_ctx): Likewise.
7286 (libc_feholdexcept_setroundl_ctx): Likewise.
7287 (libc_feupdateenvl_ctx): Likewise.
7288 (libc_feholdsetroundl_ctx): Likewise.
7289 (libc_feresetroundl_ctx): Likewise.
7290 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7291 (libc_feresetround_53bit_ctx): Likewise.
7292
59b30555
SP
72932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7294
7295 * locale/iso-639.def: Convert to UTF-8.
7296
f1d73d30
JM
72972013-06-11 Joseph Myers <joseph@codesourcery.com>
7298
7299 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7300 (EXCEPTION_TESTS_double): Likewise.
7301 (EXCEPTION_TESTS_long_double): Likewise.
7302 (EXCEPTION_TESTS): Likewise.
7303 * math/libm-test.inc (test_exceptions): Only test exceptions if
7304 EXCEPTION_TESTS (FLOAT).
7305
94aca5e7
SP
73062013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7307
7308 * benchtests/Makefile (string-bench): Add strcpy_chk and
7309 stpcpy_chk.
7310 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7311 * benchtests/bench-stpcpy_chk.c: New file.
7312 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7313 * benchtests/bench-strcpy_chk.c: New file.
7314 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7315 code.
7316 (do_test): Likewise.
7317
fac0c5f2
RA
73182013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7319
7320 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7321 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7322 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7323 with tabs where appropriate.
7324 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7325 dl-procinfo.h.
7326 [PPC_PLATFORM_PPC440]: Likewise.
7327 [PPC_PLATFORM_PPC464]: Likewise.
7328 [PPC_PLATFORM_PPC476]: Likewise.
7329 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7330 ppc464, and ppc476 platform strings merging from ports/
7331 dl-procinfo.h.
7332
f22bc486
AS
73332013-06-11 Andreas Schwab <schwab@suse.de>
7334
7335 [BZ #14991]
7336 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7337 (from_ucs4_idx): Regenerate.
7338 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7339 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7340 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7341 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7342 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7343 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7344 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7345 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7346 from FROM_LOOP and TO_LOOP specific macros.
7347 (BODY): Handle combining characters.
7348 * iconvdata/BIG5HKSCS.irreversible: Update.
7349 * iconvdata/BIG5HKSCS.precomposed: New file.
7350 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7351 characters.
7352 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7353
c1f75dc3
SP
73542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7355
4eacded2
SP
7356 * include/sys/time.h: Fix indentation and add copyright header.
7357
fec799f8
SP
7358 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7359 (do_test): Likewise.
7360 * string/test-memchr.c (do_one_test): Likewise.
7361 (do_test): Likewise.
7362 * string/test-memcmp.c (do_one_test): Likewise.
7363 (do_test): Likewise.
7364 * string/test-memcpy.c (do_one_test): Likewise.
7365 (do_test): Likewise.
7366 * string/test-memmem.c (do_one_test): Likewise.
7367 (do_test): Likewise.
7368 (do_random_tests): Likewise.
7369 * string/test-memmove.c (do_one_test): Likewise.
7370 (do_test): Likewise.
7371 * string/test-memset.c (do_one_test): Likewise.
7372 (do_test): Likewise.
7373 * string/test-rawmemchr.c (do_one_test): Likewise.
7374 (do_test): Likewise.
7375 * string/test-strcasecmp.c (do_one_test): Likewise.
7376 (do_test): Likewise.
7377 * string/test-strcasestr.c (do_one_test): Likewise.
7378 (do_test): Likewise.
7379 * string/test-strcat.c (do_one_test): Likewise.
7380 (do_test): Likewise.
7381 * string/test-strchr.c (do_one_test): Likewise.
7382 (do_test): Likewise.
7383 * string/test-strcmp.c (do_one_test): Likewise.
7384 (do_test): Likewise.
7385 * string/test-strcpy.c (do_one_test): Likewise.
7386 (do_test): Likewise.
7387 * string/test-string.h: Likewise.
7388 (test_init): Likewise.
7389 * string/test-strlen.c (do_one_test): Likewise.
7390 (do_test): Likewise.
7391 * string/test-strncasecmp.c (do_one_test): Likewise.
7392 (do_test): Likewise.
7393 * string/test-strncat.c (do_one_test): Likewise.
7394 (do_test): Likewise.
7395 * string/test-strncmp.c (do_one_test): Likewise.
7396 (do_test_limit): Likewise.
7397 (do_test): Likewise.
7398 * string/test-strncpy.c (do_one_test): Likewise.
7399 (do_test): Likewise.
7400 * string/test-strnlen.c (do_one_test): Likewise.
7401 (do_test): Likewise.
7402 * string/test-strpbrk.c (do_one_test): Likewise.
7403 (do_test): Likewise.
7404 * string/test-strrchr.c (do_one_test): Likewise.
7405 (do_test): Likewise.
7406 * string/test-strspn.c (do_one_test): Likewise.
7407 (do_test): Likewise.
7408 * string/test-strstr.c (do_one_test): Likewise.
7409 (do_test): Likewise.
7410
97020474
SP
7411 * benchtests/Makefile (string-bench): Add string benchmarks.
7412 * benchtests/bench-bcopy-ifunc.c: New file.
7413 * benchtests/bench-bcopy.c: New file.
7414 * benchtests/bench-bzero-ifunc.c: New file.
7415 * benchtests/bench-bzero.c: New file.
7416 * benchtests/bench-memccpy-ifunc.c: New file.
7417 * benchtests/bench-memccpy.c: New file.
7418 * benchtests/bench-memchr-ifunc.c: New file.
7419 * benchtests/bench-memchr.c: New file.
7420 * benchtests/bench-memcmp-ifunc.c: New file.
7421 * benchtests/bench-memcmp.c: New file.
7422 * benchtests/bench-memmem-ifunc.c: New file.
7423 * benchtests/bench-memmem.c: New file.
7424 * benchtests/bench-memmove-ifunc.c: New file.
7425 * benchtests/bench-memmove.c: New file.
7426 * benchtests/bench-mempcpy-ifunc.c: New file.
7427 * benchtests/bench-mempcpy.c: New file.
7428 * benchtests/bench-memset-ifunc.c: New file.
7429 * benchtests/bench-memset.c: New file.
7430 * benchtests/bench-rawmemchr-ifunc.c: New file.
7431 * benchtests/bench-rawmemchr.c: New file.
7432 * benchtests/bench-stpcpy-ifunc.c: New file.
7433 * benchtests/bench-stpcpy.c: New file.
7434 * benchtests/bench-stpncpy-ifunc.c: New file.
7435 * benchtests/bench-stpncpy.c: New file.
7436 * benchtests/bench-strcasecmp-ifunc.c: New file.
7437 * benchtests/bench-strcasecmp.c: New file.
7438 * benchtests/bench-strcasestr-ifunc.c: New file.
7439 * benchtests/bench-strcasestr.c: New file.
7440 * benchtests/bench-strcat-ifunc.c: New file.
7441 * benchtests/bench-strcat.c: New file.
7442 * benchtests/bench-strchr-ifunc.c: New file.
7443 * benchtests/bench-strchr.c: New file.
7444 * benchtests/bench-strchrnul-ifunc.c: New file.
7445 * benchtests/bench-strchrnul.c: New file.
7446 * benchtests/bench-strcmp-ifunc.c: New file.
7447 * benchtests/bench-strcmp.c: New file.
7448 * benchtests/bench-strcpy-ifunc.c: New file.
7449 * benchtests/bench-strcpy.c: New file.
7450 * benchtests/bench-strcspn-ifunc.c: New file.
7451 * benchtests/bench-strcspn.c: New file.
7452 * benchtests/bench-strlen-ifunc.c: New file.
7453 * benchtests/bench-strlen.c: New file.
7454 * benchtests/bench-strncasecmp-ifunc.c: New file.
7455 * benchtests/bench-strncasecmp.c: New file.
7456 * benchtests/bench-strncat-ifunc.c: New file.
7457 * benchtests/bench-strncat.c: New file.
7458 * benchtests/bench-strncmp-ifunc.c: New file.
7459 * benchtests/bench-strncmp.c: New file.
7460 * benchtests/bench-strncpy-ifunc.c: New file.
7461 * benchtests/bench-strncpy.c: New file.
7462 * benchtests/bench-strnlen-ifunc.c: New file.
7463 * benchtests/bench-strnlen.c: New file.
7464 * benchtests/bench-strpbrk-ifunc.c: New file.
7465 * benchtests/bench-strpbrk.c: New file.
7466 * benchtests/bench-strrchr-ifunc.c: New file.
7467 * benchtests/bench-strrchr.c: New file.
7468 * benchtests/bench-strspn-ifunc.c: New file.
7469 * benchtests/bench-strspn.c: New file.
7470 * benchtests/bench-strstr-ifunc.c: New file.
7471 * benchtests/bench-strstr.c: New file.
7472
c1f75dc3
SP
7473 * benchtests/Makefile: Disable parallel execution of targets.
7474 (string-bench): Add memcpy.
7475 (benchset): New variable to store a list of benchmark sets.
7476 (bench-func): Renamed from bench.
7477 (bench-set): New target.
7478 (bench): Depend on bench-func and bench-set.
7479 * benchtests/README: Add section on benchmark sets.
7480 * benchtests/bench-memcpy-ifunc.c: New file.
7481 * benchtests/bench-memcpy.c: New file.
7482 * benchtests/bench-string.h: New file.
7483
50fd745b
AS
74842013-06-11 Andreas Schwab <schwab@suse.de>
7485
7486 [BZ #15577]
7487 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7488 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7489 values in the triple.
7490 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7491 terminator in the group key.
7492
3ee7e9fe
AJ
74932013-06-11 Andreas Jaeger <aj@suse.de>
7494
7495 * po/zh_TW.po: Update Chinese (traditional) translation from
7496 translation project.
7497
89fb6835
SP
74982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7499
7500 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7501 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7502 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7503 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7504 (clock_getcpuclockid): Likewise.
7505 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7506 Add weak_alias and libc_hidden_def.
7507 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7508 * rt/clock_gettime.c (clock_gettime): Rename to
7509 __clock_gettime. Add weak_alias and libc_hidden_def.
7510 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7511 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7512 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7513 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7514 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7515 Likewise.
7516 * rt/clock_settime.c (clock_settime): Rename to
7517 __clock_settime. Add weak_alias and libc_hidden_def.
7518 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7519
0efa6f8b
JM
75202013-06-10 Joseph Myers <joseph@codesourcery.com>
7521
b8c61b4b
JM
7522 * mach/err_boot.sub: Remove trailing whitespace.
7523 * mach/err_ipc.sub: Likewise.
7524 * mach/err_mach.sub: Likewise.
7525
0efa6f8b
JM
7526 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7527 (ROUNDING_TESTS_double): Likewise.
7528 (ROUNDING_TESTS_long_double): Likewise.
7529 (ROUNDING_TESTS): Likewise.
7530 * math/libm-test.inc: Include <math-tests.h>.
7531 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7532 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7533 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7534 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7535
50b818bf
SP
75362013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7537
7538 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7539 of assigning.
7540
60d2f8f3
JM
75412013-06-08 Joseph Myers <joseph@codesourcery.com>
7542
4902d2c3
JM
7543 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7544 otherwise empty TRANS lines.
7545 * sysdeps/gnu/errlist.c: Regenerated.
7546
60d2f8f3
JM
7547 * catgets/gencat.c (error_print): Use (void) in function
7548 definition.
7549 * crypt/crypt_util.c (__init_des): Likewise.
7550 * crypt/speeds.c (Stop): Likewise.
7551 (main): Likewise.
7552 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7553 * inet/ruserpass.c (token): Likewise.
7554 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7555 * intl/localealias.c (extend_alias_table): Likewise.
7556 * intl/plural-exp.c (init_germanic_plural): Likewise.
7557 * libio/fcloseall.c (__fcloseall): Likewise.
7558 * libio/genops.c (_IO_flush_all): Likewise.
7559 (_IO_flush_all_linebuffered): Likewise.
7560 (_IO_cleanup): Likewise.
7561 (_IO_iter_begin): Likewise.
7562 (_IO_iter_end): Likewise.
7563 (_IO_list_lock): Likewise.
7564 (_IO_list_unlock): Likewise.
7565 (_IO_list_resetlock): Likewise.
7566 * libio/getchar.c (getchar): Likewise.
7567 * libio/getchar_u.c (getchar_unlocked): Likewise.
7568 * libio/getwchar.c (getwchar): Likewise.
7569 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7570 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7571 * login/getpt.c (__getpt): Likewise.
7572 * login/tst-utmp.c (main): Likewise.
7573 * malloc/hooks.c (__malloc_check_init): Likewise.
7574 * malloc/malloc.c (__malloc_stats): Likewise.
7575 * malloc/mtrace.c (tr_break): Likewise.
7576 (mtrace): Likewise.
7577 (muntrace): Likewise.
7578 * misc/fstab.c (endfsent): Likewise.
7579 * misc/getclktck.c (__getclktck): Likewise.
7580 * misc/getdtsz.c (__getdtablesize): Likewise.
7581 * misc/gethostid.c (gethostid): Likewise.
7582 * misc/getpagesize.c (__getpagesize): Likewise.
7583 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7584 (__get_nprocs): Likewise.
7585 (__get_phys_pages): Likewise.
7586 (__get_avphys_pages): Likewise.
7587 * misc/getttyent.c (getttyent): Likewise.
7588 (setttyent): Likewise.
7589 (endttyent): Likewise.
7590 * misc/getusershell.c (getusershell): Likewise.
7591 (endusershell): Likewise.
7592 (setusershell): Likewise.
7593 (initshells): Likewise.
7594 * misc/hsearch.c (__hdestroy): Likewise.
7595 * misc/sync.c (sync): Likewise.
7596 * misc/syslog.c (closelog_internal): Likewise.
7597 (closelog): Likewise.
7598 * misc/ttyslot.c (ttyslot): Likewise.
7599 * misc/vhangup.c (vhangup): Likewise.
7600 * posix/fork.c (__fork): Likewise.
7601 * posix/getegid.c (__getegid): Likewise.
7602 * posix/geteuid.c (__geteuid): Likewise.
7603 * posix/getgid.c (__getgid): Likewise.
7604 * posix/getpid.c (__getpid): Likewise.
7605 * posix/getppid.c (__getppid): Likewise.
7606 * posix/getuid.c (__getuid): Likewise.
7607 * posix/pause.c (pause): Likewise.
7608 * posix/setpgrp.c (setpgrp): Likewise.
7609 * posix/setsid.c (__setsid): Likewise.
7610 * posix/test-vfork.c (noop): Likewise.
7611 * resolv/gethnamaddr.c (_endhtent): Likewise.
7612 (_gethtent): Likewise.
7613 (ht_endhostent): Likewise.
7614 (gethostent): Likewise.
7615 (dns_service): Likewise.
7616 * stdlib/drand48.c (drand48): Likewise.
7617 * stdlib/lrand48.c (lrand48): Likewise.
7618 * stdlib/mrand48.c (mrand48): Likewise.
7619 * stdlib/rand.c (rand): Likewise.
7620 * stdlib/random.c (__random): Likewise.
7621 * stdlib/setenv.c (clearenv): Likewise.
7622 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7623 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7624 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7625 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7626 (__get_nprocs): Likewise.
7627 (__get_phys_pages): Likewise.
7628 (__get_avphys_pages): Likewise.
7629 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7630 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7631 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7632 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7633 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7634 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7635 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7636 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7637 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7638 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7639 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7640 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7641 * sysdeps/posix/clock.c (clock): Likewise.
7642 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7643 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7644 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7645 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7646 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7647 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7648 (__get_nprocs_conf): Likewise.
7649 (__get_phys_pages): Likewise.
7650 (__get_avphys_pages): Likewise.
7651 * time/clock.c (clock): Likewise.
7652 * time/tzset.c (__tzname_max): Likewise.
7653
2e09a79a
JM
76542013-06-07 Joseph Myers <joseph@codesourcery.com>
7655
7656 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7657 (__bswap_32): Do not use "register".
7658 * crypt/crypt.c (_ufc_doit_r): Likewise.
7659 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7660 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7661 * gmon/gmon.c (__monstartup): Likewise.
7662 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7663 * hurd/hurdmalloc.c (more_memory): Likewise.
7664 (malloc): Likewise.
7665 (free): Likewise.
7666 (realloc): Likewise.
7667 (malloc_fork_prepare): Likewise.
7668 (malloc_fork_parent): Likewise.
7669 (malloc_fork_child): Likewise.
7670 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7671 (_svcauth_des): Likewise.
7672 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7673 * inet/inet_net.c (inet_network): Likewise.
7674 * inet/inet_netof.c (inet_netof): Likewise.
7675 * inet/rcmd.c (__validuser2_sa): Likewise.
7676 * io/fts.c (fts_open): Likewise.
7677 (fts_load): Likewise.
7678 (fts_close): Likewise.
7679 (fts_read): Likewise.
7680 (fts_children): Likewise.
7681 (fts_build): Likewise.
7682 (fts_stat): Likewise.
7683 (fts_sort): Likewise.
7684 (fts_alloc): Likewise.
7685 (fts_lfree): Likewise.
7686 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7687 (_IO_file_xsgetn): Likewise.
7688 (_IO_file_xsgetn_mmap): Likewise.
7689 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7690 (_IO_cookie_write): Likewise.
7691 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7692 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7693 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7694 * malloc/obstack.c (_obstack_begin): Likewise.
7695 (_obstack_begin_1): Likewise.
7696 (_obstack_newchunk): Likewise.
7697 (_obstack_allocated_p): Likewise.
7698 (obstack_free): Likewise.
7699 (_obstack_memory_used): Likewise.
7700 * misc/getttyent.c (getttynam): Likewise.
7701 (getttyent): Likewise.
7702 (skip): Likewise.
7703 (value): Likewise.
7704 * misc/getusershell.c (initshells): Likewise.
7705 * misc/syslog.c (__vsyslog_chk): Likewise.
7706 * misc/ttyslot.c (ttyslot): Likewise.
7707 * nis/nis_hash.c (__nis_hash): Likewise.
7708 * posix/fnmatch_loop.c (FCT): Likewise.
7709 * posix/getconf.c (print_all): Likewise.
7710 (main): Likewise.
7711 * posix/getopt.c (exchange): Likewise.
7712 * posix/glob.c (globfree): Likewise.
7713 (prefix_array): Likewise.
7714 (__glob_pattern_type): Likewise.
7715 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7716 (NS_GET32): Likewise.
7717 (NS_PUT16): Likewise.
7718 (NS_PUT32): Likewise.
7719 * resolv/gethnamaddr.c (getanswer): Likewise.
7720 (gethostbyname2): Likewise.
7721 (gethostbyaddr): Likewise.
7722 (_gethtent): Likewise.
7723 (_gethtbyname2): Likewise.
7724 (_gethtbyaddr): Likewise.
7725 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7726 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7727 * resolv/res_init.c (__res_vinit): Likewise.
7728 (net_mask): Likewise.
7729 * resolv/res_mkquery.c (outchar): Likewise.
7730 (PRINT): Likewise.
7731 * stdio-common/printf_fp.c (outchar): Likewise.
7732 (PRINT): Likewise.
7733 * stdio-common/printf_fphex.c (outchar): Likewise.
7734 (PRINT): Likewise.
7735 * stdio-common/printf_size.c (outchar): Likewise.
7736 (PRINT): Likewise.
7737 * stdio-common/test_rdwr.c (main): Likewise.
7738 * stdio-common/tfformat.c (matches): Likewise.
7739 * stdio-common/vfprintf.c (outchar): Likewise.
7740 (printf_unknown): Likewise.
7741 (buffered_vfprintf): Likewise.
7742 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7743 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7744 (ReadFile): Likewise.
7745 * stdlib/qsort.c (SWAP): Likewise.
7746 (_quicksort): Likewise.
7747 * stdlib/setenv.c (__add_to_environ): Likewise.
7748 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7749 * stdlib/strtol_l.c (__strtol_l): Likewise.
7750 * stdlib/tst-strtod.c (main): Likewise.
7751 * stdlib/tst-strtol.c (main): Likewise.
7752 * stdlib/tst-strtoll.c (main): Likewise.
7753 * string/bits/string2.h (__strcmp_cc): Likewise.
7754 (__strcmp_cg): Likewise.
7755 (__strcspn_c1): Likewise.
7756 (__strcspn_c2): Likewise.
7757 (__strcspn_c3): Likewise.
7758 (__strspn_c1): Likewise.
7759 (__strspn_c2): Likewise.
7760 (__strspn_c3): Likewise.
7761 (__strsep_1c): Likewise.
7762 (__strsep_2c): Likewise.
7763 (__strsep_3c): Likewise.
7764 * string/memccpy.c (__memccpy): Likewise.
7765 * string/stpcpy.c (__stpcpy): Likewise.
7766 * string/strcmp.c (strcmp): Likewise.
7767 * string/strrchr.c (strrchr): Likewise.
7768 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7769 Likewise.
7770 * sysdeps/mach/hurd/getcwd.c
7771 (_hurd_canonicalize_directory_name_internal): Likewise.
7772 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7773 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7774 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7775 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7776 Likewise, in both definitions.
7777 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7778 definitions.
7779 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7780 64] (__bswap_64): Likewise.
7781 * time/test_time.c (main): Likewise.
7782 * time/tzfile.c (__tzfile_read): Likewise.
7783 (__tzfile_compute): Likewise.
7784 * time/tzset.c (__tzset_parse_tz): Likewise.
7785 (tzset_internal): Likewise.
7786 (compute_change): Likewise.
7787 * wcsmbs/wcscat.c (__wcscat): Likewise.
7788 * wcsmbs/wcschr.c (wcschr): Likewise.
7789 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7790 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7791 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7792 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7793 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7794 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7795 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7796 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7797 * wcsmbs/wmemset.c (wmemset): Likewise.
7798
9e54314b
JM
77992013-06-06 Joseph Myers <joseph@codesourcery.com>
7800
7801 * scripts/config.guess: Update to version 2013-05-16.
7802 * scripts/config.sub: Update to version 2013-04-24.
7803 * scripts/install-sh: Update to version 2011-11-20.07.
7804 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7805 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7806
350635a5
OB
78072013-06-06 Ondřej Bílka <neleai@seznam.cz>
7808
7809 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7810 * elf/sln.c: Likewise.
7811 * hurd/hurd/ioctl.h: Likewise.
7812 * hurd/hurdmalloc.c: Likewise.
7813 * hurd/xattr.c: Likewise.
7814 * include/shlib-compat.h: Likewise.
7815 * inet/ruserpass.c: Likewise.
7816 * libio/iofgets_u.c: Likewise.
7817 * libio/iofgetws_u.c: Likewise.
7818 * locale/programs/ld-identification.c: Likewise.
7819 * locale/programs/ld-time.c: Likewise.
7820 * mach/msg-destroy.c: Likewise.
7821 * nss/nss_files/files-netgrp.c: Likewise.
7822 * resolv/res_data.c: Likewise.
7823 * soft-fp/op-1.h: Likewise.
7824 * soft-fp/op-2.h: Likewise.
7825 * soft-fp/op-4.h: Likewise.
7826 * soft-fp/op-common.h: Likewise.
7827 * stdio-common/printf_fphex.c: Likewise.
7828 * stdlib/strtod_l.c: Likewise.
7829 * sunrpc/rpc/clnt.h: Likewise.
7830 * sysdeps/generic/framestate.c: Likewise.
7831 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7832 * sysdeps/i386/bsd-setjmp.S: Likewise.
7833 * sysdeps/i386/__longjmp.S: Likewise.
7834 * sysdeps/i386/setjmp.S: Likewise.
7835 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7836 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7838 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7845 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7853 * sysdeps/ieee754/support.c: Likewise.
7854 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7855 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7856 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7857 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7858 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7859 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7860 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7861 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7862 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7863 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7864 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7865 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7866 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7867 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7868 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7869 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7870 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7872
44a988af
OB
78732013-06-05 Ondřej Bílka <neleai@seznam.cz>
7874
25506f09 7875 * posix/transbug.c: Remove executable mode.
44a988af 7876
9c84384c
JM
78772013-06-05 Joseph Myers <joseph@codesourcery.com>
7878
7879 * crypt/speeds.c: Remove trailing whitespace.
7880 * dlfcn/default.c: Likewise.
7881 * elf/ifuncdep2.c: Likewise.
7882 * elf/ifuncmain1.c: Likewise.
7883 * elf/ifuncmain1vis.c: Likewise.
7884 * elf/testobj.h: Likewise.
7885 * elf/tst-stackguard1.c: Likewise.
7886 * gmon/sys/gmon.h: Likewise.
7887 * hurd/hurdmsg.c: Likewise.
7888 * hurd/new-fd.c: Likewise.
7889 * hurd/ports-get.c: Likewise.
7890 * iconvdata/ibm1008_420.c: Likewise.
7891 * inet/tst-getni1.c: Likewise.
7892 * inet/tst-getni2.c: Likewise.
7893 * libio/ioungetc.c: Likewise.
7894 * libio/wfiledoalloc.c: Likewise.
7895 * manual/libm-err-tab.pl: Likewise.
7896 * math/w_dremf.c: Likewise.
7897 * misc/ftruncate.c: Likewise.
7898 * posix/bug-glob2.c: Likewise.
7899 * posix/tst-pcre.c: Likewise.
7900 * posix/wait4.c: Likewise.
7901 * resolv/README: Likewise.
7902 * resolv/res_debug.h: Likewise.
7903 * resolv/tst-inet_ntop.c: Likewise.
7904 * setjmp/bug269-setjmp.c: Likewise.
7905 * soft-fp/extended.h: Likewise.
7906 * soft-fp/op-1.h: Likewise.
7907 * soft-fp/op-2.h: Likewise.
7908 * soft-fp/op-4.h: Likewise.
7909 * soft-fp/op-8.h: Likewise.
7910 * soft-fp/testit.c: Likewise.
7911 * stdio-common/bug16.c: Likewise.
7912 * stdlib/random.c: Likewise.
7913 * sunrpc/rpcsvc/rquota.x: Likewise.
7914 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7915 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7916 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7917 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7918 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7919 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7920 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7921 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7922 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7923 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7924 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7925 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7926 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7927 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7928 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7929 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7930 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7931 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7932 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7933 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7934 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7935 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7936 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7937 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7938 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7939 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7940 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7941 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7942 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7943 * sysdeps/ieee754/s_lib_version.c: Likewise.
7944 * sysdeps/mach/hurd/check_fds.c: Likewise.
7945 * sysdeps/mach/hurd/getsockname.c: Likewise.
7946 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7947 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7948 * sysdeps/powerpc/bits/link.h: Likewise.
7949 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7950 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7951 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7952 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7953 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7954 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7955 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7956 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7957 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7958 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7959 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7960 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7961 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7962 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7963 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7964 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7965 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7966 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7967 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7968 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7969 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7970 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7971 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7972 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7973 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7974 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7975 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7976 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7977 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7978 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7979 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7980 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7981 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7982 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7983 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7984 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7985 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7986 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7987 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7988 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7989 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7990 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7991 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7992 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7993 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7994 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7995 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7996 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7997 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7998 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8000 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8001 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8002 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8003 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8004 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8005 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8006 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8007 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8008 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8009 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8010 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8011 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8012 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8013 * sysdeps/powerpc/sysdep.h: Likewise.
8014 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8015 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8016 * sysdeps/sh/dl-trampoline.S: Likewise.
8017 * sysdeps/sh/memset.S: Likewise.
8018 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8019 * sysdeps/sh/strlen.S: Likewise.
8020 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8021 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8022 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8023 * sysdeps/sparc/sparc32/rem.S: Likewise.
8024 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8025 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8026 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8027 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8028 * sysdeps/sparc/sparc32/urem.S: Likewise.
8029 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8030 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8031 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8032 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8033 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8034 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8035 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8036 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8037 * sysdeps/unix/bsd/times.c: Likewise.
8038 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8039 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8043 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8044 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8045 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8046 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8047 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8048 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8049 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8050 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8051 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8052 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8053 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8054 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8055 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8056 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8057 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8058 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8059 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8060 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8061 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8062 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8063 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8064 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8065 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8066 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8067 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8068 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8069 * sysdeps/x86_64/strcspn.S: Likewise.
8070
869378a5
RA
80712013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8072
8073 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8074 generated file. Regenerate properly from gen-translit.pl.
8075 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8076 locale/C-translit.h.
8077
840e2943
AS
80782013-06-05 Andreas Schwab <schwab@suse.de>
8079
8080 [BZ #15100]
8081 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8082 week as 6 instead of -1.
8083 * time/tst-strptime.c (day_tests): Add test case.
8084
4c60cb0c
SP
80852013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8086
8087 * sysdeps/generic/math_private.h
8088 (libc_feholdexcept_setround_53bit): Replace with
8089 libc_feholdsetround_53bit.
8090 (libc_feupdateenv_53bit): Replace with
8091 libc_feresetround_53bit.
8092 (SET_RESTORE_ROUND_53BIT): Adjust.
8093
d180203e
SP
80942013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8095
96df079a
SP
8096 * string/test-strchrnul.c: Add copyright header.
8097
d180203e
SP
8098 * posix/tst-getaddrinfo4.c: Increase test timeout.
8099
8b0ccb2d
CD
81002013-06-03 Carlos O'Donell <carlos@redhat.com>
8101
8102 [BZ #15536]
8103 * math/libm-test.inc (MAX_EXP): Remove
8104 (MIN_EXP): Define.
8105 (ulp): Use MIN_EXP - MANT_DIG.
8106 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8107
3b3c4d40
CD
81082013-05-31 Carlos O'Donell <carlos@redhat.com>
8109
8110 * po/be.po: Revert last change.
8111 * po/zh_CN.po: Likewise.
8112 * po/header.pot: Likewise.
8113
fab7ce3f
JM
81142013-05-31 Joseph Myers <joseph@codesourcery.com>
8115
8116 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8117 link-libc-deps to empty as target-specific variable.
8118 * Makerules (link-libc-args): New variable.
8119 (libc-for-link): Likewise.
8120 (link-libc-deps): Likewise.
8121 (lib%.so): Depend on $(link-libc-deps). Link with
8122 $(link-libc-args).
8123 (build-module): Link with $(link-libc-args).
8124 (build-module-asneeded): Likewise.
8125 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8126 list of objects.
8127 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8128 target-specific variable.
8129 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8130 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8131 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8132 libc.
8133 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8134 libc and ld.so.
8135 ($(objpfx)libpcprofile.so): Likewise.
8136 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8137 libc_nonshared.a.
8138 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8139 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8140 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8141 $(link-libc-deps).
8142 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8143 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8144 * login/Makefile ($(objpfx)libutil.so): Likewise.
8145 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8146 * math/Makefile ($(objpfx)libm.so): Likewise.
8147 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8148 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8149 variable instead of depending directly on libc.
8150 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8151 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8152 $(link-libc-deps).
8153 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8154 libc.
8155 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8156 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8157 ($(objpfx)libanl.so): Likewise.
8158 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8159 ld.so.
8160 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8161 $(link-libc-deps).
8162 * sysdeps/i386/fpu/Makefile: Remove file.
8163 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8164 ($(objpfx)libm.so): Remove dependency on ld.so.
8165
eca5920c
PF
81662013-05-30 Patsy Franklin <pfrankli@redhat.com>
8167
8168 [BZ # 15553]
8169 * nis/yp_xdr.c (XDRMAXNAME): Define.
8170 (XDRMAXRECORD): Define.
8171 (xdr_domainname): Use XDRMAXNAME.
8172 (xdr_mapname): Likewise.
8173 (xdr_peername): Likewise.
8174 (xdr_keydat): Use XDRMAXRECORD.
8175 (xdr_valdat): Likewise.
8176
81772013-05-30 Jeff Law <law@redhat.com>
96945714
JL
8178
8179 [BZ #14256]
8180 * manual/errno.texi (ESTALE): Update to account for more than
8181 just NFS file systems.
8182 * sysdeps/gnu/errlist.c: Regenerated.
8183
b9375348
SP
81842013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8185
8186 [BZ #15465]
8187 * elf/Makefile (tests): Add tst-null-argv.
8188 (modules-names): Add tst-null-argv-lib.
8189 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8190 (tst-null-argv-ENV): Set environment for tst-null-argv.
8191 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8192 (RTLD_PROGNAME): New macro.
8193 * elf/tst-null-argv.c: New test case.
8194 * elf/tst-null-argv-lib.c: Library for test case.
8195 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8196 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8197 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8198 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8199 * elf/dl-init.c (call_init): Likewise.
8200 (_dl_init): Likewise.
8201 * elf/dl-load.c (print_search_path): Likewise.
8202 (_dl_map_object): Likewise.
8203 * elf/dl-lookup.c (do_lookup_x): Likewise.
8204 (add_dependency): Likewise.
8205 (_dl_lookup_symbol_x): Likewise.
8206 (_dl_debug_bindings): Likewise.
8207 * elf/dl-open.c (_dl_show_scope): Likewise.
8208 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8209 * elf/dl-version.c (match_symbol): Likewise.
8210 (_dl_check_map_versions): Likewise.
8211 * elf/rtld.c (dl_main): Likewise.
8212 (print_unresolved): Use RTLD_PROGNAME.
8213 (print_missing_version): Likewise.
8214 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8215 (elf_machine_rela): Likewise.
8216 * sysdeps/powerpc/powerpc32/dl-machine.c
8217 (__process_machine_rela): Likewise.
8218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8219 Likewise.
8220 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8221 Likewise.
8222 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8223 Likewise.
8224 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8225 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8226 Likewise.
8227 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8228 Likewise.
8229 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8230
8a9f20c8
CD
82312013-05-28 Carlos O'Donell <carlos@redhat.com>
8232
8233 * po/be.po: Add descriptive title.
8234 * po/zh_CN.po: Likewise.
8235 * po/header.pot: Likewise.
8236
0e60d68e
MF
82372013-05-28 Mike Frysinger <vapier@gentoo.org>
8238
8239 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8240 error message.
8241 (enlarge_archive): Likewise.
8242
56b672e9
BN
82432013-05-28 Ben North <ben@redfrontdoor.org>
8244
8245 * manual/arith.texi (frexp): It is the magnitude of the return
8246 value which lies in [0.5, 1), not the return value itself.
8247
5e056687
AZ
82482013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8249
8250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8251
2b66ef5d
TS
82522013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8253
528c2405
TS
8254 * stdio-common/bug26.c (main): Correct fscanf template.
8255
07b4c13d
TS
8256 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8257 declare _dl_skip_args.
8258
ec9dd97c
TS
8259 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8260 Don't declare.
8261
2b66ef5d
TS
8262 * manual/platform.texi: Add missing @end deftypefun.
8263
4f8dfe27
JM
82642013-05-24 Joseph Myers <joseph@codesourcery.com>
8265
0323d086
JM
8266 [BZ #15529]
8267 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8268 bit of mantissa of 2^16382.
8269 * math/libm-test.inc (hypot_test_data): Add more tests.
8270
dd4259b9
JM
8271 * math/libm-test.inc: Add drem and pow10 to list of tested
8272 functions.
8273 (pow10_test): New function.
8274 (drem_test): Likewise.
8275 (drem_test_tonearest): Likewise.
8276 (drem_test_towardzero): Likewise.
8277 (drem_test_downward): Likewise.
8278 (drem_test_upward): Likewise.
8279 (main): Call the new functions.
8280
4f8dfe27
JM
8281 * math/libm-test.inc (finite_test_data): Remove.
8282 (finite_test): Run tests from isfinite_test_data.
8283 (gamma_test_data): Remove.
8284 (gamma_test): Run tests from lgamma_test_data.
8285 * sysdeps/i386/fpu/libm-test-ulps: Update.
8286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8287
d116b7c4
AZ
82882013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8289
8290 * manual/platform.texi: Add PowerPC PPR function set documentation.
8291 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8292 implementation.
8293
e96e3767
CD
82942013-05-24 Carlos O'Donell <carlos@redhat.com>
8295
8296 * math/libm-test.inc (MAX_EXP): Define.
8297 (ULPDIFF): Define.
8298 (ulp): New function.
8299 (check_float_internal): Use ULPDIFF.
8300 (cpow_test): Disable failing test.
8301 (check_ulp): Test ulp() implemetnation.
8302 (main): Call check_ulp before starting tests.
8303
b679a606
JM
83042013-05-24 Joseph Myers <joseph@codesourcery.com>
8305
e8bdba36
JM
8306 * math/gen-libm-test.pl (generate_testfile): Do not handle
8307 START_DATA and END_DATA.
8308 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8309 END_DATA.
8310 (acos_tonearest_test_data): Likewise.
8311 (acos_towardzero_test_data): Likewise.
8312 (acos_downward_test_data): Likewise.
8313 (acos_upward_test_data): Likewise.
8314 (acosh_test_data): Likewise.
8315 (asin_test_data): Likewise.
8316 (asin_tonearest_test_data): Likewise.
8317 (asin_towardzero_test_data): Likewise.
8318 (asin_downward_test_data): Likewise.
8319 (asin_upward_test_data): Likewise.
8320 (asinh_test_data): Likewise.
8321 (atan_test_data): Likewise.
8322 (atanh_test_data): Likewise.
8323 (atan2_test_data): Likewise.
8324 (cabs_test_data): Likewise.
8325 (cacos_test_data): Likewise.
8326 (cacosh_test_data): Likewise.
8327 (carg_test_data): Likewise.
8328 (casin_test_data): Likewise.
8329 (casinh_test_data): Likewise.
8330 (catan_test_data): Likewise.
8331 (catanh_test_data): Likewise.
8332 (cbrt_test_data): Likewise.
8333 (ccos_test_data): Likewise.
8334 (ccosh_test_data): Likewise.
8335 (ceil_test_data): Likewise.
8336 (cexp_test_data): Likewise.
8337 (cimag_test_data): Likewise.
8338 (clog_test_data): Likewise.
8339 (clog10_test_data): Likewise.
8340 (conj_test_data): Likewise.
8341 (copysign_test_data): Likewise.
8342 (cos_test_data): Likewise.
8343 (cos_tonearest_test_data): Likewise.
8344 (cos_towardzero_test_data): Likewise.
8345 (cos_downward_test_data): Likewise.
8346 (cos_upward_test_data): Likewise.
8347 (cosh_test_data): Likewise.
8348 (cosh_tonearest_test_data): Likewise.
8349 (cosh_towardzero_test_data): Likewise.
8350 (cosh_downward_test_data): Likewise.
8351 (cosh_upward_test_data): Likewise.
8352 (cpow_test_data): Likewise.
8353 (cproj_test_data): Likewise.
8354 (creal_test_data): Likewise.
8355 (csin_test_data): Likewise.
8356 (csinh_test_data): Likewise.
8357 (csqrt_test_data): Likewise.
8358 (ctan_test_data): Likewise.
8359 (ctan_tonearest_test_data): Likewise.
8360 (ctan_towardzero_test_data): Likewise.
8361 (ctan_downward_test_data): Likewise.
8362 (ctan_upward_test_data): Likewise.
8363 (ctanh_test_data): Likewise.
8364 (ctanh_tonearest_test_data): Likewise.
8365 (ctanh_towardzero_test_data): Likewise.
8366 (ctanh_downward_test_data): Likewise.
8367 (ctanh_upward_test_data): Likewise.
8368 (erf_test_data): Likewise.
8369 (erfc_test_data): Likewise.
8370 (exp_test_data): Likewise.
8371 (exp_tonearest_test_data): Likewise.
8372 (exp_towardzero_test_data): Likewise.
8373 (exp_downward_test_data): Likewise.
8374 (exp_upward_test_data): Likewise.
8375 (exp10_test_data): Likewise.
8376 (exp2_test_data): Likewise.
8377 (expm1_test_data): Likewise.
8378 (fabs_test_data): Likewise.
8379 (fdim_test_data): Likewise.
8380 (finite_test_data): Likewise.
8381 (floor_test_data): Likewise.
8382 (fma_test_data): Likewise.
8383 (fma_towardzero_test_data): Likewise.
8384 (fma_downward_test_data): Likewise.
8385 (fma_upward_test_data): Likewise.
8386 (fmax_test_data): Likewise.
8387 (fmin_test_data): Likewise.
8388 (fmod_test_data): Likewise.
8389 (fpclassify_test_data): Likewise.
8390 (frexp_test_data): Likewise.
8391 (gamma_test_data): Likewise.
8392 (hypot_test_data): Likewise.
8393 (ilogb_test_data): Likewise.
8394 (isfinite_test_data): Likewise.
8395 (isgreater_test_data): Likewise.
8396 (isgreaterequal_test_data): Likewise.
8397 (isinf_test_data): Likewise.
8398 (isless_test_data): Likewise.
8399 (islessequal_test_data): Likewise.
8400 (islessgreater_test_data): Likewise.
8401 (isnan_test_data): Likewise.
8402 (isnormal_test_data): Likewise.
8403 (issignaling_test_data): Likewise.
8404 (isunordered_test_data): Likewise.
8405 (j0_test_data): Likewise.
8406 (j1_test_data): Likewise.
8407 (jn_test_data): Likewise.
8408 (ldexp_test_data): Likewise.
8409 (lgamma_test_data): Likewise.
8410 (lrint_test_data): Likewise.
8411 (lrint_tonearest_test_data): Likewise.
8412 (lrint_towardzero_test_data): Likewise.
8413 (lrint_downward_test_data): Likewise.
8414 (lrint_upward_test_data): Likewise.
8415 (llrint_test_data): Likewise.
8416 (llrint_tonearest_test_data): Likewise.
8417 (llrint_towardzero_test_data): Likewise.
8418 (llrint_downward_test_data): Likewise.
8419 (llrint_upward_test_data): Likewise.
8420 (log_test_data): Likewise.
8421 (log10_test_data): Likewise.
8422 (log1p_test_data): Likewise.
8423 (log2_test_data): Likewise.
8424 (logb_test_data): Likewise.
8425 (logb_downward_test_data): Likewise.
8426 (lround_test_data): Likewise.
8427 (llround_test_data): Likewise.
8428 (modf_test_data): Likewise.
8429 (nearbyint_test_data): Likewise.
8430 (nextafter_test_data): Likewise.
8431 (nexttoward_test_data): Likewise.
8432 (pow_test_data): Likewise.
8433 (pow_tonearest_test_data): Likewise.
8434 (pow_towardzero_test_data): Likewise.
8435 (pow_downward_test_data): Likewise.
8436 (pow_upward_test_data): Likewise.
8437 (remainder_test_data): Likewise.
8438 (remainder_tonearest_test_data): Likewise.
8439 (remainder_towardzero_test_data): Likewise.
8440 (remainder_downward_test_data): Likewise.
8441 (remainder_upward_test_data): Likewise.
8442 (remquo_test_data): Likewise.
8443 (rint_test_data): Likewise.
8444 (rint_tonearest_test_data): Likewise.
8445 (rint_towardzero_test_data): Likewise.
8446 (rint_downward_test_data): Likewise.
8447 (rint_upward_test_data): Likewise.
8448 (round_test_data): Likewise.
8449 (scalb_test_data): Likewise.
8450 (scalbn_test_data): Likewise.
8451 (scalbln_test_data): Likewise.
8452 (signbit_test_data): Likewise.
8453 (sin_test_data): Likewise.
8454 (sin_tonearest_test_data): Likewise.
8455 (sin_towardzero_test_data): Likewise.
8456 (sin_downward_test_data): Likewise.
8457 (sin_upward_test_data): Likewise.
8458 (sincos_test_data): Likewise.
8459 (sinh_test_data): Likewise.
8460 (sinh_tonearest_test_data): Likewise.
8461 (sinh_towardzero_test_data): Likewise.
8462 (sinh_downward_test_data): Likewise.
8463 (sinh_upward_test_data): Likewise.
8464 (sqrt_test_data): Likewise.
8465 (tan_test_data): Likewise.
8466 (tan_tonearest_test_data): Likewise.
8467 (tan_towardzero_test_data): Likewise.
8468 (tan_downward_test_data): Likewise.
8469 (tan_upward_test_data): Likewise.
8470 (tanh_test_data): Likewise.
8471 (tgamma_test_data): Likewise.
8472 (trunc_test_data): Likewise.
8473 (y0_test_data): Likewise.
8474 (y1_test_data): Likewise.
8475 (yn_test_data): Likewise.
8476 (significand_test_data): Likewise.
8477
b679a606
JM
8478 * math/gen-libm-test.pl (@functions): Remove variable.
8479 (generate_testfile): Don't handle START and END lines.
8480 * math/libm-test.inc (START): New macro.
8481 (END): Likewise.
8482 (END_COMPLEX): Likewise.
8483 (acos_test): Use END macro without arguments.
8484 (acos_test_tonearest): Likewise.
8485 (acos_test_towardzero): Likewise.
8486 (acos_test_downward): Likewise.
8487 (acos_test_upward): Likewise.
8488 (acosh_test): Likewise.
8489 (asin_test): Likewise.
8490 (asin_test_tonearest): Likewise.
8491 (asin_test_towardzero): Likewise.
8492 (asin_test_downward): Likewise.
8493 (asin_test_upward): Likewise.
8494 (asinh_test): Likewise.
8495 (atan_test): Likewise.
8496 (atanh_test): Likewise.
8497 (atan2_test): Likewise.
8498 (cabs_test): Likewise.
8499 (cacos_test): Use END_COMPLEX macro without arguments.
8500 (cacosh_test): Likewise.
8501 (carg_test): Use END macro without arguments.
8502 (casin_test): Use END_COMPLEX macro without arguments.
8503 (casinh_test): Likewise.
8504 (catan_test): Likewise.
8505 (catanh_test): Likewise.
8506 (cbrt_test): Use END macro without arguments.
8507 (ccos_test): Use END_COMPLEX macro without arguments.
8508 (ccosh_test): Likewise.
8509 (ceil_test): Use END macro without arguments.
8510 (cexp_test): Use END_COMPLEX macro without arguments.
8511 (cimag_test): Use END macro without arguments.
8512 (clog_test): Use END_COMPLEX macro without arguments.
8513 (clog10_test): Likewise.
8514 (conj_test): Likewise.
8515 (copysign_test): Use END macro without arguments.
8516 (cos_test): Likewise.
8517 (cos_test_tonearest): Likewise.
8518 (cos_test_towardzero): Likewise.
8519 (cos_test_downward): Likewise.
8520 (cos_test_upward): Likewise.
8521 (cosh_test): Likewise.
8522 (cosh_test_tonearest): Likewise.
8523 (cosh_test_towardzero): Likewise.
8524 (cosh_test_downward): Likewise.
8525 (cosh_test_upward): Likewise.
8526 (cpow_test): Use END_COMPLEX macro without arguments.
8527 (cproj_test): Likewise.
8528 (creal_test): Use END macro without arguments.
8529 (csin_test): Use END_COMPLEX macro without arguments.
8530 (csinh_test): Likewise.
8531 (csqrt_test): Likewise.
8532 (ctan_test): Likewise.
8533 (ctan_test_tonearest): Likewise.
8534 (ctan_test_towardzero): Likewise.
8535 (ctan_test_downward): Likewise.
8536 (ctan_test_upward): Likewise.
8537 (ctanh_test): Likewise.
8538 (ctanh_test_tonearest): Likewise.
8539 (ctanh_test_towardzero): Likewise.
8540 (ctanh_test_downward): Likewise.
8541 (ctanh_test_upward): Likewise.
8542 (erf_test): Use END macro without arguments.
8543 (erfc_test): Likewise.
8544 (exp_test): Likewise.
8545 (exp_test_tonearest): Likewise.
8546 (exp_test_towardzero): Likewise.
8547 (exp_test_downward): Likewise.
8548 (exp_test_upward): Likewise.
8549 (exp10_test): Likewise.
8550 (exp2_test): Likewise.
8551 (expm1_test): Likewise.
8552 (fabs_test): Likewise.
8553 (fdim_test): Likewise.
8554 (finite_test): Likewise.
8555 (floor_test): Likewise.
8556 (fma_test): Likewise.
8557 (fma_test_towardzero): Likewise.
8558 (fma_test_downward): Likewise.
8559 (fma_test_upward): Likewise.
8560 (fmax_test): Likewise.
8561 (fmin_test): Likewise.
8562 (fmod_test): Likewise.
8563 (fpclassify_test): Likewise.
8564 (frexp_test): Likewise.
8565 (gamma_test): Likewise.
8566 (hypot_test): Likewise.
8567 (ilogb_test): Likewise.
8568 (isfinite_test): Likewise.
8569 (isgreater_test): Likewise.
8570 (isgreaterequal_test): Likewise.
8571 (isinf_test): Likewise.
8572 (isless_test): Likewise.
8573 (islessequal_test): Likewise.
8574 (islessgreater_test): Likewise.
8575 (isnan_test): Likewise.
8576 (isnormal_test): Likewise.
8577 (issignaling_test): Likewise.
8578 (isunordered_test): Likewise.
8579 (j0_test): Likewise.
8580 (j1_test): Likewise.
8581 (jn_test): Likewise.
8582 (ldexp_test): Likewise.
8583 (lgamma_test): Likewise.
8584 (lrint_test): Likewise.
8585 (lrint_test_tonearest): Likewise.
8586 (lrint_test_towardzero): Likewise.
8587 (lrint_test_downward): Likewise.
8588 (lrint_test_upward): Likewise.
8589 (llrint_test): Likewise.
8590 (llrint_test_tonearest): Likewise.
8591 (llrint_test_towardzero): Likewise.
8592 (llrint_test_downward): Likewise.
8593 (llrint_test_upward): Likewise.
8594 (log_test): Likewise.
8595 (log10_test): Likewise.
8596 (log1p_test): Likewise.
8597 (log2_test): Likewise.
8598 (logb_test): Likewise.
8599 (logb_test_downward): Likewise.
8600 (lround_test): Likewise.
8601 (llround_test): Likewise.
8602 (modf_test): Likewise.
8603 (nearbyint_test): Likewise.
8604 (nextafter_test): Likewise.
8605 (nexttoward_test): Likewise.
8606 (pow_test): Likewise.
8607 (pow_test_tonearest): Likewise.
8608 (pow_test_towardzero): Likewise.
8609 (pow_test_downward): Likewise.
8610 (pow_test_upward): Likewise.
8611 (remainder_test): Likewise.
8612 (remainder_test_tonearest): Likewise.
8613 (remainder_test_towardzero): Likewise.
8614 (remainder_test_downward): Likewise.
8615 (remainder_test_upward): Likewise.
8616 (remquo_test): Likewise.
8617 (rint_test): Likewise.
8618 (rint_test_tonearest): Likewise.
8619 (rint_test_towardzero): Likewise.
8620 (rint_test_downward): Likewise.
8621 (rint_test_upward): Likewise.
8622 (round_test): Likewise.
8623 (scalb_test): Likewise.
8624 (scalbn_test): Likewise.
8625 (scalbln_test): Likewise.
8626 (signbit_test): Likewise.
8627 (sin_test): Likewise.
8628 (sin_test_tonearest): Likewise.
8629 (sin_test_towardzero): Likewise.
8630 (sin_test_downward): Likewise.
8631 (sin_test_upward): Likewise.
8632 (sincos_test): Likewise.
8633 (sinh_test): Likewise.
8634 (sinh_test_tonearest): Likewise.
8635 (sinh_test_towardzero): Likewise.
8636 (sinh_test_downward): Likewise.
8637 (sinh_test_upward): Likewise.
8638 (sqrt_test): Likewise.
8639 (tan_test): Likewise.
8640 (tan_test_tonearest): Likewise.
8641 (tan_test_towardzero): Likewise.
8642 (tan_test_downward): Likewise.
8643 (tan_test_upward): Likewise.
8644 (tanh_test): Likewise.
8645 (tgamma_test): Likewise.
8646 (trunc_test): Likewise.
8647 (y0_test): Likewise.
8648 (y1_test): Likewise.
8649 (yn_test): Likewise.
8650 (significand_test): Likewise.
8651
bae143d2
OB
86522013-05-24 Ondřej Bílka <neleai@seznam.cz>
8653
8654 [BZ #15381]
8655 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8656
9323d39b
EM
86572013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8658
d4ea44a0 8659 [BZ #14894]
9323d39b
EM
8660 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8661 __ppc_mdoio and __ppc_mdoom.
8662 * manual/platform.texi: Document new functions __ppc_yield,
8663 __ppc_mdoio and __ppc_mdoom.
8664
13e23af7
CD
86652013-05-22 Carlos O'Donell <carlos@redhat.com>
8666
8667 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8668 (main): Mention "tls" pseudo-hwcap is legacy.
8669 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8670
351fe550
JM
86712013-05-22 Joseph Myers <joseph@codesourcery.com>
8672
8673 * math/gen-libm-test.pl (parse_args): Output only string of
8674 arguments as text for test name, not full call or descriptions of
8675 tests for extra outputs.
8676 (generate_testfile): Do not pass function name to parse_args.
8677 Generate this_func variable from START.
8678 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8679 field to arg_str.
8680 (struct test_ff_f_data): Likewise.
8681 (test_ff_f_data_nexttoward): Likewise.
8682 (struct test_fi_f_data): Likewise.
8683 (struct test_fl_f_data): Likewise.
8684 (struct test_if_f_data): Likewise.
8685 (struct test_fff_f_data): Likewise.
8686 (struct test_c_f_data): Likewise.
8687 (struct test_f_f1_data): Likewise. Remove field extra_name.
8688 (struct test_fF_f1_data): Likewise.
8689 (struct test_ffI_f1_data): Likewise.
8690 (struct test_c_c_data): Rename test_name field to arg_str.
8691 (struct test_cc_c_data): Likewise.
8692 (struct test_f_i_data): Likewise.
8693 (struct test_ff_i_data): Likewise.
8694 (struct test_f_l_data): Likewise.
8695 (struct test_f_L_data): Likewise.
8696 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8697 and extra2_name.
8698 (COMMON_TEST_SETUP): New macro.
8699 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8700 (COMMON_TEST_CLEANUP): Likewise.
8701 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8702 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8703 macros.
8704 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8705 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8706 macros.
8707 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8708 (RUN_TEST_fff_f): Take argument string. Call new setup and
8709 cleanup macros.
8710 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8711 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8712 macros.
8713 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8714 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8715 macros.
8716 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8717 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8718 cleanup macros.
8719 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8720 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8721 cleanup macros.
8722 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8723 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8724 cleanup macros.
8725 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8726 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8727 macros.
8728 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8729 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8730 macros.
8731 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8732 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8733 macros.
8734 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8735 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8736 cleanup macros.
8737 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8738 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8739 cleanup macros.
8740 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8741 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8742 macros.
8743 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8744 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8745 cleanup macros.
8746 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8747 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8748 macros.
8749 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8750 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8751 macros.
8752 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8753 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8754 cleanup macros.
8755 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8756
85118d4d
EBM
87572013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8758
8759 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8760 to _sifields.sigfault.
8761 (si_addr_lsb): Define new macro.
8762 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8763 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8764 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8765
7a44c18f
CD
87662013-05-03 Carlos O'Donell <carlos at redhat.com>
8767
8768 [BZ #15441]
8769 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8770 returns -1.
8771 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8772 null return -1.
8773 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8774 loading the domain.
8775
b50a7181
JM
87762013-05-22 Joseph Myers <joseph@codesourcery.com>
8777
8778 * math/gen-libm-test.pl (parse_args): Do not include expected
8779 result in test name.
8780 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8781 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8782 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8783 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8784 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8786
051063c8
SP
87872013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8788
3ce9e010
SP
8789 * benchtests/Makefile: Sort function entries.
8790
051063c8
SP
8791 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8792 tanh, asinh, acosh, atanh.
8793 * benchtests/acos-inputs: New file.
8794 * benchtests/acosh-inputs: New file.
8795 * benchtests/asin-inputs: New file.
8796 * benchtests/asinh-inputs: New file.
8797 * benchtests/atanh-inputs: New file.
8798 * benchtests/cosh-inputs: New file.
8799 * benchtests/log-inputs: New file.
8800 * benchtests/sinh-inputs: New file.
8801 * benchtests/tanh-inputs: New file.
8802
47c22455
DL
88032013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8804
8805 [BZ #15339]
8806 * posix/tst-getaddrinfo4.c: New test.
8807 * posix/Makefile (tests): Add it.
8808
3d04f5db
SP
88092013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8810
8811 [BZ #15339]
8812 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8813 when no services were used.
8814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8815 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8816
d5dd6189
AS
88172013-05-21 Andreas Schwab <schwab@suse.de>
8818
8819 [BZ #15014]
8820 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8821 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8822 successful.
8823 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8824 redundant variable declarations and reallocation of buffer when
8825 parsing as IPv6 address. Always set NSS status when called from
8826 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8827 buffer too small. Correct computation of needed size.
8828 * nss/Makefile (tests): Add test-digits-dots.
8829 * nss/test-digits-dots.c: New test.
8830
fef94eab
SP
88312013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8832
8833 * benchtests/Makefile: Remove instructions for adding
8834 benchmark tests.
8835 * benchtests/README: New file to explain how to execute and
8836 enhance the benchmark tests.
8837
e39adf43
AS
88382013-05-21 Andreas Schwab <schwab@suse.de>
8839
8840 [BZ #15493]
8841 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8842 * setjmp/tst-sigsetjmp.c: New test.
8843
b2b671b6
OB
88442013-05-20 Ondřej Bílka <neleai@seznam.cz>
8845
8846 * sysdeps/x86_64/memset.S (memset): New implementation.
8847 (__bzero): Likewise.
8848 (__memset_tail): New function.
8849
2d48b41c
OB
88502013-05-20 Ondřej Bílka <neleai@seznam.cz>
8851
8852 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8853 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8854 __memcpy_sse2_unaligned ifunc selection.
8855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8856 Add memcpy-sse2-unaligned.S.
8857 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8858 Add: __memcpy_sse2_unaligned.
8859
f16cc3eb
JM
88602013-05-19 Joseph Myers <joseph@codesourcery.com>
8861
3e694268
JM
8862 [BZ #15490]
8863 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8864 math_force_eval before restoring floating-point envrionment.
8865 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8867 Likewise.
8868 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8869 <math_private.h>.
8870 (__nearbyintl): Use math_force_eval before restoring
8871 floating-point environment.
8872 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8873
db62a907
JM
8874 * math/gen-libm-test.pl (special_functions): Remove.
8875 (parse_args): Don't handle TEST_extra. Handle functions with no
8876 return value.
8877 * math/libm-test.inc (struct test_sincos_data): Replace with
8878 struct test_fFF_11_data.
8879 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8880 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8881 (sincos_test_data): Change element type to struct
8882 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8883 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8884 RUN_TEST_LOOP_sincos.
8885 * math/README.libm-test: Don't mention special handling of
8886 individual functions.
8887 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8888 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8889 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8890 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8891 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8893
f16cc3eb
JM
8894 * math/gen-libm-test.pl (get_variable): Remove function.
8895 (parse_args): Don't show pointer parameters to call in test
8896 names. Use "extra output N" in test names for extra outputs
8897 rather than naming variables.
8898
3779b5b6
JM
88992013-05-18 Joseph Myers <joseph@codesourcery.com>
8900
2ee094ff
JM
8901 [BZ #15488]
8902 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8903 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8904 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8905 double tests.
8906 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8907 disable.
8908 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8909 check_long_double.
8910
3779b5b6
JM
8911 * math/gen-libm-test.pl (@tests): Remove variable.
8912 ($count): Likewise.
8913 (new_test): Remove function.
8914 (show_exceptions): New function.
8915 (special_functions): Use show_exceptions instead of new_test.
8916 (parse_args): Likewise.
8917 (generate_testfile): Pass only function name in generated call to
8918 print_max_error or print_complex_max_error.
8919 (get_ulps): Do not handle complex tests specially.
8920 (output_test): Rename to ...
8921 (get_all_ulps_for_test): ... this. Return a string rather than
8922 printing to a file. Require ulps to be present.
8923 (output_ulps): Generate arrays rather than #defines.
8924 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8925 (struct ulp_data): New type.
8926 (BUILD_COMPLEX_ULP): Remove macro.
8927 (compare_ulp_data): New function.
8928 (find_ulps): Likewise.
8929 (find_test_ulps): Likewise.
8930 (find_function_ulps): Likewise.
8931 (find_complex_function_ulps): Likewise.
8932 (print_max_error): Determine allowed ulps using
8933 find_function_ulps.
8934 (print_complex_max_error): Determine allowed ulps using
8935 find_complex_function_ulps.
8936 (check_float_internal): Determine max ulps using find_test_ulps.
8937 (check_float): Do not take max_ulp parameter. Update call to
8938 check_float_internal.
8939 (check_complex): Likewise.
8940 (check_int): Do not take max_ulp parameter.
8941 (check_long): Likewise.
8942 (check_bool): Likewise.
8943 (check_longlong): Likewise.
8944 (struct test_f_f_data): Remove max_ulp field.
8945 (struct test_ff_f_data): Likewise.
8946 (struct test_ff_f_data_nexttoward): Likewise.
8947 (struct test_fi_f_data): Likewise.
8948 (struct test_fl_f_data): Likewise.
8949 (struct test_if_f_data): Likewise.
8950 (struct test_fff_f_data): Likewise.
8951 (struct test_c_f_data): Likewise.
8952 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8953 (struct test_fF_f1_data): Likewise.
8954 (struct test_ffI_f1_data): Likewise.
8955 (struct test_c_c_data): Remove max_ulp field.
8956 (struct test_cc_c_data): Likewise.
8957 (struct test_f_i_data): Likewise.
8958 (struct test_ff_i_data): Likewise.
8959 (struct test_f_l_data): Likewise.
8960 (struct test_f_L_data): Likewise.
8961 (struct test_sincos_data): Likewise.
8962 (RUN_TEST_f_f): Do not handle ulps.
8963 (RUN_TEST_LOOP_f_f): Likewise.
8964 (RUN_TEST_2_f): Likewise.
8965 (RUN_TEST_LOOP_2_f): Likewise.
8966 (RUN_TEST_fff_f): Likewise.
8967 (RUN_TEST_LOOP_fff_f): Likewise.
8968 (RUN_TEST_c_f): Likewise.
8969 (RUN_TEST_LOOP_c_f): Likewise.
8970 (RUN_TEST_f_f1): Likewise.
8971 (RUN_TEST_LOOP_f_f1): Likewise.
8972 (RUN_TEST_fF_f1): Likewise.
8973 (RUN_TEST_LOOP_fF_f1): Likewise.
8974 (RUN_TEST_fI_f1): Likewise.
8975 (RUN_TEST_LOOP_fI_f1): Likewise.
8976 (RUN_TEST_ffI_f1): Likewise.
8977 (RUN_TEST_LOOP_ffI_f1): Likewise.
8978 (RUN_TEST_c_c): Likewise.
8979 (RUN_TEST_LOOP_c_c): Likewise.
8980 (RUN_TEST_cc_c): Likewise.
8981 (RUN_TEST_LOOP_cc_c): Likewise.
8982 (RUN_TEST_f_i): Likewise.
8983 (RUN_TEST_LOOP_f_i): Likewise.
8984 (RUN_TEST_f_i_tg): Likewise.
8985 (RUN_TEST_LOOP_f_i_tg): Likewise.
8986 (RUN_TEST_ff_i_tg): Likewise.
8987 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8988 (RUN_TEST_f_b): Likewise.
8989 (RUN_TEST_LOOP_f_b): Likewise.
8990 (RUN_TEST_f_b_tg): Likewise.
8991 (RUN_TEST_LOOP_f_b_tg): Likewise.
8992 (RUN_TEST_f_l): Likewise.
8993 (RUN_TEST_LOOP_f_l): Likewise.
8994 (RUN_TEST_f_L): Likewise.
8995 (RUN_TEST_LOOP_f_L): Likewise.
8996 (RUN_TEST_sincos): Likewise.
8997 (RUN_TEST_LOOP_sincos): Likewise.
8998
8269107f
JM
89992013-05-17 Joseph Myers <joseph@codesourcery.com>
9000
bb38759d
JM
9001 [BZ #15480]
9002 [BZ #15485]
9003 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9004 main case of finite arguments, set rounding mode to FE_TONEAREST
9005 and discard exceptions.
9006 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9007 exceptions.
9008 (remainder_tonearest_test_data): New variable.
9009 (remainder_test_tonearest): New function.
9010 (remainder_towardzero_test_data): New variable.
9011 (remainder_test_towardzero): New function.
9012 (remainder_downward_test_data): New variable.
9013 (remainder_test_downward): New function.
9014 (remainder_upward_test_data): New variable.
9015 (remainder_test_upward): New function.
9016 (main): Call the new test functions.
9017
a00bdcf0
JM
9018 * math/libm-test.inc (struct test_f_f1_data): Remove field
9019 extra_init.
9020 (struct test_fF_f1_data): Likewise.
9021 (struct test_ffI_f1_data): Likewise.
9022 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9023 based on value of EXTRA_EXPECTED.
9024 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9025 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9026 EXTRA_VAR based on value of EXTRA_EXPECTED.
9027 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9028 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9029 EXTRA_VAR based on value of EXTRA_EXPECTED.
9030 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9031 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9032 EXTRA_VAR based on value of EXTRA_EXPECTED.
9033 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9034 * math/gen-libm-test.pl (parse_args): Don't output initializers
9035 for extra output values.
9036
de407f79
JM
9037 * math/libm-test.inc (check_int): Expect result to be exactly
9038 equal to expected value and do not handle ulps.
9039 (check_long): Likewise.
9040 (check_longlong): Likewise.
9041
8269107f
JM
9042 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9043 exceptions.
9044 (cimag_test_data): Likewise.
9045 (conj_test_data): Likewise.
9046 (copysign_test_data): Likewise.
9047 (cproj_test_data): Likewise.
9048 (creal_test_data): Likewise.
9049 (fabs_test_data): Likewise.
9050 (fdim_test_data): Likewise.
9051 (finite_test_data): Likewise.
9052 (floor_test_data): Likewise.
9053 (fmax_test_data): Likewise.
9054 (fmin_test_data): Likewise.
9055 (fmod_test_data): Likewise.
9056 (fpclassify_test_data): Likewise.
9057 (frexp_test_data): Likewise.
9058 (ilogb_test_data): Likewise.
9059 (isfinite_test_data): Likewise.
9060 (isgreater_test_data): Likewise.
9061 (isgreaterequal_test_data): Likewise.
9062 (isinf_test_data): Likewise.
9063 (isless_test_data): Likewise.
9064 (islessequal_test_data): Likewise.
9065 (islessgreater_test_data): Likewise.
9066 (isnan_test_data): Likewise.
9067 (isnormal_test_data): Likewise.
9068 (issignaling_test_data): Likewise.
9069 (isunordered_test_data): Likewise.
9070 (ldexp_test_data): Likewise.
9071 (lrint_test_data): Likewise.
9072 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9073 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9074 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9075 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9076 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9077 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9078 test input.
9079 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9080 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9081 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9082 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9083 that test input.
9084 (lrint_downward_test_data): Test for "inexact" exceptions.
9085 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9086 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9087 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9088 test input.
9089 (lrint_upward_test_data): Test for "inexact" exceptions.
9090 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9091 test input.
9092 (llrint_test_data): Test for "inexact" exceptions.
9093 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9094 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9095 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9096 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9097 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9098 (llrint_downward_test_data): Test for "inexact" exceptions.
9099 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9100 (llrint_upward_test_data): Test for "inexact" exceptions.
9101 (logb_test_data): Likewise.
9102 (logb_downward_test_data): Likewise.
9103 (nextafter_test_data): Likewise.
9104 (nexttoward_test_data): Likewise.
9105 (remainder_test_data): Likewise.
9106 (remquo_test_data): Likewise.
9107 (scalbn_test_data): Likewise.
9108 (scalbln_test_data): Likewise.
9109 (signbit_test_data): Likewise.
9110 (sqrt_test_data): Likewise.
9111 (significand_test_data): Likewise.
9112
48a18de1
SP
91132013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9114
9115 [BZ #15424]
9116 * benchtests/bench-modf.c (struct args): Mark arg0 as
9117 volatile.
9118 * scripts/bench.pl: Mark members of struct args as volatile.
9119
13d3b41a
AZ
91202013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9121
68191c1d 9122 [BZ # 15497]
13d3b41a
AZ
9123 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9124 negative infinity on POWER6 or lower.
9125 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9126
2848b105
MR
91272013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9128
9129 [BZ #15442]
9130 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9131 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9132 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9133 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9134 (_FP_SETQNAN): New macro.
9135 (_FP_SETQNAN_SEMIRAW): Likewise.
9136 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9137 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9138 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9139 (FP_EXTEND): Use _FP_FRAC_SNANP.
9140 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9141 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9142 into account.
9143 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9144 New macro.
9145 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9146 Likewise.
9147
323e5cb7
JM
91482013-05-16 Joseph Myers <joseph@codesourcery.com>
9149
c58b274f
JM
9150 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9151 with DIVIDE_BY_ZERO_EXCEPTION.
9152 (gamma_test_data): Likewise.
9153 (lgamma_test_data): Likewise.
9154 (log_test_data): Likewise.
9155 (log10_test_data): Likewise.
9156 (log2_test_data): Likewise.
9157 (tgamma_test_data): Likewise.
9158
0ab34904
JM
9159 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9160 (acos_test_tonearest): Likewise.
9161 (acos_test_towardzero): Likewise.
9162 (acos_test_downward): Likewise.
9163 (acos_test_upward): Likewise.
9164 (acosh_test): Likewise.
9165 (asin_test): Likewise.
9166 (asin_test_tonearest): Likewise.
9167 (asin_test_towardzero): Likewise.
9168 (asin_test_downward): Likewise.
9169 (asin_test_upward): Likewise.
9170 (asinh_test): Likewise.
9171 (atan_test): Likewise.
9172 (atanh_test): Likewise.
9173 (atan2_test): Likewise.
9174 (cabs_test): Likewise.
9175 (cacos_test): Likewise.
9176 (cacosh_test): Likewise.
9177 (casin_test): Likewise.
9178 (casinh_test): Likewise.
9179 (catan_test): Likewise.
9180 (catanh_test): Likewise.
9181 (cbrt_test): Likewise.
9182 (ccos_test): Likewise.
9183 (ccosh_test): Likewise.
9184 (cexp_test): Likewise.
9185 (clog_test): Likewise.
9186 (clog10_test): Likewise.
9187 (cos_test): Likewise.
9188 (cos_test_tonearest): Likewise.
9189 (cos_test_towardzero): Likewise.
9190 (cos_test_downward): Likewise.
9191 (cos_test_upward): Likewise.
9192 (cosh_test): Likewise.
9193 (cosh_test_tonearest): Likewise.
9194 (cosh_test_towardzero): Likewise.
9195 (cosh_test_downward): Likewise.
9196 (cosh_test_upward): Likewise.
9197 (cpow_test): Likewise.
9198 (csin_test): Likewise.
9199 (csinh_test): Likewise.
9200 (csqrt_test): Likewise.
9201 (ctan_test): Likewise.
9202 (ctan_test_tonearest): Likewise.
9203 (ctan_test_towardzero): Likewise.
9204 (ctan_test_downward): Likewise.
9205 (ctan_test_upward): Likewise.
9206 (ctanh_test): Likewise.
9207 (ctanh_test_tonearest): Likewise.
9208 (ctanh_test_towardzero): Likewise.
9209 (ctanh_test_downward): Likewise.
9210 (ctanh_test_upward): Likewise.
9211 (erf_test): Likewise.
9212 (erfc_test): Likewise.
9213 (exp_test): Likewise.
9214 (exp_test_tonearest): Likewise.
9215 (exp_test_towardzero): Likewise.
9216 (exp_test_downward): Likewise.
9217 (exp_test_upward): Likewise.
9218 (exp10_test): Likewise.
9219 (exp2_test): Likewise.
9220 (expm1_test): Likewise.
9221 (fmod_test): Likewise.
9222 (gamma_test): Likewise.
9223 (hypot_test): Likewise.
9224 (j0_test): Likewise.
9225 (j1_test): Likewise.
9226 (jn_test): Likewise.
9227 (lgamma_test): Likewise.
9228 (log_test): Likewise.
9229 (log10_test): Likewise.
9230 (log1p_test): Likewise.
9231 (log2_test): Likewise.
9232 (logb_test_downward): Likewise.
9233 (pow_test): Likewise.
9234 (pow_test_tonearest): Likewise.
9235 (pow_test_towardzero): Likewise.
9236 (pow_test_downward): Likewise.
9237 (pow_test_upward): Likewise.
9238 (remainder_test): Likewise.
9239 (remquo_test): Likewise.
9240 (sin_test): Likewise.
9241 (sin_test_tonearest): Likewise.
9242 (sin_test_towardzero): Likewise.
9243 (sin_test_downward): Likewise.
9244 (sin_test_upward): Likewise.
9245 (sincos_test): Likewise.
9246 (sinh_test): Likewise.
9247 (sinh_test_tonearest): Likewise.
9248 (sinh_test_towardzero): Likewise.
9249 (sinh_test_downward): Likewise.
9250 (sinh_test_upward): Likewise.
9251 (sqrt_test): Likewise.
9252 (tan_test): Likewise.
9253 (tan_test_tonearest): Likewise.
9254 (tan_test_towardzero): Likewise.
9255 (tan_test_downward): Likewise.
9256 (tan_test_upward): Likewise.
9257 (tanh_test): Likewise.
9258 (tgamma_test): Likewise.
9259 (y0_test): Likewise.
9260 (y1_test): Likewise.
9261 (yn_test): Likewise.
9262
323e5cb7
JM
9263 * math/gen-libm-test.pl (adjust_arg): Remove function.
9264 (special_function): Remove argument $in_func. Only handle
9265 generating output for tables of tests, not inside functions.
9266 (parse_args): Likewise.
9267 (generate_testfile): Remove variable $in_func. Update call to
9268 parse_args.
9269 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9270 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9271 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9272 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9273 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9274 (MAX_VALUE_INIT): Rename macro to max_value.
9275 (MIN_VALUE_INIT): Rename macro to min_value.
9276 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9277 (plus_zero): Remove variable.
9278 (minus_zero): Likewise.
9279 (plus_infty): Likewise.
9280 (minus_infty): Likewise.
9281 (qnan_value): Likewise.
9282 (max_value): Likewise.
9283 (min_value): Likewise.
9284 (min_subnorm_value): Likewise.
9285
e054f494
RA
92862013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9287
9288 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9289 uint64_t or uint32_t usage.
9290 * crypt/sha256-block.c: Likewise.
9291 * crypt/sha256-crypt.c: Likewise.
9292 * crypt/sha256.c: Likewise.
9293 * crypt/sha512-block.c: Likewise.
9294 * crypt/sha512-crypt.c: Likewise.
9295 * crypt/sha512.c: Likewise.
9296 * debug/backtrace-tst.c: Likewise.
9297 * debug/pcprofiledump.c: Likewise.
9298 * elf/cache.c: Likewise.
9299 * elf/dl-cache.c: Likewise.
9300 * elf/dl-misc.c: Likewise.
9301 * elf/dl-profile.c: Likewise.
9302 * elf/dl-support.c: Likewise.
9303 * elf/ldconfig.c: Likewise.
9304 * elf/sprof.c: Likewise.
9305 * iconv/dummy-repertoire.c: Likewise.
9306 * iconv/iconv_charmap.c: Likewise.
9307 * iconv/skeleton.c: Likewise.
9308 * iconvdata/8bit-generic.c: Likewise.
9309 * iconvdata/cp737.h: Likewise.
9310 * iconvdata/cp775.h: Likewise.
9311 * iconvdata/ibm1008.h: Likewise.
9312 * iconvdata/ibm1025.h: Likewise.
9313 * iconvdata/ibm1046.h: Likewise.
9314 * iconvdata/ibm1097.h: Likewise.
9315 * iconvdata/ibm1112.h: Likewise.
9316 * iconvdata/ibm1122.h: Likewise.
9317 * iconvdata/ibm1123.h: Likewise.
9318 * iconvdata/ibm1124.h: Likewise.
9319 * iconvdata/ibm1129.h: Likewise.
9320 * iconvdata/ibm1130.h: Likewise.
9321 * iconvdata/ibm1132.h: Likewise.
9322 * iconvdata/ibm1133.h: Likewise.
9323 * iconvdata/ibm1137.h: Likewise.
9324 * iconvdata/ibm1140.h: Likewise.
9325 * iconvdata/ibm1141.h: Likewise.
9326 * iconvdata/ibm1142.h: Likewise.
9327 * iconvdata/ibm1143.h: Likewise.
9328 * iconvdata/ibm1144.h: Likewise.
9329 * iconvdata/ibm1145.h: Likewise.
9330 * iconvdata/ibm1146.h: Likewise.
9331 * iconvdata/ibm1147.h: Likewise.
9332 * iconvdata/ibm1148.h: Likewise.
9333 * iconvdata/ibm1149.h: Likewise.
9334 * iconvdata/ibm1153.h: Likewise.
9335 * iconvdata/ibm1154.h: Likewise.
9336 * iconvdata/ibm1155.h: Likewise.
9337 * iconvdata/ibm1156.h: Likewise.
9338 * iconvdata/ibm1157.h: Likewise.
9339 * iconvdata/ibm1158.h: Likewise.
9340 * iconvdata/ibm1160.h: Likewise.
9341 * iconvdata/ibm1161.h: Likewise.
9342 * iconvdata/ibm1162.h: Likewise.
9343 * iconvdata/ibm1163.h: Likewise.
9344 * iconvdata/ibm1164.h: Likewise.
9345 * iconvdata/ibm1166.h: Likewise.
9346 * iconvdata/ibm1167.h: Likewise.
9347 * iconvdata/ibm12712.h: Likewise.
9348 * iconvdata/ibm1390.h: Likewise.
9349 * iconvdata/ibm1399.h: Likewise.
9350 * iconvdata/ibm16804.h: Likewise.
9351 * iconvdata/ibm4517.h: Likewise.
9352 * iconvdata/ibm4899.h: Likewise.
9353 * iconvdata/ibm4909.h: Likewise.
9354 * iconvdata/ibm4971.h: Likewise.
9355 * iconvdata/ibm5347.h: Likewise.
9356 * iconvdata/ibm803.h: Likewise.
9357 * iconvdata/ibm856.h: Likewise.
9358 * iconvdata/ibm901.h: Likewise.
9359 * iconvdata/ibm902.h: Likewise.
9360 * iconvdata/ibm9030.h: Likewise.
9361 * iconvdata/ibm9066.h: Likewise.
9362 * iconvdata/ibm921.h: Likewise.
9363 * iconvdata/ibm922.h: Likewise.
9364 * iconvdata/ibm9448.h: Likewise.
9365 * iconvdata/isiri-3342.h: Likewise.
9366 * iconvdata/jis0201.h: Likewise.
9367 * include/link.h: Likewise.
9368 * include/netdb.h: Likewise.
9369 * inet/check_native.c: Likewise.
9370 * inet/check_pf.c: Likewise.
9371 * inet/getipv4sourcefilter.c: Likewise.
9372 * inet/getnameinfo.c: Likewise.
9373 * inet/getsourcefilter.c: Likewise.
9374 * inet/htonl.c: Likewise.
9375 * inet/setipv4sourcefilter.c: Likewise.
9376 * inet/setsourcefilter.c: Likewise.
9377 * inet/test-inet6_opt.c: Likewise.
9378 * inet/tst-network.c: Likewise.
9379 * locale/C-collate.c: Likewise.
9380 * locale/C-ctype.c: Likewise.
9381 * locale/C-time.c: Likewise.
9382 * locale/C-translit.h: Likewise.
9383 * locale/loadarchive.c: Likewise.
9384 * locale/programs/3level.h: Likewise.
9385 * locale/programs/charmap.c: Likewise.
9386 * locale/programs/charmap.h: Likewise.
9387 * locale/programs/ld-address.c: Likewise.
9388 * locale/programs/ld-collate.c: Likewise.
9389 * locale/programs/ld-ctype.c: Likewise.
9390 * locale/programs/ld-identification.c: Likewise.
9391 * locale/programs/ld-measurement.c: Likewise.
9392 * locale/programs/ld-messages.c: Likewise.
9393 * locale/programs/ld-monetary.c: Likewise.
9394 * locale/programs/ld-name.c: Likewise.
9395 * locale/programs/ld-numeric.c: Likewise.
9396 * locale/programs/ld-paper.c: Likewise.
9397 * locale/programs/ld-telephone.c: Likewise.
9398 * locale/programs/ld-time.c: Likewise.
9399 * locale/programs/linereader.c: Likewise.
9400 * locale/programs/locale.c: Likewise.
9401 * locale/programs/locarchive.c: Likewise.
9402 * locale/programs/locfile.h: Likewise.
9403 * locale/programs/repertoire.c: Likewise.
9404 * locale/programs/simple-hash.c: Likewise.
9405 * locale/programs/simple-hash.h: Likewise.
9406 * malloc/memusage.c: Likewise.
9407 * malloc/memusagestat.c: Likewise.
9408 * nis/nis_defaults.c: Likewise.
9409 * nis/nis_hash.c: Likewise.
9410 * nis/nis_print.c: Likewise.
9411 * nis/nis_xdr.c: Likewise.
9412 * nscd/connections.c: Likewise.
9413 * nscd/hstcache.c: Likewise.
9414 * nscd/nscd_gethst_r.c: Likewise.
9415 * nscd/nscd_getserv_r.c: Likewise.
9416 * nscd/nscd_helper.c: Likewise.
9417 * nscd/servicescache.c: Likewise.
9418 * nss/makedb.c: Likewise.
9419 * nss/nss_db/db-XXX.c: Likewise.
9420 * nss/nss_db/db-initgroups.c: Likewise.
9421 * nss/nss_db/db-netgrp.c: Likewise.
9422 * nss/nss_files/files-network.c: Likewise.
9423 * nss/nss_files/files-parse.c: Likewise.
9424 * posix/bug-regex5.c: Likewise.
9425 * posix/fnmatch_loop.c: Likewise.
9426 * posix/regcomp.c: Likewise.
9427 * posix/regexec.c: Likewise.
9428 * posix/tst-rfc3484-2.c: Likewise.
9429 * posix/tst-rfc3484-3.c: Likewise.
9430 * posix/tst-rfc3484.c: Likewise.
9431 * resolv/nss_dns/dns-canon.c: Likewise.
9432 * resolv/nss_dns/dns-network.c: Likewise.
9433 * resolv/res_init.c: Likewise.
9434 * resolv/res_mkquery.c: Likewise.
9435 * resolv/tst-aton.c: Likewise.
9436 * stdlib/cxa_atexit.c: Likewise.
9437 * stdlib/cxa_finalize.c: Likewise.
9438 * stdlib/gen-fpioconst.c: Likewise.
9439 * stdlib/strtol_l.c: Likewise.
9440 * string/tst-endian.c: Likewise.
9441 * sunrpc/auth_des.c: Likewise.
9442 * sunrpc/clnt_udp.c: Likewise.
9443 * sunrpc/rtime.c: Likewise.
9444 * sunrpc/svcauth_des.c: Likewise.
9445 * sunrpc/xdr.c: Likewise.
9446 * sunrpc/xdr_intXX_t.c: Likewise.
9447 * sunrpc/xdr_rec.c: Likewise.
9448 * sysdeps/generic/ldconfig.h: Likewise.
9449 * sysdeps/generic/ldsodefs.h: Likewise.
9450 * sysdeps/generic/memusage.h: Likewise.
9451 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9453 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9454 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9457 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9461 * sysdeps/posix/getaddrinfo.c: Likewise.
9462 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9463 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9464 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9465 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9466 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9467 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9468 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9469 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9470 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9471 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9472 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9473 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9474 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9475 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9476 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9477 * sysdeps/x86_64/dl-tls.h: Likewise.
9478 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9479 * time/alt_digit.c: Likewise.
9480 * time/era.c: Likewise.
9481 * wcsmbs/tst-c16c32-1.c: Likewise.
9482
8c75f674
JM
94832013-05-16 Joseph Myers <joseph@codesourcery.com>
9484
9485 * math/libm-test.inc (struct test_sincos_data): New type.
9486 (RUN_TEST_LOOP_sincos): New macro.
9487 (sincos_test_data): New variable.
9488 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9489
e6e49e59
RH
94902013-05-16 Richard Henderson <rth@redhat.com>
9491
9492 * math/atest-exp2.c (LIMB64): New macro.
9493 (CONSTSZ): New macro.
9494 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9495 (hexdig): Move ...
9496 (print_mpn_fp): ... to function scope.
9497 (read_mpn_hex): Remove.
9498 (get_log2): Remove.
9499 (exp2_mpn): Use mp_log2.
9500 (main): Use mp_exp1.
9501
15c7c18d
JM
95022013-05-16 Joseph Myers <joseph@codesourcery.com>
9503
105a07df
JM
9504 * math/libm-test.inc: Remove comment about not testing "inexact"
9505 exceptions.
9506 (INEXACT_EXCEPTION): New macro.
9507 (NO_INEXACT_EXCEPTION): Likewise.
9508 (INVALID_EXCEPTION_OK): Update value.
9509 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9510 (OVERFLOW_EXCEPTION_OK): Likewise.
9511 (UNDERFLOW_EXCEPTION_OK): Likewise.
9512 (IGNORE_ZERO_INF_SIGN): Likewise.
9513 (ERRNO_UNCHANGED): Likewise.
9514 (ERRNO_EDOM): Likewise.
9515 (ERRNO_ERANGE): Likewise.
9516 (test_exceptions): Handle testing "inexact" exceptions.
9517 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9518 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9519 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9520 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9521 INEXACT_EXCEPTION.
9522 (rint_towardzero_test_data): Likewise.
9523 (rint_downward_test_data): Likewise.
9524 (rint_upward_test_data): Likewise.
9525
e9eee333
JM
9526 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9527 with OVERFLOW_EXCEPTION.
9528 (exp10_test_data): Likewise.
9529 (exp2_test_data): Likewise.
9530 (expm1_test_data): Likewise.
9531 (lgamma_test_data): Likewise.
9532 (pow_test_data): Likewise.
9533 (tgamma_test_data): Likewise.
9534 (yn_test_data): Remove duplicate test of overflow.
9535
1c38ff73
JM
9536 * math/libm-test.inc (struct test_cc_c_data): New type.
9537 (RUN_TEST_LOOP_cc_c): New macro.
9538 (cpow_test_data): New variable.
9539 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9540
15c7c18d
JM
9541 * math/libm-test.inc (struct test_f_L_data): New type.
9542 (RUN_TEST_LOOP_f_L): New macro.
9543 (llrint_test_data): New variable.
9544 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9545 (llrint_tonearest_test_data): New variable.
9546 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9547 (llrint_towardzero_test_data): New variable.
9548 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9549 (llrint_downward_test_data): New variable.
9550 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9551 (llrint_upward_test_data): New variable.
9552 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9553 (llround_test_data): New variable.
9554 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9555
f137ff13
PC
95562013-05-13 Peter Collingbourne <pcc@google.com>
9557
9558 * math/atest-exp2.c (get_log2): Remove const attribute.
9559
3608cb24
JM
95602013-05-15 Joseph Myers <joseph@codesourcery.com>
9561
9562 * math/libm-test.inc (struct test_f_l_data): New type.
9563 (RUN_TEST_LOOP_f_l): New macro.
9564 (lrint_test_data): New variable.
9565 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9566 (lrint_tonearest_test_data): New variable.
9567 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9568 (lrint_towardzero_test_data): New variable.
9569 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9570 (lrint_downward_test_data): New variable.
9571 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9572 (lrint_upward_test_data): New variable.
9573 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9574 (lround_test_data): New variable.
9575 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9576
39b1f617
PC
95772013-05-15 Peter Collingbourne <pcc@google.com>
9578
1deff3dc
PC
9579 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9580 (EXTRACT_WORDS64) Use where appropriate.
9581 (INSERT_WORDS64) Likewise.
9582
791f3ba0
PC
9583 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9584 constraints with x constraints.
9585 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9586
39b1f617
PC
9587 * malloc/obstack.c (_obstack_compat): Add initializer.
9588
12fba011
EM
95892013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9590
9591 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9592 si_trapno and add si_addr_lsb to _sifields.sigfault.
9593 (si_trapno): Remove macro.
9594 (si_addr_lsb): Define new macro.
9595 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9596
d369f531
JM
95972013-05-15 Joseph Myers <joseph@codesourcery.com>
9598
b861c6c4
JM
9599 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9600 instead of TEST_f_l.
9601 (llrint_test_tonearest): Likewise.
9602 (llrint_test_towardzero): Likewise.
9603 (llrint_test_downward): Likewise.
9604 (llrint_test_upward): Likewise.
9605 (llround_test): Likewise.
9606
7abeee12
JM
9607 * math/libm-test.inc (struct test_f_i_data): Add comment.
9608 (RUN_TEST_LOOP_f_b): New macro.
9609 (RUN_TEST_LOOP_f_b_tg): Likewise.
9610 (finite_test_data): New variable.
9611 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9612 (isfinite_test_data): New variable.
9613 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9614 (isinf_test_data): New variable.
9615 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9616 (isnan_test_data): New variable.
9617 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9618 (isnormal_test_data): New variable.
9619 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9620 (issignaling_test_data): New variable.
9621 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9622 (signbit_test_data): New variable.
9623 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9624
cbe8c4d3
JM
9625 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9626 with INVALID_EXCEPTION.
9627 (acosh_test_data): Likewise.
9628 (asin_test_data): Likewise.
9629 (atanh_test_data): Likewise.
9630 (fmod_test_data): Likewise.
9631 (log_test_data): Likewise.
9632 (log10_test_data): Likewise.
9633 (log2_test_data): Likewise.
9634 (pow_test_data): Likewise.
9635 (sqrt_test_data): Likewise.
9636 (y0_test_data): Likewise.
9637 (y1_test_data): Likewise.
9638 (yn_test_data): Likewise.
9639
5575c0e5
JM
9640 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9641 function contents.
9642
d369f531
JM
9643 * math/libm-test.inc (struct test_ff_i_data): New type.
9644 (RUN_TEST_LOOP_ff_i_tg): New macro.
9645 (isgreater_test_data): New variable.
9646 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9647 (isgreaterequal_test_data): New variable.
9648 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9649 (isless_test_data): New variable.
9650 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9651 (islessequal_test_data): New variable.
9652 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9653 (islessgreater_test_data): New variable.
9654 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9655 (isunordered_test_data): New variable.
9656 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9657
781fd748
DM
96582013-05-14 David S. Miller <davem@davemloft.net>
9659
9660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9661
87aa21df
JM
96622013-05-14 Joseph Myers <joseph@codesourcery.com>
9663
5e908270
JM
9664 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9665
f71172e5
JM
9666 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9667 extra_test to int.
9668 (struct test_f_i_data): Change type of max_ulp to int.
9669
8cfa635a
JM
9670 * math/libm-test.inc (test_ffI_f1_data): New type.
9671 (RUN_TEST_LOOP_ffI_f1): New macro.
9672 (remquo_test_data): New variable.
9673 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9674
2bcb36b2
JM
9675 * setjmp/tst-setjmp-fp.c: New file.
9676 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9677 (link-libm): New variable.
9678 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9679
acbd839a
JM
9680 * math/libm-test.inc (struct test_f_i_data): New type.
9681 (RUN_TEST_LOOP_f_i): New macro.
9682 (RUN_TEST_LOOP_f_i_tg): Likewise.
9683 (fpclassify_test_data): New variable.
9684 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9685 (ilogb_test_data): New variable.
9686 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9687
e414d745
JM
9688 * math/libm-test.inc (scalbln_test): Correct function name in END
9689 call.
9690
d9c2a0fd
JM
9691 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9692 (RUN_TEST_LOOP_fI_f1): New macro.
9693 (frexp_test_data): New variable.
9694 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9695
9dc9095d
JM
9696 * math/libm-test.inc (struct test_fF_f1_data): New type.
9697 (RUN_TEST_LOOP_fF_f1): New macro.
9698 (modf_test_data): New variable.
9699 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9700
87aa21df
JM
9701 * math/libm-test.inc (struct test_f_f1_data): New type.
9702 (RUN_TEST_LOOP_f_f1): New macro.
9703 (gamma_test_data): New variable.
9704 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9705 (lgamma_test_data): New variable.
9706 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9707
141af660
CD
97082013-05-13 Carlos O'Donell <carlos@redhat.com>
9709
9710 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9711 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9712 (main): Comment "tls" pseudo-hwcap.
9713
6d33265c
JM
97142013-05-13 Joseph Myers <joseph@codesourcery.com>
9715
68fc074c
JM
9716 * math/libm-test.inc (struct test_fl_f_data): New type.
9717 (RUN_TEST_LOOP_fl_f): New variable.
9718 (scalbln_test_data): New variable.
9719 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9720
243216e1
JM
9721 * math/libm-test.inc (struct test_fi_f_data): New type.
9722 (RUN_TEST_LOOP_fi_f): New macro.
9723 (ldexp_test_data): New variable.
9724 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9725 (scalbn_test_data): New variable.
9726 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9727
6a1992e2
JM
9728 * math/libm-test.inc (struct test_c_f_data): New type.
9729 (RUN_TEST_LOOP_c_f): New macro.
9730 (cabs_test_data): New variable.
9731 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9732 (carg_test_data): New variable.
9733 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9734 (cimag_test_data): New variable.
9735 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9736 (creal_test_data): New variable.
9737 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9738
0e400df5
JM
9739 * math/libm-test.inc (struct test_if_f_data): New type.
9740 (RUN_TEST_LOOP_if_f): New macro.
9741 (jn_test_data): New variable.
9742 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9743 (yn_test_data): New variable.
9744 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9745
6d33265c
JM
9746 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9747
f98ece5f
AZ
97482013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9749
9750 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9751 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9752
0f7d347b
SP
97532013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9754
43fe811b
SP
9755 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9756 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9757 (bench-deps): Add bench-timing.h.
9758 * benchtests-bench-skeleton.c: Include bench-timing.h.
9759 (main): Use TIMING_* macros instead of clock_gettime.
9760 * benchtests/bench-timing.h: New file.
9761
0f7d347b
SP
9762 [BZ #14582]
9763 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9764 Renamed from _LIB_VERSION.
9765 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9766
601a3a5f
JM
97672013-05-12 Joseph Myers <joseph@codesourcery.com>
9768
4f184d30
JM
9769 * math/libm-test.inc (struct test_fff_f_data): New type.
9770 (RUN_TEST_LOOP_fff_f): New macro.
9771 (fma_test_data): New variable.
9772 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9773 (fma_towardzero_test_data): New variable.
9774 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9775 (fma_downward_test_data): New variable.
9776 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9777 (fma_upward_test_data): New variable.
9778 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9779
08198877
JM
9780 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9781 (struct test_c_c_data): New type.
9782 (RUN_TEST_LOOP_c_c): New macro.
9783 (cacos_test_data): New variable.
9784 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9785 (cacosh_test_data): New variable.
9786 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9787 (casin_test_data): New variable.
9788 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9789 (casinh_test_data): New variable.
9790 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9791 (catan_test_data): New variable.
9792 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9793 (catanh_test_data): New variable.
9794 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9795 (ccos_test_data): New variable.
9796 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9797 (ccosh_test_data): New variable.
9798 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9799 (cexp_test_data): New variable.
9800 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9801 (clog_test_data): New variable.
9802 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9803 (clog10_test_data): New variable.
9804 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9805 (conj_test_data): New variable.
9806 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9807 (cproj_test_data): New variable.
9808 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9809 (csin_test_data): New variable.
9810 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9811 (csinh_test_data): New variable.
9812 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9813 (csqrt_test_data): New variable.
9814 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9815 (ctan_test_data): New variable.
9816 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9817 (ctan_tonearest_test_data): New variable.
9818 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9819 (ctan_towardzero_test_data): New variable.
9820 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9821 (ctan_downward_test_data): New variable.
9822 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9823 (ctan_upward_test_data): New variable.
9824 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9825 (ctanh_test_data): New variable.
9826 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9827 (ctanh_tonearest_test_data): New variable.
9828 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9829 (ctanh_towardzero_test_data): New variable.
9830 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9831 (ctanh_downward_test_data): New variable.
9832 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9833 (ctanh_upward_test_data): New variable.
9834 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9835 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9836 of BUILD_COMPLEX.
9837
601a3a5f
JM
9838 * math/libm-test.inc (struct test_ff_f_data): New type.
9839 (struct test_ff_f_data_nexttoward): Likewise.
9840 (RUN_TEST_LOOP_2_f): New macro.
9841 (RUN_TEST_LOOP_ff_f): Likewise.
9842 (atan2_test_data): New variable.
9843 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9844 (copysign_test_data): New variable.
9845 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9846 (fdim_test_data): New variable.
9847 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9848 (fmax_test_data): New variable.
9849 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9850 (fmin_test_data): New variable.
9851 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9852 (fmod_test_data): New variable.
9853 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9854 (hypot_test_data): New variable.
9855 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9856 (nextafter_test_data): New variable.
9857 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9858 (nexttoward_test_data): New variable.
9859 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9860 (pow_test_data): New variable.
9861 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9862 (pow_tonearest_test_data): New variable.
9863 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9864 (pow_towardzero_test_data): New variable.
9865 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9866 (pow_downward_test_data): New variable.
9867 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9868 (pow_upward_test_data): New variable.
9869 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9870 (remainder_test_data): New variable.
9871 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9872 (scalb_test_data): New variable.
9873 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9874 * sysdeps/i386/fpu/libm-test-ulps: Update.
9875
74c57478
JM
98762013-05-11 Joseph Myers <joseph@codesourcery.com>
9877
8329e4da
JM
9878 * math/libm-test.inc (fma_test): Use max_value instead of local
9879 variable fltmax.
9880 (nextafter_test): Likewise.
9881
74c57478
JM
9882 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9883 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9884 (acos_downward_test_data): New variable.
9885 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9886 (acos_upward_test_data): New variable.
9887 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9888 (acosh_test_data): New variable.
9889 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9890 (asin_test_data): New variable.
9891 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9892 (asin_tonearest_test_data): New variable.
9893 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9894 (asin_towardzero_test_data): New variable.
9895 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9896 (asin_downward_test_data): New variable.
9897 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9898 (asin_upward_test_data): New variable.
9899 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9900 (asinh_test_data): New variable.
9901 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9902 (atan_test_data): New variable.
9903 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9904 (atanh_test_data): New variable.
9905 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9906 (cbrt_test_data): New variable.
9907 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9908 (ceil_test_data): New variable.
9909 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9910 (cos_test_data): New variable.
9911 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9912 (cos_tonearest_test_data): New variable.
9913 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9914 (cos_towardzero_test_data): New variable.
9915 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9916 (cos_downward_test_data): New variable.
9917 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9918 (cos_upward_test_data): New variable.
9919 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9920 (cosh_test_data): New variable.
9921 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9922 (cosh_tonearest_test_data): New variable.
9923 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9924 (cosh_towardzero_test_data): New variable.
9925 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9926 (cosh_downward_test_data): New variable.
9927 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9928 (cosh_upward_test_data): New variable.
9929 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9930 (erf_test_data): New variable.
9931 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9932 (erfc_test_data): New variable.
9933 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9934 (exp_test_data): New variable.
9935 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9936 (exp_tonearest_test_data): New variable.
9937 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9938 (exp_towardzero_test_data): New variable.
9939 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9940 (exp_downward_test_data): New variable.
9941 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9942 (exp_upward_test_data): New variable.
9943 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9944 (exp10_test_data): New variable.
9945 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9946 (exp2_test_data): New variable.
9947 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9948 (expm1_test_data): New variable.
9949 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9950 (fabs_test_data): New variable.
9951 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9952 (floor_test_data): New variable.
9953 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9954 (j0_test_data): New variable.
9955 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9956 (j1_test_data): New variable.
9957 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9958 (log_test_data): New variable.
9959 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9960 (log10_test_data): New variable.
9961 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9962 (log1p_test_data): New variable.
9963 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9964 (log2_test_data): New variable.
9965 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9966 (logb_test_data): New variable.
9967 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9968 (logb_downward_test_data): New variable.
9969 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9970 (nearbyint_test_data): New variable.
9971 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9972 (rint_test_data): New variable.
9973 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9974 (rint_tonearest_test_data): New variable.
9975 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9976 (rint_towardzero_test_data): New variable.
9977 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9978 (rint_downward_test_data): New variable.
9979 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9980 (rint_upward_test_data): New variable.
9981 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9982 (round_test_data): New variable.
9983 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9984 (sin_test_data): New variable.
9985 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9986 (sin_tonearest_test_data): New variable.
9987 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9988 (sin_towardzero_test_data): New variable.
9989 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9990 (sin_downward_test_data): New variable.
9991 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9992 (sin_upward_test_data): New variable.
9993 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9994 (sinh_test_data): New variable.
9995 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9996 (sinh_tonearest_test_data): New variable.
9997 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9998 (sinh_towardzero_test_data): New variable.
9999 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10000 (sinh_downward_test_data): New variable.
10001 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10002 (sinh_upward_test_data): New variable.
10003 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10004 (sqrt_test_data): New variable.
10005 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10006 (tan_test_data): New variable.
10007 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10008 (tan_tonearest_test_data): New variable.
10009 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10010 (tan_towardzero_test_data): New variable.
10011 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10012 (tan_downward_test_data): New variable.
10013 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10014 (tan_upward_test_data): New variable.
10015 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10016 (tanh_test_data): New variable.
10017 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10018 (tgamma_test_data): New variable.
10019 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10020 (trunc_test_data): New variable.
10021 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10022 (y0_test_data): New variable.
10023 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10024 (y1_test_data): New variable.
10025 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10026 (significand_test_data): New variable.
10027 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10028
7187d844
CG
100292013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10030
10031 [BZ #12387]
10032 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10033
f63fae73
PT
100342013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10035
10036 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10037
8a67a4b3
AJ
100382013-05-10 Andreas Jaeger <aj@suse.de>
10039
10040 [BZ #15448]
10041 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10042 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10043
51df539d
JM
100442013-05-10 Joseph Myers <joseph@codesourcery.com>
10045
10046 * math/gen-libm-test.pl (adjust_arg): New function.
10047 (special_functions): Handle generating output in both functions
10048 and arrays.
10049 (parse_args): Likewise.
10050 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10051 $in_func argument to parse_args.
10052 * math/libm-test.inc (struct test_f_f_data): New type.
10053 (IF_ROUND_INIT_): New macro.
10054 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10055 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10056 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10057 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10058 (ROUND_RESTORE_): Likewise.
10059 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10060 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10061 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10062 (ROUND_RESTORE_FE_UPWARD): Likewise.
10063 (RUN_TEST_LOOP_f_f): New macro.
10064 (acos_test_data): New variable.
10065 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10066 (acos_tonearest_test_data): New variable.
10067 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10068
5c637fe5
SP
100692013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10070
10071 * benchtests/bench-skeleton.c (startup): Fix coding style.
10072
ab2b9461
JM
100732013-05-10 Joseph Myers <joseph@codesourcery.com>
10074
10075 [BZ #6809]
10076 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10077 negative infinity argument.
10078 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10079 negative infinity argument.
10080 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10081 negative infinity argument.
10082 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10083 domain errors.
10084
4c0fe6fe
FW
100852013-05-10 Florian Weimer <fweimer@redhat.com>
10086
10087 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10088 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10089 * iconv/iconv_prog.c (main): Likewise.
10090 * locale/programs/charmap-dir.c (charmap_readdir)
10091 (fopen_uncompressed): Likewise.
10092 * locale/programs/locfile.c (siblings_uncached)
10093 (write_locale_data): Use lstat64 instead of lstat.
10094 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10095 stat.
10096
a3375d29
AJ
100972013-05-10 Andreas Jaeger <aj@suse.de>
10098
10099 [BZ #15395]
10100 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10101 localization.
10102 Include <locale.h>.
10103
36129722
CD
101042013-05-09 Carlos O'Donell <carlos@redhat.com>
10105
10106 * elf/dl-close.c (_dl_close_worker): Add comments.
10107
faa7f811
JM
101082013-05-09 Joseph Myers <joseph@codesourcery.com>
10109
ed41ffef
JM
10110 [BZ #15359]
10111 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10112 high part of pi/2.
10113 (__ieee754_rem_pio2l): Update comments.
10114
d0213cd0
JM
10115 [BZ #15429]
10116 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10117 high part of pi/2.
10118 (__ieee754_rem_pio2l): Update comments.
10119
0d3e777a
JM
10120 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10121 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10122
24f56066
JM
10123 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10124 M_PI_4l.
10125
faa7f811
JM
10126 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10127 (M_PI_34_LOG10El): Likewise.
10128 (M_PI2_LOG10El): Likewise.
10129 (M_PI4_LOG10El): Likewise.
10130 (M_PI_LOG10El): Likewise.
10131
e9a5e0fd
AZ
101322013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10133
10134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10135
d8cd06db
JM
101362013-05-08 Joseph Myers <joseph@codesourcery.com>
10137
a0d9f9d7
JM
10138 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10139 (MINUS_ZERO_INIT): Likewise.
10140 (PLUS_INFTY_INIT): Likewise.
10141 (MINUS_INFTY_INIT): Likewise.
10142 (QNAN_VALUE_INIT): Likewise.
10143 (MAX_VALUE_INIT): Likewise.
10144 (MIN_VALUE_INIT): Likewise.
10145 (MIN_SUBNORM_VALUE_INIT): Likewise.
10146 (plus_zero): Initialize with PLUS_ZERO_INIT.
10147 (minus_zero): Initialize with MINUS_ZERO_INIT.
10148 (plus_infty): Initialize with PLUS_INFTY_INIT.
10149 (minus_infty): Initialize with MINUS_INFTY_INIT.
10150 (qnan_value): Initialize with QNAN_VALUE_INIT.
10151 (max_value): Initialize with MAX_VALUE_INIT.
10152 (min_value): Initialize with MIN_VALUE_INIT.
10153 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10154
ae08db3b
JM
10155 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10156 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10157 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10158 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10159
f44bf14a
JM
10160 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10161 (RUN_TEST_2_f): Likewise.
10162 (RUN_TEST_ff_f): Likewise.
10163 (RUN_TEST_fi_f): Likewise.
10164 (RUN_TEST_fl_f): Likewise.
10165 (RUN_TEST_fff_f): Likewise.
10166 (RUN_TEST_c_f): Likewise.
10167 (RUN_TEST_f_f1): Likewise.
10168 (RUN_TEST_fF_f1): Likewise.
10169 (RUN_TEST_fI_f1): Likewise.
10170 (RUN_TEST_ffI_f1): Likewise.
10171 (RUN_TEST_c_c): Likewise.
10172 (RUN_TEST_cc_c): Likewise.
10173 (RUN_TEST_f_i): Likewise.
10174 (RUN_TEST_f_i_tg): Likewise.
10175 (RUN_TEST_ff_i_tg): Likewise.
10176 (RUN_TEST_f_b): Likewise.
10177 (RUN_TEST_f_b_tg): Likewise.
10178 (RUN_TEST_f_l): Likewise.
10179 (RUN_TEST_f_L): Likewise.
10180 (RUN_TEST_sincos): Likewise.
10181 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10182 whether to show exceptions. Do not include ");\n" in return
10183 value.
10184 (special_functions): Output call to RUN_TEST_sincos instead of
10185 check_float calls. Update calls to new_test.
10186 (parse_args): Output call to single RUN_TEST_* macro instead of
10187 check_* calls and other assignments. Update calls to new_test.
10188
d8cd06db
JM
10189 [BZ #2546]
10190 [BZ #2560]
10191 [BZ #5159]
10192 [BZ #15426]
10193 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10194 input to result for tgamma overflow.
10195 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10196 (gamma_coeff): New variable.
10197 (NCOEFF): New macro.
10198 (gamma_positive): New function.
10199 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10200 underflow here. Use gamma_positive instead of exp (lgamma) for
10201 other arguments.
10202 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10203 (gamma_coeff): New variable.
10204 (NCOEFF): New macro.
10205 (gammaf_positive): New function.
10206 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10207 underflow here. Use gamma_positive instead of exp (lgamma) for
10208 other arguments.
10209 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10210 (gamma_coeff): New variable.
10211 (NCOEFF): New macro.
10212 (gammal_positive): New function.
10213 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10214 underflow here. Use gamma_positive instead of exp (lgamma) for
10215 other arguments.
10216 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10217 (gamma_coeff): New variable.
10218 (NCOEFF): New macro.
10219 (gammal_positive): New function.
10220 (__ieee754_gammal_r): Handle positive infinity, overflow and
10221 underflow here. Handle NaN the same as positive infinity. Remove
10222 check x < 0xffffffff for negative integers. Use gamma_positive
10223 instead of exp (lgamma) for other arguments.
10224 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10225 (gamma_coeff): New variable.
10226 (NCOEFF): New macro.
10227 (gammal_positive): New function.
10228 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10229 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10232 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10233 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10234 * sysdeps/generic/math_private.h (__gamma_productf): New
10235 prototype.
10236 (__gamma_product): Likewise.
10237 (__gamma_productl): Likewise.
10238 * math/Makefile (libm-calls): Add gamma_product.
10239 * math/libm-test.inc (tgamma_test): Add more tests.
10240 * sysdeps/i386/fpu/libm-test-ulps: Update.
10241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10242
bb7cf681
OB
102432013-05-08 Ondřej Bílka <neleai@seznam.cz>
10244
10245 * benchtests/bench-skeleton.c (main): Preheat CPU.
10246
ba853947
AJ
102472013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10248
10249 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10250
8347c74c
RM
102512013-05-07 Roland McGrath <roland@hack.frob.com>
10252
10253 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10254 and _dl_skip_args_internal.
10255
e8dd4791
CD
102562013-05-07 Carlos O'Donell <carlos@redhat.com>
10257
10258 * manual/message.texi (Message Translation): Talk about users.
10259 Message to key mapping impacts design.
10260
c7405830
RM
102612013-05-06 Roland McGrath <roland@hack.frob.com>
10262
a9173057
RM
10263 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10264
976e2f03
RM
10265 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10266
9723ffc5
RM
10267 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10268 * sysdeps/wordsize-64/glob64.c: ... here.
10269
962e6658
RM
10270 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10271 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10272 New macros.
10273
ee586a6d
RM
10274 * debug/getlogin_r_chk.c: Moved to ...
10275 * login/getlogin_r_chk.c: ... here.
10276 * debug/Makefile (routines): Move getlogin_r_chk to ...
10277 * login/Makefile (routines): ... here.
10278 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10279 * login/Versions (libc: GLIBC_2.4): ... here.
10280
355f9165
RM
10281 * io/poll.c (__poll): Renamed from poll.
10282 Add libc_hidden_def.
10283 (poll): Define as weak alias.
10284
bd9ffde6
RM
10285 * debug/ptsname_r_chk.c: Moved to ...
10286 * login/ptsname_r_chk.c: ... here.
10287 * debug/Makefile (routines): Move ptsname_r_chk to ...
10288 * login/Makefile (routines): ... here.
10289 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10290 * login/Versions (libc: GLIBC_2.4): ... here.
10291
8fb16a04
RM
10292 * posix/getlogin.c: Moved to ...
10293 * login/getlogin.c: ... here.
10294 * posix/getlogin_r.c: Moved to ...
10295 * login/getlogin_r.c: ... here.
10296 * posix/getlogin_r.c: Moved to ...
10297 * login/getlogin_r.c: ... here.
10298 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10299 * login/Makefile (routines): ... here.
10300 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10301 * login/Versions (libc: GLIBC_2.0): ... here.
10302
b99b892f
RM
10303 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10304 (setrlimit): Define as weak alias.
10305
c7405830
RM
10306 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10307 Call __ names for open, ftruncate, and close.
10308 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10309 (truncate): Define as weak alias.
10310
5bf96de5
JM
103112013-05-06 Joseph Myers <joseph@codesourcery.com>
10312
9ea3513c
JM
10313 * math/gen-libm-test.pl (parse_args): Initialize x before each
10314 test of frexp, modf and remquo.
10315
5bf96de5
JM
10316 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10317 test signgam value.
10318
16e616a7
AZ
103192013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10320
10321 [BZ #15418]
10322 [BZ #15419]
10323 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10324 internal tests.
10325 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10326
d5e82754
RM
103272013-05-06 Roland McGrath <roland@hack.frob.com>
10328
10329 * elf/dl-writev.h: New file.
10330 * elf/dl-misc.c: Include it.
10331 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10332 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10333
a7548d41
JM
103342013-05-04 Joseph Myers <joseph@codesourcery.com>
10335
b7dab1e4
JM
10336 * math/libm-test.inc (noXFails): Remove variable.
10337 (noXPasses): Likewise.
10338 (BUILD_COMPLEX_INT): Remove macro.
10339 (print_screen): Remove xfail argument.
10340 (print_screen_max_error): Likewise.
10341 (update_stats): Likewise.
10342 (print_max_error): Likewise. Update calls to other affected
10343 functions.
10344 (print_complex_max_error): Likewise.
10345 (test_single_exception): Update calls to print_screen.
10346 (test_single_errno): Likewise.
10347 (check_float_internal): Remove xfail argument. Update calls to
10348 other affected functions.
10349 (check_float): Likewise.
10350 (check_complex): Likewise.
10351 (check_int): Likewise.
10352 (check_long): Likewise.
10353 (check_bool): Likewise.
10354 (check_longlong): Likewise.
10355 (main): Don't print noXFails and noXPasses.
10356 * math/gen-libm-test.pl (top level): Don't mention expected
10357 failure handling in comment.
10358 (new_test): Don't handle expected failures.
10359 (parse_args): Don't mention expected failure handling in comment.
10360 (generate_testfile): Don't handle expected failures.
10361 (parse_ulps): Likewise.
10362 (print_ulps_file): Likewise.
10363 (get_failure): Remove function.
10364 (output_test): Don't handle expected failures.
10365 * make/README.libm-test: Don't mention expected failure handling.
10366
a7548d41
JM
10367 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10368 (minus_zero): Likewise.
10369 (plus_infty): Likewise.
10370 (minus_infty): Likewise.
10371 (qnan_value): Likewise.
10372 (max_value): Likewise.
10373 (min_value): Likewise.
10374 (min_subnorm_value): Likewise.
10375 (initialize): Do not initialize those variables dynamically.
10376
60bfd54c
RM
103772013-05-03 Roland McGrath <roland@hack.frob.com>
10378
cc0e6ed8
RM
10379 * io/open.c (__open_2): Moved to ...
10380 * io/open_2.c: ... this new file.
10381 * io/open64.c (__open64_2): Moved to ...
10382 * io/open64_2.c: ... this new file.
10383 * io/openat.c (__openat_2): Moved to ...
10384 * io/openat_2.c: ... this new file.
10385 * io/openat64.c (__openat64_2): Moved to ...
10386 * io/openat64_2.c: ... this new file.
10387 * io/Makefile (routines): Add them.
10388 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10389 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10390 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10391 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10392 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10393 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10394 (__openat64): Add hidden_ver.
10395 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10396 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10397
60bfd54c
RM
10398 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10399 Separately conditionalize setting of GLRO(dl_sysinfo) so
10400 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10401 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10402
83e7640f
AZ
104032013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10404
10405 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10406 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10407 definition.
10408 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10409 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10410 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10411 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10412 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10413
d5dc2af3
JM
104142013-05-03 Joseph Myers <joseph@codesourcery.com>
10415
c31a5b1e
JM
10416 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10417 test signgam value.
10418
d5dc2af3
JM
10419 * math/libm-test.inc (hypot_test): Do not use
10420 IGNORE_ZERO_INF_SIGN.
10421
164fd39d
AJ
104222013-05-03 Andreas Jaeger <aj@suse.de>
10423
10424 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10425 Linux 3.9.
10426 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10427 (PF_MAX): Adjust for VSOCK change.
10428
8237f48c
AZ
104292013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10430
10431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10432
9df02941
CD
104332013-05-02 Carlos O'Donell <carlos@redhat.com>
10434
10435 [BZ #15264]
10436 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10437 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10438 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10439
d422395e
DM
104402013-05-02 David S. Miller <davem@davemloft.net>
10441
10442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10443
a07c5731
OB
104442013-05-01 Ondřej Bílka <neleai@seznam.cz>
10445
10446 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10447
1324e37f
RM
104482013-05-01 Roland McGrath <roland@hack.frob.com>
10449
10450 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10451
0695940b
RS
104522013-05-01 Richard Smith <richard@metafoo.co.uk>
10453
bb5f27ad 10454 [BZ #14952]
0695940b
RS
10455 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10456 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10457 Use __attribute__ ((__gnu_inline__)).
10458 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10459 Don't use __attribute__ ((__gnu_inline__)).
10460
10de07f5
JM
104612013-05-01 Joseph Myers <joseph@codesourcery.com>
10462
10463 [BZ #15423]
10464 * math/s_catan.c (__catan): Handle small real or imaginary part of
10465 input specially to avoid spurious underflow.
10466 * math/s_catanf.c (__catanf): Likewise.
10467 * math/s_catanh.c (__catanh): Likewise.
10468 * math/s_catanhf.c (__catanhf): Likewise.
10469 * math/s_catanhl.c (__catanhl): Likewise.
10470 * math/s_catanl.c (__catanl): Likewise.
10471 * math/libm-test.inc (catan_test): Add more tests.
10472 (catanh_test): Likewise.
10473 * sysdeps/i386/fpu/libm-test-ulps: Update.
10474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10475
cb4d5414
AZ
104762013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10477
10478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10479
caf84319
JM
104802013-04-30 Joseph Myers <joseph@codesourcery.com>
10481
10482 [BZ #15416]
10483 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10484 accurately for denominator in atan2.
10485 * math/s_catanf.c (__catanf): Likewise.
10486 * math/s_catanh.c (__catanh): Likewise.
10487 * math/s_catanhf.c (__catanhf): Likewise.
10488 * math/s_catanhl.c (__catanhl): Likewise.
10489 * math/s_catanl.c (__catanl): Likewise.
10490 * math/libm-test.inc (catan_test): Add more tests.
10491 (catanh_test): Likewise.
10492 * sysdeps/i386/fpu/libm-test-ulps: Update.
10493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10494
d569c6ee
SP
104952013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10496
6dbe713d
SP
10497 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10498
f0ee064b
SP
10499 * benchtests/Makefile (bench): Remove slow benchmarks.
10500 * benchtests/atan-inputs: Add slow benchmark inputs.
10501 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10502 (BENCH_FUNC): Accept variant offset.
10503 (VARIANT): Define.
10504 * benchtests/bench-skeleton.c (main): Run benchmark for each
10505 variant.
10506 * benchtests/cos-inputs: Add slow benchmark inputs.
10507 * benchtests/exp-inputs: Likewise.
10508 * benchtests/pow-inputs: Likewise.
10509 * benchtests/sin-inputs: Likewise.
10510 * benchtests/slowatan-inputs: Remove.
10511 * benchtests/slowatan.c: Remove.
10512 * benchtests/slowcos-inputs: Remove.
10513 * benchtests/slowcos.c: Remove.
10514 * benchtests/slowexp-inputs: Remove.
10515 * benchtests/slowexp.c: Remove.
10516 * benchtests/slowpow-inputs: Remove.
10517 * benchtests/slowpow.c: Remove.
10518 * benchtests/slowsin-inputs: Remove.
10519 * benchtests/slowsin.c: Remove.
10520 * benchtests/slowtan-inputs: Remove.
10521 * benchtests/slowtan.c: Remove.
10522 * benchtests/tan-inputs: Add slow benchmark inputs.
10523 * scripts/bench.pl: Parse comments and directives.
10524
d569c6ee
SP
10525 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10526 in CPPFLAGS.
10527 ($(objpfx)bench-%.c): Remove *-ITER.
10528 * benchtests/bench-modf.c: Remove definition of ITER.
10529 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10530 (main): Loop for DURATION seconds instead of fixed number of
10531 iterations.
10532 * scripts/bench.pl: Don't expect iterations in parameters.
10533
a6a242fe
RM
105342013-04-29 Roland McGrath <roland@hack.frob.com>
10535
10536 * io/fchdir.c (__fchdir): Renamed from fchdir.
10537 (fchdir): Define as weak alias.
10538
f2da7793
JM
105392013-04-29 Joseph Myers <joseph@codesourcery.com>
10540
10541 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10542 (ERRNO_EDOM): Likewise.
10543 (ERRNO_ERANGE): Likewise.
10544 (noErrnoTests): New variable.
10545 (init_max_error): Set errno to 0.
10546 (test_single_errno): New function.
10547 (test_errno): Likewise.
10548 (check_float_internal): Call test_errno. Set errno to 0.
10549 (check_complex): Refer to errno tests in comment.
10550 (check_int): Call test_errno. Set errno to 0.
10551 (check_long): Likewise.
10552 (check_bool): Likewise.
10553 (check_longlong): Likewise.
10554 (cos_test): Use ERRNO_* flags for errno tests instead of
10555 check_int.
10556 (expm1_test): Likewise.
10557 (fmod_test): Likewise.
10558 (ilogb_test): Likewise.
10559 (lgamma_test): Likewise.
10560 (pow_test): Likewise.
10561 (remainder_test): Likewise.
10562 (sin_test): Likewise.
10563 (tan_test): Likewise.
10564 (yn_test): Likewise.
10565 (initialize): Set errno to 0.
10566 (main): Print number of errno tests.
10567 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10568
b1a36ceb
AJ
105692013-04-29 Andreas Jaeger <aj@suse.de>
10570
c3ed8088
AJ
10571 [BZ #15084]
10572 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10573 and RES_USEVC.
10574
f1a24198
AJ
10575 [BZ #15085]
10576 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10577 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10578 unimplemented.
10579
9ce3b2cb
AJ
10580 [BZ #15380]
10581 * stdlib/random.c (__initstate): Return NULL if
10582 __initstate fails.
10583
f1a24198 10584 [BZ #15086]
b1a36ceb
AJ
10585 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10586 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10587 RES_SNGLKUPREOP.
10588
7e7b6f36
AZ
105892013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10590
10591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10592
4d14f449
JM
105932013-04-29 Joseph Myers <joseph@codesourcery.com>
10594
10595 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10596 of individual tests.
10597 (casin_test): Likewise.
10598 (casinh_test): Likewise.
10599
5b4217d7
JM
106002013-04-27 Joseph Myers <joseph@codesourcery.com>
10601
10602 [BZ #15409]
10603 * math/s_catan.c (__catan): Handle arguments with large real or
10604 imaginary part separately without squaring.
10605 * math/s_catanf.c (__catanf): Likewise.
10606 * math/s_catanh.c (__catanh): Likewise.
10607 * math/s_catanhf.c (__catanhf): Likewise.
10608 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10609 and redefine.
10610 (__catanhl): Handle arguments with large real or imaginary part
10611 separately without squaring.
10612 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10613 and redefine.
10614 (__catanl): Handle arguments with large real or imaginary part
10615 separately without squaring.
10616 * math/libm-test.inc (catan_test): Add more tests.
10617 (catanh_test): Likewise.
10618 * sysdeps/i386/fpu/libm-test-ulps: Update.
10619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10620
4220c3ef
AJ
106212013-04-27 Andreas Jaeger <aj@suse.de>
10622
10623 [BZ #15007]
10624 * stdlib/stdlib.h: Update guards for qecvt.
10625 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10626 <stdlib.h>.
10627
4721b2d1
AM
106282013-04-27 Allan McRae <allan@archlinux.org>
10629
10630 * sysdeps/i386/fpu/libm-test-ulps: Update.
10631
f0302940
JM
106322013-04-26 Joseph Myers <joseph@codesourcery.com>
10633
9457fd95
JM
10634 [BZ #15406]
10635 * math/s_catan.c: Include <float.h>.
10636 (__catan): Ensure underflow exception occurs for underflowed
10637 result.
10638 * math/s_catanf.c: Include <float.h>.
10639 (__catanf): Ensure underflow exception occurs for underflowed
10640 result.
10641 * math/s_catanh.c: Include <float.h>.
10642 (__catanh): Ensure underflow exception occurs for underflowed
10643 result.
10644 * math/s_catanhf.c: Include <float.h>.
10645 (__catanhf): Ensure underflow exception occurs for underflowed
10646 result.
10647 * math/s_catanhl.c: Include <float.h>.
10648 (__catanhl): Ensure underflow exception occurs for underflowed
10649 result.
10650 * math/s_catanl.c: Include <float.h>.
10651 (__catanl): Ensure underflow exception occurs for underflowed
10652 result.
10653 * math/libm-test.inc (catan_test): Add more tests.
10654 (catanh_test): Likewise.
10655
f0302940
JM
10656 [BZ #15405]
10657 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10658 underflowed result.
10659 * math/s_ccoshf.c (__ccoshf): Likewise.
10660 * math/s_ccoshl.c (__ccoshl): Likewise.
10661 * math/s_csin.c (__csin): Likewise.
10662 * math/s_csinf.c (__csinf): Likewise.
10663 * math/s_csinh.c (__csinh): Likewise.
10664 * math/s_csinhf.c (__csinhf): Likewise.
10665 * math/s_csinhl.c (__csinhl): Likewise.
10666 * math/s_csinl.c (__csinl): Likewise.
10667 * math/libm-test.inc (ccos_test): Add more tests.
10668 (ccosh_test): Likewise.
10669 (csin_test): Likewise.
10670 (csinh_test): Likewise.
10671
aa630f59
AZ
106722013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10673
10674 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10675 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10676 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10677 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10678 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10679 powerpc/power5+/fpu folders.
10680 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10681
10682
1b835983
MT
106832013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10684
10685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10686
73709b26
JM
106872013-04-25 Joseph Myers <joseph@codesourcery.com>
10688
10689 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10690 additions to variable.
10691 [$(config-machine) = x86_64] (modules-names): Likewise.
10692 ($(objpfx)tst-audit3): Remove dependency.
10693 ($(objpfx)tst-audit3.out): Likewise.
10694 ($(objpfx)tst-audit4): Likewise.
10695 ($(objpfx)tst-audit4.out): Likewise.
10696 ($(objpfx)tst-audit5): Likewise.
10697 ($(objpfx)tst-audit5.out): Likewise.
10698 ($(objpfx)tst-audit6): Likewise.
10699 ($(objpfx)tst-audit6.out): Likewise.
10700 ($(objpfx)tst-audit7): Likewise.
10701 ($(objpfx)tst-audit7.out): Likewise.
10702 (tst-audit3-ENV): Remove variable.
10703 (tst-audit4-ENV): Likewise.
10704 (tst-audit5-ENV): Likewise.
10705 (tst-audit6-ENV): Likewise.
10706 (tst-audit7-ENV): Likewise.
10707 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10708 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10709 addition to variable.
10710 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10711 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10712 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10713 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10714 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10715 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10716 tst-audit3, tst-audit4 and tst-audit5.
10717 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10718 tst-audit6 and tst-audit7.
10719 [$(subdir) = elf] (modules-names): Add audit modules for those
10720 tests.
10721 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10722 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10723 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10724 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10725 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10726 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10727 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10728 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10729 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10730 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10731 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10732 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10733 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10734 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10735 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10736 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10737 Likewise.
10738 [$(subdir) = elf && $(config-cflags-avx) = yes]
10739 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10740 [$(subdir) = elf && $(config-cflags-avx) = yes]
10741 (CFLAGS-tst-auditmod4a.c): Likewise.
10742 [$(subdir) = elf && $(config-cflags-avx) = yes]
10743 (CFLAGS-tst-auditmod4b.c): Likewise.
10744 [$(subdir) = elf && $(config-cflags-avx) = yes]
10745 (CFLAGS-tst-auditmod6b.c): Likewise.
10746 [$(subdir) = elf && $(config-cflags-avx) = yes]
10747 (CFLAGS-tst-auditmod6c.c): Likewise.
10748 [$(subdir) = elf && $(config-cflags-avx) = yes]
10749 (CFLAGS-tst-auditmod7b.c): Likewise.
10750 * elf/tst-audit3.c: Move to ...
10751 * sysdeps/x86_64/tst-audit3.c: ... here.
10752 * elf/tst-audit4.c: Move to ...
10753 * sysdeps/x86_64/tst-audit4.c: ... here.
10754 * elf/tst-audit5.c: Move to ...
10755 * sysdeps/x86_64/tst-audit5.c: ... here.
10756 * elf/tst-audit6.c: Move to ...
10757 * sysdeps/x86_64/tst-audit6.c: ... here.
10758 * elf/tst-audit7.c: Move to ...
10759 * sysdeps/x86_64/tst-audit7.c: ... here.
10760 * elf/tst-auditmod3a.c: Move to ...
10761 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10762 * elf/tst-auditmod3b.c: Move to ...
10763 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10764 * elf/tst-auditmod4a.c: Move to ...
10765 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10766 * elf/tst-auditmod4b.c: Move to ...
10767 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10768 * elf/tst-auditmod5a.c: Move to ...
10769 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10770 * elf/tst-auditmod5b.c: Move to ...
10771 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10772 * elf/tst-auditmod6a.c: Move to ...
10773 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10774 * elf/tst-auditmod6b.c: Move to ...
10775 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10776 * elf/tst-auditmod6c.c: Move to ...
10777 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10778 * elf/tst-auditmod7a.c: Move to ...
10779 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10780 * elf/tst-auditmod7b.c: Move to ...
10781 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10782
1ef74943
PP
107832013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10784
10785 [BZ #15366]
10786 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10787 define unconditionally.
10788 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10789 define unconditionally.
10790 (INT8_C, INT16_C, etc.): Likewise.
10791
93fd48c5
MR
107922013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10793
ae9552cf
MR
10794 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10795 __ehdr_start with hidden visibility.
10796
93fd48c5
MR
10797 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10798
418601aa
CD
107992013-04-24 Carlos O'Donell <carlos@redhat.com>
10800
10801 * math/libm-test.inc (cos_test): Use accurate hex constants.
10802 (sincost_test): Likewise.
10803
2f38fbfe
JM
108042013-04-24 Joseph Myers <joseph@codesourcery.com>
10805
5e221800
JM
10806 * math/libm-test.inc (catan_test): Add more tests.
10807 (catanh_test): Likewise.
10808
77f143fd
JM
10809 * math/s_catanf.c (__catanf): Use suffixed floating-point
10810 constants.
10811 * math/s_catanhf.c (__catanhf): Likewise.
10812 * math/s_catanhl.c (__catanhl): Likewise.
10813 * math/s_catanl.c (__catanl): Likewise.
10814
2f38fbfe
JM
10815 [BZ #15394]
10816 * math/s_catan.c (__catan): Calculate imaginary part of result
10817 with log1p not log unless computing log of number close to 0.
10818 * math/s_catanf.c (__catanf): Likewise.
10819 * math/s_catanl.c (__catanl): Likewise.
10820 * math/s_catanh.c (__catanh): Calculate real part of result with
10821 log1p not log unless computing log of number close to 0.
10822 * math/s_catanhf.c (__catanhf): Likewise.
10823 * math/s_catanhl.c (__catanhl): Likewise.
10824 * math/libm-test.inc (catan_test): Add more tests.
10825 (catanh_test): Likewise.
10826 * sysdeps/i386/fpu/libm-test-ulps: Update.
10827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10828
45d69176
SP
108292013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10830
10831 * benchtests/Makefile: Mention files in which fast and slow
10832 paths of math functions are implemented.
10833
87f51853
RM
108342013-04-23 Roland McGrath <roland@hack.frob.com>
10835
10836 * sysdeps/posix/timespec_get.c: New file.
10837
3c026539
AZ
108382013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10839
10840 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10841 POWER.
10842 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10843 for POWER.
10844 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10845 powerpc/power5/fpu folders.
10846 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10847 * benchtests/Makefile: Add modf testcase.
10848 * benchtests/bench-modf.c: New file: Benchmark test for mo
10849
ff491d14
SP
108502013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10851
10852 [BZ #14888]
10853 * time/Makefile (tests): Add tst-strptime-whitespace.
10854 * time/strptime_l.c (get_number): Use ISSPACE.
10855 (__strptime_internal): Likewise.
10856 * time/tst-strptime-whitespace.c: New test case.
10857
7ed3f4e8
AS
108582013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10859
10860 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10861 member.
10862 (_nss_files_init): Set it here.
10863
5c95f7b6
HC
108642013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10865
10866 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10867 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10868 unsigned.
10869
d34c9158
JBG
108702013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10871
10872 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10873
2169712d
SP
108742013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10875
10876 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10877 size just once.
10878
29c5de99
DM
108792013-04-21 David S. Miller <davem@davemloft.net>
10880
10881 * po/ru.po: Update Russion translation from translation project.
10882
ccdad15d
AC
108832013-04-17 Adam Conrad <adconrad@0c3.net>
10884
10885 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10886 and setfsgid.
10887
0f122b8d
CD
108882013-04-17 Carlos O'Donell <carlos@redhat.com>
10889
5c5b07da 10890 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10891 * configure: Regenerate.
5c5b07da 10892 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10893 Add example to error message.
10894 * sysdeps/i386/configure: Regenerate.
10895
037714dd
SP
108962013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10897
10898 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10899 slowtan.
10900 * benchtests/cos-inputs: New file.
10901 * benchtests/slowcos-inputs: New file.
10902 * benchtests/slowcos.c: New file.
10903 * benchtests/slowtan-inputs: New file.
10904 * benchtests/slowtan.c: New file.
10905 * benchtests/tan-inputs: New file.
10906
e913141d
RM
109072013-04-16 Roland McGrath <roland@hack.frob.com>
10908
10909 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10910 considered kosher.
10911
a2964074
SP
109122013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10913
4856bcd2
SP
10914 * benchtests/Makefile: Include cppflags-iterator.mk to add
10915 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10916
a2964074
SP
10917 * Makefile.in (bench-clean): New target.
10918 * benchtests/Makefile (bench-clean): Likewise.
10919
9fbf9aca
DH
109202013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10921
10922 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10923
207d1e2a
TS
109242013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10925
10926 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10927
306dfba9
AS
109282013-04-15 Andreas Schwab <schwab@suse.de>
10929
10930 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10931 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10932 * nscd/pwdcache.c (cache_addpw): Likewise.
10933 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10934 more than recsize.
10935
206a6699
SP
109362013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10937
10938 * benchtests/Makefile (bench): Write all output to
10939 bench-out.tmp together.
10940
0582f6b3
AS
109412013-04-15 Andreas Schwab <schwab@suse.de>
10942
10943 * nscd/nscd.c (main): Don't fork again after closing files.
10944
acb4325f
SP
109452013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10946
5cb26d0a
SP
10947 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10948
acb4325f
SP
10949 * benchtests/Rules (bench-deps): Collect dependencies into a
10950 single variable. Add Makefile to dependencies.
10951 ($(objpfx)bench-%.c): Depend on bench-deps.
10952
47792506
RM
109532013-04-12 Roland McGrath <roland@hack.frob.com>
10954 Xavier Roche <roche+kml2@exalead.com>
10955
10956 [BZ #15361]
10957 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10958 just that it's a file descriptor.
10959 * manual/llio.texi (Synchronizing AIO Operations): Update description
10960 for EBADF error from aio_fsync.
10961
8fc1bee5
SP
109622013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10963
10964 * Rules (bench): Move target definition...
10965 * benchtests/Makefile: ... here.
10966
aba5e333
CD
109672013-04-11 Carlos O'Donell <carlos@redhat.com>
10968
10969 * math/libm-test.inc (cos_test): Fix PI/2 test.
10970 (sincos_test): Likewise.
10971 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10972 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10973
273cdee8
AS
109742013-04-11 Andreas Schwab <schwab@suse.de>
10975
6ecec3b6
AS
10976 [BZ #13988]
10977 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10978 accept exponent character only when digits were seen.
10979 * stdio-common/Makefile (tests): Add bug26.
10980 * stdio-common/bug26.c: New file.
10981
273cdee8
AS
10982 [BZ #14293]
10983 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10984 non-freeable.
10985
8da491f5
SP
109862013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10987
01dc6df9
SP
10988 * Makeconfig (rtld-prefix): Define built linker prefix.
10989 * Rules (run-bench): Use it.
10990 * math/Makefile (run-regen-ulps): Likewise.
10991
8da491f5
SP
10992 * Rules (bench): Remove eval.
10993
abe7f530
SP
109942013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10995 Roland McGrath <roland@hack.frob.com>
10996 Ondrej Bilka <neleai@seznam.cz>
10997
10998 [BZ #15346]
10999 * time/getdate.c: Include ctype.h and alloca.h.
11000 (__getdate_r): Trim leading and trailing spaces of input.
11001 * time/tst-getdate.c (tests): Add tests with leading and
11002 trailing spaces.
11003
61c23e62
RM
110042013-04-08 Roland McGrath <roland@hack.frob.com>
11005
11006 [BZ #14280]
11007 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11008 when computing value.
11009
7208a313
CD
110102013-04-06 Carlos O'Donell <carlos@redhat.com>
11011
085b2d41
CD
11012 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11013 Use testrun.sh to run libm tests.
11014
7208a313
CD
11015 [BZ #15309]
11016 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11017
872c0acd
MM
110182013-04-06 Marko Myllynen <myllynen@redhat.com>
11019
11020 [BZ #15264]
11021 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11022
26510bdd
CD
110232013-04-06 Carlos O'Donell <carlos@redhat.com>
11024
11025 * Makefile.in (regen-ulps): New target.
11026 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11027 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11028 [ifneq (no,$(PERL)] (regen-ulps): New target.
11029 [ifeq (no,$(PERL)] (regen-ulps): New target.
11030 * math/libm-test.inc (ulps_file_name): Define.
11031 (output_dir): New variable.
11032 (options): Add "output-dir" option.
11033 (parse_opt): Handle 'o' case.
11034 (main): If output_dir is non-NULL use it as a prefix
11035 otherwise use "".
11036 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11037
a01f19c8
CD
110382013-04-06 Carlos O'Donell <carlos@redhat.com>
11039
11040 [BZ #10060, #10062]
11041 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11042 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11043 fail configure if __sync_val_compare_and_swap is not inlined.
11044 * sysdeps/i386/configure: Regenerate.
11045 * configure.in: Build for i686 when configured for i386.
11046 * configure: Regenerate.
11047 * README: Remove i386 reference.
11048
b7a329a5
CD
110492013-04-06 Carlos O'Donell <carlos@redhat.com>
11050
11051 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11052 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11053
bf0f50df
TS
110542013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11055
ee091edf
TS
11056 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11057 (lmsnanval): New variables.
11058 (F): Add conversion tests.
11059 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11060 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11061
a8b792d6
TS
11062 * stdio-common/tstdiomisc.c (F): Properly collect individual
11063 tests' results.
11064
a1cbf437
TS
11065 [BZ #14686, #15336]
11066 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11067 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11068 Instead, use input NaN values or generate a qNaN by arithmetic
11069 operation. Also fix bugs to comply with the standard.
11070 * math/libm-test.inc (remainder_test): Add more tests.
11071
8b43a0c9
TS
11072 [BZ #15335, #15342]
11073 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11075 input NaN values or generate a qNaN by arithmetic operation.
11076
d91da4ce
TS
11077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11078 unreachable code.
11079
bf0f50df
TS
11080 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11081 definitions.
11082
05e166c8
JM
110832013-04-03 Joseph Myers <joseph@codesourcery.com>
11084
11085 [BZ #14478]
11086 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11087 underflowed result.
11088 * math/s_cexpf.c (__cexpf): Likewise.
11089 * math/s_cexpl.c (__cexpl): Likewise.
11090 * math/libm-test.inc (cexp_test): Add more tests.
11091
1cef1b19
AS
110922013-04-03 Andreas Schwab <schwab@suse.de>
11093
11094 [BZ #15330]
11095 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11096 order arrays from heap if bigger than alloca cutoff.
11097
74d87055
TS
110982013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11099
11100 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11101 (SNAN_TESTS_double): Refer to GCC PR56831.
11102 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11103 GCC PR56828.
11104
d755bba4
SP
111052013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11106
90d5d5bb
SP
11107 * Rules (bench): Move bench.out after the run is complete.
11108
73e0cd5d
SP
11109 * Rules (bench): Echo currently running benchmark.
11110
64aabd4b
SP
11111 * benchtests/Makefile (bench): Add atan and slowatan.
11112 * benchtests/atan-inputs: New file.
11113 * benchtests/slowatan-inputs: New file.
11114 * benchtests/slowatan.c: New file.
11115
c871eccd
SP
11116 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11118 its value.
11119
d755bba4
SP
11120 [BZ #15305]
11121 * sysdeps/unix/sysv/linux/kernel-features.h
11122 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11123 __ASSUME_XFS_RESTRICTED_CHOWN.
11124 * sysdeps/unix/sysv/linux/pathconf.c
11125 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11126 Save and restore errno.
11127
52ce4860
JM
111282013-04-02 Joseph Myers <joseph@codesourcery.com>
11129
11130 [BZ #15327]
11131 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11132 arguments using __kernel_casinh.
11133 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11134 arguments using __kernel_casinhf.
11135 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11136 arguments using __kernel_casinhl.
11137 * math/libm-test.inc (cacosh_test): Add more tests.
11138 * sysdeps/i386/fpu/libm-test-ulps: Update.
11139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11140
81f311c2
SP
111412013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11142
e7906a47
SP
11143 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11145
92e3664b
SP
11146 * bench/Makefile (bench): Add sin and slowsin.
11147 * benchtests/sin-inputs: New file.
11148 * benchtests/slowsin-inputs: New file.
11149 * benchtests/slowsin.c: New file.
11150
81f311c2
SP
11151 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11152 (bench): Add slowexp and slowpow.
11153 (exp-ITER): Increase iterations.
11154 (pow-ITER): Likewise.
11155 * benchtests/exp-inputs: Change input.
11156 * benchtests/pow-inputs: Likewise.
11157 * benchtests/slowexp-inputs: New file.
11158 * benchtests/slowexp.c: New file.
11159 * benchtests/slowpow-inputs: New file.
11160 * benchtests/slowpow.c: New file.
11161
ab0f1aa9
AZ
111622013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11163
11164 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11165 instructions.
11166 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11167 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11168 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11169 * benchtests/Makefile: Add rint benchtest.
11170 * benchtests/rint-inputs: Input for rint benchtest.
11171
57267616
TS
111722013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11173
11174 * Versions.def (libm): Add GLIBC_2.18.
11175 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11176 hidden libm prototypes.
11177 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11178 * math/Makefile (libm-calls): Add s_issignaling.
11179 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11180 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11181 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11182 declaration.
11183 * math/math.h [__USE_GNU] (issignaling): New macro.
11184 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11185 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11186 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11187 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11190 * manual/arith.texi (issignaling): New section.
11191 * manual/libm-err-tab.pl (@all_functions): Update comment.
11192 * math/gen-libm-test.pl (parse_args): Apply special handling for
11193 issignaling.
11194 * math/libm-test.inc (print_float, issignaling_test): New
11195 functions.
11196 (check_float_internal): Add issignaling checks.
11197 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11198 default definition.
11199 * sysdeps/powerpc/math-tests.h: New file.
11200 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11201 tests.
11202 * math/test-snan.c (TEST_FUNC): Likewise.
11203
6142896d
DM
112042013-03-30 David S. Miller <davem@davemloft.net>
11205
11206 * po/de.po: Update from translation team.
11207
ccc8cadf
JM
112082013-03-30 Joseph Myers <joseph@codesourcery.com>
11209
11210 [BZ #10357]
11211 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11212 imaginary part less than 1.0 and real part less than 0.5
11213 specially.
11214 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11215 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11216 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11217 (cacos_test): Add more tests.
11218 (casin_test): Likewise.
11219 (casinh_test): Likewise.
11220 * sysdeps/i386/fpu/libm-test-ulps: Update.
11221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11222
0f6a8d4b
SP
112232013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11224
0d1029de
SP
11225 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11226 ONE with its value.
11227
c2d94018
SP
11228 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11229 (__pow_mp): Replace ONE and MONE with their values.
11230 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11231 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11232 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11233 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11234 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11235 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11236
27ec37f1
SP
11237 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11238
a64d7e0e
SP
11239 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11240 (__pow_mp): Replace ZERO and MZERO with their values.
11241 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11242 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11243 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11245 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11246 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11247 (__sqr): Likewise.
11248
d26dd3eb
SP
11249 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11250
0f6a8d4b
SP
11251 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11252
e57b0c61
RM
112532013-03-28 Roland McGrath <roland@hack.frob.com>
11254
11255 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11256 Declare with __attribute__ ((weak)).
11257 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11258 Call __call_tls_dtors only if it's not NULL.
11259
356b3480
RM
112602013-03-28 Roland McGrath <roland@hack.frob.com>
11261
288f7d79
RM
11262 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11263 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11264 magic __ehdr_start linker symbol if it's defined.
11265 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11266 them up here if it was already done.
11267
dc0a0263
RM
11268 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11269 (_dl_aux_init): Use const in cast when setting it.
11270 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11271 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11272 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11273
3d3436ae
RM
11274 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11275 Declare them here.
11276 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11277 * csu/libc-tls.c: Nor here.
11278 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11279
356b3480
RM
11280 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11281 (__libc_message): Never call vsyslog.
11282
b0f1246a
AM
112832013-03-28 Alan Modra <amodra@gmail.com>
11284
11285 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11286 Define as empty.
11287 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11288 Likewise.
11289
fbbe2b9a
AZ
112902013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11291
11292 [BZ #15214]
11293 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11294 underflow.
11295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11296
1728ab37
SP
112972013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11298
7a86be6e
SP
11299 [BZ #15304]
11300 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11301 Don't add gid passed as argument.
11302
1728ab37
SP
11303 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11304
3a7182a1
JM
113052013-03-27 Joseph Myers <joseph@codesourcery.com>
11306
11307 [BZ #15307]
11308 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11309 imaginary part between 1.0 and 1.5 and real part less than 0.5
11310 specially.
11311 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11312 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11313 * math/libm-test.inc (cacos_test): Add more tests.
11314 (casin_test): Likewise.
11315 (casinh_test): Likewise.
11316 * sysdeps/i386/fpu/libm-test-ulps: Update.
11317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11318
6f2e90e7
SP
113192013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11320
5739f705
SP
11321 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11322 constants.
11323 (norm): Likewise.
11324 (denorm): Likewise.
11325 (__dbl_mp): Likewise.
11326 (add_magnitudes): Likewise.
11327 (sub_magnitudes): Likewise.
11328 (__add): Likewise.
11329 (__sub): Likewise.
11330 (__mul): Likewise.
11331 (__sqr): Likewise.
11332 (__inv): Likewise.
11333 (__dvd): Likewise.
11334
e375e83d
SP
11335 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11336 commented code.
11337 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11338 (__dubcos): Likewise.
11339 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11340 (__ieee754_acos): Likewise.
11341 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11342 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11343 (__exp1): Likewise.
11344 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11346 (log1): Likewise.
11347 (my_log2): Likewise.
11348 (checkint): Likewise.
11349 * sysdeps/ieee754/dbl-64/e_remainder.c
11350 (__ieee754_remainder): Likewise.
11351 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11352 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11353 (bsloww): Likewise.
11354 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11355
6f2e90e7
SP
11356 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11357 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11358 MANTISSA_STORE_T to store computations on mantissa. Use
11359 macros for rounding and division.
11360 (denorm): Likewise.
11361 (__dbl_mp): Likewise.
11362 (add_magnitudes): Likewise.
11363 (sub_magnitudes): Likewise.
11364 (__mul): Likewise.
11365 (__sqr): Likewise.
11366 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11367 powers of two in terms of TWOPOW macro.
11368 (mp_no): Make type of mantissa as MANTISSA_T.
11369 [!RADIXI]: Define RADIXI.
11370 [!TWO52]: Define TWO52.
11371 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11372
fce14d4e
AZ
113732013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11374
11375 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11376 llroundl symbol when building for PPC32.
11377
9ad027fb
MW
113782013-03-24 Mark H Weaver <mhw@netris.org>
11379
11380 * manual/arith.texi (Normalization Functions): Fix prototypes for
11381 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11382
e42a38dd
AZ
113832013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11384
11385 [BZ #13889]
11386 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11387 high value to check if expl overflow.
11388 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11389 to check for underflow and overflow.
11390 * math/libm-test.inc: Add exp test.
11391
2e0fb521
DL
113922013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11393
11394 [BZ #11120]
11395 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11396 with NOT_IN_libc.
11397
b5784d95
AZ
113982013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11399
11400 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11401 symbol.
11402
5aa4a1a1
TS
114032013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11404
bdef0be7
TS
11405 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11406 wrap blocks consisting of several statements.
11407
5aa4a1a1
TS
11408 * sysdeps/generic/math-tests.h: New file.
11409 * sysdeps/i386/fpu/math-tests.h: Likewise.
11410 * math/test-snan.c: Include it.
11411 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11412
98c48fe5
JM
114132013-03-21 Joseph Myers <joseph@codesourcery.com>
11414
11415 [BZ #15285]
11416 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11417 (__ieee754_j0l): Do not improve calculations using cos of twice
11418 input for inputs above LDBL_MAX / 2.0L.
11419 (__ieee754_y0l): Likewise.
11420 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11421 (__ieee754_j1l): Do not improve calculations using cos of twice
11422 input for inputs above LDBL_MAX / 2.0L.
11423 (__ieee754_y1l): Likewise.
11424 * math/libm-test.inc (j0_test): Add another test.
11425 (j1_test): Likewise.
11426 (y0_test): Likewise.
11427 (y1_test): Likewise.
11428 * sysdeps/i386/fpu/libm-test-ulps: Update.
11429
3775a8bc
SP
114302013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11431
11432 * Rules ($(objpfx)bench-%.c): Include code from a C source
11433 file.
11434
0a1b2ae6
JM
114352013-03-21 Joseph Myers <joseph@codesourcery.com>
11436
11437 [BZ #15287]
11438 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11439 imaginary part 1.0 and real part less than 0.5 specially.
11440 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11441 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11442 * math/libm-test.inc (cacos_test): Add more tests.
11443 (casin_test): Likewise.
11444 (casinh_test): Likewise.
11445 * sysdeps/i386/fpu/libm-test-ulps: Update.
11446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11447
b33d4ce4
SP
114482013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11449
11450 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11451 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11452
bef0b507
JM
114532013-03-20 Joseph Myers <joseph@codesourcery.com>
11454
11455 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11456 * config.make.in (config-cflags-sse4): Remove variable.
11457 (config-cflags-avx): Likewise.
11458 (config-cflags-sse2avx): Likewise.
11459 (config-cflags-novzeroupper): Likewise.
11460 (config-asflags-i686): Likewise.
11461 (have-mfma4): Likewise.
11462 (have-as-vis3): Likewise.
11463 (MIG): Likewise.
11464 * configure.in (MIG): Do not AC_SUBST.
11465 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11466 (libc_cv_cc_sse4): Do not AC_SUBST.
11467 (libc_cv_cc_avx): Likewise.
11468 (libc_cv_cc_sse2avx): Likewise.
11469 (libc_cv_cc_novzeroupper): Likewise.
11470 (libc_cv_cc_fma4): Likewise.
11471 (libc_cv_as_i686): Likewise.
11472 (libc_cv_sparc_as_vis3): Likewise.
11473 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11474 LIBC_CONFIG_VAR.
11475 (config-asflags-i686): Likewise.
11476 (config-cflags-avx): Likewise.
11477 (config-cflags-sse2avx): Likewise.
11478 (have-mfma4): Likewise.
11479 (config-cflags-novzeroupper): Likewise.
11480 * sysdeps/mach/configure.in (MIG): Likewise.
11481 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11482 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11483 LIBC_CONFIG_VAR.
11484 (config-cflags-avx): Likewise.
11485 (config-cflags-sse2avx): Likewise.
11486 (have-mfma4): Likewise.
11487 (config-cflags-novzeroupper): Likewise.
11488 * configure: Regenerated.
11489 * sysdeps/i386/configure: Likewise.
11490 * sysdeps/mach/configure: Likewise.
11491 * sysdeps/sparc/configure: Likewise.
11492 * sysdeps/x86_64/configure: Likewise.
11493
912cc4b3
RM
114942013-03-20 Roland McGrath <roland@hack.frob.com>
11495
11496 [BZ #14812]
11497 * locale/programs/localedef.c (options): Put N_ translation marker
11498 on argument names, not just descriptions.
11499
04eed2b0
MS
115002013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11501
11502 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11503
a065ceff
OB
115042013-03-20 Ondřej Bílka <neleai@seznam.cz>
11505
9bb2a810 11506 [BZ #14176]
a065ceff
OB
11507 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11508
a600e5ce
RM
115092013-03-19 Roland McGrath <roland@hack.frob.com>
11510
11511 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11512 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11513 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11514 [!BEFORE_ABORT] (before_abort): New function.
11515 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11516 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11517 (writev_for_fatal): New function.
11518 (WRITEV_FOR_FATAL): New macro; call that.
11519 (backtrace_and_maps): New function.
11520 (BEFORE_ABORT): New macro; call that.
11521 (struct str_list): Type removed.
11522 (__libc_message, __libc_fatal): Functions removed.
11523 Include <sysdeps/posix/libc_fatal.c> instead.
11524
6b18bea6
JM
115252013-03-19 Joseph Myers <joseph@codesourcery.com>
11526
11527 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11528 constants.
11529 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11530 double constants.
11531
aaa8cb4b
AS
115322013-03-19 Andreas Schwab <schwab@suse.de>
11533
44673770
AS
11534 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11535 * sysdeps/gnu/configure: Regenerate.
11536
aaa8cb4b
AS
11537 * configure.in: Substitute libc_cv_rtlddir.
11538 * configure: Regenerate.
11539 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11540 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11541 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11542 * elf/Makefile (install-others, CFLAGS-interp.c)
11543 (ldso_install, common-ldd-rewrite): Likewise.
11544 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11545 $(inst_slibdir)/$(rtld-installed-name).
11546 * scripts/rellns-sh: Add -p option.
11547 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11548 for source.
11549
d3cfc668
SP
115502013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11551
11552 * manual/nptl.texi: Renamed to ...
11553 * manual/threads.texi: ... this.
11554 * manual/Makefile (chapters): Update.
11555
0e2b9cdd
RM
115562013-03-18 Roland McGrath <roland@hack.frob.com>
11557
11558 [BZ #14812]
11559 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11560 on argument names, not just descriptions.
0e2b9cdd
RM
11561 * malloc/memusagestat.c (options): Likewise.
11562 * nss/getent.c (options): Likewise.
63270c24
RM
11563
115642013-03-18 Benno Schulenberg <bensberg@justemail.net>
11565
11566 [BZ #14812]
11567 * iconv/iconv_prog.c (options): Put N_ translation marker
11568 on argument names, not just descriptions.
11569 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11570
b2e1393c
OB
115712013-03-18 Ondrej Bilka <neleai@seznam.cz>
11572
11573 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11574 implementation which is faster on all x86_64 architectures.
11575 Tested on AMD, Intel Nehalem, SNB, IVB.
11576 * sysdeps/x86_64/strnlen.S: Likewise.
11577
11578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11579 Remove all multiarch strlen and strnlen versions.
11580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11581 Remove strlen and strnlen related parts.
11582
11583 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11584 Inline strlen part.
11585 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11586
11587 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11588 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11589 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11590 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11591 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11592 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11593
ec4ff04d
CD
115942013-03-17 Carlos O'Donell <carlos@redhat.com>
11595
11596 * manual/memory.texi (Malloc Tunable Parameters):
11597 Sort parameters alphabetically. Add comments for missing entries.
11598
cd18e90a
DM
115992013-03-17 David S. Miller <davem@davemloft.net>
11600
11601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11602
2a185d32
JM
116032013-03-16 Joseph Myers <joseph@codesourcery.com>
11604
d2f9799e
JM
11605 [BZ #15283]
11606 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11607 for arguments at most half maximum finite value.
11608 * math/libm-test.inc (j0_test): Add more tests.
11609 (j1_test): Likewise.
11610 (y0_test): Likewise.
11611 (y1_test): Likewise.
11612 * sysdeps/i386/fpu/libm-test-ulps: Update.
11613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11614
2a185d32
JM
11615 [BZ #14155]
11616 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11617 1 / x and functions P and Q for arguments above 0x1p256L.
11618 (__ieee754_y0l): Likewise.
11619 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11620 (__ieee754_y1l): Likewise.
11621 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11622 (j1_test): Likewise.
11623 (y0_test): Likewise.
11624 (y1_test): Likewise.
11625
6cbec759
TS
116262013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11627
11628 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11629 variable.
11630
bc16e260
RM
116312013-03-15 Roland McGrath <roland@hack.frob.com>
11632
aefc9b8c
RM
11633 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11634 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11635 zero since it's initialized to EXEC_PAGESIZE.
11636
bc16e260
RM
11637 * sysdeps/unix/sysv/linux/ldsodefs.h
11638 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11639 * sysdeps/generic/ldsodefs.h: ... here.
11640
a57da955
TS
116412013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11642
af00a34d
TS
11643 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11644
495ded2c
TS
11645 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11646 math/test-snan.c.
11647 * math/test-snan.c: Renamed from
11648 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11649 * math/Makefile (tests): Add test-snan.
11650 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11651 test-powerpc-snan.
11652
777b0332
TS
11653 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11654 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11655 functions.
11656 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11657 __builtin_nan family of functions.
11658 * math/libm-test.inc (initialize): Initialize qnan_value with
11659 __builtin_nan family of functions.
11660 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11661 Remove variables.
11662 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11663 Remove functions.
11664 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11665 storage class. Initialize qNaN_var and sNaN_var with
11666 __builtin_nan and __builtin_nans families of functions,
11667 respectively.
11668
64d063b8
TS
11669 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11670 (sqrt_test): Remove duplicate test with qNaN input.
11671 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11672 (round_test, signbit_test, significand_test): Note missing +/-Inf
11673 as well as qNaN tests.
11674
67e971f1
TS
11675 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11676 qNaN_var. Fix a few strings, too.
11677 * math/libm-test.inc (nan_value): Rename to qnan_value.
11678 * math/gen-libm-test.pl (%beautify): Adjust to that.
11679 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11680 * math/test-misc.c (main): Likewise.
11681 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11682 to __qnan_bytes, and __qnan_union, respectively.
11683 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11684 Likewise.
11685 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11686 and lqnanval, respectively.
11687 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11688 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11689 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11690 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11691
64487e12
TS
11692 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11693 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11694 doubles.
11695
e015e27b
TS
11696 * math/test-misc.c (main): Fix copy'n'pastos.
11697 * misc/tst-efgcvt.c (special): Likewise.
11698
a57da955
TS
11699 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11700 Remove declarations.
11701
1e380345
SP
117022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11703
11704 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11705 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11706 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11707 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11708
ef26eece
AZ
117092013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11710
11711 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11712 macro to return vdso values correctly in IFUNC implementations.
11713 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11714 Optimization by using IFUNC.
11715
8cfdb7e0
SP
117162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11717 Richard Henderson <rth@redhat.com>
11718 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11719
11720 * Makefile.in (bench): New target.
11721 * NEWS: Mention the benchmark framework.
11722 * Rules (bench): Likewise.
11723 (binaries-bench): Generate binaries for functions to
11724 benchmark.
11725 * benchtests/Makefile: New makefile for benchmark tests.
11726 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11727 programs.
11728 * benchtests/exp-inputs: New input file for EXP function.
11729 * benchtests/pow-inputs: New input file for POW function.
11730 * scripts/bench.pl: New script to generate source files for
11731 benchmark programs.
11732
bcda9880
SP
117332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11734
d22ca8cd
SP
11735 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11736 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11737 computations on mantissa. Use macros for rounding and
11738 division.
11739 (denorm): Likewise.
11740 (__dbl_mp): Likewise.
11741 (add_magnitudes): Likewise.
11742 (sub_magnitudes): Likewise.
11743 (__mul): Likewise.
11744 (__sqr): Likewise.
11745 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11746 powers of two in terms of TWOPOW macro.
11747 (mp_no): Make type of mantissa as MANTISSA_T.
11748 [!RADIXI]: Define RADIXI.
11749 [!TWO52]: Define TWO52.
11750 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11751
bcda9880
SP
11752 * manual/nptl.texi (cindex): Modify threads to pthreads.
11753
06d5adfb
JM
117542013-03-15 Joseph Myers <joseph@codesourcery.com>
11755
11756 * sysdeps/x86_64/preconfigure: Regenerated.
11757
41c7328e
JM
117582013-03-14 Joseph Myers <joseph@codesourcery.com>
11759
11760 [BZ #14155]
11761 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11762 0x1p28 and above.
11763 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11764 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11765 0x1p28 and above.
11766 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11767 * math/libm-test.inc (j0_test): Do not allow one spurious
11768 underflow exception.
11769 (y1_test): Likewise.
11770
e25cfa60
SP
117712013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11772
0409959c
SP
11773 * manual/Makefile (chapters): Add nptl.
11774 * manual/debug.texi (Debugging Support): Add link to Threads
11775 chapter.
11776 * manual/nptl.texi: New file.
11777
e25cfa60
SP
11778 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11779
58a1335e
PB
117802013-03-14 Petr Baudis <pasky@ucw.cz>
11781
11782 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11783 for non-NULL pointer before the memory validity test. Pointed
11784 out by Holger Brunck <holger.brunck@keymile.com>.
11785
9dc7c64f
AS
117862013-03-13 Andreas Schwab <schwab@suse.de>
11787
11788 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11789 instead of .os.
11790
54206aa6
JM
117912013-03-13 Joseph Myers <joseph@codesourcery.com>
11792
11793 * timezone/zic.c: Update from tzcode 2013b.
11794
e98cdb38
CD
117952013-03-12 Carlos O'Donell <carlos@redhat.com>
11796
11797 * manual/install.texi (Configuring and compiling):
11798 Mention i686 and i586.
11799 * INSTALL: Regenerate.
11800
9967e003
RM
118012013-03-12 Roland McGrath <roland@hack.frob.com>
11802
11803 * sysdeps/init_array/elf-init.c: New file.
11804 * csu/elf-init.c
11805 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11806 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11807
11808 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11809 __gmon_start__ as global, but as static with a .preinit_array pointer.
11810 * sysdeps/init_array/gmon-start.c: New file. Use that.
11811 * sysdeps/init_array/crti.S: New file, empty except for comments.
11812 * sysdeps/init_array/crtn.S: Likewise.
11813
e6b5a293 118142013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11815
11816 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11817 definining bcopy.
80f844c9
OB
11818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11819 Remove Prefer_SSE_for_memop.
11820 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11821 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11822 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11824 memset-x86-64.
80f844c9 11825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11826 Remove bzero, memset ifunc support.
80f844c9
OB
11827 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11828 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11829 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11830 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11831
fb6b0fcb
AS
118322013-03-11 Andreas Schwab <schwab@suse.de>
11833
11834 [BZ #15234]
11835 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11836 by SHLIB_COMPAT.
11837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11838 (GLIBC_2.16): Remove pthread_atfork.
11839
3e6bd4b1
PP
118402013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11841
11842 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11843 (ptestcases.h): Likewise.
11844
222d7f00
RM
118452013-03-08 Roland McGrath <roland@hack.frob.com>
11846
11847 * Makeconfig ($(common-objpfx)config.status): Depend on
11848 sysdeps/*/preconfigure{,.in} too.
11849
1ba4f030
JM
118502013-03-08 Joseph Myers <joseph@codesourcery.com>
11851
a222d91a
JM
11852 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11853 (__free_hook): Use void * instead of __malloc_ptr_t.
11854 (__malloc_hook): Likewise.
11855 (__realloc_hook): Likewise.
11856 (__memalign_hook): Likewise.
11857 (__after_morecore_hook): Likewise.
11858 * malloc/arena.c (save_malloc_hook): Likewise.
11859 (save_free_hook): Likewise.
11860 * malloc/hooks.c (malloc_hook_ini): Likewise.
11861 (realloc_hook_ini): Likewise.
11862 (memalign_hook_ini): Likewise.
11863 * malloc/malloc.c (malloc_hook_ini): Likewise.
11864 (realloc_hook_ini): Likewise.
11865 (memalign_hook_ini): Likewise.
11866 (__free_hook): Likewise.
11867 (__malloc_hook): Likewise.
11868 (__realloc_hook): Likewise.
11869 (__memalign_hook): Likewise.
11870 (__libc_malloc): Likewise.
11871 (__libc_free): Likewise.
11872 (__libc_realloc): Likewise.
11873 (__libc_memalign): Likewise.
11874 (__libc_valloc): Likewise.
11875 (__libc_pvalloc): Likewise.
11876 (__libc_calloc): Likewise.
11877 (__posix_memalign): Likewise.
11878 * malloc/morecore.c (__sbrk): Likewise.
11879 (__default_morecore): Likewise.
11880
5cc45e10
JM
11881 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11882
dd54b864
JM
11883 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11884 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11885 __malloc_ptrdiff_t.
11886
1ba4f030
JM
11887 * malloc/malloc.h (__malloc_size_t): Remove macro.
11888 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11889 __malloc_size_t.
11890 (old_memalign_hook): Likewise.
11891 (old_realloc_hook): Likewise.
11892 (struct hdr): Likewise.
11893 (flood): Likewise.
11894 (mallochook): Likewise.
11895 (memalignhook): Likewise.
11896 (reallochook): Likewise.
11897 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11898 (tr_old_realloc_hook): Likewise.
11899 (tr_old_memalign_hook): Likewise.
11900 (tr_mallochook): Likewise.
11901 (tr_reallochook): Likewise.
11902 (tr_memalignhook): Likewise.
11903
edf66e57
AZ
119042013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11905
11906 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11907 default_ldbl_pack and using as default implementation.
11908 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11909 implementation.
11910 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11911 redundant definition.
11912 (ldbl_insert_mantissa): Likewise.
11913 (ldbl_canonicalize): Likewise.
11914 (ldbl_nearbyint): Likewise.
11915 (ldbl_pack): Rename to ldbl_pack_ppc.
11916 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11917 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11918 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11919
6d9145d8
SP
119202013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11921
11922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11923 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11924 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11925 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11927 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11928 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11929 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11930
4dd4e157
AJ
119312013-03-07 Andreas Jaeger <aj@suse.de>
11932
11933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11934 bits/mman-linux.h.
11935
adbb8027
SP
119362013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11937
ce544b5b
SP
11938 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11939 Include mpa.h and declare __MPEXP.
11940 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11941 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11942 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11943 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11944 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11945 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11946 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11947
4cc149fd
SP
11948 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11949 (__slowpow): Use long double EXPL and LOGL functions to
11950 compute POW.
11951 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11952 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11953 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11954 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11955 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11956 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11957
e6ebd4a7
SP
11958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11959 intermediate variable to calculate exponent.
11960 (__sqr): Likewise.
11961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11962 Likewise.
11963 (__sqr): Likewise.
11964
82a9811d
SP
11965 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11966 [!NO__SQR]: Define __sqr.
11967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11968 and NO__SQR. Remove all code except __mul and __sqr. Include
11969 sysdeps/ieee754/dbl-64/mpa.c.
11970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11971
adbb8027
SP
11972 [BZ #12723]
11973 * posix/Makefile (tests): Add tst-pathconf.
11974 * posix/tst-pathconf.c: New test case.
11975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11976 _PC_PIPE_BUF.
11977 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11978
39120df9
PF
119792013-03-06 Patsy Franklin <pfrankli@redhat.com>
11980
11981 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11982
67525cb8
AJ
119832013-03-06 Andreas Jaeger <aj@suse.de>
11984
664a9ce4
AJ
11985 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11986 definition via __MAP_ANONYMOUS.
11987
8e39047d
AJ
11988 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11989 it's not part of Linux headers.
11990
67525cb8
AJ
11991 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11992 (MAP_HUGE_MASK): Define.
11993
11994 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11995 Define.
11996 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11997 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11998 Define.
11999 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12000 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12001 Define.
12002 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12003 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12004 Define.
12005 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12006
12007 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12008 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12009 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12010 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12011 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12012 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12013
12014 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12015 Handle f2fs.
12016
12017 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12018 Handle f2fs and efivarfs.
12019
12020 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12021 f2fs.
12022
12023 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12024 (EFIVARFS_MAGIC): Add.
12025 (F2FS_LINK_MAX): Add.
12026
e1b42695
PP
120272013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12028
12029 * stdio-common/vfprintf.c: Replace __builtin_expect with
12030 __glibc_unlikely.
12031
2d67d91a
JM
120322013-03-06 Joseph Myers <joseph@codesourcery.com>
12033
12034 [BZ #13550]
12035 * sysdeps/generic/bp-sym.h: Remove file.
12036 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12037 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12038 <bp-sym.h> and <bp-asm.h>.
12039 (__longjmp): Don't use BP_SYM.
12040 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12041 and <bp-asm.h>.
12042 (memcpy): Don't use BP_SYM.
12043 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12044 <bp-sym.h> and <bp-asm.h>.
12045 (memcpy): Don't use BP_SYM.
12046 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12047 <bp-asm.h>.
12048 (memcpy): Don't use BP_SYM.
12049 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12050 <bp-asm.h>.
12051 (memset): Don't use BP_SYM.
12052 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12053 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12054 (__bzero): Don't use BP_SYM.
12055 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12056 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12057 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12058 <bp-sym.h> and <bp-asm.h>.
12059 (memcmp): Don't use BP_SYM. Remove comment about bounded
12060 pointers.
12061 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12062 <bp-sym.h> and <bp-asm.h>.
12063 (memcpy): Don't use BP_SYM.
12064 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12065 <bp-sym.h> and <bp-asm.h>.
12066 (memset): Don't use BP_SYM.
12067 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12068 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12069 (__bzero): Don't use BP_SYM.
12070 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12071 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12072 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12073 <bp-sym.h> and <bp-asm.h>.
12074 (strncmp): Don't use BP_SYM. Remove comment about bounded
12075 pointers.
12076 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12077 <bp-sym.h> and <bp-asm.h>.
12078 (memcpy): Don't use BP_SYM.
12079 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12080 <bp-sym.h> and <bp-asm.h>.
12081 (memset): Don't use BP_SYM.
12082 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12083 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12084 (__bzero): Don't use BP_SYM.
12085 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12086 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12087 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12088 <bp-sym.h> and <bp-asm.h>.
12089 (__memchr): Don't use BP_SYM.
12090 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12091 <bp-sym.h> and <bp-asm.h>.
12092 (memcmp): Don't use BP_SYM. Remove comment about bounded
12093 pointers.
12094 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12095 <bp-sym.h> and <bp-asm.h>.
12096 (memcpy): Don't use BP_SYM.
12097 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12098 <bp-sym.h> and <bp-asm.h>.
12099 (__mempcpy): Don't use BP_SYM.
12100 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12101 <bp-sym.h> and <bp-asm.h>.
12102 (__memrchr): Don't use BP_SYM.
12103 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12104 <bp-sym.h> and <bp-asm.h>.
12105 (memset): Don't use BP_SYM.
12106 (__bzero): Likewise.
12107 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12108 <bp-sym.h> and <bp-asm.h>.
12109 (__rawmemchr): Don't use BP_SYM.
12110 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12111 <bp-sym.h> and <bp-asm.h>.
12112 (__STRCMP): Don't use BP_SYM.
12113 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12114 <bp-sym.h> and <bp-asm.h>.
12115 (strchr): Don't use BP_SYM.
12116 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12117 <bp-sym.h> and <bp-asm.h>.
12118 (__strchrnul): Don't use BP_SYM.
12119 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12120 <bp-sym.h> and <bp-asm.h>.
12121 (strlen): Don't use BP_SYM.
12122 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12123 <bp-sym.h> and <bp-asm.h>.
12124 (strncmp): Don't use BP_SYM. Remove comment about bounded
12125 pointers.
12126 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12127 <bp-sym.h> and <bp-asm.h>.
12128 (__strnlen): Don't use BP_SYM.
12129 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12130 <bp-sym.h> and <bp-asm.h>.
12131 (__GI__setjmp): Don't use BP_SYM.
12132 (_setjmp): Likewise.
12133 (__sigsetjmp): Likewise.
12134 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12135 (L(start_addresses)): Don't use BP_SYM.
12136 (_start): Likewise.
12137 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12138 <bp-asm.h>.
12139 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12140 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12141 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12142 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12143 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12144 <bp-asm.h>.
12145 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12146 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12147 about bounded pointers.
12148 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12149 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12150 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12151 <bp-asm.h>.
12152 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12153 about bounded pointers. Remove GKM FIXME comments.
12154 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12155 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12156 <bp-asm.h>.
12157 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12158 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12159 Remove GKM FIXME comments.
12160 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12161 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12162 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12163 <bp-asm.h>.
12164 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12165 about bounded pointers. Remove GKM FIXME comment.
12166 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12167 and <bp-asm.h>.
12168 (strncmp): Don't use BP_SYM. Remove comment about bounded
12169 pointers.
12170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12171 <bp-sym.h> and <bp-asm.h>.
12172 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12174 <bp-sym.h> and <bp-asm.h>.
12175 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12176 comment.
12177
cdcf361f
PP
121782013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12179
12180 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12181 call free(NULL).
12182
3c4a2b15
DM
121832013-03-05 David S. Miller <davem@davemloft.net>
12184
12185 * po/es.po: Update from translation team.
12186
cdcf361f 121872013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
12188
12189 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12190 <bits/mman-linux.h>.
12191 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12192 is fine.
12193 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12194 <bits/mman-linux.h> to end of file.
12195 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12196 is fine.
12197 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12198 <bits/mman-linux.h> to end of file.
12199 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12200 is fine.
12201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12202 <bits/mman-linux.h> to end of file.
12203
12204 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12205 (MCL_CURRENT, MCL_FUTURE): Define here.
12206
5f67c04f
AK
122072013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12208
8a4473cc 12209 [BZ #15232]
5f67c04f
AK
12210 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12211 attribute_hidden.
12212 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12213
c3e94a95
AK
122142013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12215
12216 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12217 fourth parameter needed for rt_sigprocmask syscall.
12218 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12219 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12220 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12221 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12222 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12223 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12224
cfb6382a
JM
122252013-03-04 Joseph Myers <joseph@codesourcery.com>
12226
12227 [BZ #13550]
12228 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12229 comment about bounded pointers.
12230 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12231 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12232
539d8e01
AJ
122332013-03-04 Andreas Jaeger <aj@suse.de>
12234
12235 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12236 common definitions.
12237
12238 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12239 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12240 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12241 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12242 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12243 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12244
2e167a70 122452013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12246
12247 [BZ #15055]
12248 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12249 __ieee754_sqrl instead of __sqrl.
12250
68508633
JM
122512013-03-01 Joseph Myers <joseph@codesourcery.com>
12252
12253 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12254 * sysdeps/powerpc/fpu_control.h: ... here.
12255 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12256 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12257 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12258 * sysdeps/powerpc/bits/mathinline.h: ... here.
12259
7775448e
RM
122602013-03-01 Roland McGrath <roland@hack.frob.com>
12261
12262 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12263 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12264 to just [NEED_DL_SYSINFO_DSO].
12265 * elf/dl-support.c: Likewise.
12266 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12267 * elf/rtld.c (dl_main): Likewise.
12268 * elf/setup-vdso.h (setup_vdso): Likewise.
12269 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12270 * sysdeps/unix/sysv/linux/dl-sysdep.c
12271 (_dl_discover_osversion): Likewise.
12272
4e9b5995
CD
122732013-03-01 Carlos O'Donell <carlos@redhat.com>
12274
12275 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12276 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12277
e23872c8
SP
122782013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12279
e5c74c63
SP
12280 * NEWS: Mention libm performance improvements and non-x86 PI
12281 futex support.
12282
e23872c8
SP
12283 * csu/libc-start.c (__pthread_initialize_minimal): Change
12284 function arguments.
12285 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12286
b5510883
JM
122872013-02-28 Joseph Myers <joseph@codesourcery.com>
12288
12289 [BZ #13550]
12290 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12291 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12292 <bp-sym.h> and <bp-asm.h>.
12293 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12294 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12295 and <bp-asm.h>.
12296 (memcpy): Don't use BP_SYM.
12297 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12298 <bp-asm.h>.
12299 (__mpn_add_n): Don't use BP_SYM.
12300 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12301 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12302 and <bp-asm.h>.
12303 (__mpn_addmul_1): Don't use BP_SYM.
12304 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12305 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12306 <bp-sym.h>.
12307 (_setjmp): Don't use BP_SYM.
12308 (__novmx_setjmp): Likewise.
12309 (__GI__setjmp): Likewise.
12310 (__vmx_setjmp): Likewise.
12311 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12312 <bp-sym.h>.
12313 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12314 (__bzero): Don't use BP_SYM.
12315 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12316 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12317 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12318 <bp-sym.h> and <bp-asm.h>.
12319 (memcpy): Don't use BP_SYM.
12320 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12321 <bp-sym.h> and <bp-asm.h>.
12322 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12323 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12324 <bp-sym.h> and <bp-asm.h>.
12325 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12326 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12327 <bp-asm.h>.
12328 (__mpn_lshift): Don't use BP_SYM.
12329 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12330 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12331 <bp-asm.h>.
12332 (memset): Don't use BP_SYM.
12333 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12334 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12335 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12336 <bp-asm.h>.
12337 (__mpn_mul_1): Don't use BP_SYM.
12338 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12339 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12340 <bp-sym.h> and <bp-asm.h>.
12341 (memcmp): Don't use BP_SYM.
12342 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12343 <bp-sym.h> and <bp-asm.h>.
12344 (memcpy): Don't use BP_SYM.
12345 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12346 <bp-sym.h> and <bp-asm.h>.
12347 (memset): Don't use BP_SYM.
12348 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12349 <bp-sym.h> and <bp-asm.h>.
12350 (strncmp): Don't use BP_SYM.
12351 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12352 <bp-sym.h> and <bp-asm.h>.
12353 (memcpy): Don't use BP_SYM.
12354 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12355 <bp-sym.h> and <bp-asm.h>.
12356 (memset): Don't use BP_SYM.
12357 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12358 <bp-sym.h> and <bp-asm.h>.
12359 (__memchr): Don't use BP_SYM.
12360 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12361 <bp-sym.h> and <bp-asm.h>.
12362 (memcmp): Don't use BP_SYM.
12363 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12364 <bp-sym.h> and <bp-asm.h>.
12365 (memcpy): Don't use BP_SYM.
12366 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12367 <bp-sym.h> and <bp-asm.h>.
12368 (__mempcpy): Don't use BP_SYM.
12369 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12370 <bp-sym.h> and <bp-asm.h>.
12371 (__memrchr): Don't use BP_SYM.
12372 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12373 <bp-sym.h> and <bp-asm.h>.
12374 (memset): Don't use BP_SYM.
12375 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12376 <bp-sym.h> and <bp-asm.h>.
12377 (__rawmemchr): Don't use BP_SYM.
12378 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12379 <bp-sym.h> and <bp-asm.h>.
12380 (__STRCMP): Don't use BP_SYM.
12381 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12382 <bp-sym.h> and <bp-asm.h>.
12383 (strchr): Don't use BP_SYM.
12384 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12385 <bp-sym.h> and <bp-asm.h>.
12386 (__strchrnul): Don't use BP_SYM.
12387 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12388 <bp-sym.h> and <bp-asm.h>.
12389 (strlen): Don't use BP_SYM.
12390 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12391 <bp-sym.h> and <bp-asm.h>.
12392 (strncmp): Don't use BP_SYM.
12393 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12394 <bp-sym.h> and <bp-asm.h>.
12395 (__strnlen): Don't use BP_SYM.
12396 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12397 <bp-asm.h>.
12398 (__mpn_rshift): Don't use BP_SYM.
12399 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12400 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12401 <bp-sym.h> and <bp-asm.h>.
12402 (__sigsetjmp): Don't use BP_SYM.
12403 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12404 (L(start_addresses)): Don't use BP_SYM.
12405 (_start): Likewise.
12406 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12407 <bp-asm.h>.
12408 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12409 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12410 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12411 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12412 <bp-asm.h>.
12413 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12414 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12415 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12416 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12417 <bp-asm.h>.
12418 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12419 comments.
12420 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12421 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12422 <bp-asm.h>.
12423 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12424 FIXME comments.
12425 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12426 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12427 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12428 <bp-asm.h>.
12429 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12430 comment.
12431 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12432 and <bp-asm.h>.
12433 (strncmp): Don't use BP_SYM,
12434 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12435 <bp-asm.h>.
12436 (__mpn_sub_n): Don't use BP_SYM.
12437 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12438 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12439 and <bp-asm.h>.
12440 (__mpn_submul_1): Don't use BP_SYM.
12441 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12443 <bp-sym.h> and <bp-asm.h>.
12444 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12446 <bp-sym.h> and <bp-asm.h>.
12447 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12448 comment.
12449
8d19fe64
SP
124502013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12451
12452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12453 Use ZK to minimize writes to Z.
12454 (sub_magnitudes): Simplify code a bit.
12455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12456 Use ZK to minimize writes to Z.
12457 (sub_magnitudes): Simplify code a bit.
12458
85bd816a
RM
124592013-02-27 Roland McGrath <roland@hack.frob.com>
12460
12461 * csu/gmon-start.c: Add special exception to license text.
12462
b5977bf2
RH
124632013-02-27 Richard Henderson <rth@redhat.com>
12464
12465 * scripts/config.guess: Update from config.git.
12466 * scripts/config.sub: Likewise.
12467
11d6e2f2
SP
124682013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12469
09c14ed2
SP
12470 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12471
a688864e
SP
12472 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12473
6295157a
SP
12474 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12475
b8de2202
SP
12476 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12477
11d6e2f2
SP
12478 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12479
7e80ddb8
RM
124802013-02-26 Roland McGrath <roland@hack.frob.com>
12481
12482 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12483 [$(build-shared = yes].
7e80ddb8 12484
7da6d9ed
SP
124852013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12486
45f05884
SP
12487 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12488 (__mul): Reduce iterations for calculating mantissa.
12489
2236d359
SP
12490 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12491 MPTWO.
12492 (__mpranred): Likewise.
12493
7da6d9ed
SP
12494 [BZ #15160]
12495 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12496 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12497
b7688c42
PE
124982013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12499
12500 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12501 Define __attribute__.
12502
53a5c423
SP
125032013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12504
12505 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12506 unused.
12507 * posix/regex_internal.h (__attribute): Remove.
12508 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12509 (re_string_context_at): Likewise.
12510 (bitset_not): Use __attribute__ and mark function as possibly
12511 unused.
12512 (bitset_merge): Likewise.
12513 (bitset_mask): Likewise.
12514 (re_string_char_size_at): Likewise.
12515 (re_string_wchar_at): Likewise.
12516 (re_string_elem_size_at): Likewise.
12517
60f5a8b5
SP
125182013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12519
2a983a2e
SP
12520 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12521 code.
12522 (cc32): Likewise.
12523
e69804d1
SP
12524 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12525 (__acr): Likewise.
12526 (__cpy): Likewise.
12527 (norm): Likewise.
12528 (denorm): Likewise.
12529 (__dbl_mp): Likewise.
12530 (add_magnitudes): Likewise.
12531 (sub_magnitudes): Likewise.
12532 (__mul): Likewise.
12533 (__inv): Likewise.
12534
2f22a1e8
SP
12535 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12536 style.
12537
8930ddc7
SP
12538 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12539 style.
12540
dc60cb11
SP
12541 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12542 code.
12543
60f5a8b5
SP
12544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12545 up changes with default code.
12546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12547 Likewise.
12548
b4d1fd33
AM
125492013-02-24 Allan McRae <allan@archlinux.org>
12550
faf6f8bc
AM
12551 * manual/socket.texi (The Internet Namespace): Order menu items
12552 to match that in the file.
12553
b4d1fd33
AM
12554 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12555 node listing of the info page menu.
12556
2366713d
JM
125572013-02-21 Joseph Myers <joseph@codesourcery.com>
12558
12559 [BZ #13550]
12560 * sysdeps/i386/bp-asm.h: Remove file.
12561 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12562 (PARMS): Do not use macros from bp-asm.h.
12563 (S1): Likewise.
12564 (S2): Likewise.
12565 (SIZE): Likewise.
12566 (__mpn_add_n): Do not use BP_SYM
12567 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12568 "bp-asm.h".
12569 (PARMS): Do not use macros from bp-asm.h.
12570 (S1): Likewise.
12571 (SIZE): Likewise.
12572 (__mpn_addmul_1): Do not use BP_SYM
12573 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12574 "bp-asm.h".
12575 (PARMS): Do not use macros from bp-asm.h.
12576 (SIGMSK): Likewise.
12577 (_setjmp): Likewise. Do not use BP_SYM.
12578 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12579 "bp-asm.h".
12580 (PARMS): Do not use macros from bp-asm.h.
12581 (SIGMSK): Likewise.
12582 (setjmp): Likewise. Do not use BP_SYM.
12583 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12584 "bp-asm.h".
12585 (PARMS): Do not use macros from bp-asm.h.
12586 (__frexp): Do not use BP_SYM.
12587 (frexp): Likewise.
12588 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12589 "bp-asm.h".
12590 (PARMS): Do not use macros from bp-asm.h.
12591 (__frexpf): Do not use BP_SYM.
12592 (frexpf): Likewise.
12593 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12594 "bp-asm.h".
12595 (PARMS): Do not use macros from bp-asm.h.
12596 (__frexpl): Do not use BP_SYM.
12597 (frexpl): Likewise.
12598 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12599 "bp-asm.h".
12600 (PARMS): Do not use macros from bp-asm.h.
12601 (__remquo): Do not use BP_SYM.
12602 (remquo): Likewise.
12603 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12604 "bp-asm.h".
12605 (PARMS): Do not use macros from bp-asm.h.
12606 (__remquof): Do not use BP_SYM.
12607 (remquof): Likewise.
12608 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12609 "bp-asm.h".
12610 (PARMS): Do not use macros from bp-asm.h.
12611 (__remquol): Do not use BP_SYM.
12612 (remquol): Likewise.
12613 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12614 "bp-asm.h".
12615 (PARMS): Do not use macros from bp-asm.h.
12616 (DEST): Likewise.
12617 (SRC): Likewise.
12618 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12619 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12620 "bp-asm.h".
12621 (PARMS): Do not use macros from bp-asm.h.
12622 (strlen): Do not use BP_SYM.
12623 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12624 "bp-asm.h".
12625 (PARMS): Do not use macros from bp-asm.h.
12626 (S1): Likewise.
12627 (S2): Likewise.
12628 (SIZE): Likewise.
12629 (__mpn_add_n): Do not use BP_SYM.
12630 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12631 "bp-asm.h".
12632 (PARMS): Do not use macros from bp-asm.h.
12633 (S1): Likewise.
12634 (SIZE): Likewise.
12635 (__mpn_addmul_1): Do not use BP_SYM.
12636 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12637 weak_alias.
12638 (bzero): Likewise.
12639 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12640 "bp-asm.h".
12641 (PARMS): Do not use macros from bp-asm.h.
12642 (S): Likewise.
12643 (SIZE): Likewise.
12644 (__mpn_lshift): Do not use BP_SYM.
12645 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12646 "bp-asm.h".
12647 (PARMS): Do not use macros from bp-asm.h.
12648 (DEST): Likewise.
12649 (SRC): Likewise.
12650 (LEN): Likewise.
12651 (memcpy): Likewise. Do not use BP_SYM.
12652 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12653 libc_hidden_def and weak_alias.
12654 (mempcpy): Do not use BP_SYM in weak_alias.
12655 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12656 "bp-asm.h".
12657 (PARMS): Do not use macros from bp-asm.h.
12658 (DEST): Likewise.
12659 (LEN): Likewise.
12660 [!BZERO_P] (CHR): Likewise.
12661 (memset): Likewise. Do not use BP_SYM.
12662 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12663 "bp-asm.h".
12664 (PARMS): Do not use macros from bp-asm.h.
12665 (S1): Likewise.
12666 (SIZE): Likewise.
12667 (__mpn_mul_1): Do not use BP_SYM.
12668 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12669 "bp-asm.h".
12670 (PARMS): Do not use macros from bp-asm.h.
12671 (S): Likewise.
12672 (SIZE): Likewise.
12673 (__mpn_rshift): Do not use BP_SYM.
12674 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12675 "bp-asm.h".
12676 (PARMS): Do not use macros from bp-asm.h.
12677 (STR): Likewise.
12678 (CHR): Likewise.
12679 (strchr): Likewise. Do not use BP_SYM.
12680 (index): Do not use BP_SYM in weak_alias.
12681 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12682 "bp-asm.h".
12683 (PARMS): Do not use macros from bp-asm.h.
12684 (DEST): Likewise.
12685 (SRC): Likewise.
12686 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12687 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12688 "bp-asm.h".
12689 (PARMS): Do not use macros from bp-asm.h.
12690 (strlen): Do not use BP_SYM.
12691 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12692 "bp-asm.h".
12693 (PARMS): Do not use macros from bp-asm.h.
12694 (S1): Likewise.
12695 (S2): Likewise.
12696 (SIZE): Likewise.
12697 (__mpn_sub_n): Do not use BP_SYM.
12698 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12699 "bp-asm.h".
12700 (PARMS): Do not use macros from bp-asm.h.
12701 (S1): Likewise.
12702 (SIZE): Likewise.
12703 (__mpn_submul_1): Do not use BP_SYM.
12704 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12705 "bp-asm.h".
12706 (PARMS): Do not use macros from bp-asm.h.
12707 (S1): Likewise.
12708 (S2): Likewise.
12709 (SIZE): Likewise.
12710 (__mpn_add_n): Do not use BP_SYM.
12711 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12712 weak_alias.
12713 (bzero): Likewise.
12714 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12715 "bp-asm.h".
12716 (PARMS): Do not use macros from bp-asm.h.
12717 (BLK2): Likewise.
12718 (LEN): Likewise.
12719 (memcmp): Do not use BP_SYM.
12720 (bcmp): Do not use BP_SYM in weak_alias.
12721 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12722 "bp-asm.h".
12723 (PARMS): Do not use macros from bp-asm.h.
12724 (DEST): Likewise.
12725 (SRC): Likewise.
12726 (LEN): Likewise.
12727 (memcpy): Likewise. Do not use BP_SYM.
12728 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12729 "bp-asm.h".
12730 (PARMS): Do not use macros from bp-asm.h.
12731 (DEST): Likewise.
12732 (SRC): Likewise.
12733 (LEN): Likewise.
12734 (memmove): Likewise. Do not use BP_SYM.
12735 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12736 "bp-asm.h".
12737 (PARMS): Do not use macros from bp-asm.h.
12738 (DEST): Likewise.
12739 (SRC): Likewise.
12740 (LEN): Likewise.
12741 (__mempcpy): Likewise. Do not use BP_SYM.
12742 (mempcpy): Do not use BP_SYM in weak_alias.
12743 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12744 "bp-asm.h".
12745 (PARMS): Do not use macros from bp-asm.h.
12746 (DEST): Likewise.
12747 (LEN): Likewise.
12748 [!BZERO_P] (CHR): Likewise.
12749 (memset): Likewise. Do not use BP_SYM.
12750 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12751 "bp-asm.h".
12752 (PARMS): Do not use macros from bp-asm.h.
12753 (STR2): Likewise.
12754 (strcmp): Do not use BP_SYM.
12755 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12756 "bp-asm.h".
12757 (PARMS): Do not use macros from bp-asm.h.
12758 (STR): Likewise.
12759 (DELIM): Likewise.
12760 [USE_AS_STRTOK_R] (SAVE): Likewise.
12761 (FUNCTION): Likewise. Do not use BP_SYM.
12762 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12763 aliases.
12764 (strtok_r): Likewise.
12765 (__GI___strtok_r): Likewise.
12766 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12767 (PARMS): Do not use macros from bp-asm.h.
12768 (S): Likewise.
12769 (SIZE): Likewise.
12770 (__mpn_lshift): Do not use BP_SYM.
12771 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12772 (PARMS): Do not use macros from bp-asm.h.
12773 (STR): Likewise.
12774 (CHR): Likewise.
12775 (__memchr): Do not use BP_SYM.
12776 (memchr): Do not use BP_SYM in weak_alias.
12777 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12778 (PARMS): Do not use macros from bp-asm.h.
12779 (BLK2): Likewise.
12780 (LEN): Likewise.
12781 (memcmp): Do not use BP_SYM.
12782 (bcmp): Do not use BP_SYM in weak_alias.
12783 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12784 (PARMS): Do not use macros from bp-asm.h.
12785 (S1): Likewise.
12786 (SIZE): Likewise.
12787 (__mpn_mul_1): Do not use BP_SYM.
12788 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12789 "bp-asm.h".
12790 (PARMS): Do not use macros from bp-asm.h.
12791 (STR): Likewise.
12792 (CHR): Likewise.
12793 (__rawmemchr): Do not use BP_SYM.
12794 (rawmemchr): Do not use BP_SYM in weak_alias.
12795 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12796 (PARMS): Do not use macros from bp-asm.h.
12797 (S): Likewise.
12798 (SIZE): Likewise.
12799 (__mpn_rshift): Do not use BP_SYM.
12800 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12801 (PARMS): Do not use macros from bp-asm.h.
12802 (SIGMSK): Likewise.
12803 (__sigsetjmp): Likewise. Do not use BP_SYM.
12804 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12805 (_start): Do not use BP_SYM.
12806 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12807 (PARMS): Do not use macros from bp-asm.h.
12808 (DEST): Likewise.
12809 (SRC): Likewise.
12810 (__stpcpy): Likewise. Do not use BP_SYM.
12811 (stpcpy): Do not use BP_SYM in weak_alias.
12812 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12813 "bp-asm.h".
12814 (PARMS): Do not use macros from bp-asm.h.
12815 (DEST): Likewise.
12816 (SRC): Likewise.
12817 (LEN): Likewise.
12818 (__stpncpy): Likewise. Do not use BP_SYM.
12819 (stpncpy): Do not use BP_SYM in weak_alias.
12820 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12821 (PARMS): Do not use macros from bp-asm.h.
12822 (STR): Likewise.
12823 (CHR): Likewise.
12824 (strchr): Likewise. Do not use BP_SYM.
12825 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12826 "bp-asm.h".
12827 (PARMS): Do not use macros from bp-asm.h.
12828 (STR): Likewise.
12829 (CHR): Likewise.
12830 (__strchrnul): Likewise. Do not use BP_SYM.
12831 (strchrnul): Do not use BP_SYM in weak_alias.
12832 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12833 "bp-asm.h".
12834 (PARMS): Do not use macros from bp-asm.h.
12835 (STOP): Likewise.
12836 (strcspn): Do not use BP_SYM.
12837 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12838 "bp-asm.h".
12839 (PARMS): Do not use macros from bp-asm.h.
12840 (STR): Likewise.
12841 (STOP): Likewise.
12842 (strpbrk): Likewise. Do not use BP_SYM.
12843 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12844 "bp-asm.h".
12845 (PARMS): Do not use macros from bp-asm.h.
12846 (STR): Likewise.
12847 (CHR): Likewise.
12848 (strrchr): Likewise. Do not use BP_SYM.
12849 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12850 (PARMS): Do not use macros from bp-asm.h.
12851 (SKIP): Likewise.
12852 (strspn): Do not use BP_SYM.
12853 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12854 (PARMS): Do not use macros from bp-asm.h.
12855 (STR): Likewise.
12856 (DELIM): Likewise.
12857 (SAVE): Likewise.
12858 (FUNCTION): Likewise. Do not use BP_SYM.
12859 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12860 aliases.
12861 (strtok_r): Likewise.
12862 (__GI___strtok_r): Likewise.
12863 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12864 (PARMS): Do not use macros from bp-asm.h.
12865 (S1): Likewise.
12866 (S2): Likewise.
12867 (SIZE): Likewise.
12868 (__mpn_sub_n): Do not use BP_SYM.
12869 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12870 "bp-asm.h".
12871 (PARMS): Do not use macros from bp-asm.h.
12872 (S1): Likewise.
12873 (SIZE): Likewise.
12874 (__mpn_submul_1): Do not use BP_SYM.
12875 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12876 <bp-sym.h>.
12877 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12878 and <bp-asm.h>.
12879 (PARMS): Do not use macros from bp-asm.h.
12880 (FLAGS): Likewise.
12881 (PTID): Likewise.
12882 (TLS): Likewise.
12883 (CTID): Likewise.
12884 (__clone): Do not use BP_SYM.
12885 (clone): Do not use BP_SYM in weak_alias.
12886 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12887 and <bp-asm.h>.
12888 (PARMS): Do not use macros from bp-asm.h.
12889 (LEN): Likewise.
12890 (__mmap64): Do not use BP_SYM.
12891 (mmap64): Do not use BP_SYM in weak_alias.
12892 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12893 <bp-sym.h> and <bp-asm.h>.
12894 (PARMS): Do not use macros from bp-asm.h.
12895 (__posix_fadvise64_l64): Do not use BP_SYM.
12896 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12897 (PARMS): Do not use macros from bp-asm.h.
12898 (NSOPS): Likewise.
12899 (semtimedop): Do not use BP_SYM.
12900 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12901 and <bp-asm.h>.
12902
582a3cff
AM
129032013-02-21 Allan McRae <allan@archlinux.org>
12904
12905 * manual/message.texi (Charset conversion in gettext):
12906 Move @end statement to beginning of line.
12907
bab8a695
SP
129082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12909
80945231
SP
12910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12911 static.
12912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12913 Likewise.
12914
bab8a695
SP
12915 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12916 (denorm): Likewise.
12917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12919
e21d7aa7
AK
129202013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12921
12922 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12923 tail-call to the resolved function if pltexit isn't needed.
12924
4c7a4263
SP
129252013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12926
12927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12928 or Y being zero as being unlikely.
12929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12930 Likewise.
12931
41f49342
CD
129322013-02-20 Carlos O'Donell <carlos@redhat.com>
12933
12934 * manual/nss.texi (System Databases and Name Service Switch):
12935 Remove frobnicate @pxref.
12936
50022a93
TS
129372013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12938
12939 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12940 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12941
08cbd996
PM
129422013-02-20 Petr Machata <pmachata@redhat.com>
12943
12944 * elf/elf.h (R_ARM_TARGET1): New macro.
12945 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12946 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12947 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12948 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12949 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12950 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12951 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12952 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12953 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12954 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12955 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12956 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12957 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12958 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12959 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12960 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12961 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12962 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12963 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12964 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12965 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12966 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12967 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12968 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12969 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12970 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12971 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12972 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12973 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12974 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12975 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12976 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12977 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12978 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12979 (R_ARM_THM_GOT_BREL12): Likewise.
12980 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12981 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12982 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12983 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12984 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12985 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12986 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12987 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12988 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12989
c7b275d6
TS
129902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12991
12992 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12993 __attribute_used__ to __attribute__ ((unused)).
12994
20cd7fb3
SP
129952013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12996
12997 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12998 powerpc mpa.c.
12999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13000 comment formatting.
13001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13002
92945b52
JM
130032013-02-19 Joseph Myers <joseph@codesourcery.com>
13004
13005 [BZ #13550]
13006 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13007 Remove macro.
13008 (ENTER): Remove both macro definitions.
13009 (LEAVE): Likewise.
13010 (CHECK_BOUNDS_LOW): Likewise.
13011 (CHECK_BOUNDS_HIGH): Likewise.
13012 (CHECK_BOUNDS_BOTH): Likewise.
13013 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13014 (RETURN_BOUNDED_POINTER): Likewise.
13015 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13016 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13017 (POP_ERRNO_LOCATION_RETURN): Likewise.
13018 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13019 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13020 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13021 macros.
13022 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13023 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13024 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13025 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13026 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13027 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13028 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13029 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13030 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13031 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13032 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13033 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13034 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13035 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13036 removed macros.
13037 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13038 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13039 macros.
13040 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13041 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13042 * sysdeps/i386/i586/memset.S (memset): Likewise.
13043 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13044 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13045 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13046 macros.
13047 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13048 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13049 Change uses of L(2) to L(out).
13050 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13051 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13052 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13053 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13054 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13055 removed macros.
13056 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13057 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13058 macros.
13059 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13060 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13061 (RETURN): Do not use macro LEAVE.
13062 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13063 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13064 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13065 * sysdeps/i386/i686/memset.S (memset): Likewise.
13066 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13067 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13068 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13069 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13070 Likewise.
13071 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13072 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13073 L(1_2) and L(1_3) into L(1).
13074 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13075 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13076 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13077 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13078 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13079 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13080 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13081 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13082 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13083 macros.
13084 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13085 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13086 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13087 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13088 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13089 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13090 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13091 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13092 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13093 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13094 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13095 * sysdeps/i386/strspn.S (strspn): Likewise.
13096 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13097 conditional code.
13098 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13099 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13100 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13101 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13102 L(1_3) into L(1_1).
13103 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13104 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13105 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13106 macros.
13107 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13108
2389741a
JJ
131092013-02-19 Jakub Jelinek <jakub@redhat.com>
13110
13111 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13112 macro.
13113
2016b3cd
SP
131142013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13115
e4f22324
SP
13116 * math/atest-exp.c (exp_mpn): Remove ROUND.
13117 * math/atest-exp2.c (exp_mpn): Likewise.
13118 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13119
2016b3cd
SP
13120 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13121 * stdlib/tst-tls-atexit-lib.c: Likewise.
13122 * stdlib/tst-tls-atexit.c: Likewise.
13123
4be9b544
MF
131242013-02-18 Mike Frysinger <vapier@gentoo.org>
13125
13126 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13127 and __attribute_alloc_size__.
13128
2f62b9ee
MF
131292013-02-18 Mike Frysinger <vapier@gentoo.org>
13130
13131 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13132 __attribute_alloc_size__.
13133 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13134 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13135
6ff444c4
MF
131362013-02-18 Mike Frysinger <vapier@gentoo.org>
13137
13138 * include/programs/xmalloc.h: New file.
13139 * catgets/gencat.c: Include it.
13140 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13141 * elf/pldd.c: Likewise.
13142 * iconv/iconv_charmap.c: Likewise.
13143 * iconv/iconvconfig.c: Likewise.
13144 * iconv/strtab.c: Likewise.
13145 * locale/programs/locale.c: Likewise.
13146 * locale/programs/localedef.h: Likewise.
13147 * locale/programs/simple-hash.c: Likewise.
13148 * nscd/nscd.h: Likewise.
13149 * nss/makedb.c: Likewise.
13150 * sysdeps/generic/ldconfig.h: Likewise.
13151
be179c8a
SP
131522013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13153
ba384f6e
SP
13154 * Versions.def: Add GLIBC_2.18.
13155 * include/link.h (struct link_map): New member l_tls_dtor_count.
13156 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13157 (__call_tls_dtors): Likewise.
13158 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13159 __cxa_thread_atexit_impl.
13160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13161 Likewise.
13162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13163 Likewise.
13164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13165 Likewise.
13166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13167 Likewise.
13168 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13170 Likewise.
13171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13172 Likewise.
13173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13175 Likewise.
13176 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13177 (tests): Add test case tst-tls-atexit.
13178 (modules-names): Add shared library for tst-tls-atexit.
85891aca 13179 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
13180 (GLIBC_PRIVATE): Add __call_tls_dtors.
13181 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13182 for libstdc++.
13183 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13184 * stdlib/tst-tls-atexit.c: New test case.
13185 * stdlib/tst-tls-atexit-lib.c: New test case.
13186
ffaa74cf 13187 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 13188
be179c8a
SP
13189 * elf/Versions (ld): Add _dl_find_dso_for_object.
13190 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13191 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13192 (dl_open_worker): Use _dl_find_dso_for_object.
13193 * elf/dl-sym.c (do_sym): Likewise.
13194 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13195
f78b5caa
AK
131962013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13197
13198 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13199 Syntactic changes only.
13200 (_dl_runtime_profile): Do a tail-call to the resolved function.
13201
29691210
JM
132022013-02-17 Joseph Myers <joseph@codesourcery.com>
13203
13204 [BZ #13550]
13205 * sysdeps/x86_64/bp-asm.h: Remove file.
13206 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13207 <bp-sym.h> and <bp-asm.h>.
13208 (__clone): Do not use BP_SYM.
13209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13210 <bp-sym.h> and <bp-asm.h>.
13211 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13212 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13213 "bp-asm.h".
13214 (_setjmp): Do not use BP_SYM.
13215 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13216 "bp-asm.h".
13217 (setjmp): Do not use BP_SYM.
13218 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13219 libc_hidden_def.
13220 (mempcpy): Do not use BP_SYM in weak_alias.
13221 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13222 "bp-asm.h".
13223 (strchr): Do not use BP_SYM.
13224 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13225 "bp-asm.h".
13226 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13227 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13228 (_start): Do not use BP_SYM.
13229 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13230 "bp-asm.h".
13231 (strcat): Do not use BP_SYM.
13232 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13233 "bp-asm.h".
13234 (STRCMP): Do not use BP_SYM.
13235 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13236 "bp-asm.h".
13237 (STRCPY): Do not use BP_SYM.
13238 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13239 "bp-asm.h".
13240 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13241 "bp-asm.h".
13242 (FUNCTION): Do not use BP_SYM.
13243 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13244 weak_alias.
13245 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13246
f238fd19
AJ
132472013-02-17 Andreas Jaeger <aj@suse.de>
13248
13249 * time/Versions: Sort entries.
13250 * string/Versions: Likewise.
13251 * resolv/Versions: Likewise.
13252 * posix/Versions: Likewise.
13253 * iconv/Versions: Likewise.
13254 * elf/Versions: Likewise.
13255 * wcsmbs/Versions: Likewise.
13256
bd07f23c 132572013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13258
22af19f9
SP
13259 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13260 loop termination condition.
13261
4709fe76
SP
13262 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13263 variable to calculate EZ.
13264 (__sqr): Likewise.
2d0e0f29
SP
13265
13266 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13267 the lower precision input.
13268
daaa7713
JM
132692013-02-15 Joseph Myers <joseph@codesourcery.com>
13270
13271 [BZ #13550]
13272 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13273 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13274 (run-via-rtld-prefix): Do not handle %-bp tests.
13275 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13276 (all-object-suffixes): Remove .ob.
13277 (bppfx): Remove variable.
13278 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13279 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13280 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13281 [$(build-bounded) = yes] (libtype.ob): Likewise.
13282 * Makerules (elide-routines.ob): Remove variable.
13283 (do-tests-clean): Do not handle *-bp.out.
13284 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13285 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13286 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13287 (tests): Do not include $(tests-bp.out).
13288 (xtests): Do not include $(xtests-bp.out).
13289 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13290 [$(build-bounded) = yes] ($(addprefix
13291 $(objpfx),$(binaries-bounded))): Remove rule.
13292 ($(objpfx)%-bp.out): Remove rule.
13293 * config.make.in (build-bounded): Remove variable.
13294 * crypt/Makefile [$(build-bounded) = yes]
13295 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13296 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13297 append to variable.
13298 [$(build-bounded) = yes] (install-lib): Likewise.
13299 [$(build-bounded) = yes] (generated): Likewise.
13300 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13301 Remove rule.
13302 * intl/Makefile [$(build-bounded) = yes]
13303 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13304 * math/Makefile [$(build-bounded) = yes]
13305 ($(tests:%=$(objpfx)%-bp): Likewise.
13306 * misc/Makefile [$(build-bounded) = yes]
13307 ($(objpfx)tst-tsearch-bp): Likewise.
13308 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13309 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13310 Remove dependency.
13311 * string/Makefile (o-objects.ob): Remove variable.
13312 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13313 (CFLAGS-.ob): Remove variable.
13314 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13315 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13316 both definitions of variable.
13317 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13318 (ASFLAGS-.ob): Remove variable.
13319
e97ed6dd
JM
133202013-02-14 Joseph Myers <joseph@codesourcery.com>
13321
2bdd4ca6
JM
13322 [BZ #13550]
13323 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13324 Remove __BOUNDED_POINTERS__ from condition.
13325 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13326 * string/bits/string2.h [!__NO_STRING_INLINES &&
13327 !__BOUNDED_POINTERS__]: Likewise.
13328 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13329 Likewise.
13330 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13331 Remove conditional code.
13332 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13333 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13334 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13335 condition.
13336
e97ed6dd
JM
13337 [BZ #13550]
13338 * csu/libc-start.c: Do not include <bp-sym.h>.
13339 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13340 * elf/dl-open.c: Do not include <bp-sym.h>.
13341 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13342 * math/fegetenv.c: Do not include <bp-sym.h>.
13343 (fegetenv): Do not use BP_SYM in versioned symbols.
13344 * nptl/sysdeps/pthread/bits/libc-lockP.h
13345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13346 <bp-sym.h>.
13347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13348 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13350 (__pthread_mutex_destroy): Likewise.
13351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13352 (__pthread_mutex_lock): Likewise.
13353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13354 (__pthread_mutex_trylock): Likewise.
13355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13356 (__pthread_mutex_unlock): Likewise.
13357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13358 (__pthread_mutexattr_init): Likewise.
13359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13360 (__pthread_mutexattr_destroy): Likewise.
13361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13362 (__pthread_mutexattr_settype): Likewise.
13363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13364 (__pthread_rwlock_init): Likewise.
13365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13366 (__pthread_rwlock_destroy): Likewise.
13367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13368 (__pthread_rwlock_rdlock): Likewise.
13369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13370 (__pthread_rwlock_tryrdlock): Likewise.
13371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13372 (__pthread_rwlock_wrlock): Likewise.
13373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13374 (__pthread_rwlock_trywrlock): Likewise.
13375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13376 (__pthread_rwlock_unlock): Likewise.
13377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13378 (__pthread_key_create): Likewise.
13379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13380 (__pthread_setspecific): Likewise.
13381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13382 (__pthread_getspecific): Likewise.
13383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13384 Likewise.
13385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13386 (_pthread_cleanup_push_defer): Likewise.
13387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13388 (_pthread_cleanup_pop_restore): Likewise.
13389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13390 (pthread_setcancelstate): Likewise.
13391 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13392 <bp-sym.h>.
13393 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13394 (memchr): Do not use BP_SYM in weak_alias.
13395 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13396 (fegetenv): Do not use BP_SYM in versioned symbols.
13397 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13398 (fesetenv): Do not use BP_SYM in versioned symbols.
13399 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13400 (feupdateenv): Do not use BP_SYM in versioned symbols.
13401 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13402 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13403 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13404 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13405 (open64): Do not use BP_SYM in weak_alias.
13406 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13407 (fegetenv): Do not use BP_SYM in versioned symbols.
13408 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13409 (fesetenv): Do not use BP_SYM in versioned symbols.
13410 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13411 (feupdateenv): Do not use BP_SYM in versioned symbols.
13412 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13413 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13414 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13415 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13416 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13417 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13418 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13419 <bp-sym.h>.
13420 (__libc_start_main): Do not use BP_SYM.
13421
d6752ccd
SP
134222013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13423
cb57ce60
SP
13424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13425 redundant return line.
13426 (norm): Likewise.
13427 (denorm): Likewise.
13428 (dbl_mp): Likewise.
13429 (sub_magnitudes): Likewise.
13430 (__add): Likewise.
13431 (__sub): Likewise.
13432 (__mul): Likewise.
13433 (__inv): Likewise.
13434 (__dvd): Likewise.
13435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13436 (norm): Likewise.
13437 (denorm): Likewise.
13438 (dbl_mp): Likewise.
13439 (sub_magnitudes): Likewise.
13440 (__add): Likewise.
13441 (__sub): Likewise.
13442 (__mul): Likewise.
13443 (__inv): Likewise.
13444 (__dvd): Likewise.
13445
f414520d
SP
13446 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13447 instead of __mul.
13448 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13449 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13450 (cc32): Likewise.
13451
d6752ccd
SP
13452 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13453 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13454 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13455 of __mul for squares.
13456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13457 function
13458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13459 Likewise.
13460 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13461 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13462
70d9946a
JM
134632013-02-13 Joseph Myers <joseph@codesourcery.com>
13464
13465 [BZ #13550]
13466 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13467 code.
13468 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13469 prototype or function definition. Rename ubp_* variables and
13470 parameters. Remove argv definitions conditional on
13471 [__BOUNDED_POINTERS__].
13472 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13473 * elf/dl-runtime.c (_dl_fixup): Likewise.
13474 * include/set-hooks.h (RUN_HOOK): Likewise.
13475 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13476 definition.
13477 * string/strcpy.c (strcpy): Do not use __unbounded.
13478 * sysdeps/generic/frame.h (struct layout): Likewise.
13479 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13480 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13481 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13482 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13483 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13484 (__backtrace): Likewise.
13485 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13486 use __ptrvalue.
13487 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13488 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13489 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13490 Likewise.
13491 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13492 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13493 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13494 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13495 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13496 Do not use __unbounded.
13497 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13498 Rename __unboundedrlimits parameter to rlimits in prototype.
13499 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13500 Do not use __unbounded.
13501 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13502 not use __ptrvalue.
13503 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13504 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13505 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13506 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13507 __ptrvalue or __unbounded.
13508 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13509 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13510 use __unbounded.
13511 (__new_msgctl): Do not use __ptrvalue.
13512 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13513 __unbounded.
13514 (__libc_msgrcv): Do not use __ptrvalue.
13515 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13516 startup_info): Do not use __unbounded.
13517 (__libc_start_main): Likewise. Rename ubp_* variables and
13518 parameters. Remove argv definitions conditional on
13519 [__BOUNDED_POINTERS__].
13520 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13521 __ptrvalue.
13522 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13523 use __unbounded.
13524 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13525 or __ptrvalue.
13526 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13527 use __unbounded.
13528 (__new_shmctl): Do not use __ptrvalue.
13529 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13530 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13531 Likewise.
13532 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13533 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13534 (__libc_sigaction): Likewise.
13535 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13536 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13537 Likewise.
13538 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13539
cc7834d6
OB
135402013-02-13 Ondřej Bílka <neleai@seznam.cz>
13541
ffb1ec7b 13542 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13543
13544 * string/mempcpy.c: Implement by calling memcpy.
13545
bdf02814
SP
135462013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13547
c2af38aa
SP
13548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13549
4e92d59e
SP
13550 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13551 evaluation.
13552
909279a5
SP
13553 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13554 values in the mantissa.
13555
bdf02814
SP
13556 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13557 minimize writes to Z.
13558 (sub_magnitudes): Simplify code a bit.
13559
cd525923
RM
135602013-02-12 Roland McGrath <roland@hack.frob.com>
13561
13562 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13563 from the message. The linker prefixes all warnings with that already.
13564
7e2f0d2d
AS
135652013-02-12 Andreas Schwab <schwab@suse.de>
13566
a445af0b
AS
13567 [BZ #15078]
13568 * posix/regexec.c (extend_buffers): Add parameter min_len.
13569 (check_matching): Pass minimum needed length.
13570 (clean_state_log_if_needed): Likewise.
13571 (get_subexp): Likewise.
13572 * posix/Makefile (tests): Add bug-regex34.
13573 (bug-regex34-ENV): Define.
13574 * posix/bug-regex34.c: New file.
13575
7e2f0d2d
AS
13576 [BZ #11561]
13577 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13578 elements compare against the byte sequence of it, not its name.
13579 * posix/Makefile (tests): Add bug-regex35.
13580 (bug-regex35-ENV): Define.
13581 * posix/bug-regex35.c: New file.
13582
a175b684
TV
135832013-02-11 Tom de Vries <tom@codesourcery.com>
13584
13585 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13586 comment.
13587 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13588 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13589 (CHECK_EOL): Add undef.
13590
310998fe 135912013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13592
13593 * bits/stdlib-bsearch.h: New file.
13594 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13595 * stdlib/stdlib.h: Likewise.
41eda41d 13596
8ded91fb
RM
135972013-02-11 Roland McGrath <roland@hack.frob.com>
13598
13599 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13600 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13601 declaration.
13602 * manual/search.texi (Array Search Function): Add missing const in
13603 lfind prototype.
13604 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13605 declaration to use rlim_t.
13606 (Basic Scheduling Functions): Remove erroneous const from
13607 sched_getparam prototype. Remove erroneous * from
13608 sched_get_priority_max and sched_get_priority_min prototypes.
13609 (Resource Usage): Fix summary @comment on vtimes to refer to
13610 sys/vtimes.h rather than vtimes.h.
13611 Add missing *s in vtimes prototype.
13612 (Limits on Resources): Fix ulimit prototype to return long int.
13613 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13614 prototypes to use long int rather than double.
13615 (BSD Random): Fix initstate and setstate to use char *, not void *.
13616 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13617 prototype to make second argument 'struct aiocb64 *const[]'.
13618 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13619 (Status of AIO Operations): Remove erroneous const in aio_return and
13620 aio_return64 prototypes.
13621 (Synchronizing I/O): Fix sync prototype to return void.
13622 * manual/startup.texi (Suboptions): Remove an erroneous const in
13623 getsubopt prototype.
13624 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13625 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13626 use size_t rather than int.
13627 (Scanning All Users): Likewise for getpwent_r.
13628 (Setting Groups): Add missing const to setgroups prototype.
13629 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13630 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13631 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13632 'const void *' rather than 'const char *'.
13633 (Host Address Functions): Likewise for inet_ntop.
13634 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13635 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13636 ssize_t for return value.
13637 (Sending Data): Likewise for send, sendto, sendmsg.
13638 (Socket Option Functions): Add a missing const in setsockopt prototype.
13639 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13640 use wchar_t for the argument.
13641 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13642 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13643 take no arguments.
13644 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13645 double/float/long double for second argument.
13646 Fix return types of significand, significandf, significandl.
13647 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13648 argument in fchmod prototype.
13649 (File Owner): Use uid_t and gid_t in fchown prototype.
13650 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13651 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13652 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13653 use 'const struct dirent **' as argument types to CMP function pointer
13654 argument.
13655 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13656 (File Times): Fix summary magic @comment for struct utimbuf and utime
13657 to refer to utime.h, not time.h.
13658 * manual/string.texi (Argz Functions): Add missing const in
13659 argz_extract and argz_next prototypes.
13660 (Finding Tokens in a String): Likewise for basename.
13661 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13662 (Copying and Concatenation): Fix typo in wmemmove prototype.
13663 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13664 (Signal Stack): Remove erroneous const in sigstack prototype.
13665 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13666 prototype.
13667 (Simple Calendar Time): Likewise for stime.
13668 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13669 prototype.
13670 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13671 say sys/sysctl.h instead.
13672 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13673 and vsyslog prototypes.
13674
fe77fe6d
TV
136752013-02-11 Tom de Vries <tom@codesourcery.com>
13676
13677 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13678 Remove.
13679
3a09b620
RM
136802013-02-11 Roland McGrath <roland@hack.frob.com>
13681
13682 * misc/sys/mman.h: Fix typo in mremap comment.
13683
550a0b89
RM
136842013-02-08 Roland McGrath <roland@hack.frob.com>
13685
13686 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13687 the '\0' terminator.
13688
a2da1673
JM
136892013-02-08 Joseph Myers <joseph@codesourcery.com>
13690
13691 [BZ #13550]
13692 * debug/segfault.c: Don't include <bp-checks.h>.
13693 * sysdeps/generic/bp-checks.h: Remove file.
13694 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13695 (__GETDENTS): Don't use CHECK_N.
13696 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13697 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13698 (__getgroups): Don't use CHECK_N.
13699 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13700 (setgroups): Don't use CHECK_N.
13701 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13702 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13703 (__libc_msgrcv): Don't use CHECK_N.
13704 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13705 (__libc_msgsnd): Don't use CHECK_N.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13707 <bp-checks.h>.
13708 (__libc_pread): Don't use CHECK_N.
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13710 include <bp-checks.h>.
13711 (__libc_pread64): Don't use CHECK_N.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13713 include <bp-checks.h>.
13714 (__libc_pwrite): Don't use CHECK_N.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13716 include <bp-checks.h>.
13717 (__libc_pwrite64): Don't use CHECK_N.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13719 <bp-checks.h>.
13720 (__libc_pread): Don't use CHECK_N.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13722 include <bp-checks.h>.
13723 (__libc_pread64): Don't use CHECK_N.
13724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13725 include <bp-checks.h>.
13726 (__libc_pwrite): Don't use CHECK_N.
13727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13728 include <bp-checks.h>.
13729 (__libc_pwrite64): Don't use CHECK_N.
13730 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13731 (do_pread): Don't use CHECK_N.
13732 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13733 (do_pread64): Don't use CHECK_N.
13734 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13735 (do_pwrite): Don't use CHECK_N.
13736 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13737 (do_pwrite64): Don't use CHECK_N.
13738 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13739 (__libc_readv): Don't use CHECK_N.
13740 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13741 (semop): Don't use CHECK_N.
13742 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13743 <bp-checks.h>.
13744 (semtimedop): Don't use CHECK_N.
13745 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13746 (__libc_pread): Don't use CHECK_N.
13747 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13748 <bp-checks.h>.
13749 (__libc_pread64): Don't use CHECK_N.
13750 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13751 <bp-checks.h>.
13752 (__libc_pwrite): Don't use CHECK_N.
13753 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13754 <bp-checks.h>.
13755 (__libc_pwrite64): Don't use CHECK_N.
13756 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13757 <bp-checks.h>.
13758 (__libc_msgrcv): Don't use CHECK_N.
13759 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13760 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13761 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13762 (__libc_writev): Don't use CHECK_N.
13763
b84660a8
RM
137642013-02-08 Roland McGrath <roland@hack.frob.com>
13765
7f3e75f8
RM
13766 * string/strcpy.c: Removed unused variable.
13767
b84660a8
RM
13768 * Makeconfig (+sysdep-includes): Define with := rather than =.
13769 Use an existing include/ subdir of each sysdeps dir before it.
13770
471514d3
CD
137712013-02-08 Carlos O'Donell <carlos@redhat.com>
13772
13773 * nscd/connection.c (register_traced_file): Comment function.
13774 [HAVE_INOTIFY] (union __inev): Define.
13775 [HAVE_INOTIFY] (inotify_check_files): New function.
13776 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13777 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13778 clear_db_cache.
13779 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13780
b2d3c3be
CD
137812013-02-08 Carlos O'Donell <carlos@redhat.com>
13782
13783 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13784 loaded if not already and that a failure is permanent.
13785
b39949d2
CD
137862013-02-08 Carlos O'Donell <carlos@redhat.com>
13787
ddacd1db 13788 [BZ #15006]
b39949d2
CD
13789 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13790 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13791
b2c9eff4
JM
137922013-02-08 Joseph Myers <joseph@codesourcery.com>
13793
f3aae3f3
JM
13794 [BZ #13550]
13795 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13796 (CHECK_1_NULL_OK): Likewise.
13797 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13798 (__fxstat): Do not use CHECK_1.
13799 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13800 <bp-checks.h>.
13801 (___fxstat64): Do not use CHECK_1.
13802 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13803 <bp-checks.h>.
13804 (__fxstatat): Do not use CHECK_1.
13805 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13806 <bp-checks.h>.
13807 (__fxstatat64): Do not use CHECK_1.
13808 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13809 <bp-checks.h>.
13810 (__fxstat): Do not use CHECK_1.
13811 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13812 <bp-checks.h>.
13813 (__fxstatat): Do not use CHECK_1.
13814 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13815 <bp-checks.h>.
13816 (__getresgid): Do not use CHECK_1.
13817 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13818 <bp-checks.h>.
13819 (__getresuid): Do not use CHECK_1.
13820 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13821 <bp-checks.h>.
13822 (__lxstat): Do not use CHECK_1.
13823 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13824 <bp-checks.h>.
13825 (__old_msgctl): Do not use CHECK_1.
13826 (__new_msgctl): Likewise.
13827 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13828 <bp-checks.h>.
13829 (__new_setrlimit): Do not use CHECK_1.
13830 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13831 <bp-checks.h>.
13832 (__old_shmctl): Do not use CHECK_1.
13833 (__new_shmctl): Likewise.
13834 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13835 <bp-checks.h>.
13836 (__xstat): Do not use CHECK_1.
13837 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13838 (__lxstat): Do not use CHECK_1.
13839 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13840 <bp-checks.h>.
13841 (___lxstat64): Do not use CHECK_1.
13842 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13843 (__old_msgctl): Do not use CHECK_1.
13844 (__new_msgctl): Likewise.
13845 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13846 <bp-checks.h>.
13847 (__gettimeofday): Do not use CHECK_1.
13848 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13849 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13850 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13851 <bp-checks.h>.
13852 (__gettimeofday): Do not use CHECK_1.
13853 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13854 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13855 (__new_shmctl): Do not use CHECK_1.
13856 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13857 <bp-checks.h>.
13858 (do_sigtimedwait): Do not use CHECK_1.
13859 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13860 <bp-checks.h>.
13861 (do_sigwaitinfo): Do not use CHECK_1.
13862 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13863 <bp-checks.h>.
13864 (msgctl): Do not use CHECK_1.
13865 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13866 <bp-checks.h>.
13867 (shmctl): Do not use CHECK_1.
13868 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13869 (ustat): Do not use CHECK_1.
13870 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13871 <bp-checks.h>.
13872 (__fxstat): Do not use CHECK_1.
13873 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13874 <bp-checks.h>.
13875 (__fxstatat): Do not use CHECK_1.
13876 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13877 <bp-checks.h>.
13878 (__lxstat): Do not use CHECK_1.
13879 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13880 <bp-checks.h>.
13881 (__xstat): Do not use CHECK_1.
13882 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13883 (__xstat): Do not use CHECK_1.
13884 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13885 (___xstat64): Do not use CHECK_1.
13886
b2c9eff4
JM
13887 [BZ #13550]
13888 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13889 definitions.
13890 (CHECK_BOUNDS_HIGH): Likewise.
13891 * string/strcpy.c: Do not include <bp-checks.h>.
13892 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13893
f1d70dad
RM
138942013-02-07 Roland McGrath <roland@hack.frob.com>
13895
13896 * nscd/nscd-client.h (__nscd_drop_map_ref):
13897 Add __attribute__ ((unused)).
13898 * nis/nss-nisplus.h (niserr2nss): Likewise.
13899
13900 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13901 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13902
13903 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13904 Remove inline keyword.
13905 * include/rounding-mode.h (round_away): Likewise.
13906 * libio/wfileops.c (adjust_wide_data): Likewise.
13907 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13908 (__m128i_strloadu_tolower): Likewise.
13909 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13910 (__m128i_strloadu_tolower): Likewise.
13911 * time/mktime.c (ydhms_diff): Likewise.
13912 * locale/elem-hash.h (elem_hash): Likewise.
13913 * locale/setlocale.c (setdata): Likewise.
13914 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13915 (re_string_wchar_at): Likewise.
13916 (bitset_not, bitset_merge, bitset_mask): Likewise.
13917 [!(__GNUC__ > 3)] (inline): Remove macro.
13918 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13919 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13920 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13921 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13922 * string/memcmp.c (memcmp_bytes): Likewise.
13923 * locale/programs/locarchive.c (compute_hashval): Likewise.
13924 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13925 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13926 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13927 * nss/getent.c (print_rpc, print_protocols): Likewise.
13928 (print_passwd, print_group, print_aliases): Likewise.
13929 * nis/nss-nisplus.h (niserr2nss): Likewise.
13930 * nscd/connections.c (restart_p): Likewise.
13931 Change return type to bool.
13932
eab55bfb
RM
139332013-02-05 Roland McGrath <roland@hack.frob.com>
13934
7bd642f5
RM
13935 * Makeconfig (all-Depend-files): Add existing
13936 $(sorted-subdirs:=/Depend) files.
13937 (all-subdirs): Remove nss.
13938 * sysdeps/unix/inet/Subdirs: Add it here instead.
13939 * hesiod/Depend: New file.
13940
573c29b2
RM
13941 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13942 instead of calling alloca.
13943
b2e25af0
RM
13944 * io/lseek.c (__lseek): Rename to __libc_lseek.
13945 Define __lseek as an alias.
13946
eab55bfb
RM
13947 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13948
9a0d1941
CD
139492013-02-04 Carlos O'Donell <carlos@redhat.com>
13950
13951 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13952 else clause and remove check for non-standard endianness.
13953
b83bbec4
DM
139542013-02-04 David S. Miller <davem@davemloft.net>
13955
13956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13957
6277fdab
JM
139582013-02-04 Joseph Myers <joseph@codesourcery.com>
13959
13960 [BZ #13550]
13961 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13962 (__ubp_memchr): Remove prototype.
13963 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13964 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13965 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13966 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13967 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13968 Remove alias.
13969 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13970 (__ubp_memchr): Likewise.
13971 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13972 (__ubp_memchr): Likewise.
13973 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13974 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13975 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13976 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13977 CHECK_STRING.
13978 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13979 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13980 (__getcwd): Do not use CHECK_STRING.
13981 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13982 <bp-checks.h>.
13983 (__real_chown): Do not use CHECK_STRING.
13984 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13985 <bp-checks.h>.
13986 (fchownat): Do not use CHECK_STRING.
13987 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13988 CHECK_STRING.
13989 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13990 <bp-checks.h>.
13991 (__lchown): Do not use CHECK_STRING.
13992 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13993 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13994 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13995 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13997 include <bp-checks.h>.
13998 (truncate64): Do not use CHECK_STRING.
13999 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14000 <bp-checks.h>.
14001 (__real_chown): Do not use CHECK_STRING.
14002 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14003 <bp-checks.h>.
14004 (__lchown): Do not use CHECK_STRING.
14005 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14006 <bp-checks.h>.
14007 (__chown): Do not use CHECK_STRING.
14008 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14009 <bp-checks.h>.
14010 (truncate64): Do not use CHECK_STRING.
14011 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14012 Likewise.
14013 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14014 (__xmknod): Do not use CHECK_STRING.
14015 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14016 <bp-checks.h>.
14017 (__xmknodat): Do not use CHECK_STRING.
14018 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14019 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14020
903ae060
AS
140212013-02-04 Andreas Schwab <schwab@suse.de>
14022
14023 [BZ #14142]
14024 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14025 * include/netdb.h: Likewise for h_errno.
14026 * elf/tst-stackguard1.c: Include <tls.h>.
14027
542f9466
JK
140282013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14029
14030 * elf/link.h (struct link_map): Extend the l_addr comment.
14031 * include/link.h (struct link_map): Likewise.
14032
e782a927
JM
140332013-02-01 Joseph Myers <joseph@codesourcery.com>
14034
14035 [BZ #13550]
14036 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14037 (BOUNDED_1): Remove macro.
14038 * debug/backtrace.c: Don't include <bp-checks.h>.
14039 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14040 (__backtrace): Likewise.
14041 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14042 <bp-checks.h>.
14043 (__backtrace): Don't use BOUNDED_1.
14044 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14045 <bp-checks.h>.
14046 (__backtrace): Don't use BOUNDED_1.
14047 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14048 (__backtrace): Don't use BOUNDED_1.
14049 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14050 (shmat): Don't use BOUNDED_N.
14051
8cf28c5e
JM
140522013-01-31 Joseph Myers <joseph@codesourcery.com>
14053
3a7ac8a0
JM
14054 [BZ #13550]
14055 * sysdeps/generic/bp-start.h: Remove file.
14056 * csu/libc-start.c: Don't include <bp-start.h>.
14057 (LIBC_START_MAIN): Set up __environ directly instead of using
14058 INIT_ARGV_and_ENVIRON.
14059 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14060 <bp-start.h>.
14061
f3499f95
JM
14062 [BZ #13550]
14063 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14064 definitions.
14065 (CHECK_FCNTL): Likewise.
14066 (CHECK_N_PAGES): Likewise.
14067
32a45bea
JM
14068 [BZ #13550]
14069 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14070 definitions.
14071 (CHECK_SIGSET_NULL_OK): Likewise.
14072 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14073 <bp-checks.h>.
14074 (sigpending): Don't use CHECK_SIGSET.
14075 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14076 <bp-checks.h>.
14077 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14078 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14079 <bp-checks.h>.
14080 (do_sigsuspend): Don't use CHECK_SIGSET.
14081 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14082 use CHECK_SIGSET.
14083 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14084 (do_sigwait): Don't use CHECK_SIGSET.
14085 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14086 use CHECK_SIGSET.
14087 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14088 include <bp-checks.h>.
14089 (sigpending): Don't use CHECK_SIGSET.
14090 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14091 include <bp-checks.h>.
14092 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14093 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14094 <bp-checks.h>.
14095 (sigpending): Don't use CHECK_SIGSET.
14096 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14097 <bp-checks.h>.
14098 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14099
2e8a5c8c
JM
14100 [BZ #13550]
14101 * sysdeps/generic/bp-semctl.h: Remove file.
14102 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14103 <bp-checks.h> and <bp-semctl.h>.
14104 (__old_semctl): Don't use CHECK_SEMCTL.
14105 (__new_semctl): Likewise.
14106 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14107 and <bp-semctl.h>.
14108 (__old_semctl): Don't use CHECK_SEMCTL.
14109 (__new_semctl): Likewise.
14110 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14111 <bp-checks.h> and <bp-semctl.h>.
14112 (__old_semctl): Don't use CHECK_SEMCTL.
14113 (__new_semctl): Likewise.
14114 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14115 <bp-checks.h> and <bp-semctl.h>.
14116 (semctl): Don't use CHECK_SEMCTL.
14117
c2d54929
JM
14118 [BZ #13550]
14119 * Makerules (elide-bp-thunks): Remove variable.
14120 (elide-routines.oS): Don't use $(elide-bp-thunks).
14121 (elide-routines.os): Likewise.
14122 (elide-routines.o): Likewise.
14123 (elide-routines.op): Likewise.
14124 (elide-routines.og): Likewise.
14125 (objects): Don't use $(bp-thunks).
14126 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14127 include.
14128 (common-generated): Do not add s-proto-bp.d.
14129 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14130 (int): Likewise.
14131 (typ): Likewise.
14132 Do not generate makefile rules for bounded-pointer thunks.
14133 * sysdeps/generic/bp-thunks.h: Remove file.
14134 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14135 * sysdeps/unix/s-proto-bp.S: Likewise.
14136
8cf28c5e
JM
14137 [BZ #15062]
14138 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14139 parts of result separately when argument is not close to line from
14140 -i to i and one part of argument is small.
14141 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14142 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14143 * math/libm-test.inc (cacos_test): Add more tests.
14144 (casin_test): Likewise.
14145 (casinh_test): Likewise.
14146 * sysdeps/i386/fpu/libm-test-ulps: Update.
14147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14148
c4e33b8d
DM
141492013-01-31 David S. Miller <davem@davemloft.net>
14150
14151 * po/de.po: Update from translation team.
14152
3b60b421
MK
141532013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14154
14155 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14156
bb931195
TS
141572013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14158
b5a5da23
TS
14159 * configure.in (_AC_PROG_CC_C89): New definition.
14160 * configure: Regenerate.
14161
bb931195
TS
14162 * configure.in (AC_PROG_CPP): New definition.
14163 * configure: Regenerate.
14164
8c53a12c
JM
141652013-01-23 Joseph Myers <joseph@codesourcery.com>
14166
14167 * debug/tst-backtrace.h: New file.
14168 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14169 (ret): Remove variable.
14170 (x): Likewise.
14171 (FAIL): Remove macro.
14172 (NO_INLINE): Likewise.
14173 (fn1): Use match function instead of strstr.
14174 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14175 (ret): Remove variable.
14176 (x): Likewise.
14177 (FAIL): Remove macro.
14178 (NO_INLINE): Likewise.
14179 (fn): Use match function instead of strstr.
14180 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14181 (ret): Remove variable.
14182 (x): Likewise.
14183 (FAIL): Remove macro.
14184 (NO_INLINE): Likewise.
14185 (handle_signal): Use match function instead of strstr.
14186 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14187 (ret): Remove variable.
14188 (x): Likewise.
14189 (FAIL): Remove macro.
14190 (NO_INLINE): Likewise.
14191 (handle_signal): Use match function instead of strstr.
14192
4858fa2a
RM
141932013-01-23 Roland McGrath <roland@hack.frob.com>
14194
14195 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14196
bae8e7f5
DM
141972013-01-23 David S. Miller <davem@davemloft.net>
14198
14199 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14200 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14201 argument of CAS if possible.
14202 * sysdeps/sparc/sparc64/bits/atomic.h
14203 (__arch_compare_and_exchange_val_32_acq): Likewise.
14204 (__arch_compare_and_exchange_val_64_acq): Likewise.
14205
9cbbc4ae
PT
142062013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14207
14208 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14209 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14210 Include <limits.h>.
67b3f58c 14211 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14212
5655a0b5
AC
142132013-01-23 Adam Conrad <adconrad@0c3.net>
14214
14215 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14216 (LDFLAGS-tst-array5): Likewise.
14217
052aff95
JM
142182013-01-23 Joseph Myers <joseph@codesourcery.com>
14219
14220 [BZ #15036]
14221 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14222 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14223 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14224 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14225
7c1e01aa
DM
142262013-01-21 David S. Miller <davem@davemloft.net>
14227
14228 * sysdeps/sparc/backtrace.c: New file.
14229 * sysdeps/sparc/sparc32/backtrace.h: New file.
14230 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14231 * sysdeps/sparc/sparc64/backtrace.h: New file.
14232 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14233 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14234 -funwind-tables.
14235
ab087e0a
AS
142362013-01-21 Andreas Schwab <schwab@suse.de>
14237
14238 [BZ #15020]
14239 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14240 closed its stdout.
14241
ed689c2f
AS
142422013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14243
14244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14245 "mpa2.h".
14246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14247
31d470ac
JM
142482013-01-18 Joseph Myers <joseph@codesourcery.com>
14249 Mark Mitchell <mark@codesourcery.com>
14250 Tom de Vries <tom@codesourcery.com>
14251 Paul Pluzhnikov <ppluzhnikov@google.com>
14252
14253 * debug/tst-backtrace2.c: New file.
14254 * debug/tst-backtrace3.c: Likewise.
14255 * debug/tst-backtrace4.c: Likewise.
14256 * debug/tst-backtrace5.c: Likewise.
14257 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14258 (CFLAGS-tst-backtrace3.c): Likewise.
14259 (CFLAGS-tst-backtrace4.c): Likewise.
14260 (CFLAGS-tst-backtrace5.c): Likewise.
14261 (LDFLAGS-tst-backtrace2): Likewise.
14262 (LDFLAGS-tst-backtrace3): Likewise.
14263 (LDFLAGS-tst-backtrace4): Likewise.
14264 (LDFLAGS-tst-backtrace5): Likewise.
14265 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14266 tst-backtrace4 and tst-backtrace5.
14267
90567f30 142682013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14269 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14270
14271 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14272 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14273 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14274 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14276 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14277 "+r" and remove output regs list as redundant. Add explicit inline
14278 asm to specify register of return val to work around compiler codegen
14279 bug. Remove (int) cast on return value. Add return type parameter to
14280 use in macro so that this macro does not truncate return value for
14281 64-bit values.
14282 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14283 pass to INTERNAL_VSYSCALL_NCS.
14284 (INLINE_VSYSCALL): Add 'long int' as return type to
14285 INTERNAL_VSYSCALL_NCS macro invocation.
14286 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14287 INTERNAL_VSYSCALL_NCS macro invocation.
14288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14289
d3b9ea61
SP
142902013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14291
0b57daeb
SP
14292 [BZ #14496]
14293 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14294 Fix application of SIMD FP exception mask.
14295
caa99d06
SP
14296 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14297 mp_no from a power of two.
14298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14299 __mpexp_twomm1. Use __pow_mp.
14300
d3b9ea61
SP
14301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14302 multiplication.
14303
1dbaee3c
DM
143042013-01-17 David S. Miller <davem@davemloft.net>
14305
14306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14307
728d7b43
JM
143082013-01-17 Joseph Myers <joseph@codesourcery.com>
14309
14310 [BZ #15023]
14311 * include/complex.h: Condition contents on [!_COMPLEX_H].
14312 (__kernel_casinhf): New prototype.
14313 (__kernel_casinh): Likewise.
14314 (__kernel_casinhl): Likewise.
14315 * math/Makefile (libm_calls): Add k_casinh.
14316 * math/k_casinh.c: New file.
14317 * math/k_casinhf.c: Likewise.
14318 * math/k_casinhl.c: Likewise.
14319 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14320 finite nonzero arguments.
14321 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14322 finite nonzero arguments.
14323 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14324 finite nonzero arguments.
14325 * math/s_casinh.c: Do not include <float.h>.
14326 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14327 * math/s_casinhf.c: Do not include <float.h>.
14328 (__casinhf): Move code for finite nonzero arguments to
14329 k_casinhf.c.
14330 * math/s_casinhl.c: Do not include <float.h>.
14331 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14332 redefine.
14333 (__casinhl): Move code for finite nonzero arguments to
14334 k_casinhl.c.
14335 * math/libm-test.inc (cacos_test): Add more tests.
14336 * sysdeps/i386/fpu/libm-test-ulps: Update.
14337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14338
2a26ef3a
PT
143392013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14340
14341 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14342 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14343 [!HAVE_MREMAP]: Remove [defined linux] case.
14344 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14345
a897655d
SP
143462013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14347
14348 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14349
881ebe89 143502013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14351
14352 * elf/elf.h (R_386_SIZE32): New relocation.
14353 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14354 R_386_SIZE32.
14355 (elf_machine_rela): Likewise.
14356 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14357 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14358
59981e9b
JM
143592013-01-17 Joseph Myers <joseph@codesourcery.com>
14360
14361 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14362 (FP_FAST_FMA): Do not define.
14363 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14364 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14365 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14366 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14367 !_SOFT_FLOAT]: Likewise.
14368 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14369 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14370 value.
14371 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14372 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14373 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14374 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14375 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14376 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14377 file.
14378
cfa8054f
AS
143792013-01-16 Andreas Schwab <schwab@suse.de>
14380
14381 [BZ #14327]
14382 * include/stdlib.h (__mktemp): Add declaration.
14383 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14384 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14385
dd930cc5
SP
143862013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14387
881ebe89
SP
14388 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14389 definitions.
14390 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14391 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14392 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14393 definitions here.
14394 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14395 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14396 definitions.
14397 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14398 and ONE.
14399 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14400 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14401 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14402 definitions.
14403 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14404 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14405 definitions.
14406 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14407
dd930cc5
SP
14408 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14409
c19a9f89
DM
144102013-01-15 David S. Miller <davem@davemloft.net>
14411
1aa61767
DM
14412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14413 trunc{,f} to libm-sysdep_routes.
14414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14416 file.
14417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14419 file.
14420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14421 file.
14422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14424 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14425 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14426 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14427 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14428 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14429 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14430
c42d5e98
DM
14431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14432 nearbyint{,f} to libm-sysdep_routes.
14433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14435 New file.
14436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14437 file.
14438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14439 New file.
14440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14441 file.
14442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14444 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14445 file.
14446 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14447 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14448 file.
14449 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14450 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14451 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14452
c19a9f89
DM
14453 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14454 libc_feholdexcept and libc_fesetenv.
14455
357679d2
MF
144562013-01-15 Mike Frysinger <vapier@gentoo.org>
14457
14458 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14459
65a82e3d
DM
144602013-01-14 David S. Miller <davem@davemloft.net>
14461
8b954ab9
DM
14462 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14463 (SPARC_ASM_VIS2_IFUNC): Likewise.
14464 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14466 use of 'siam' instruction.
14467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14468 Likewise.
14469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14470 Likewise.
14471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14472 Likewise.
14473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14478 file.
14479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14480 file.
14481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14482 file.
14483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14484 file.
14485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14490 new VIS2 routines.
14491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14494 Likewise.
14495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14500 routines to libm-sysdep_routines.
14501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14502
65a82e3d
DM
14503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14504 fdim/fdimf to libm-sysdep_routines.
14505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14506 file.
14507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14509 file.
14510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14513 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14514 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14515 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14516 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14517
e34ab705
SP
145182013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14519
2a91b573
SP
14520 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14521 to optimize copies.
14522
1066a534
SP
14523 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14526
e34ab705
SP
14527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14528 local variable MPTWO.
14529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14530 Likewise.
14531
aba5e596
MF
145322013-01-13 Mike Frysinger <vapier@gentoo.org>
14533
14534 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14535 GLOB_NOESCAPE.
14536
e557e9e5
MF
145372013-01-13 Mike Frysinger <vapier@gentoo.org>
14538
14539 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14540
0428cec9
MF
145412013-01-13 Mike Frysinger <vapier@gentoo.org>
14542
14543 * manual/pattern.texi (glob_t): Document gl_flags.
14544 (glob64_t): Likewise.
14545
8794a964
DM
145462013-01-11 David S. Miller <davem@davemloft.net>
14547
66438c3f
RM
14548 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14549 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14550 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14551 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14552 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14553 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14554 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14555 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14556 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14557 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14558 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14559 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14560 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14561
4ae4244d
DM
14562 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14563 sparc V9 rather than using V8 code.
14564 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14565 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14566
8794a964
DM
14567 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14568 Move to...
14569 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14570 Here.
14571
6270516e
RM
145722013-01-11 Roland McGrath <roland@hack.frob.com>
14573
14574 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14575 not in the main loop.
14576 * configure: Regenerated.
14577
6a57d931
JM
145782013-01-11 Joseph Myers <joseph@codesourcery.com>
14579
14580 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14581 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14582 to just #else.
14583 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14584 [!__GLIBC_HAVE_LONG_LONG] case.
14585 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14586 condition to just #else.
14587 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14588 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14589 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14590 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14591 unconditional.
14592 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14593 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14594 #elif condition to just #else.
14595 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14596 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14597 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14598 #elif condition to just #else.
14599
0e8529e9
SE
146002013-01-11 Steve Ellcey <sellcey@mips.com>
14601
14602 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14603 (EF_MIPS_ARCH_64): Fix value.
14604 (EF_MIPS_ARCH_32R2): New.
14605 (EF_MIPS_ARCH_64R2): New.
14606
740b3dbe
L
146072013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14608
14609 * Makeconfig (+link-pie-before-libc): New.
14610 (+link-pie-after-libc): Likewise.
14611 (+link-pie-tests): Likewise.
14612 (+link-pie): Rewritten.
14613 (link-before-libc): Remove $(config-LDFLAGS).
14614 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14615 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14616 (config-LDFLAGS): Renamed to ...
14617 (rtld-LDFLAGS): This.
14618 (rtld-tests-LDFLAGS): New macro.
14619 (link-libc-rpath-link): Likewise.
14620 (link-libc-tests-rpath-link): Likewise.
14621 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14622 (link-libc): Prepand $(link-libc-rpath-link).
14623 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14624 (test-program-prefix): New macro.
14625 (test-via-rtld-prefix): Likewise.
14626 (test-program-cmd): Likewise.
14627 (host-test-program-cmd): Likewise.
14628 * Makefile ($(common-objpfx)testrun.sh): Replace
14629 $(run-program-prefix) with $(test-program-prefix).
14630 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14631 $(rtld-LDFLAGS).
14632 ($(common-objpfx)shlib.lds): Likewise.
14633 (build-module-helper): Likewise.
14634 ($(common-objpfx)format.lds): Likewise.
14635 * Rules (binaries-pie-tests): New.
14636 (binaries-pie-notests): Likewise.
14637 (binaries-pie): Rewritten.
14638 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14639 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14640 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14641 (make-test-out): Replace $(host-built-program-cmd) with
14642 $(host-test-program-cmd).
14643 * config.make.in (build-hardcoded-path-in-tests): New variable.
14644 * configure.in (--enable-hardcoded-path-in-tests): New configure
14645 option.
14646 (hardcoded_path_in_tests): New AC_SUBST.
14647 * configure: Regenerated.
14648 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14649 $(built-program-cmd) with $(test-program-cmd).
14650 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14651 (test_program_cmd): This.
14652 * elf/Makefile ($(objpfx)order.out): Run test with
14653 $(test-program-prefix).
14654 ($(objpfx)order2.out): Likewise.
14655 ($(objpfx)tst-initorder.out): Likewise.
14656 ($(objpfx)tst-initorder2.out): Likewise.
14657 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14658 $(test-program-cmd).
14659 ($(objpfx)tst-array1-static.out): Likewise.
14660 ($(objpfx)tst-array2.out): Likewise.
14661 ($(objpfx)tst-array3.out): Likewise.
14662 ($(objpfx)tst-array4.out): Likewise.
14663 ($(objpfx)tst-array5.out): Likewise.
14664 ($(objpfx)tst-array5-static.out): Likewise.
14665 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14666 $(test-program-cmd).
14667 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14668 $(run-program-prefix) with $(test-program-prefix).
14669 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14670 (test_program_prefix): This.
14671 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14672 $(run-program-prefix) with $(test-program-prefix).
14673 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14674 (test_program_prefix): This.
14675 * iconvdata/tst-tables.sh: Likewise.
14676 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14677 $(run-program-prefix) with $(test-program-prefix).
14678 ($(objpfx)tst-translit.out): Likewise.
14679 ($(objpfx)tst-gettext2.out): Likewise.
14680 ($(objpfx)tst-gettext4.out): Likewise.
14681 ($(objpfx)tst-gettext6.out): Likewise.
14682 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14683 (test_program_prefix): This.
14684 * intl/tst-gettext2.sh: Likewise.
14685 * intl/tst-gettext4.sh Likewise.
14686 * intl/tst-gettext6.sh: Likewise.
14687 * intl/tst-translit.sh: Likewise.
14688 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14689 with $(test-program-cmd).
14690 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14691 $(run-program-prefix) with $(test-program-prefix).
14692 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14693 (test_program_prefix): This.
14694 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14695 $(run-program-prefix) with $(test-program-prefix).
14696 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14697 (test_program_prefix): This.
14698 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14699 * posix/Makefile ($(objpfx)globtest.out): Replace
14700 $(run-via-rtld-prefix) and $(test-wrapper) with
14701 $(test-program-prefix) and $(test-via-rtld-prefix).
14702 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14703 $(test-program-prefix).
14704 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14705 $(host-test-program-cmd).
14706 (tst-spawn-ARGS): Likewise.
14707 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14708 $(test-program-prefix).
14709 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14710 (test_via_rtld_prefix): This.
14711 (test_wrapper): Renamed to ...
14712 (test_program_prefix): This.
14713 (run_program_prefix): Replaced by test_program_prefix.
14714 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14715 (test_program_prefix): This.
14716 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14717 with $(host-test-program-cmd).
14718 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14719 $(run-program-prefix) with $(test-program-prefix).
14720 ($(objpfx)tst-printf.out): Likewise.
14721 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14722 $(test-program-cmd).
14723 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14724 (test_program_prefix): This.
14725 * stdio-common/tst-unbputc.sh: Likewise.
14726 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14727 $(run-program-prefix) with $(test-program-prefix).
14728 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14729 (test_program_prefix): This.
14730 * string/Makefile ($(objpfx)tst-svc.out): Replace
14731 $(built-program-cmd) with $(test-program-cmd).
14732
c6fe55cf
AJ
147332013-01-11 Andreas Jaeger <aj@suse.de>
14734
14735 [BZ #15003]
14736 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14737 value. Sync with Linux 3.7.
14738
9e6919c8
DM
147392013-01-10 David S. Miller <davem@davemloft.net>
14740
14741 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14742 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14743 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14744
1c9f1a02
RM
147452013-01-10 Roland McGrath <roland@hack.frob.com>
14746
14747 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14748 never set.
14749 * configure: Regenerated.
14750
b9de2dde
DM
147512013-01-10 David S. Miller <davem@davemloft.net>
14752
14753 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14754 sparc V9 rather than using V8 code.
14755 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14756 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14757
e7f68ef4
RM
147582013-01-10 Roland McGrath <roland@hack.frob.com>
14759
14760 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14761 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14762 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14763 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14764 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14765 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14766 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14767 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14768 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14769 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14770 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14771 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14772 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14773 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14774 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14775 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14776 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14777 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14778 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14779 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14780 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14781 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14782 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14783 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14784 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14785 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14786 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14787
5a47cc9c
DM
147882013-01-10 David S. Miller <davem@davemloft.net>
14789
14790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14791
4cf8f209
L
147922013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14793
14794 * posix/Makefile (tests-static): New variable.
14795 (tests): Add $(tests-static).
14796 (tst-exec-static-ARGS): New variable.
14797 (tst-spawn-static-ARGS): Likewise.
14798 * posix/tst-exec-static.c: New file.
14799 * posix/tst-spawn-static.c: Likewise.
14800 * posix/tst-exec.c: Support run directly.
14801 * posix/tst-spawn.c: Likewise.
14802
fed0faa1
JM
148032013-01-10 Joseph Myers <joseph@codesourcery.com>
14804
828beb13
JM
14805 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14806 long.
14807 * math/bits/mathcalls.h (llrint): Likewise.
14808 (llround): Likewise.
14809 * stdlib/stdlib.h (struct drand48_data): Likewise.
14810 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14811 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14812 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14813 Likewise.
14814 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14815 Likewise.
14816 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14817 (elf_greg_t): Likewise.
14818 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14819 (__jmp_buf): Likewise.
14820 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14821 definitions.
14822 (llrint): Likewise, for all definitions.
14823 (llrintl): Likewise.
14824
fed0faa1
JM
14825 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14826 Remove [__GNUC__] condition.
14827 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14828 condition to just [__USE_ISOC99].
14829 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14830
1a20cb20
L
148312013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14832
14833 [BZ #14200]
14834 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14835 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14836 defined.
14837 (_POSIX_V6_ILP32_OFF32): Likewise.
14838 (_XBS5_ILP32_OFF32): Likewise.
14839 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14840 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14841
751b85f7
SP
148422013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14843
7490eb81
SP
14844 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14845
751b85f7
SP
14846 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14847 doubles __mpexp_twomm1. Adjust usage.
14848 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14849 Remove.
14850
988197f0
AS
148512013-01-10 Andreas Schwab <schwab@suse.de>
14852
14853 [BZ #14964]
14854 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14855 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14856
e83d7298
DM
148572013-01-09 David S. Miller <davem@davemloft.net>
14858
034ed64b 14859 [BZ #15003]
e83d7298
DM
14860 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14861 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14862 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14863 TCP_FASTOPEN): Define.
14864 (tcp_repair_opt): New structure.
14865 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14866 enum values.
14867 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14868 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14869 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14870 (tcp_cookie_transactions): New structure.
14871
d5e0b9bd
AB
148722013-01-09 Anton Blanchard <anton@samba.org>
14873
14874 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14875 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14876 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14877 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14878
0c07e3ea
JM
148792013-01-09 Joseph Myers <joseph@codesourcery.com>
14880
14881 * include/features.h (__USE_ANSI): Remove.
14882
232f7002
RM
148832013-01-09 Roland McGrath <roland@hack.frob.com>
14884
ad98e30c
RM
14885 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14886
232f7002
RM
14887 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14888
950c99ca
SP
148892013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14890
b5792741
SP
14891 * sysdeps/s390/fpu/libm-test-ulps: Update.
14892
47cf2278
SP
14893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14894
950c99ca
SP
14895 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14896 (__acr): Likewise.
14897 (__cpy): Likewise.
14898 (norm): Likewise.
14899 (denorm): Likewise.
14900 (__mp_dbl): Likewise.
14901 (__dbl_mp): Likewise.
14902 (add_magnitudes): Likewise.
14903 (sub_magnitudes): Likewise.
14904 (__add): Likewise.
14905 (__sub): Likewise.
14906 (__mul): Likewise.
14907 (__inv): Likewise.
14908 (__dvd): Likewise.
14909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14910 (__acr): Likewise.
14911 (__cpy): Likewise.
14912 (norm): Likewise.
14913 (denorm): Likewise.
14914 (__mp_dbl): Likewise.
14915 (__dbl_mp): Likewise.
14916 (add_magnitudes): Likewise.
14917 (sub_magnitudes): Likewise.
14918 (__add): Likewise.
14919 (__sub): Likewise.
14920 (__mul): Likewise.
14921 (__inv): Likewise.
14922 (__dvd): Likewise.
14923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14924 (__acr): Likewise.
14925 (__cpy): Likewise.
14926 (norm): Likewise.
14927 (denorm): Likewise.
14928 (__mp_dbl): Likewise.
14929 (__dbl_mp): Likewise.
14930 (add_magnitudes): Likewise.
14931 (sub_magnitudes): Likewise.
14932 (__add): Likewise.
14933 (__sub): Likewise.
14934 (__mul): Likewise.
14935 (__inv): Likewise.
14936 (__dvd): Likewise.
14937
eede9df9
JM
149382013-01-08 Joseph Myers <joseph@codesourcery.com>
14939
14940 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14941 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14942 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14943 2 && __USE_EXTERN_INLINES]: Likewise.
14944
c40ea3d9
AJ
149452013-01-08 Andreas Jaeger <aj@suse.de>
14946
14947 [BZ# 14985]
14948 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14949 Remove.
14950 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14951 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14952
2ccdea26
AB
149532013-01-07 Anton Blanchard <anton@samba.org>
14954
14955 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14956 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14957 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14958 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14959 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14960 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14961 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14962 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14964 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14965 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14966 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14967 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14968 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14969 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14970 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14971 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14972 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14973 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14974 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14975 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14976 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14977 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14978 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14979 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14980 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14981 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14982 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14984 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14985 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14987 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14988 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14989 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14990 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14991 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14992 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14993 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14994 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14995 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14997 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14998
a9708fed
JM
149992013-01-07 Joseph Myers <joseph@codesourcery.com>
15000
375607b9
JM
15001 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15002 (__MALLOC_PMT): Likewise.
15003 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15004 [__GNUC__], only on [_LIBC].
15005 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15006 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15007 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15008 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15009 forward declaration.
15010 (realloc_hook_ini): Likewise.
15011 (memalign_hook_ini): Likewise.
15012 (__libc_memalign): Do not use __MALLOC_PMT in variable
15013 declaration.
15014 (__libc_valloc): Likewise.
15015 (__libc_pvalloc): Likewise.
15016 (__libc_calloc): Likewise.
15017 (__posix_memalign): Likewise.
15018
a9708fed
JM
15019 [BZ #14996]
15020 * math/s_casinh.c: Include <float.h>.
15021 (__casinh): Do not do computation with squaring and square root
15022 for large arguments.
15023 * math/s_casinhf.c: Include <float.h>.
15024 (__casinhf): Do not do computation with squaring and square root
15025 for large arguments.
15026 * math/s_casinhl.c: Include <float.h>.
15027 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15028 (__casinhl): Do not do computation with squaring and square root
15029 for large arguments.
15030 * math/libm-test.inc (casin_test): Add more tests.
15031 (casinh_test): Likewise.
15032 * sysdeps/i386/fpu/libm-test-ulps: Update.
15033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15034
afec409a
L
150352013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15036
15037 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15038 (__x86_64_raw_data_cache_size): Likewise.
15039 (__x86_64_data_cache_size_half): Likewise.
15040 (__x86_64_raw_data_cache_size_half): Likewise.
15041 (__x86_64_shared_cache_size): Likewise.
15042 (__x86_64_raw_shared_cache_size): Likewise.
15043 (__x86_64_shared_cache_size_half): Likewise.
15044 (__x86_64_raw_shared_cache_size_half): Likewise.
15045 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15046 to ...
15047 (__x86_data_cache_size): This.
15048 (__x86_64_raw_data_cache_size): Renamed to ...
15049 (__x86_raw_data_cache_size): This.
15050 (__x86_64_data_cache_size_half): Renamed to ...
15051 (__x86_data_cache_size_half): This.
15052 (__x86_64_raw_data_cache_size_half): Renamed to ...
15053 (__x86_raw_data_cache_size_half): This.
15054 (__x86_64_shared_cache_size): Renamed to ...
15055 (__x86_shared_cache_size): This.
15056 (__x86_64_raw_shared_cache_size): Renamed to ...
15057 (__x86_raw_shared_cache_size): This.
15058 (__x86_64_shared_cache_size_half): Renamed to ...
15059 (__x86_shared_cache_size_half): This.
15060 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15061 (__x86_raw_shared_cache_size_half): This.
15062 * sysdeps/x86_64/memcpy.S: Updated.
15063 * sysdeps/x86_64/memset.S: Likewise.
15064 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15065 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15066 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15067
0b3986d0
DM
150682013-01-04 David S. Miller <davem@davemloft.net>
15069
15070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15071
e47686e9
AS
150722013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15073
d643bac1
AS
15074 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15075 1 to avoid redefinition warning.
15076 (__USE_GNU): Don't define.
15077 (init_signaling_nan): Protoize.
15078
e47686e9
AS
15079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15080
b18decba
SP
150812013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15082
fffb407f
SP
15083 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15085 (__cpymn): Likewise.
15086 (norm): Remove commented code.
15087 (denorm): Likewise.
15088 (__mp_dbl): Likewise.
15089 (__inv): Likewise.
15090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15091 (__cpymn): Likewise.
15092 (norm): Remove commented code.
15093 (denorm): Likewise.
15094 (__mp_dbl): Likewise.
15095 (__inv): Likewise.
15096
b18decba
SP
15097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15098 mp_no value for 1.0 and 2.0.
15099 (norm): Use RADIXI instead of radixi.d.
15100 (denorm): Likewise.
15101 (__mul): Use 0.0 instead of zero.d.
15102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15103 mp_no value for 1.0 and 2.0.
15104 (norm): Use RADIXI instead of radixi.d.
15105 (denorm): Likewise.
15106 (__mul): Use 0.0 instead of zero.d.
15107
cdc1c96f
JM
151082013-01-04 Joseph Myers <joseph@codesourcery.com>
15109
15110 [BZ #14994]
15111 * math/s_casinh.c (__casinh): Reduce finite argument to first
15112 quadrant then set signs of results at the end.
15113 * math/s_casinhf.c (__casinhf): Likewise.
15114 * math/s_casinhl.c (__casinhl): Likewise.
15115 * math/libm-test.inc (casin_test): Add more tests.
15116 (casinh_test): Likewise.
15117 * sysdeps/i386/fpu/libm-test-ulps: Update.
15118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15119
302913e1
SP
151202013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15121
6420d207
SP
15122 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15123
a9e48ab4
SP
15124 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15125
b7837264
SP
15126 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15127 declarations.
15128 (denorm): Likewise.
15129 (__mp_dbl): Likewise.
15130 (__inv): Likewise.
15131
f8af25d2
SP
15132 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15133 and adjust the header comment.
15134
302913e1
SP
15135 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15136 variable name from declaration.
15137
5d7dd1ca
L
151382013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15139
15140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15141 Initialize COMMON_CPUID_INDEX_7 element.
15142 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15143 (CPUID_RTM): Likewise.
15144 (HAS_RTM): Likewise.
15145 (COMMON_CPUID_INDEX_7): New enum.
15146
2f5f40f4
AS
151472013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15148
15149 [BZ #14981]
15150 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15151 size is zero, record memory as freed.
15152
4056f4a0
AJ
151532013-01-03 Andreas Jaeger <aj@suse.de>
15154
15155 * po/ia.po: Add new Interlingua translation.
15156
ab15736f 151572012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
15158
15159 * locale/programs/localedef.c: Fix description of '--posix' flag.
15160
568035b7
JM
151612013-01-02 Joseph Myers <joseph@codesourcery.com>
15162
e6898b8d
JM
15163 * NEWS: Update dates in second copyright notice.
15164 * README: Update copyright dates in example.
15165 * manual/libc.texinfo: Update copyright dates.
15166 * scripts/test-installation.pl: Update copyright date in --version
15167 output.
15168
0e2f9562
JM
15169 * hurd/ctty-input.c: Fix copyright notice formatting.
15170 * hurd/ctty-output.c: Likewise.
15171 * hurd/dtable.c: Likewise.
15172 * hurd/hurd-raise.c: Likewise.
15173 * hurd/hurdprio.c: Likewise.
15174 * hurd/msgportdemux.c: Likewise.
15175 * misc/sys/file.h: Likewise.
15176 * misc/sys/ioctl.h: Likewise.
15177 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15178 * sysdeps/mach/hurd/chdir.c: Likewise.
15179 * sysdeps/mach/hurd/fchdir.c: Likewise.
15180 * sysdeps/mach/hurd/rename.c: Likewise.
15181 * sysdeps/mach/hurd/rmdir.c: Likewise.
15182 * sysdeps/mach/hurd/seekdir.c: Likewise.
15183 * sysdeps/mach/hurd/setsid.c: Likewise.
15184 * sysdeps/posix/wait3.c: Likewise.
15185
568035b7
JM
15186 * All files with FSF copyright notices: Update copyright dates
15187 using scripts/update-copyrights.
15188 * intl/plural.c: Regenerated.
15189 * locale/programs/charmap-kw.h: Likewise.
15190 * locale/programs/locfile-kw.h: Likewise.
15191
da08f647
SP
151922013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15193
0f5477af
SP
15194 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15195 four values.
15196
44e0d4c2
SP
15197 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15198 calculation loop and add branch prediction.
15199
4d55b4e5
SP
15200 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15201 check access beyond bounds of m1np.
15202
da08f647
SP
15203 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15204 MPTWO.
15205 (__inv): Remove local variable MPTWO to use the global
15206 constant.
15207 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15209 variable MPTWO.
15210 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15211 MP3HALFS static const.
15212
8e051029
DM
152132013-01-01 David S. Miller <davem@davemloft.net>
15214
15215 * po/ca.po: Update from translation team.
15216
f4cf5f2d
JM
152172013-01-01 Joseph Myers <joseph@codesourcery.com>
15218
15219 * scripts/update-copyrights: New file.
15220 * Makeconfig: Reformat copyright notice.
15221 * ctype/ctype.h: Likewise.
15222 * debug/swprintf_chk.c: Likewise.
15223 * elf/dl-cache.c: Likewise.
15224 * elf/dl-debug.c: Likewise.
15225 * elf/dl-object.c: Likewise.
15226 * grp/initgroups.c: Likewise.
15227 * hurd/Makefile: Likewise.
15228 * hurd/hurd/signal.h: Likewise.
15229 * hurd/hurdfault.c: Likewise.
15230 * hurd/hurdioctl.c: Likewise.
15231 * hurd/hurdlookup.c: Likewise.
15232 * hurd/intr-msg.c: Likewise.
15233 * iconv/gconv_open.c: Likewise.
15234 * libio/swprintf.c: Likewise.
15235 * locale/lc-ctype.c: Likewise.
15236 * locale/nl_langinfo.c: Likewise.
15237 * mach/Machrules: Likewise.
15238 * mach/Makefile: Likewise.
15239 * malloc/obstack.h: Likewise.
15240 * manual/Makefile: Likewise.
15241 * manual/tsort.awk: Likewise.
15242 * misc/bits/stab.def: Likewise.
15243 * nis/nis_print_group_entry.c: Likewise.
15244 * nis/nis_table.c: Likewise.
15245 * nis/nss_compat/compat-pwd.c: Likewise.
15246 * nis/nss_compat/compat-spwd.c: Likewise.
15247 * po/Makefile: Likewise.
15248 * posix/fnmatch.c: Likewise.
15249 * posix/regex.h: Likewise.
15250 * resolv/Makefile: Likewise.
15251 * resolv/nss_dns/dns-network.c: Likewise.
15252 * resolv/res_hconf.c: Likewise.
15253 * scripts/gen-sorted.awk: Likewise.
15254 * soft-fp/soft-fp.h: Likewise.
15255 * stdio-common/printf.h: Likewise.
15256 * stdlib/monetary.h: Likewise.
15257 * stdlib/random.c: Likewise.
15258 * stdlib/random_r.c: Likewise.
15259 * sysdeps/generic/Makefile: Likewise.
15260 * sysdeps/gnu/Makefile: Likewise.
15261 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15263 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15265 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15268 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15269 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15271 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15272 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15273 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15274 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15275 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15276 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15277 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15278 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15279 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15280 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15281 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15282 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15283 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15284 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15285 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15286 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15287 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15288 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15289 * sysdeps/mach/hurd/errnos.awk: Likewise.
15290 * sysdeps/mach/hurd/fork.c: Likewise.
15291 * sysdeps/mach/hurd/getcwd.c: Likewise.
15292 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15293 * sysdeps/mach/hurd/mmap.c: Likewise.
15294 * sysdeps/mach/hurd/utimes.c: Likewise.
15295 * sysdeps/mach/hurd/xmknod.c: Likewise.
15296 * sysdeps/posix/profil.c: Likewise.
15297 * sysdeps/posix/readdir_r.c: Likewise.
15298 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15299 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15300 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15301 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15303 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15304 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15305 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15306 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15307 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15308 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15309 * sysdeps/pthread/lio_listio.c: Likewise.
15310 * sysdeps/sparc/dl-procinfo.h: Likewise.
15311 * sysdeps/unix/i386/sysdep.S: Likewise.
15312 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15313 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15314 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15315 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15317 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15318 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15319 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15320 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15321 * sysdeps/wordsize-32/divdi3.c: Likewise.
15322 * time/sys/time.h: Likewise.
15323 * wcsmbs/Makefile: Likewise.
15324
0549fbba
DM
153252013-01-01 David S. Miller <davem@davemloft.net>
15326
a141f1a7
DM
15327 * po/fr.po: Update from translation team.
15328
0549fbba
DM
15329 * catgets/gencat.c: Update copyright year.
15330 * csu/version.c: Likewise.
15331 * debug/catchsegv.sh: Likewise.
15332 * debug/pcprofiledump.c: Likewise.
15333 * debug/xtrace.sh: Likewise.
15334 * elf/ldconfig.c: Likewise.
15335 * elf/ldd.bash.in: Likewise.
15336 * elf/pldd.c: Likewise.
15337 * elf/sotruss.ksh: Likewise.
15338 * elf/sprof.c: Likewise.
15339 * iconv/iconv_prog.c: Likewise.
15340 * iconv/iconvconfig.c: Likewise.
15341 * locale/programs/locale.c: Likewise.
15342 * locale/programs/localedef.c: Likewise.
15343 * login/programs/pt_chown.c: Likewise.
15344 * malloc/memusage.sh: Likewise.
15345 * malloc/memusagestat.c: Likewise.
15346 * malloc/mtrace.pl: Likewise.
15347 * nscd/nscd.c: Likewise.
15348 * nss/getent.c: Likewise.
15349 * nss/makedb.c: Likewise.
15350 * posix/getconf.c: Likewise.
15351
18ea052c
SP
153522012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15353
15354 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15355 numbers.
15356
9c89fca6
MF
153572012-12-30 Mike Frysinger <vapier@gentoo.org>
15358
15359 * math/bits/mathcalls.h (modf): Use __nonnull.
15360
085ec079
SP
153612012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15362
15363 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15364 (split): Use macro CN instead of the bare value.
15365 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15366 could be used.
15367 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15368 instead of the bare value.
15369 (power1): Likewise.
15370
6d9f97e1
SP
153712012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15372
d63f73be
SP
15373 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15374 __ATAN_TWOM.
15375 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15376
6d9f97e1
SP
15377 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15378 their values.
15379 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15380 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15381 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15382 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15383
4c4febf5
AJ
153842012-12-28 Andreas Jaeger <aj@suse.de>
15385
af5843ef
AJ
15386 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15387 values are from Linux 3.7.
15388
4c4febf5
AJ
15389 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15390 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15391
99136f82
SP
153922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15393
2f216c3c 15394 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15395 TRUE case.
15396
99136f82
SP
15397 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15398 (norm): Likewise.
15399 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15400 variables with preprocessor constants.
15401 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15402 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15403 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15404
7fffbdff
BH
154052012-12-27 Bruno Haible <bruno@clisp.org>
15406
15407 [BZ #14317]
15408 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15409 only if needed.
15410
b76eb5f0
SP
154112012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15412
31a7fe5c
SP
15413 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15414 and use variable directly.
15415 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15416
b76eb5f0
SP
15417 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15418 MPONE.
15419 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15420 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15421 variable MPONE.
15422 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15424 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15425 include directive. Remove local variable MPONE.
15426 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15427 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15428 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15429
2c8bfe7d
DM
154302012-12-25 David S. Miller <davem@davemloft.net>
15431
15432 * version.h (RELEASE): Set to "development".
15433 (VERSION): Set to "2.17.90".
15434 * NEWS: Add 2.18 section.
15435
147d03b0
DM
154362012-12-21 David S. Miller <davem@davemloft.net>
15437
15438 * po/hr.po: Update from translation team.
15439
a8ebb2b9
AK
154402012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15441
15442 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15443
95b4f1b6
SE
154442012-12-19 Steve Ellcey <sellcey@mips.com>
15445
b2d94007 15446 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15447
cedb2a90
MS
154482012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15449
15450 * manual/contrib.texi (Contributors): Spelling correction.
15451
bbf527d6
DM
154522012-12-15 David S. Miller <davem@davemloft.net>
15453
15454 * po/ru.po: Update from translation team.
15455
bc38c906
DM
154562012-12-13 David S. Miller <davem@davemloft.net>
15457
85429b1a
DM
15458 * NEWS: Mention IFUNC testsuite enhancements.
15459
d283e353
DM
15460 * po/pl.po: Update from translation team.
15461 * po/bg.po: Likewise.
15462
bc38c906
DM
15463 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15464 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15465
a181b0d7
DM
154662012-12-11 David S. Miller <davem@davemloft.net>
15467
4641d57e
DM
15468 * po/sv.po: Update from translation team.
15469
f7bc6495
DM
15470 * po/vi.po: Update from translation team.
15471
6fc9048f
DM
15472 * po/cs.po: Update from translation team.
15473
a181b0d7
DM
15474 * po/de.po: Update from translation team.
15475 * po/eo.po: Likewise.
15476 * po/nl.po: Likewise.
15477
f70bfe80
SP
154782012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15479
3c8b4190
SP
15480 [BZ #14246]
15481 * manual/argp.texi (Argp Helper Functions): Move node to follow
15482 Argp Parsing State.
15483
f70bfe80
SP
15484 [BZ #14872]
15485 * manual/conf.texi (Limits on File System Capacity): Mention if
15486 terminating null is included in the max size.
15487
188f0adf
AJ
154882012-12-10 Andreas Jaeger <aj@suse.de>
15489
15490 * po/cs.po: Update from translation team.
15491
56e7d3ad
SP
154922012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15493
15494 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15495 void pointer and cast to uintptr_t.
15496 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15497 path.
15498 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15499 * sysdeps/s390/s390-64/memset.S: Likewise.
15500
76f2d2ea 155012012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15502
15503 [BZ #14833]
15504 * menual/message.texi (Message Translation): Fix typos.
15505 (Helper programs for gettext): Likewise.
15506
67cbf9a2
AS
155072012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15508
15509 [BZ #14898]
15510 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15511 Change to -1.
15512
682d0e9a
DM
155132012-12-07 David S. Miller <davem@davemloft.net>
15514
15515 * po/libc.pot: Update.
15516
573cd484
RH
155172012-12-07 Richard Henderson <rth@redhat.com>
15518
7e9da188 15519 [BZ #10114]
573cd484
RH
15520 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15521 normal/normal case to before the switch.
15522 (_FP_DIV): Likewise.
15523
e933a943
MF
155242012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15525 Mike Frysinger <vapier@gentoo.org>
15526
15527 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15528 check for __NR_fadvise64_64.
15529
82123268
CM
155302012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15531
15532 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15533 0, not just to plain "0" as a statement.
15534 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15535 with cw.
15536
d9814526
JM
155372012-12-06 Joseph Myers <joseph@codesourcery.com>
15538
15539 * NEWS: Use sourceware.org in Bugzilla URL.
15540
7728c574
SP
155412012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15542
f16946dd
SP
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15544 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15545
5704bbcb
SP
15546 * stdio-common/tst-put-error.c (do_test): Add newline to the
15547 padded test to ensure flush.
15548
17aa0516
JL
155492012-12-05 Jeff Law <law@redhat.com>
15550
15551 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15552
363313b5
JM
155532012-12-05 Joseph Myers <joseph@codesourcery.com>
15554
effbd42a
JM
15555 * README: Don't refer to ports add-on as distributed separately.
15556 Mention AArch64 in list of systems supported in the ports add-on.
15557
87600365
JM
15558 * LICENSES: Add more non-FSF copyright and license notices.
15559
a0d7066a
JM
15560 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15561 ((unused)).
15562
66ca5a5b
JM
15563 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15564
363313b5
JM
15565 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15566 10000 as width of padded output.
15567
b37984ad
JM
155682012-12-04 Joseph Myers <joseph@codesourcery.com>
15569
9003570a
JM
15570 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15571
b37984ad
JM
15572 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15573 variable LX with __attribute__ ((unused)).
15574 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15575 Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15578 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15579 with __attribute__ ((unused)).
15580
c8df52ec
DM
155812012-12-04 David S. Miller <davem@abraco.davemloft.net>
15582
15583 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15584
b3b099af
JM
155852012-12-04 Joseph Myers <joseph@codesourcery.com>
15586
c33aa6e3
JM
15587 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15588 (CFLAGS-nldbl-acos.c): New variable.
15589 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15590 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15591 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15592 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15593 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15594 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15595 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15596 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15597 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15598 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15599 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15600 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15601 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15602 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15603 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15604 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15605 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15606 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15607 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15608 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15609 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15610 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15611 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15612 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15613 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15614 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15615 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15616 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15617 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15618 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15619 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15620 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15621 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15622 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15623 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15624 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15625 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15626 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15627 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15628 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15629 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15630 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15631 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15632 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15633 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15634 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15635 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15636 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15637 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15638 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15639 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15640 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15641 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15642 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15643 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15644 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15645 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15646 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15647 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15648 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15649 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15650 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15651 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15652 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15653 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15654 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15655 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15656 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15657 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15658 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15659 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15660 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15661 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15662 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15663 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15664 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15665 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15666 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15667 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15668 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15669 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15670 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15671 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15672 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15673 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15674 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15675 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15676 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15677 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15678 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15679 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15680 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15681 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15682 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15683 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15684 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15685 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15686
20f0018d
JM
15687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15688 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15689
b3b099af
JM
15690 [BZ #14914]
15691 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15692 whole low double instead of just low 47 bits when splitting values
15693 into two parts.
15694
029264d1
AM
156952012-12-03 Allan McRae <allan@archlinux.org>
15696
15697 * manual/stdio.texi (Predefined Printf Handlers): Remove
15698 @hsep and @vsep usage.
15699
c9d6789e
MF
157002012-12-03 Mike Frysinger <vapier@gentoo.org>
15701
15702 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15703 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15704
4b7634a5
JL
157052012-12-03 Jeff Law <law@redhat.com>
15706
15707 * time/sys/time.h (settimeofday): Do not mark TV argument
15708 as __nonnull.
15709
eb6cbd24
MF
157102012-12-01 Mike Frysinger <vapier@gentoo.org>
15711
15712 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15713 when currently writing and seek to current position when not.
15714 * libio/Makefile (tests): Remove bug-fclose1.
15715 * libio/bug-fclose1.c: Delete.
15716
f638872a
JM
157172012-12-01 Joseph Myers <joseph@codesourcery.com>
15718
15719 * manual/arith.texi (feenableexcept): Fix typo.
15720 (fedisableexcept): Likewise.
15721
48085d14
RM
157222012-11-30 Roland McGrath <roland@hack.frob.com>
15723
15724 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15725 second, differently-typed declaration, rather than a cast.
15726
1a538b9f
SP
157272012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15728
15729 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15730 * include/rpc/svc.h: ... here.
15731
d07f2ff1 157322012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15733
15734 [BZ #13013]
15735 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15736 depending n and resplen2 to catch cases where answer
15737 equals answerp2.
15738
c93ec1f0
CD
157392012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15740
15741 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15742 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15743
37db69de
MF
157442012-11-29 Mike Frysinger <vapier@gentoo.org>
15745
15746 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15747
e10c4e4f
RM
157482012-11-29 Roland McGrath <roland@hack.frob.com>
15749
15750 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15751
2af1b328
JL
157522012-11-28 Jeff Law <law@redhat.com>
15753
15754 [BZ #13761]
15755 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15756 dataset_temporary. Track alloca usage into alloca_used.
15757 If dataset is large allocate and release it via malloc/free.
15758
111db5b1
FW
157592012-06-04 Florian Weimer <fweimer@redhat.com>
15760
f06cc227 15761 [BZ #14197]
111db5b1
FW
15762 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15763
dd694abd
DM
157642012-11-28 David S. Miller <davem@davemloft.net>
15765
15766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15767
9984dd01
JM
157682012-11-28 Joseph Myers <joseph@codesourcery.com>
15769
15770 [BZ #14803]
15771 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15772 of pi/2 rounded to nearest to 64 bits.
15773 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15774 nearest to 64 bits.
15775 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15776 bits.
15777
14bc93a9
JL
157782012-11-28 Jeff Law <law@redhat.com>
15779 Martin Osvald <mosvald@redhat.com>
15780
15781 [BZ #14889]
15782 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15783 * sunrpc/svc.c: Include time.h.
15784 (__svc_accept_failed): New function.
15785 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15786 any reason other than EINTR, call __svc_accept_failed.
15787 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15788 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15789
e3c6aa3a
AS
157902012-11-28 Andreas Schwab <schwab@suse.de>
15791
15792 * scripts/abilist.awk: Also handle indirect functions in .opd
15793 section.
15794
1bead169
JM
157952012-11-28 Joseph Myers <joseph@codesourcery.com>
15796
15797 [BZ #13881]
15798 * sysdeps/x86/fpu/powl_helper.c: New file.
15799 * sysdeps/x86/fpu/Makefile: Likewise.
15800 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15801 (p3): New object.
15802 (__ieee754_powl): Use __powl_helper for finite arguments except
15803 integer exponents below 8.
15804 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15805 (p3): New object.
15806 (__ieee754_powl): Use __powl_helper for finite arguments except
15807 integer exponents below 8.
15808 * math/libm-test.inc (pow_test): Add more tests and enable some
15809 previously disabled tests.
15810 * sysdeps/i386/fpu/libm-test-ulps: Update.
15811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15812
0817d63d
SP
158132012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15814 Carlos O'Donell <carlos_odonell@mentor.com>
15815
15816 * nss/makedb.c (is_prime): Assert that input is odd and greater
15817 than 4. Note that fact in a comment too.
15818 (next_prime): Add 4 to input.
15819
de2fd463
SP
158202012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15821
15822 [BZ #11741]
15823 * libio/Makefile (tests): Add test case tst-fwrite-error.
15824 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15825 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15826 * libio/tst-fwrite-error.c: New test case.
15827
c515fb51
L
158282012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15829
15830 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15831 before casting to void *.
15832 * include/libc-internal.h (__pointer_type): New macro.
15833 (__integer_if_pointer_type_sub): Likewise.
15834 (__integer_if_pointer_type): Likewise.
15835 (cast_to_integer): Likewise.
15836 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15837 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15838 before casting to atomic64_t.
15839 (atomic_exchange_acq): Likewise.
15840 (__arch_exchange_and_add_body): Likewise.
15841 (__arch_add_body): Likewise.
15842 (atomic_add_negative): Likewise.
15843 (atomic_add_zero): Likewise.
15844
4cf77aa9
JM
158452012-11-26 Joseph Myers <joseph@codesourcery.com>
15846
15847 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15848 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15849 (add_fdes): Likewise.
15850 (linear_search_fdes): Likewise.
15851 (binary_search_unencoded_fdes): Likewise.
15852
d260b3b4
AS
158532012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15854
15855 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15856
67060746
AC
158572012-11-24 Adam Conrad <adconrad@0c3.net>
15858
15859 * configure.in: Autodetect C++ header directories.
15860 * configure: Regenerated.
15861
800938a1
MF
158622012-11-23 Mike Frysinger <vapier@gentoo.org>
15863
15864 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15865
4e6e34e6
AS
158662012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15867
15868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15869
7c7feb47
JM
158702012-11-22 Joseph Myers <joseph@codesourcery.com>
15871
7184dcdf
JM
15872 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15873 LDBL_MANT_DIG == 106]: Disable some tests.
15874 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15875 Likewise.
15876 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15877 Likewise.
15878
0a42601f
JM
15879 [BZ #14871]
15880 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15881 input for small inputs. Return +/- pi/2 for large inputs.
15882 * math/libm-test.inc (atan_test): Add more tests.
15883
79c9b9fe
JM
15884 * sysdeps/generic/unwind-dw2-fde-glibc.c
15885 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15886 __attribute__ ((unused)).
15887
c60d3bf2
JM
15888 [BZ #14645]
15889 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15890 x * y if x and y are nonzero and z is zero.
15891
ef1e0867
JM
15892 [BZ #14811]
15893 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15894 nonzero exponents with absolute value below 0x1p-117 to +/-
15895 0x1p-117.
15896
1468ded3
JM
15897 [BZ #14869]
15898 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15899 up arguments below 2**-450, not just those below 2**-500.
15900 * math/libm-test.inc (hypot_test): Add another test.
15901
8e27e3cc
JM
15902 [BZ #14868]
15903 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15904 Return a+b for ratio over 2**120, not 2**60.
15905 * math/libm-test.inc (hypot_test): Add another test.
15906
c9c0279b
JM
15907 * math/libm-test.inc (clog_test): Use
15908 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15909 (clog10_test): Likewise.
15910
7c7feb47
JM
15911 [BZ #6778]
15912 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15913
fff1530e
AS
159142012-11-22 Andreas Schwab <schwab@suse.de>
15915
15916 * sysdeps/i386/fpu/libm-test-ulps: Update.
15917
94558d30
PT
159182012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15919
15920 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15921 printf output with newline.
15922
7e1be741
L
159232012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15924
6bfea974
L
15925 [BZ #14865]
15926 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15927 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15928 -z nodlopen, -z initfirst and -z execstack support.
15929 * configure: Regenerated.
15930
7e1be741
L
15931 * elf/elf.h (DF_1_NODIRECT): New macro.
15932 (DF_1_IGNMULDEF): Likewise.
15933 (DF_1_NOKSYMS): Likewise.
15934 (DF_1_NOHDR): Likewise.
15935 (DF_1_EDITED): Likewise.
15936 (DF_1_NORELOC): Likewise.
15937 (DF_1_SYMINTPOSE): Likewise.
15938 (DF_1_GLOBAUDIT): Likewise.
15939 (DF_1_SINGLETON): Likewise.
15940 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15941 DT_1_SUPPORTED_MASK bits.
15942 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15943
105ce2ce
CD
159442012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15945
15946 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15947
123be9de
TS
159482012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15949
d072f3f7
TS
15950 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15951 macro.
15952
123be9de
TS
15953 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15954 (sendmmsg): Move declarations...
15955 * socket/sys/socket.h: ... here.
15956 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15957 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15958 include it from...
15959 * socket/recvmmsg.c: ... this new file.
15960 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15961 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15962 definition of __sendmmsg hidden.
15963 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15964 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15965 Move ENOSYS stub into and include it from...
15966 * socket/sendmmsg.c: ... this new file.
15967 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15968 (sysdep_routines): Move recvmmsg and sendmmsg...
15969 * socket/Makefile (routines): ... here.
15970 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15971 (GLIBC_PRIVATE): Add __sendmmsg.
15972 * include/sys/socket.h (__sendmmsg): Add declarations.
15973 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15974 sendmmsg.
15975
cf9a5d18
JM
159762012-11-20 Joseph Myers <joseph@codesourcery.com>
15977
15978 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15979 variable I1 with __attribute__ ((unused)).
15980 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15981
ecd4caf9
JM
159822012-11-19 Joseph Myers <joseph@codesourcery.com>
15983
be14d48f
JM
15984 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15985 DUMMY variables with __attribute__ ((unused)).
15986
ecd4caf9
JM
15987 * bits/byteswap.h: Include <bits/types.h>.
15988 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15989
986cab95
PT
159902012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15991
15992 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15993 string_t. Do not manually set errno.
15994 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15995 length with __strnlen. Make sure to both set errno and return it on
15996 failure.
15997
6d33cc9d
DM
159982012-11-19 David S. Miller <davem@davemloft.net>
15999
16000 With help from Joseph Myers.
16001 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16002 very large arguments properly.
16003 * math/libm-test.inc (atan_test): New tests.
16004 (atan2_test): New tests.
16005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16007
ee663277
JM
160082012-11-19 Joseph Myers <joseph@codesourcery.com>
16009
877f2d8e
JM
16010 [BZ #14856]
16011 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16012 Define to 3.
16013
116fc08a
JM
16014 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16015 [POSIX] (EADDRNOTAVAIL): Likewise.
16016 [POSIX] (EAFNOSUPPORT): Likewise.
16017 [POSIX] (EALREADY): Likewise.
16018 [POSIX] (ECONNABORTED): Likewise.
16019 [POSIX] (ECONNREFUSED): Likewise.
16020 [POSIX] (ECONNRESET): Likewise.
16021 [POSIX] (EDESTADDRREQ): Likewise.
16022 [POSIX] (EDQUOT): Likewise.
16023 [POSIX] (EHOSTUNREACH): Likewise.
16024 [POSIX] (EIDRM): Likewise.
16025 [POSIX] (EISCONN): Likewise.
16026 [POSIX] (ELOOP): Likewise.
16027 [POSIX] (EMULTIHOP): Likewise.
16028 [POSIX] (ENETDOWN): Likewise.
16029 [POSIX] (ENETUNREACH): Likewise.
16030 [POSIX] (ENOBUFS): Likewise.
16031 [POSIX] (ENODATA): Likewise.
16032 [POSIX] (ENOLINK): Likewise.
16033 [POSIX] (ENOMSG): Likewise.
16034 [POSIX] (ENOPROTOOPT): Likewise.
16035 [POSIX] (ENOSR): Likewise.
16036 [POSIX] (ENOSTR): Likewise.
16037 [POSIX] (ENOTCONN): Likewise.
16038 [POSIX] (ENOTSOCK): Likewise.
16039 [POSIX] (EOPNOTSUPP): Likewise.
16040 [POSIX] (EOVERFLOW): Likewise.
16041 [POSIX] (EPROTO): Likewise.
16042 [POSIX] (EPROTONOSUPPORT): Likewise.
16043 [POSIX] (EPROTOTYPE): Likewise.
16044 [POSIX] (ESTALE): Likewise.
16045 [POSIX] (ETIME): Likewise.
16046 [POSIX] (ETXTBSY): Likewise.
16047 [POSIX] (EWOULDBLOCK): Likewise.
16048 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16049 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16050 [POSIX] (SEEK_CUR): Likewise.
16051 [POSIX] (SEEK_END): Likewise.
16052 [POSIX || UNIX98] (mode_t): Do not require.
16053 [POSIX] (off_t): Likewise.
16054 [POSIX] (pid_t): Likewise.
16055 [POSIX] (sys/stat.h): Do not allow header.
16056 [POSIX] (unistd.h): Likewise.
16057 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16058 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16059 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16060 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16061 require.
16062 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16063 sigevent): Specify elements.
16064 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16065 entry.
16066 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16067 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16068
a483863f
JM
16069 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16070 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16071 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16072 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16073 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16074 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16075 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16076 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16077 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16078 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16079 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16080 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16081 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16082 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16083 Likewise.
16084 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16085 Likewise.
16086 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16087 Likewise.
16088 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16089 Likewise.
16090 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16091 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16092 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16093 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16094 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16095 Specify lower bound on value.
16096 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16097 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16098 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16099 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16100 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16101 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16102 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16103 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16104 value.
16105 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16106 as optional.
16107 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16108 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16109 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16110 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16111 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16112 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16113 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16114 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16115 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16116 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16117 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16118 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16119 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16120 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16121 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16122 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16123 entry.
16124 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16125 optional.
16126 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16127 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16128 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16129 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16130 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16131 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16132 Likewise.
16133 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16134 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16135 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16136 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16137 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16138 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16139 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16140 as optional.
16141 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16142 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16143 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16144 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16145 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16146 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16147 specify as optional.
16148 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16149 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16150 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16151 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16152 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16153 [XPG3] (NL_LANGMAX): Likewise.
16154 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16155 [POSIX || XPG3] (NL_NMAX): Likewise.
16156 [POSIX || XPG3] (NL_SETMAX): Likewise.
16157 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16158 [XPG3] (NZERO): Likewise.
16159 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16160 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16161 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16162 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16163 (REG_ERANGE): Expect.
16164 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16165 optional-constant.
16166 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16167 Use (void) in prototype.
16168 [POSIX] (*_t): Allow.
16169 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16170 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16171 (WRDE_BADVAL): Expect.
16172
5ba924e3
JM
16173 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16174 expect.
16175 [XPG3 || XPG4] (O_RSYNC): Likewise.
16176 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16177 Likewise.
16178 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16179 [XPG3 || XPG4] (sigqueue): Likewise.
16180 [XPG3 || XPG4] (sigtimedwait): Likewise.
16181 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16182 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16183 [XPG3 || XPG4] (vsnprintf): Likewise.
16184 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16185 Likewise.
16186 [XPG3 || XPG4] (blksize_t): Likewise.
16187 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16188 Likewise.
16189 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16190 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16191 [XPG3 || XPG4] (struct itimerspec): Likewise.
16192 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16193 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16194 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16195 [XPG3 || XPG4] (clockid_t): Likewise.
16196 [XPG3 || XPG4] (timer_t): Likewise.
16197 [XPG3 || XPG4] (clock_getres): Likewise.
16198 [XPG3 || XPG4] (clock_gettime): Likewise.
16199 [XPG3 || XPG4] (clock_settime): Likewise.
16200 [XPG3 || XPG4] (nanosleep): Likewise.
16201 [XPG3 || XPG4] (timer_create): Likewise.
16202 [XPG3 || XPG4] (timer_delete): Likewise.
16203 [XPG3 || XPG4] (timer_gettime): Likewise.
16204 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16205 [XPG3 || XPG4] (timer_settime): Likewise.
16206 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16207 [XPG3 || XPG4] (getlogin_r): Likewise.
16208 [XPG3 || XPG4] (pread): Likewise.
16209 [XPG3 || XPG4] (pthread_atfork): Likewise.
16210 [XPG3 || XPG4] (pwrite): Likewise.
16211
ee663277
JM
16212 [BZ #14835]
16213 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16214 <bits/siginfo.h>.
16215
942caa16
PT
162162012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16217
e19af380
PT
16218 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16219 finalizing MALLSTREAM.
16220
942caa16
PT
16221 * sysdeps/mach/hurd/syncfs.c: New file.
16222
cfde9b46
SP
162232012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16224
16225 [BZ #14719]
16226 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16227 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16228 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16229 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16230 (_nss_dns_gethostbyname4_r): Likewise.
16231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16232 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16233
f6da27e5
PH
162342012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16235
16236 [BZ #13763]
16237 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16238
6665d4a2
SM
162392012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16240
1f51ee92
SM
16241 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16242 * elf/cache.c (print_entry): Print ",AArch64" for
16243 FLAG_AARCH64_LIB64
16244
6665d4a2
SM
16245 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16246 * elf/cache.c (print_entry): Print ",hard-float" for
16247 FLAG_ARM_LIBHF.
16248
05b227bd
DM
162492012-11-18 David S. Miller <davem@davemloft.net>
16250
16251 With help from Joseph Myers.
16252 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16253 cutoff to 2**-13.
16254 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16255 cutoff to 2**-25.
16256 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16257 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16258 small.
16259 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16260 * math/libm-test.inc (y0_test): New tests.
16261 (y1_test): New tests.
16262 * sysdeps/i386/fpu/libm-test-ulps: Update.
16263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16265
786b0b67
AS
162662012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16267
16268 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16269 64-bit targets.
16270 * configure: Regenerated.
16271
8e18b86d
DM
162722012-11-17 David S. Miller <davem@davemloft.net>
16273
16274 [BZ #14811]
16275 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16276 nonzero exponents with absolute value below 0x1p-128 to +/-
16277 0x1p-128.
16278
531f1ae0
JM
162792012-11-17 Joseph Myers <joseph@codesourcery.com>
16280
12df29e2
JM
16281 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16282
150dc1a0
JM
16283 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16284
531f1ae0
JM
16285 * posix/getconf-speclist.c: New file.
16286 * posix/posix-envs.def: Likewise.
16287 * posix/confstr.c (START_ENV_GROUP): New macro.
16288 (END_ENV_GROUP): Likewise.
16289 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16290 (KNOWN_PRESENT_ENV_STRING): Likewise.
16291 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16292 (UNKNOWN_ENVIRONMENT): Likewise.
16293 (confstr): Include posix-envs.def instead of handling
16294 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16295 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16296 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16297 (END_ENV_GROUP): Likewise.
16298 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16299 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16300 (UNKNOWN_ENVIRONMENT): Likewise.
16301 (__sysconf): Include posix-envs.def instead of handling associated
16302 cases directly here.
16303 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16304 preprocessing getconf-speclist.c rather than running getconf or
16305 generating empty file.
16306
a93f9cbc
PT
163072012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16308
16309 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16310
d64d9f87
AL
163112012-11-16 Andrej Lajovic <natrij@gmail.com>
16312
16313 [BZ #14672]
16314 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16315
447885eb
DM
163162012-11-16 David S. Miller <davem@davemloft.net>
16317
16318 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16319 smaller than LDBL_EPSILON/2.0L, just return xm1.
16320
bcbf9830
L
163212012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16322
16323 * elf/tst-array1.c (init): Set constructor priority to 1000.
16324 (fini): Set destructor priority to 1000.
16325 * elf/tst-array2dep.c: Likewise.
16326
2b766585
SP
163272012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16328
16329 [BZ #11741]
16330 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16331 (_IO_new_file_xsputn): Also return EOF if none of the input
16332 data was written when overflow failed.
16333 * libio/iopadn.c (_IO_padn): Likewise.
16334 * libio/iowpadn.c (_IO_wpadn): Likewise.
16335 * stdio-common/tst-put-error.c: Add copyright notice.
16336 (do_test): Add case for printing padded string.
16337 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16338 _IO_padn returned error.
16339 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16340 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16341 return EOF.
16342
b1848fde
SP
163432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16344
16345 * libio/libioP.h: Add comment note that the references to C++
16346 bits are now obsolete.
16347
2fd89785
MS
163482012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16349
16350 * math/libm-test.inc (check_complex): Use asprintf.
16351
e3ea5409
JM
163522012-11-14 Joseph Myers <joseph@codesourcery.com>
16353
16354 * debug/pcprofiledump.c (print_version): Update copyright year.
16355 * malloc/memusagestat.c (print_version): Likewise.
16356
2e64d265
L
163572012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16358
16359 [BZ #14831]
16360 * elf/Makefile (tests): Add tst-audit8.
16361 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16362 ($(objpfx)tst-audit8.out): New target.
16363 (tst-audit8-ENV): New variable.
16364 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16365 audit if l_reloc_result is NULL.
16366 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16367 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16368 * elf/tst-audit8.c: New file.
16369
c485e4d2
MS
163702012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16371
16372 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16373 * misc/Makefile (CFLAGS-select.c): Define.
16374 * posix/Makefile (CFLAGS-pause.c): Define.
16375
3a0d900a
DM
163762012-11-13 David S. Miller <davem@davemloft.net>
16377
16378 * crypt/Makefile: Move test targets after toplevel Rules
16379 inclusion. Grab any necessary sysdep routines when linking.
16380 * crypt/md5.c (md5_process_block): Remove define, we will always
16381 name it __md5_process_block.
16382 (md5_finish_ctx): Update md5_process_block call.
16383 (md5_stream): Likewise.
16384 (md5_process_bytes): Likewise.
16385 (md5_process_block): Rename to __md5_process_block and move to ...
16386 * crypt/md5-block.c: ... here.
16387 * crypt/sha256.c (sha256_process_block): Move to ...
16388 * crypt/sha256-block.c: ... here.
16389 * crypt/sha512.c (sha512_process_block): Move to ...
16390 * crypt/sha512-block.c: ... here.
16391 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16392 path.
16393 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16394 * sysdeps/sparc/sparc64/multiarch/Makefile
16395 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16396 crypt subdir.
16397 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16398 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16399 multiarch changes.
16400 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16401 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16402 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16403 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16404 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16405 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16406 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16407 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16408 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16409 file.
16410 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16411 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16412 file.
16413 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16414
8ca89318
JM
164152012-11-13 Joseph Myers <joseph@codesourcery.com>
16416
e27d476a
JM
16417 * timezone/tzselect.ksh: Update from tzcode git revision
16418 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16419 * timezone/zdump.c: Likewise.
16420 * timezone/zic.c: Likewise.
16421 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16422 in TZVERSION setting, not $(PKGVERSION).
16423 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16424 REPORT_BUGS_TO settings.
16425
8ca89318
JM
16426 [BZ #14838]
16427 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16428 macro.
16429
47594329
MS
164302012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16431
16432 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16433 detection to immediately after _FP_ROUND().
16434 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16435 bits are 0.
16436
640ac3f1
DM
164372012-11-11 David S. Miller <davem@davemloft.net>
16438
16439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16440 inttypes.h
16441 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16442 __close rather than their public counterparts.
16443
3d2577bb
JM
164442012-11-10 Joseph Myers <joseph@codesourcery.com>
16445
16446 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16447 file.
16448 [UNIX98] (sem_timedwait): Do not expect.
16449 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16450 [XPG4 || UNIX98] (sockatmark): Do not expect.
16451 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16452 (clock_getcpuclockid): Do not expect.
16453 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16454 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16455 Do not expect.
16456 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16457 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16458 [UNIX98] (vwscanf): Likewise.
16459 [UNIX98] (vswscanf): Likewise.
16460
fb1ae1ee
JM
164612012-11-09 Joseph Myers <joseph@codesourcery.com>
16462
9ec6f8bd
JM
16463 * timezone/version.h: Remove file.
16464 * timezone/README: Do not refer to version.h.
16465 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16466 $(objpfx)version.h.
16467 ($(objpfx)zdump.o): Likewise.
c3f81911 16468 ($(objpfx)version.h): New target.
9ec6f8bd 16469
0aa8f8a1
JM
16470 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16471 2012i.
16472 * timezone/README: Don't mention modification to tzselect.ksh.
16473 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16474 work on unmodified tzselect.ksh. Substitute version numbers in
16475 tzselect.ksh.
16476
4e87147f
JM
16477 * Makefile (format-me): Remove.
16478 (INSTALL): Adjust indentation. Use commands directly instead of
16479 using $(format-me).
16480
8b748aed
JM
16481 * aclocal.m4 (ACX_PKGVERSION): New macro.
16482 (ACX_BUGURL): Likewise.
16483 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16484 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16485 (REPORT_BUGS_TO): Likewise.
16486 * configure: Regenerated.
16487 * config.h.in (PKGVERSION): New macro.
16488 (REPORT_BUGS_TO): Likewise.
16489 * config.make.in (PKGVERSION): New variable.
16490 (PKGVERSION_TEXI): Likewise.
16491 (REPORT_BUGS_TO): Likewise.
16492 (REPORT_BUGS_TEXI): Likewise.
16493 * Makefile (format-me): Use -I$(common-objpfx)manual.
16494 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16495 ($(common-objpfx)manual/%): New target.
16496 (manual/%): Remove target.
16497 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16498 (print_version): Use PKGVERSION.
16499 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16500 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16501 and REPORT_BUGS_TO.
16502 ($(objpfx)xtrace): Likewise.
16503 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16504 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16505 (print_version): Use PKGVERSION.
16506 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16507 (do_version): Use PKGVERSION.
16508 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16509 REPORT_BUGS_TO.
16510 (common-ldd-rewrite): Likewise.
16511 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16512 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16513 (print_version): Use PKGVERSION.
16514 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16515 * elf/pldd.c (argp_program_bug_address): Remove variable.
16516 (more_help): New function.
16517 (argp): Use more_help.
16518 (print_version): Use PKGVERSION.
16519 * elf/sln.c (main): Use PKGVERSION.
16520 (usage): Use REPORT_BUGS_TO.
16521 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16522 (top level): Use PKGVERSION.
16523 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16524 (print_version): Use PKGVERSION.
16525 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16526 (print_version): Use PKGVERSION.
16527 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16528 (print_version): Use PKGVERSION.
16529 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16530 (print_version): Use PKGVERSION.
16531 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16532 (print_version): Use PKGVERSION.
16533 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16534 (print_version): Use PKGVERSION.
16535 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16536 and BUGURL.
16537 ($(objpfx)memusage): Likewise.
16538 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16539 (do_version): Use PKGVERSION.
16540 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16541 (print_version): Use PKGVERSION.
16542 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16543 ($PKGVERSION): New variable.
16544 ($REPORT_BUGS_TO): Likewise.
16545 (usage): Use $REPORT_BUGS_TO.
16546 (top level): Use $PKGVERSION.
16547 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16548 ($(objpfx)pkgvers.texi): New rule.
16549 ($(objpfx)stamp-pkgvers): Likewise.
16550 * manual/install.texi: Include pkgvers.texi.
16551 (--with-pkgversion): Document new configure option.
16552 (--with-bugurl): Likewise.
16553 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16554 than necessarily for this particular distribution. Use
16555 REPORT_BUGS_TO for where to report bugs.
16556 * INSTALL: Regenerated.
16557 * manual/libc.texinfo: Include pkgvers.texi.
16558 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16559 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16560 (print_version): Use PKGVERSION.
16561 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16562 (print_version): Use PKGVERSION.
16563 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16564 (print_version): Use PKGVERSION.
16565 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16566 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16567 macro.
16568 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16569 (print_version): Use PKGVERSION.
16570 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16571 (print_version): Use PKGVERSION.
16572 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16573 and PKGVERSION.
16574
92e4b6a9
JM
16575 * timezone/checktab.awk: Update from tzcode 2012i.
16576 * timezone/ialloc.c: Likewise.
16577 * timezone/private.h: Likewise.
16578 * timezone/scheck.c: Likewise.
16579 * timezone/tzfile.h: Likewise.
16580 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16581 (TZVERSION): Hardcode tzcode version number.
16582 * timezone/zdump.c: Update from tzcode 2012i.
16583 * timezone/zic.c: Likewise.
16584 * timezone/version.h: New file.
16585 * timezone/README: Describe version.h. Update upstream location.
16586
9bde902c
JM
16587 [BZ #14824]
16588 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16589 (mktemp): Enable declaration.
16590 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16591 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16592 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16593 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16594 Likewise.
16595 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16596 Likewise.
16597 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16598 Likewise.
16599 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16600 Likewise.
16601 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16602 Likewise.
16603 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16604 Likewise.
16605
fb1ae1ee
JM
16606 [BZ #14821]
16607 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16608 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16609 for copies of such integer values.
16610 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16611 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16612
2c1adbcb
AJ
166132012-11-09 Andreas Jaeger <aj@suse.de>
16614
16615 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16616 definitions and declarations that are provided by
16617 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16618
d0f8457e
AK
166192012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16620
3a235abb 16621 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16622 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16623 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16624 definition.
16625
57241e26
MS
166262012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16627
16628 * elf/elf.h: Update comment before AArch64 relocations.
16629
60e8270d
DM
166302012-11-07 David S. Miller <davem@davemloft.net>
16631
16632 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16633 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16634 (__start_context): Declare.
16635 (__makecontext_ret): Delete.
16636 (__makecontext): Hook up __start_context instead of
16637 __makecontext_ret.
16638 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16639 (sysdep_routines): Add __start_context when in stdlib.
16640
0fbb0fbc
JM
166412012-11-07 Joseph Myers <joseph@codesourcery.com>
16642
16643 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16644 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16645 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16646 hardcoded "nm".
16647 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16648 (READELF): New variable. Use it instead of hardcoded "readelf".
16649
eb48db7e
L
166502012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16651
16652 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16653 * sysdeps/x86/Makefile: Here.
16654 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16655 * sysdeps/x86/tst-xmmymm.sh: This.
16656
05bcf62a
JM
166572012-11-07 Joseph Myers <joseph@codesourcery.com>
16658
c4b6cf53
JM
16659 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16660 expectations.
16661 [UNIX98] (pthread_barrier_t): Do not expect.
16662 [UNIX98] (pthread_barrierattr_t): Likewise.
16663 [UNIX98] (pthread_spinlock_t): Likewise.
16664 [UNIX98] (pthread_barrier_destroy): Likewise.
16665 [UNIX98] (pthread_barrier_init): Likewise.
16666 [UNIX98] (pthread_barrier_wait): Likewise.
16667 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16668 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16669 [UNIX98] (pthread_barrierattr_init): Likewise.
16670 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16671 [UNIX98] (pthread_getcpuclockid): Likewise.
16672 [UNIX98] (pthread_mutex_timedlock): Likewise.
16673 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16674 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16675 [UNIX98] (pthread_sigmask): Likewise.
16676 [UNIX98] (pthread_spin_destroy): Likewise.
16677 [UNIX98] (pthread_spin_init): Likewise.
16678 [UNIX98] (pthread_spin_lock): Likewise.
16679 [UNIX98] (pthread_spin_trylock): Likewise.
16680 [UNIX98] (pthread_spin_unlock): Likewise.
16681 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16682 Do not expect.
16683 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16684 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16685 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16686 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16687 [XPG3 || XPG4] (pthread_key_t): Likewise.
16688 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16689 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16690 [XPG3 || XPG4] (pthread_once_t): Likewise.
16691 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16692 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16693 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16694 [XPG3 || XPG4] (pthread_t): Likewise.
16695
cbe6e120
JM
16696 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16697 not expect.
16698 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16699
1b126443
JM
16700 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16701 Change function return type to int.
16702
b961a573
JM
16703 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16704 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16705 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16706 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16707 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16708 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16709 [!POSIX] (posix_madvise): Likewise.
16710 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16711 && !UNIX98].
16712 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16713 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16714 (mode_t): Likewise.
16715 (posix_mem_offset): Likewise.
16716 (posix_typed_mem_get_info): Likewise.
16717 (posix_typed_mem_open): Likewise.
16718
9e188909
JM
16719 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16720 Change condition to [XOPEN2K8].
16721
05bcf62a
JM
16722 * conform/conformtest.pl: Preprocess allow-header data with -x c
16723 instead of from stdin.
16724 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16725 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16726 [C99-based standards] (cerfc): Likewise.
16727 [C99-based standards] (cexp2): Likewise.
16728 [C99-based standards] (cexpm1): Likewise.
16729 [C99-based standards] (clog10): Likewise.
16730 [C99-based standards] (clog1p): Likewise.
16731 [C99-based standards] (clog2): Likewise.
16732 [C99-based standards] (clgamma): Likewise.
16733 [C99-based standards] (ctgamma): Likewise.
16734 [C99-based standards] (cerff): Likewise.
16735 [C99-based standards] (cerfcf): Likewise.
16736 [C99-based standards] (cexp2f): Likewise.
16737 [C99-based standards] (cexpm1f): Likewise.
16738 [C99-based standards] (clog10f): Likewise.
16739 [C99-based standards] (clog1pf): Likewise.
16740 [C99-based standards] (clog2f): Likewise.
16741 [C99-based standards] (clgammaf): Likewise.
16742 [C99-based standards] (ctgammaf): Likewise.
16743 [C99-based standards] (cerfl): Likewise.
16744 [C99-based standards] (cerfcl): Likewise.
16745 [C99-based standards] (cexp2l): Likewise.
16746 [C99-based standards] (cexpm1l): Likewise.
16747 [C99-based standards] (clog10l): Likewise.
16748 [C99-based standards] (clog1pl): Likewise.
16749 [C99-based standards] (clog2l): Likewise.
16750 [C99-based standards] (clgammal): Likewise.
16751 [C99-based standards] (ctgammal): Likewise.
16752 * conform/data/inttypes.h-data [C99-based standards]: Include
16753 stdint.h-data. Remove all expectations for stdint.h contents.
16754 [C99-based standards] (PRI*): Do not allow.
16755 [C99-based standards] (SCN*): Likewise.
16756 [C99-based standards] (*_t): Likewise.
16757 [C99-based-standards] (PRId8): Expect macro.
16758 [C99-based-standards] (PRIi8): Likewise.
16759 [C99-based-standards] (PRIo8): Likewise.
16760 [C99-based-standards] (PRIu8): Likewise.
16761 [C99-based-standards] (PRIx8): Likewise.
16762 [C99-based-standards] (PRIX8): Likewise.
16763 [C99-based-standards] (SCNd8): Likewise.
16764 [C99-based-standards] (SCNi8): Likewise.
16765 [C99-based-standards] (SCNo8): Likewise.
16766 [C99-based-standards] (SCNu8): Likewise.
16767 [C99-based-standards] (SCNx8): Likewise.
16768 [C99-based-standards] (PRIdLEAST8): Likewise.
16769 [C99-based-standards] (PRIiLEAST8): Likewise.
16770 [C99-based-standards] (PRIoLEAST8): Likewise.
16771 [C99-based-standards] (PRIuLEAST8): Likewise.
16772 [C99-based-standards] (PRIxLEAST8): Likewise.
16773 [C99-based-standards] (PRIXLEAST8): Likewise.
16774 [C99-based-standards] (SCNdLEAST8): Likewise.
16775 [C99-based-standards] (SCNiLEAST8): Likewise.
16776 [C99-based-standards] (SCNoLEAST8): Likewise.
16777 [C99-based-standards] (SCNuLEAST8): Likewise.
16778 [C99-based-standards] (SCNxLEAST8): Likewise.
16779 [C99-based-standards] (PRIdFAST8): Likewise.
16780 [C99-based-standards] (PRIiFAST8): Likewise.
16781 [C99-based-standards] (PRIoFAST8): Likewise.
16782 [C99-based-standards] (PRIuFAST8): Likewise.
16783 [C99-based-standards] (PRIxFAST8): Likewise.
16784 [C99-based-standards] (PRIXFAST8): Likewise.
16785 [C99-based-standards] (SCNdFAST8): Likewise.
16786 [C99-based-standards] (SCNiFAST8): Likewise.
16787 [C99-based-standards] (SCNoFAST8): Likewise.
16788 [C99-based-standards] (SCNuFAST8): Likewise.
16789 [C99-based-standards] (SCNxFAST8): Likewise.
16790 [C99-based-standards] (PRId16): Likewise.
16791 [C99-based-standards] (PRIi16): Likewise.
16792 [C99-based-standards] (PRIo16): Likewise.
16793 [C99-based-standards] (PRIu16): Likewise.
16794 [C99-based-standards] (PRIx16): Likewise.
16795 [C99-based-standards] (PRIX16): Likewise.
16796 [C99-based-standards] (SCNd16): Likewise.
16797 [C99-based-standards] (SCNi16): Likewise.
16798 [C99-based-standards] (SCNo16): Likewise.
16799 [C99-based-standards] (SCNu16): Likewise.
16800 [C99-based-standards] (SCNx16): Likewise.
16801 [C99-based-standards] (PRIdLEAST16): Likewise.
16802 [C99-based-standards] (PRIiLEAST16): Likewise.
16803 [C99-based-standards] (PRIoLEAST16): Likewise.
16804 [C99-based-standards] (PRIuLEAST16): Likewise.
16805 [C99-based-standards] (PRIxLEAST16): Likewise.
16806 [C99-based-standards] (PRIXLEAST16): Likewise.
16807 [C99-based-standards] (SCNdLEAST16): Likewise.
16808 [C99-based-standards] (SCNiLEAST16): Likewise.
16809 [C99-based-standards] (SCNoLEAST16): Likewise.
16810 [C99-based-standards] (SCNuLEAST16): Likewise.
16811 [C99-based-standards] (SCNxLEAST16): Likewise.
16812 [C99-based-standards] (PRIdFAST16): Likewise.
16813 [C99-based-standards] (PRIiFAST16): Likewise.
16814 [C99-based-standards] (PRIoFAST16): Likewise.
16815 [C99-based-standards] (PRIuFAST16): Likewise.
16816 [C99-based-standards] (PRIxFAST16): Likewise.
16817 [C99-based-standards] (PRIXFAST16): Likewise.
16818 [C99-based-standards] (SCNdFAST16): Likewise.
16819 [C99-based-standards] (SCNiFAST16): Likewise.
16820 [C99-based-standards] (SCNoFAST16): Likewise.
16821 [C99-based-standards] (SCNuFAST16): Likewise.
16822 [C99-based-standards] (SCNxFAST16): Likewise.
16823 [C99-based-standards] (PRId32): Likewise.
16824 [C99-based-standards] (PRIi32): Likewise.
16825 [C99-based-standards] (PRIo32): Likewise.
16826 [C99-based-standards] (PRIu32): Likewise.
16827 [C99-based-standards] (PRIx32): Likewise.
16828 [C99-based-standards] (PRIX32): Likewise.
16829 [C99-based-standards] (SCNd32): Likewise.
16830 [C99-based-standards] (SCNi32): Likewise.
16831 [C99-based-standards] (SCNo32): Likewise.
16832 [C99-based-standards] (SCNu32): Likewise.
16833 [C99-based-standards] (SCNx32): Likewise.
16834 [C99-based-standards] (PRIdLEAST32): Likewise.
16835 [C99-based-standards] (PRIiLEAST32): Likewise.
16836 [C99-based-standards] (PRIoLEAST32): Likewise.
16837 [C99-based-standards] (PRIuLEAST32): Likewise.
16838 [C99-based-standards] (PRIxLEAST32): Likewise.
16839 [C99-based-standards] (PRIXLEAST32): Likewise.
16840 [C99-based-standards] (SCNdLEAST32): Likewise.
16841 [C99-based-standards] (SCNiLEAST32): Likewise.
16842 [C99-based-standards] (SCNoLEAST32): Likewise.
16843 [C99-based-standards] (SCNuLEAST32): Likewise.
16844 [C99-based-standards] (SCNxLEAST32): Likewise.
16845 [C99-based-standards] (PRIdFAST32): Likewise.
16846 [C99-based-standards] (PRIiFAST32): Likewise.
16847 [C99-based-standards] (PRIoFAST32): Likewise.
16848 [C99-based-standards] (PRIuFAST32): Likewise.
16849 [C99-based-standards] (PRIxFAST32): Likewise.
16850 [C99-based-standards] (PRIXFAST32): Likewise.
16851 [C99-based-standards] (SCNdFAST32): Likewise.
16852 [C99-based-standards] (SCNiFAST32): Likewise.
16853 [C99-based-standards] (SCNoFAST32): Likewise.
16854 [C99-based-standards] (SCNuFAST32): Likewise.
16855 [C99-based-standards] (SCNxFAST32): Likewise.
16856 [C99-based-standards] (PRId64): Likewise.
16857 [C99-based-standards] (PRIi64): Likewise.
16858 [C99-based-standards] (PRIo64): Likewise.
16859 [C99-based-standards] (PRIu64): Likewise.
16860 [C99-based-standards] (PRIx64): Likewise.
16861 [C99-based-standards] (PRIX64): Likewise.
16862 [C99-based-standards] (SCNd64): Likewise.
16863 [C99-based-standards] (SCNi64): Likewise.
16864 [C99-based-standards] (SCNo64): Likewise.
16865 [C99-based-standards] (SCNu64): Likewise.
16866 [C99-based-standards] (SCNx64): Likewise.
16867 [C99-based-standards] (PRIdLEAST64): Likewise.
16868 [C99-based-standards] (PRIiLEAST64): Likewise.
16869 [C99-based-standards] (PRIoLEAST64): Likewise.
16870 [C99-based-standards] (PRIuLEAST64): Likewise.
16871 [C99-based-standards] (PRIxLEAST64): Likewise.
16872 [C99-based-standards] (PRIXLEAST64): Likewise.
16873 [C99-based-standards] (SCNdLEAST64): Likewise.
16874 [C99-based-standards] (SCNiLEAST64): Likewise.
16875 [C99-based-standards] (SCNoLEAST64): Likewise.
16876 [C99-based-standards] (SCNuLEAST64): Likewise.
16877 [C99-based-standards] (SCNxLEAST64): Likewise.
16878 [C99-based-standards] (PRIdFAST64): Likewise.
16879 [C99-based-standards] (PRIiFAST64): Likewise.
16880 [C99-based-standards] (PRIoFAST64): Likewise.
16881 [C99-based-standards] (PRIuFAST64): Likewise.
16882 [C99-based-standards] (PRIxFAST64): Likewise.
16883 [C99-based-standards] (PRIXFAST64): Likewise.
16884 [C99-based-standards] (SCNdFAST64): Likewise.
16885 [C99-based-standards] (SCNiFAST64): Likewise.
16886 [C99-based-standards] (SCNoFAST64): Likewise.
16887 [C99-based-standards] (SCNuFAST64): Likewise.
16888 [C99-based-standards] (SCNxFAST64): Likewise.
16889 [C99-based-standards] (PRIdMAX): Likewise.
16890 [C99-based-standards] (PRIiMAX): Likewise.
16891 [C99-based-standards] (PRIoMAX): Likewise.
16892 [C99-based-standards] (PRIuMAX): Likewise.
16893 [C99-based-standards] (PRIxMAX): Likewise.
16894 [C99-based-standards] (PRIXMAX): Likewise.
16895 [C99-based-standards] (SCNdMAX): Likewise.
16896 [C99-based-standards] (SCNiMAX): Likewise.
16897 [C99-based-standards] (SCNoMAX): Likewise.
16898 [C99-based-standards] (SCNuMAX): Likewise.
16899 [C99-based-standards] (SCNxMAX): Likewise.
16900 [C99-based-standards] (PRIdPTR): Likewise.
16901 [C99-based-standards] (PRIiPTR): Likewise.
16902 [C99-based-standards] (PRIoPTR): Likewise.
16903 [C99-based-standards] (PRIuPTR): Likewise.
16904 [C99-based-standards] (PRIxPTR): Likewise.
16905 [C99-based-standards] (PRIXPTR): Likewise.
16906 [C99-based-standards] (SCNdPTR): Likewise.
16907 [C99-based-standards] (SCNiPTR): Likewise.
16908 [C99-based-standards] (SCNoPTR): Likewise.
16909 [C99-based-standards] (SCNuPTR): Likewise.
16910 [C99-based-standards] (SCNxPTR): Likewise.
16911 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16912 allow.
16913 * conform/data/stdint.h-data: Update comments to clarify
16914 requirements.
16915 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16916 type.
16917 [C99-based standards] (INT8_MAX): Likewise.
16918 [C99-based standards] (INT16_MIN): Likewise.
16919 [C99-based standards] (INT16_MAX): Likewise.
16920 [C99-based standards] (INT32_MIN): Likewise.
16921 [C99-based standards] (INT32_MAX): Likewise.
16922 [C99-based standards] (INT64_MIN): Likewise.
16923 [C99-based standards] (INT64_MAX): Likewise.
16924 [C99-based standards] (UINT8_MAX): Likewise.
16925 [C99-based standards] (UINT16_MAX): Likewise.
16926 [C99-based standards] (UINT32_MAX): Likewise.
16927 [C99-based standards] (UINT64_MAX): Likewise.
16928 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16929 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16930 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16931 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16932 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16933 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16934 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16935 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16936 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16937 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16938 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16939 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16940 [C99-based standards] (INT_FAST8_MIN): Likewise.
16941 [C99-based standards] (INT_FAST8_MAX): Likewise.
16942 [C99-based standards] (INT_FAST16_MIN): Likewise.
16943 [C99-based standards] (INT_FAST16_MAX): Likewise.
16944 [C99-based standards] (INT_FAST32_MIN): Likewise.
16945 [C99-based standards] (INT_FAST32_MAX): Likewise.
16946 [C99-based standards] (INT_FAST64_MIN): Likewise.
16947 [C99-based standards] (INT_FAST64_MAX): Likewise.
16948 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16949 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16950 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16951 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16952 [C99-based standards] (INTPTR_MIN): Likewise.
16953 [C99-based standards] (INTPTR_MAX): Likewise.
16954 [C99-based standards] (UINTPTR_MAX): Likewise.
16955 [C99-based standards] (INTMAX_MIN): Likewise.
16956 [C99-based standards] (INTMAX_MAX): Likewise.
16957 [C99-based standards] (UINTMAX_MAX): Likewise.
16958 [C99-based standards] (PTRDIFF_MIN): Likewise.
16959 [C99-based standards] (PTRDIFF_MAX): Likewise.
16960 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16961 [C99-based standards] (SIZE_MAX): Likewise.
16962 [C99-based standards] (WCHAR_MAX): Likewise.
16963 [C99-based standards] (WINT_MAX): Likewise.
16964 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16965 constraint on value.
16966 [C99-based standards] (WCHAR_MIN): Likewise.
16967 [C99-based standards] (WINT_MIN): Likewise.
16968 [C99-based standards] (*_t): Allow.
16969 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16970 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16971 Include math.h-data and complex.h-data. Remove all expectations
16972 of math.h and complex.h contents.
16973 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16974 at end of line.
16975 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16976 (struct tm): Expect tag.
16977 [C99-based-standards] (wcstof): Expect function.
16978 [C99-based-standards] (wcstold): Likewise.
16979 [C99-based-standards] (wcstoll): Likewise.
16980 [C99-based-standards] (wcstoull): Likewise.
16981 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16982 macro-int-constant. Specify type.
16983 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16984 constraint on value.
16985 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16986 Specify type.
16987 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16988 Specify value.
16989 [ISO C standards]: Do not allow headers.
16990 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16991 wcs[abcdefghijklmnopqrstuvwxyz]*.
16992 [ISO C standards] (*_t): Do not allow.
16993 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16994 Expect function.
16995 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16996 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16997 Specify type.
16998 [ISO C standards]: Do not allow headers.
16999 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17000 is[abcdefghijklmnopqrstuvwxyz]*.
17001 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17002 to[abcdefghijklmnopqrstuvwxyz]*.
17003 [ISO C standards] (*_t): Do not allow.
17004 * conform/data/stdalign.h-data: New file.
17005 * conform/data/stdbool.h-data: Likewise.
17006 * conform/data/stdnoreturn.h-data: Likewise.
17007
7514feb8
RM
170082012-11-07 Roland McGrath <roland@hack.frob.com>
17009
17010 [BZ #14815]
17011 * manual/filesys.texi (Directory Entries): Typo fix.
17012 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17013
19b2ecfc
MS
170142012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17015
17016 * elf/elf.h (EM_AARCH64): New macro.
17017 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17018 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17019 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17020 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17021 (R_AARCH64_TLSDESC): Likewise.
17022 (NT_ARM_TLS): Likewise.
17023 (NT_ARM_HW_BREAK): Likewise.
17024 (NT_ARM_HW_WATCH): Likewise.
17025
60e235ee
JM
170262012-11-07 Joseph Myers <joseph@codesourcery.com>
17027
17028 [BZ #14811]
17029 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17030 (__ieee754_powl): Saturate nonzero exponents with absolute value
17031 below 0x1p-79 to +/- 0x1p-79.
17032 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17033 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17034 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17035 nonzero exponents with absolute value below 0x1p-32 to +/-
17036 0x1p-32.
17037 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17038 (__ieee754_powl): Saturate nonzero exponents with absolute value
17039 below 0x1p-79 to +/- 0x1p-79.
17040 * math/libm-test.inc (pow_test): Add more tests.
17041
0ab234b7
AK
170422012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17043
17044 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17045 _dl_s390_cap_flags with kernel. Increase string length.
17046 (_dl_s390_platforms): Add z196 and zEC12.
17047
45832f74
JM
170482012-11-07 Joseph Myers <joseph@codesourcery.com>
17049
17050 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17051 Change XOPEN21K to XOPEN2K.
17052
19218757
MK
170532012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17054
17055 * string/memmove.c: Use memcpy when possible.
17056
c5f45721
AJ
170572012-11-06 Andreas Jaeger <aj@suse.de>
17058
17059 * po/eo.po: Update from translation team.
17060
82477c28
JM
170612012-11-06 Joseph Myers <joseph@codesourcery.com>
17062
17063 [BZ #14793]
17064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17065 exponent and small x and y exponents, scale x or y up. Increase
17066 by 2 the exponent used in scaling up.
17067 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17069 * math/libm-test.inc (fma_test): Add more tests.
17070 (fma_test_towardzero): Likewise.
17071 (fma_test_downward): Likewise.
17072 (fma_test_upward): Likewise.
17073
99252c8c
JM
170742012-11-05 Joseph Myers <joseph@codesourcery.com>
17075
acfa885f
JM
17076 [BZ #14805]
17077 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17078 fenv_t *.
17079
99252c8c
JM
17080 [BZ #14801]
17081 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17082 namespace for names of struct fields.
17083 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17084 fenv_t fields.
17085 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17086 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17087
d6d98dea
ST
170882012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17089
17090 [BZ #3665]
17091 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17092
e10bb107
TS
170932012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17094
17095 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17096 PTR_DEMANGLE.
17097
17098 [BZ #5246]
17099 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17100 PTR_DEMANGLE.
17101
a0c2940d
JM
171022012-11-04 Joseph Myers <joseph@codesourcery.com>
17103
17104 [BZ #14797]
17105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17106 definitely overflow as x * y not x * y + z.
17107 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17108 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17109 * math/libm-test.inc (fma_test): Add more tests.
17110 (fma_test_towardzero): Likewise.
17111 (fma_test_downward): Likewise.
17112 (fma_test_upward): Likewise.
17113
b830319d
TS
171142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17115
17116 [BZ #157]
17117
17118 * include/stub-tag.h: Remove file.
17119 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17120 '#include' of it.
17121 * manual/maint.texi (Porting): Don't reference it.
17122 * Makerules ($(objpfx)stubs): Likewise.
17123 * dirent/closedir.c: Don't include <stub-tag.h>.
17124 * dirent/dirfd.c: Likewise.
17125 * dirent/fdopendir.c: Likewise.
17126 * dirent/getdents.c: Likewise.
17127 * dirent/getdents64.c: Likewise.
17128 * dirent/opendir.c: Likewise.
17129 * dirent/readdir.c: Likewise.
17130 * dirent/readdir64.c: Likewise.
17131 * dirent/readdir64_r.c: Likewise.
17132 * dirent/readdir_r.c: Likewise.
17133 * dirent/rewinddir.c: Likewise.
17134 * dirent/seekdir.c: Likewise.
17135 * dirent/telldir.c: Likewise.
17136 * gmon/profil.c: Likewise.
17137 * grp/setgroups.c: Likewise.
17138 * inet/if_index.c: Likewise.
17139 * io/access.c: Likewise.
17140 * io/chdir.c: Likewise.
17141 * io/chmod.c: Likewise.
17142 * io/chown.c: Likewise.
17143 * io/close.c: Likewise.
17144 * io/dup.c: Likewise.
17145 * io/dup2.c: Likewise.
17146 * io/dup3.c: Likewise.
17147 * io/euidaccess.c: Likewise.
17148 * io/faccessat.c: Likewise.
17149 * io/fchdir.c: Likewise.
17150 * io/fchmod.c: Likewise.
17151 * io/fchmodat.c: Likewise.
17152 * io/fchown.c: Likewise.
17153 * io/fchownat.c: Likewise.
17154 * io/fcntl.c: Likewise.
17155 * io/flock.c: Likewise.
17156 * io/fstatfs.c: Likewise.
17157 * io/fstatfs64.c: Likewise.
17158 * io/fstatvfs.c: Likewise.
17159 * io/fstatvfs64.c: Likewise.
17160 * io/futimens.c: Likewise.
17161 * io/fxstat.c: Likewise.
17162 * io/fxstat64.c: Likewise.
17163 * io/fxstatat.c: Likewise.
17164 * io/fxstatat64.c: Likewise.
17165 * io/getcwd.c: Likewise.
17166 * io/isatty.c: Likewise.
17167 * io/lchmod.c: Likewise.
17168 * io/lchown.c: Likewise.
17169 * io/link.c: Likewise.
17170 * io/linkat.c: Likewise.
17171 * io/lseek.c: Likewise.
17172 * io/lseek64.c: Likewise.
17173 * io/lxstat64.c: Likewise.
17174 * io/mkdir.c: Likewise.
17175 * io/mkdirat.c: Likewise.
17176 * io/mkfifo.c: Likewise.
17177 * io/mkfifoat.c: Likewise.
17178 * io/open.c: Likewise.
17179 * io/open64.c: Likewise.
17180 * io/openat.c: Likewise.
17181 * io/openat64.c: Likewise.
17182 * io/pipe.c: Likewise.
17183 * io/pipe2.c: Likewise.
17184 * io/poll.c: Likewise.
17185 * io/posix_fadvise.c: Likewise.
17186 * io/posix_fadvise64.c: Likewise.
17187 * io/posix_fallocate.c: Likewise.
17188 * io/posix_fallocate64.c: Likewise.
17189 * io/read.c: Likewise.
17190 * io/readlink.c: Likewise.
17191 * io/readlinkat.c: Likewise.
17192 * io/rmdir.c: Likewise.
17193 * io/sendfile.c: Likewise.
17194 * io/sendfile64.c: Likewise.
17195 * io/statfs.c: Likewise.
17196 * io/statfs64.c: Likewise.
17197 * io/statvfs.c: Likewise.
17198 * io/statvfs64.c: Likewise.
17199 * io/symlink.c: Likewise.
17200 * io/symlinkat.c: Likewise.
17201 * io/ttyname.c: Likewise.
17202 * io/ttyname_r.c: Likewise.
17203 * io/umask.c: Likewise.
17204 * io/unlink.c: Likewise.
17205 * io/unlinkat.c: Likewise.
17206 * io/utime.c: Likewise.
17207 * io/utimensat.c: Likewise.
17208 * io/write.c: Likewise.
17209 * io/xmknod.c: Likewise.
17210 * io/xmknodat.c: Likewise.
17211 * io/xstat.c: Likewise.
17212 * io/xstat64.c: Likewise.
17213 * login/getpt.c: Likewise.
17214 * login/grantpt.c: Likewise.
17215 * login/unlockpt.c: Likewise.
17216 * math/e_acoshl.c: Likewise.
17217 * math/e_acosl.c: Likewise.
17218 * math/e_asinl.c: Likewise.
17219 * math/e_atan2l.c: Likewise.
17220 * math/e_atanhl.c: Likewise.
17221 * math/e_coshl.c: Likewise.
17222 * math/e_expl.c: Likewise.
17223 * math/e_fmodl.c: Likewise.
17224 * math/e_gammal_r.c: Likewise.
17225 * math/e_hypotl.c: Likewise.
17226 * math/e_j0l.c: Likewise.
17227 * math/e_j1l.c: Likewise.
17228 * math/e_jnl.c: Likewise.
17229 * math/e_lgammal_r.c: Likewise.
17230 * math/e_log10l.c: Likewise.
17231 * math/e_log2l.c: Likewise.
17232 * math/e_logl.c: Likewise.
17233 * math/e_powl.c: Likewise.
17234 * math/e_rem_pio2l.c: Likewise.
17235 * math/e_sinhl.c: Likewise.
17236 * math/e_sqrtl.c: Likewise.
17237 * math/fclrexcpt.c: Likewise.
17238 * math/fedisblxcpt.c: Likewise.
17239 * math/feenablxcpt.c: Likewise.
17240 * math/fegetenv.c: Likewise.
17241 * math/fegetexcept.c: Likewise.
17242 * math/fegetround.c: Likewise.
17243 * math/feholdexcpt.c: Likewise.
17244 * math/fesetenv.c: Likewise.
17245 * math/fesetround.c: Likewise.
17246 * math/feupdateenv.c: Likewise.
17247 * math/fgetexcptflg.c: Likewise.
17248 * math/fraiseexcpt.c: Likewise.
17249 * math/fsetexcptflg.c: Likewise.
17250 * math/ftestexcept.c: Likewise.
17251 * math/k_cosl.c: Likewise.
17252 * math/k_rem_pio2l.c: Likewise.
17253 * math/k_sinl.c: Likewise.
17254 * math/k_tanl.c: Likewise.
17255 * math/s_asinhl.c: Likewise.
17256 * math/s_atanl.c: Likewise.
17257 * math/s_cbrtl.c: Likewise.
17258 * math/s_erfl.c: Likewise.
17259 * math/s_expm1l.c: Likewise.
17260 * math/s_log1pl.c: Likewise.
17261 * math/s_tanhl.c: Likewise.
17262 * misc/acct.c: Likewise.
17263 * misc/brk.c: Likewise.
17264 * misc/chflags.c: Likewise.
17265 * misc/chroot.c: Likewise.
17266 * misc/fchflags.c: Likewise.
17267 * misc/fgetxattr.c: Likewise.
17268 * misc/flistxattr.c: Likewise.
17269 * misc/fremovexattr.c: Likewise.
17270 * misc/fsetxattr.c: Likewise.
17271 * misc/fsync.c: Likewise.
17272 * misc/ftruncate.c: Likewise.
17273 * misc/futimes.c: Likewise.
17274 * misc/futimesat.c: Likewise.
17275 * misc/getdomain.c: Likewise.
17276 * misc/getdtsz.c: Likewise.
17277 * misc/gethostid.c: Likewise.
17278 * misc/gethostname.c: Likewise.
17279 * misc/getloadavg.c: Likewise.
17280 * misc/getpagesize.c: Likewise.
17281 * misc/getsysstats.c: Likewise.
17282 * misc/getxattr.c: Likewise.
17283 * misc/gtty.c: Likewise.
17284 * misc/ioctl.c: Likewise.
17285 * misc/lgetxattr.c: Likewise.
17286 * misc/listxattr.c: Likewise.
17287 * misc/llistxattr.c: Likewise.
17288 * misc/lremovexattr.c: Likewise.
17289 * misc/lsetxattr.c: Likewise.
17290 * misc/lutimes.c: Likewise.
17291 * misc/madvise.c: Likewise.
17292 * misc/mincore.c: Likewise.
17293 * misc/mlock.c: Likewise.
17294 * misc/mlockall.c: Likewise.
17295 * misc/mmap.c: Likewise.
17296 * misc/mprotect.c: Likewise.
17297 * misc/msync.c: Likewise.
17298 * misc/munlock.c: Likewise.
17299 * misc/munlockall.c: Likewise.
17300 * misc/munmap.c: Likewise.
17301 * misc/preadv.c: Likewise.
17302 * misc/preadv64.c: Likewise.
17303 * misc/ptrace.c: Likewise.
17304 * misc/pwritev.c: Likewise.
17305 * misc/pwritev64.c: Likewise.
17306 * misc/readv.c: Likewise.
17307 * misc/reboot.c: Likewise.
17308 * misc/remap_file_pages.c: Likewise.
17309 * misc/removexattr.c: Likewise.
17310 * misc/revoke.c: Likewise.
17311 * misc/select.c: Likewise.
17312 * misc/setdomain.c: Likewise.
17313 * misc/setegid.c: Likewise.
17314 * misc/seteuid.c: Likewise.
17315 * misc/sethostid.c: Likewise.
17316 * misc/sethostname.c: Likewise.
17317 * misc/setregid.c: Likewise.
17318 * misc/setreuid.c: Likewise.
17319 * misc/setxattr.c: Likewise.
17320 * misc/sstk.c: Likewise.
17321 * misc/stty.c: Likewise.
17322 * misc/swapoff.c: Likewise.
17323 * misc/swapon.c: Likewise.
17324 * misc/sync.c: Likewise.
17325 * misc/syncfs.c: Likewise.
17326 * misc/syscall.c: Likewise.
17327 * misc/truncate.c: Likewise.
17328 * misc/ualarm.c: Likewise.
17329 * misc/usleep.c: Likewise.
17330 * misc/ustat.c: Likewise.
17331 * misc/utimes.c: Likewise.
17332 * misc/vhangup.c: Likewise.
17333 * misc/writev.c: Likewise.
17334 * posix/_exit.c: Likewise.
17335 * posix/alarm.c: Likewise.
17336 * posix/execve.c: Likewise.
17337 * posix/fexecve.c: Likewise.
17338 * posix/fork.c: Likewise.
17339 * posix/fpathconf.c: Likewise.
17340 * posix/getaddrinfo.c: Likewise.
17341 * posix/getegid.c: Likewise.
17342 * posix/geteuid.c: Likewise.
17343 * posix/getgid.c: Likewise.
17344 * posix/getgroups.c: Likewise.
17345 * posix/getlogin.c: Likewise.
17346 * posix/getlogin_r.c: Likewise.
17347 * posix/getpgid.c: Likewise.
17348 * posix/getpid.c: Likewise.
17349 * posix/getppid.c: Likewise.
17350 * posix/getresgid.c: Likewise.
17351 * posix/getresuid.c: Likewise.
17352 * posix/getsid.c: Likewise.
17353 * posix/getuid.c: Likewise.
17354 * posix/glob64.c: Likewise.
17355 * posix/nanosleep.c: Likewise.
17356 * posix/pathconf.c: Likewise.
17357 * posix/pause.c: Likewise.
17358 * posix/posix_madvise.c: Likewise.
17359 * posix/pread.c: Likewise.
17360 * posix/pread64.c: Likewise.
17361 * posix/pwrite.c: Likewise.
17362 * posix/pwrite64.c: Likewise.
17363 * posix/sched_getaffinity.c: Likewise.
17364 * posix/sched_getp.c: Likewise.
17365 * posix/sched_gets.c: Likewise.
17366 * posix/sched_primax.c: Likewise.
17367 * posix/sched_primin.c: Likewise.
17368 * posix/sched_rr_gi.c: Likewise.
17369 * posix/sched_setaffinity.c: Likewise.
17370 * posix/sched_setp.c: Likewise.
17371 * posix/sched_sets.c: Likewise.
17372 * posix/sched_yield.c: Likewise.
17373 * posix/setgid.c: Likewise.
17374 * posix/setlogin.c: Likewise.
17375 * posix/setpgid.c: Likewise.
17376 * posix/setresgid.c: Likewise.
17377 * posix/setresuid.c: Likewise.
17378 * posix/setsid.c: Likewise.
17379 * posix/setuid.c: Likewise.
17380 * posix/sleep.c: Likewise.
17381 * posix/spawni.c: Likewise.
17382 * posix/sysconf.c: Likewise.
17383 * posix/times.c: Likewise.
17384 * posix/wait.c: Likewise.
17385 * posix/wait3.c: Likewise.
17386 * posix/wait4.c: Likewise.
17387 * posix/waitpid.c: Likewise.
17388 * resolv/gai_sigqueue.c: Likewise.
17389 * resource/getpriority.c: Likewise.
17390 * resource/getrlimit.c: Likewise.
17391 * resource/getrusage.c: Likewise.
17392 * resource/nice.c: Likewise.
17393 * resource/setpriority.c: Likewise.
17394 * resource/setrlimit.c: Likewise.
17395 * resource/ulimit.c: Likewise.
17396 * rt/aio_cancel.c: Likewise.
17397 * rt/aio_fsync.c: Likewise.
17398 * rt/aio_read.c: Likewise.
17399 * rt/aio_sigqueue.c: Likewise.
17400 * rt/aio_suspend.c: Likewise.
17401 * rt/aio_write.c: Likewise.
17402 * rt/clock_getres.c: Likewise.
17403 * rt/clock_gettime.c: Likewise.
17404 * rt/clock_nanosleep.c: Likewise.
17405 * rt/clock_settime.c: Likewise.
17406 * rt/lio_listio.c: Likewise.
17407 * rt/mq_close.c: Likewise.
17408 * rt/mq_getattr.c: Likewise.
17409 * rt/mq_notify.c: Likewise.
17410 * rt/mq_open.c: Likewise.
17411 * rt/mq_receive.c: Likewise.
17412 * rt/mq_send.c: Likewise.
17413 * rt/mq_setattr.c: Likewise.
17414 * rt/mq_timedreceive.c: Likewise.
17415 * rt/mq_timedsend.c: Likewise.
17416 * rt/mq_unlink.c: Likewise.
17417 * rt/shm_open.c: Likewise.
17418 * rt/shm_unlink.c: Likewise.
17419 * rt/timer_create.c: Likewise.
17420 * rt/timer_delete.c: Likewise.
17421 * rt/timer_getoverr.c: Likewise.
17422 * rt/timer_gettime.c: Likewise.
17423 * rt/timer_settime.c: Likewise.
17424 * setjmp/__longjmp.c: Likewise.
17425 * setjmp/setjmp.c: Likewise.
17426 * signal/kill.c: Likewise.
17427 * signal/killpg.c: Likewise.
17428 * signal/raise.c: Likewise.
17429 * signal/sigaction.c: Likewise.
17430 * signal/sigaltstack.c: Likewise.
17431 * signal/sigblock.c: Likewise.
17432 * signal/sigignore.c: Likewise.
17433 * signal/sigintr.c: Likewise.
17434 * signal/signal.c: Likewise.
17435 * signal/sigpause.c: Likewise.
17436 * signal/sigpending.c: Likewise.
17437 * signal/sigqueue.c: Likewise.
17438 * signal/sigreturn.c: Likewise.
17439 * signal/sigset.c: Likewise.
17440 * signal/sigsetmask.c: Likewise.
17441 * signal/sigstack.c: Likewise.
17442 * signal/sigsuspend.c: Likewise.
17443 * signal/sigtimedwait.c: Likewise.
17444 * signal/sigvec.c: Likewise.
17445 * signal/sigwait.c: Likewise.
17446 * signal/sigwaitinfo.c: Likewise.
17447 * signal/sysv_signal.c: Likewise.
17448 * socket/accept.c: Likewise.
17449 * socket/accept4.c: Likewise.
17450 * socket/bind.c: Likewise.
17451 * socket/connect.c: Likewise.
17452 * socket/getpeername.c: Likewise.
17453 * socket/getsockname.c: Likewise.
17454 * socket/getsockopt.c: Likewise.
17455 * socket/isfdtype.c: Likewise.
17456 * socket/listen.c: Likewise.
17457 * socket/recv.c: Likewise.
17458 * socket/recvfrom.c: Likewise.
17459 * socket/recvmsg.c: Likewise.
17460 * socket/send.c: Likewise.
17461 * socket/sendmsg.c: Likewise.
17462 * socket/sendto.c: Likewise.
17463 * socket/setsockopt.c: Likewise.
17464 * socket/shutdown.c: Likewise.
17465 * socket/sockatmark.c: Likewise.
17466 * socket/socket.c: Likewise.
17467 * socket/socketpair.c: Likewise.
17468 * stdio-common/ctermid.c: Likewise.
17469 * stdio-common/cuserid.c: Likewise.
17470 * stdio-common/remove.c: Likewise.
17471 * stdio-common/rename.c: Likewise.
17472 * stdio-common/renameat.c: Likewise.
17473 * stdio-common/tempname.c: Likewise.
17474 * stdlib/getcontext.c: Likewise.
17475 * stdlib/makecontext.c: Likewise.
17476 * stdlib/setcontext.c: Likewise.
17477 * stdlib/swapcontext.c: Likewise.
17478 * stdlib/system.c: Likewise.
17479 * streams/fattach.c: Likewise.
17480 * streams/fdetach.c: Likewise.
17481 * streams/getmsg.c: Likewise.
17482 * streams/getpmsg.c: Likewise.
17483 * streams/putmsg.c: Likewise.
17484 * streams/putpmsg.c: Likewise.
17485 * sysdeps/unix/bsd/getpt.c: Likewise.
17486 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17487 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17488 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17490 Likewise.
17491 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17492 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17493 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17494 * sysvipc/msgctl.c: Likewise.
17495 * sysvipc/msgget.c: Likewise.
17496 * sysvipc/msgrcv.c: Likewise.
17497 * sysvipc/msgsnd.c: Likewise.
17498 * sysvipc/semctl.c: Likewise.
17499 * sysvipc/semget.c: Likewise.
17500 * sysvipc/semop.c: Likewise.
17501 * sysvipc/semtimedop.c: Likewise.
17502 * sysvipc/shmat.c: Likewise.
17503 * sysvipc/shmctl.c: Likewise.
17504 * sysvipc/shmdt.c: Likewise.
17505 * sysvipc/shmget.c: Likewise.
17506 * termios/tcdrain.c: Likewise.
17507 * termios/tcflow.c: Likewise.
17508 * termios/tcflush.c: Likewise.
17509 * termios/tcgetattr.c: Likewise.
17510 * termios/tcgetpgrp.c: Likewise.
17511 * termios/tcsendbrk.c: Likewise.
17512 * termios/tcsetattr.c: Likewise.
17513 * termios/tcsetpgrp.c: Likewise.
17514 * time/adjtime.c: Likewise.
17515 * time/clock.c: Likewise.
17516 * time/getitimer.c: Likewise.
17517 * time/gettimeofday.c: Likewise.
17518 * time/setitimer.c: Likewise.
17519 * time/settimeofday.c: Likewise.
17520 * time/stime.c: Likewise.
17521 * time/time.c: Likewise.
17522
175232012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17524
a20492cf
PT
17525 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17526 /usr/old/bin.
17527
72e182e3
PT
17528 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17529 instead of spaces.
17530 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17531
fbeafede
JM
175322012-11-03 Joseph Myers <joseph@codesourcery.com>
17533
5b5b04d6
JM
17534 [BZ #14796]
17535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17536 FE_TONEAREST before applying Dekker multiplication and Knuth
17537 addition. Clear inexact exceptions and check for exact zero
17538 results afterwards.
17539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17540 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17541 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17542 * math/libm-test.inc (fma_test): Add more tests.
17543 (fma_test_towardzero): Likewise.
17544 (fma_test_downward): Likewise.
17545 (fma_test_upward): Likewise.
17546 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17547 function.
17548 (libc_fesetround): New macro.
17549 (libc_fesetroundf): Likewise.
17550 (libc_fesetroundl): Likewise.
17551 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17552 function.
17553 (libc_fesetround_387): Likewise.
17554 (libc_fesetroundf): New macro.
17555 (libc_fesetround): Likewise.
17556 (libc_fesetroundl): Likewise.
17557 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17558 function.
17559 (libc_fesetroundf): New macro.
17560 (libc_fesetround): Likewise.
17561 (libc_fesetroundl): Likewise.
17562 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17563 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17564 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17565 libm_hidden_ver.
17566 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17567 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17568 libm_hidden_def.
17569 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17570 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17571 libm_hidden_ver.
17572 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17573 libm_hidden_def.
17574
fbeafede
JM
17575 [BZ #3439]
17576 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17577 integer constant usable in #if and use that to give value to enum
17578 constant.
17579 (FE_DIVBYZERO): Likewise.
17580 (FE_UNDERFLOW): Likewise.
17581 (FE_OVERFLOW): Likewise.
17582 (FE_INVALID): Likewise.
17583 (FE_INVALID_SNAN): Likewise.
17584 (FE_INVALID_ISI): Likewise.
17585 (FE_INVALID_IDI): Likewise.
17586 (FE_INVALID_ZDZ): Likewise.
17587 (FE_INVALID_IMZ): Likewise.
17588 (FE_INVALID_COMPARE): Likewise.
17589 (FE_INVALID_SOFTWARE): Likewise.
17590 (FE_INVALID_SQRT): Likewise.
17591 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17592 (FE_TONEAREST): Likewise.
17593 (FE_TOWARDZERO): Likewise.
17594 (FE_UPWARD): Likewise.
17595 (FE_DOWNWARD): Likewise.
17596 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17597 (FE_DIVBYZERO): Likewise.
17598 (FE_OVERFLOW): Likewise.
17599 (FE_UNDERFLOW): Likewise.
17600 (FE_INEXACT): Likewise.
17601 (FE_TONEAREST): Likewise.
17602 (FE_DOWNWARD): Likewise.
17603 (FE_UPWARD): Likewise.
17604 (FE_TOWARDZERO): Likewise.
17605 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17606 (FE_UNDERFLOW): Likewise.
17607 (FE_OVERFLOW): Likewise.
17608 (FE_DIVBYZERO): Likewise.
17609 (FE_INVALID): Likewise.
17610 (FE_TONEAREST): Likewise.
17611 (FE_TOWARDZERO): Likewise.
17612 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17613 (FE_OVERFLOW): Likewise.
17614 (FE_UNDERFLOW): Likewise.
17615 (FE_DIVBYZERO): Likewise.
17616 (FE_INEXACT): Likewise.
17617 (FE_TONEAREST): Likewise.
17618 (FE_TOWARDZERO): Likewise.
17619 (FE_UPWARD): Likewise.
17620 (FE_DOWNWARD): Likewise.
17621 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17622 (FE_DIVBYZERO): Likewise.
17623 (FE_OVERFLOW): Likewise.
17624 (FE_UNDERFLOW): Likewise.
17625 (FE_INEXACT): Likewise.
17626 (FE_TONEAREST): Likewise.
17627 (FE_DOWNWARD): Likewise.
17628 (FE_UPWARD): Likewise.
17629 (FE_TOWARDZERO): Likewise.
17630
105ca950
CM
176312012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17632
17633 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17634
a542b389
AS
176352012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17636
17637 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17638 commands. Quote $PWD.
17639 (blacklist_exports): Don't use remove_newlines. Replace "declare
17640 -x" by "export".
17641 (remove_newlines): Remove.
17642
f62c8abc
L
176432012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17644
17645 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17646 * stdlib/stdlib.h (atof): Moved to ...
17647 * include/bits/stdlib-float.h: Here. New file.
17648 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17649 * stdlib/bits/stdlib-float.h: New file.
17650 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17651 -mno-sse -mno-mmx.
17652 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17653 <xmmintrin.h>.
17654
0155d5b2
JM
176552012-11-02 Joseph Myers <joseph@codesourcery.com>
17656
a68d0680
JM
17657 * conform/conformtest.pl (@headers): Add fenv.h.
17658 * conform/data/fenv.h-data: New file.
17659 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17660 include of <math/fenv.h>.
17661
caf7f573
JM
17662 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17663 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17664 && !UNIX98]. Enables tests for XOPEN2K8.
17665 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17666 POSIX2008]: Likewise.
17667
6c073ad6
JM
17668 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17669 (struct rusage): Do not expect type or its members.
17670
0155d5b2
JM
17671 [BZ #3439]
17672 * math/math.h (FP_NAN): Define macro to integer constant usable in
17673 #if and use that to give value to enum constant.
17674 (FP_INFINITE): Likewise.
17675 (FP_ZERO): Likewise.
17676 (FP_SUBNORMAL): Likewise.
17677 (FP_NORMAL): Likewise.
17678
b5dcacb4
AS
176792012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17680
17681 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17682 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17683 arguments.
17684
f7934be8
RM
176852012-11-02 Roland McGrath <roland@hack.frob.com>
17686
17687 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17688 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17689 autoconf-time if not.
17690 * configure.in: Remove AC_PREREQ.
17691
d7d08bde
TMQMF
176922012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17693
17694 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17695 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17696 of the internal implementation.
17697
dcdae19a
JM
176982012-11-02 Joseph Myers <joseph@codesourcery.com>
17699
17700 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17701 except include of <misc/sys/syslog.h>.
17702
d6cffd3e
AS
177032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17704
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17706 function returns with a NULL context exit with zero.
17707
b3563932
TMQMF
177082012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17709
17710 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17711
b288a93d
L
177122012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17713
17714 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17715 (run_program_cmd): This.
17716 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17717 (tst_langinfo): New variable. Use it.
17718
a2421a68
SAS
177192012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17720
17721 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17722 floating point opcodes.
17723
6f796e1b
TS
177242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17725
7402596b
TS
17726 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17727 variable.
17728
d0d4f868
TS
17729 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17730
6f796e1b
TS
17731 * sysdeps/mach/hurd/powerpc: Remove directory.
17732 * sysdeps/mach/powerpc: Likewise.
17733
4da224a2
AS
177342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17735
17736 * scripts/check-local-headers.sh: Ignore c++ headers.
17737
341dd673
TS
177382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17739
17740 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17741 __libc_cleanup_region_start argument.
17742
473611b2
JM
177432012-11-01 Joseph Myers <joseph@codesourcery.com>
17744
17745 [BZ #14784]
17746 [BZ #14785]
17747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17748 x * y using scaling, not as x * y + z.
17749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17750 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17751 * math/libm-test.inc (fma_test): Add more tests.
17752 (fma_test_towardzero): Likewise.
17753 (fma_test_downward): Likewise.
17754 (fma_test_upward): Likewise.
17755
4078da3d
TS
177562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17757
17758 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17759
903252aa
JM
177602012-10-31 Joseph Myers <joseph@codesourcery.com>
17761
17762 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17763 New variable.
17764
cbc818d0
TS
177652012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17766
17767 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17768
5a03cb1e
AS
177692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17770
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17772 Fix sort order.
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17774 Likewise.
17775
90aff2ff
TMQMF
177762012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17777
17778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17779 Fix the order of the list for glibc 2.17.
17780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17781 Likewise.
17782
1818fcb7
AS
177832012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17784
17785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17786
ef82f4da
JM
177872012-10-31 Joseph Myers <joseph@codesourcery.com>
17788
16a0e2ec
JM
17789 [BZ #14610]
17790 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17791 for low part of x being zero before using __atanl (y).
17792 * math/libm-test.inc (atan2_test): Add another test.
17793
0eb69512
JM
17794 * manual/install.texi (Configuring and compiling): Document
17795 general use of test-wrapper and test-wrapper-env.
17796 * INSTALL: Regenerated.
17797
ef82f4da
JM
17798 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17799 (__fma): Do not extract and scale down low bits on after-rounding
17800 systems when result rounded to normal precision would have normal
17801 exponent.
17802 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17803 (__fmal): Do not extract and scale down low bits on after-rounding
17804 systems when result rounded to normal precision would have normal
17805 exponent.
17806 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17807 (__fmal): Do not extract and scale down low bits on after-rounding
17808 systems when result rounded to normal precision would have normal
17809 exponent.
17810 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17811 macro.
17812 (fma_test): Add more tests.
17813 (fma_test_towardzero): Likewise.
17814 (fma_test_downward): Likewise.
17815 (fma_test_upward): Likewise.
17816
954ef0d9
L
178172012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17818
17819 * sysdeps/i386/tininess.h: Renamed to ...
17820 * sysdeps/x86/tininess.h: This.
17821 * sysdeps/x86_64/tininess.h: Removed.
17822
df61ffb2
JM
178232012-10-30 Joseph Myers <joseph@codesourcery.com>
17824
17825 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17826 input. Use $(build-program-cmd).
17827 ($(objpfx)tst-array1-static.out): Likewise.
17828 ($(objpfx)tst-array2.out): Likewise.
17829 ($(objpfx)tst-array3.out): Likewise.
17830 ($(objpfx)tst-array4.out): Likewise.
17831 ($(objpfx)tst-array5.out): Likewise.
17832 ($(objpfx)tst-array5-static.out): Likewise.
17833
01767843
CM
178342012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17835
47cc1490
CM
17836 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17837 if defined.
17838
01767843
CM
17839 * nss/nsswitch.h (nss_interface_function): Provide new
17840 macro for use with NSS functions.
17841 * grp/initgroups.c: Use new macro.
17842 * nss/getXXbyYY.c: Likewise.
17843 * nss/getXXbyYY_r.c: Likewise.
17844 * nss/getXXent.c: Likewise.
17845 * nss/getXXent_r.c: Likewise.
17846 * sysdeps/posix/getaddrinfo.c: Likewise.
17847
8321aa97
AJ
178482012-10-30 Andreas Jaeger <aj@suse.de>
17849
17850 * po/ru.po: Update Russion translation from translation project.
17851
2a27fd6d
JM
178522012-10-30 Joseph Myers <joseph@codesourcery.com>
17853
8627a232
JM
17854 [BZ #14152]
17855 [BZ #14783]
17856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17857 result and shift together with sticky bit instead of replicating
17858 round-to-nearest rounding.
17859 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17860 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17861 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17862 missing underflow exceptions.
17863 (fma_test_towardzero): Add more tests.
17864 (fma_test_downward): Likewise.
17865 (fma_test_upward): Likewise.
17866
2a27fd6d
JM
17867 [BZ #14047]
17868 * sysdeps/generic/tininess.h: New file.
17869 * sysdeps/i386/tininess.h: Likewise.
17870 * sysdeps/sh/tininess.h: Likewise.
17871 * sysdeps/x86_64/tininess.h: Likewise.
17872 * stdlib/tst-strtod-underflow.c: Likewise.
17873 * stdlib/tst-tininess.c: Likewise.
17874 * stdlib/strtod_l.c: Include <tininess.h>.
17875 (round_and_return): Do not set errno for exact underflow cases.
17876 Force an underflow exception when setting errno for underflow.
17877 Determine underflow based on rounding to normal precision if
17878 TININESS_AFTER_ROUNDING.
17879 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17880 ERANGE for exact underflow cases.
17881 * stdlib/Makefile (tests): Add tst-tininess and
17882 tst-strtod-underflow.
17883 ($(objpfx)tst-tininess): Use $(link-libm).
17884 ($(objpfx)tst-strtod-underflow): Likewise.
17885
e7170363
AJ
178862012-10-30 Andreas Jaeger <aj@suse.de>
17887
e5088dc6
AJ
17888 [BZ#14767]
17889 * elf/Makefile (tests): Remove conditional for have-initfini-array
17890 since this is now always required and the variable does not exist
17891 anymore.
17892 (tests-static): Likewise.
17893 (modules-names): Likewise.
17894
e7170363 17895 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17896
17897 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17898 merged with constructor/destructor.
17899 (init_array): Likewise.
17900 * elf/tst-array2dep.c (fini_array): Likewise.
17901 (init_array): Likewise.
17902
60457d8a
MF
179032012-10-29 Mike Frysinger <vapier@gentoo.org>
17904
17905 * manual/message.texi: Delete @cartouche tags.
17906
8bece752
PT
179072012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17908
94ce799f
PT
17909 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17910 EOPNOTSUPP.
17911 * sysdeps/mach/hurd/fsync.c: Likewise.
17912
8bece752
PT
17913 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17914 [_POSIX_REALTIME_SIGNALS]: Change condition to
17915 [_POSIX_REALTIME_SIGNALS > 0].
17916
86ebe6b1
AJ
179172012-10-27 Andreas Jaeger <aj@suse.de>
17918
17919 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17920 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17922 [__WORDSIZE != 64]: Likewise.
17923
54399c08
L
179242012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17925
17926 * iconvdata/tst-table.sh: Remove ${SHELL}.
17927 * iconvdata/tst-tables.sh: Likewise.
17928
e2211bed
DM
179292012-10-25 David S. Miller <davem@davemloft.net>
17930
17931 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17932 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17933 of strtoull.
17934
f303f97c
DM
17935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17936 ifunc-impl-list.c
17937 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17938 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17939 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17940 file.
17941
1e9d84cd
RM
179422012-10-25 Roland McGrath <roland@hack.frob.com>
17943
17944 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17945 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17946 __getdirentries.
17947
df381762
JM
179482012-10-25 Joseph Myers <joseph@codesourcery.com>
17949 Jim Blandy <jimb@codesourcery.com>
17950
17951 * scripts/cross-test-ssh.sh: New file.
17952 * manual/install.texi (Configuring and compiling): Document use of
17953 cross-test-ssh.sh.
17954 * INSTALL: Regenerated.
17955
bff64913
PT
179562012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17957
17958 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17959 EOPNOTSUPP.
17960
25fe8932
JM
179612012-10-25 Joseph Myers <joseph@codesourcery.com>
17962
17963 * Makeconfig (run-program-prefix): Fix comment.
17964
cc1290d0
JM
179652012-10-24 Joseph Myers <joseph@codesourcery.com>
17966 Jim Blandy <jimb@codesourcery.com>
17967
17968 * Makeconfig (test-wrapper): New variable,
17969 (test-wrapper-env): Likewise.
17970 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17971 (run-built-tests): Define to yes.
17972 (run-program-prefix): Use $(test-wrapper).
17973 (built-program-cmd): Likewise.
17974 * Rules (make-test-out): Use $(test-wrapper-env) and
17975 $(host-built-program-cmd).
17976 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17977 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17978 tst-pathopt.sh.
17979 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17980 $(test-wrapper-env) to tst-rtld-load-self.sh.
17981 ($(objpfx)order2.out): Use $(test-wrapper).
17982 ($(objpfx)tst-initorder.out): Likewise.
17983 ($(objpfx)tst-initorder2.out): Likewise.
17984 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17985 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17986 (test_wrapper_env): New variable. Use it to run ld.so.
17987 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17988 Use it to run ld.so.
17989 (test_wrapper_env): Likewise.
17990 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17991 $(test-wrapper) to run-iconv-test.sh.
17992 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17993 (ICONV): Use $test_wrapper.
17994 * posix/Makefile ($(objpfx)globtest.out): Pass
17995 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17996 globtest.sh, not $(run-program-prefix).
17997 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17998 (test_wrapper): Likewise.
17999 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18000 set together with run_via_rtld_prefix.
18001 (run_program_prefix): Define in terms of test_wrapper and
18002 run_via_rtld_prefix.
18003
6e6249d0
RM
180042012-10-24 Roland McGrath <roland@hack.frob.com>
18005
18006 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18007 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18008 Targets removed.
18009
18010 [BZ #14743]
18011 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18012 Declare __clock_getres, __clock_gettime, __clock_settime,
18013 __clock_nanosleep, and __clock_getcpuclockid.
18014 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18015 Remove librt_hidden_def (clock_gettime).
18016 * sysdeps/unix/clock_gettime.c: Likewise.
18017 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18019 * rt/clock_getres.c: Define __clock_getres as an alias.
18020 * sysdeps/posix/clock_getres.c: Likewise.
18021 * rt/clock_settime.c: Define __clock_settime as an alias.
18022 * sysdeps/unix/clock_settime.c: Likewise.
18023 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18024 * sysdeps/unix/clock_nanosleep.c: Likewise.
18025 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18026 * rt/clock-compat.c: New file.
18027 * rt/Makefile (librt-routines): Add clock-compat and move
18028 $(clock-routines) to ...
18029 (routines): ... here, new variable.
18030 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18031 Don't add get_clockfreq here.
18032 * rt/Versions (libc: GLIBC_2.17): New version set.
18033 Add clock_* symbols here.
18034 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18035 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18036 (GLIBC_2.17): Add clock_* symbols.
18037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18041 Likewise.
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18043 Likewise.
18044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18048 * NEWS: Mention the move.
18049
18050 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18051 Use __open, __read, __close rather than their public counterparts.
18052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18053 (__get_clockfreq_via_cpuinfo): Likewise.
18054 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18055 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18056
18057 * config.h.in (HAVE_IFUNC): New #undef.
18058 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18059 was successful.
18060 * configure: Regenerated.
18061
0cae3f4b
MF
180622012-10-24 Mike Frysinger <vapier@gentoo.org>
18063
18064 * configure.in: Move READELF check to start of file.
18065 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18066 libc_cv_asm_gnu_indirect_function in the process.
18067 * configure: Regenerated.
18068
8175a253
MF
180692012-10-24 Mike Frysinger <vapier@gentoo.org>
18070
18071 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18072 send the output to /dev/null.
18073 (libc_cv_cc_with_libunwind): Likewise.
18074 (libc_cv_as_noexecstack): Likewise.
18075 * configure: Regenerate.
18076
0708a7d1
JM
180772012-10-24 Joseph Myers <joseph@codesourcery.com>
18078
10b40d85
JM
18079 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18080
0708a7d1
JM
18081 * posix/globtest.sh (TMPDIR): Do not set.
18082 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18083 (testout): Likewise.
18084
9fddec1a
AJ
180852012-10-24 Andreas Jaeger <aj@suse.de>
18086
3a8db22f
AJ
18087 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18088 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18089 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18090 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18091 posix_fadvise64, posix_fallocate64.
18092
9fddec1a
AJ
18093 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18094 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18095 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18096 Likewise.
18097 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18098 Likewise.
18099 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18100
18101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18102 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18103 <bits/fcntl-linux.h>.
18104 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18105
18106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18107 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18108 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18109 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18110 [__WORDSIZE != 64]: Likewise.
18111
ebfd1bbd
JM
181122012-10-23 Joseph Myers <joseph@codesourcery.com>
18113
03ac099f
JM
18114 * Makeconfig (run-built-tests): New variable.
18115 * Rules [$(cross-compiling) = yes]: Change condition to
18116 [$(run-built-tests) = no].
18117 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18118 to [$(run-built-tests) = yes].
18119 * elf/Makefile [$(cross-compiling) = no]: Likewise
18120 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18121 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18122 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18123 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18124 * io/Makefile [$(cross-compiling) = no]: Likewise.
18125 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18126 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18127 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18128 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18129 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18130 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18131 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18132 * string/Makefile [$(cross-compiling) = no]: Likewise.
18133
ebfd1bbd
JM
18134 * posix/Makefile ($(objpfx)globtest.out): Pass
18135 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18136 $(rtld-installed-name).
18137 * posix/globtest.sh (elf_objpfx): Remove variable.
18138 (rtld_installed_name): Likewise.
18139 (library_path): Likewise.
18140 (run_program_prefix): New variable. Use for running globtest
18141 binary.
18142
166bca24
JB
181432012-10-23 Jim Blandy <jimb@codesourcery.com>
18144 Joseph Myers <joseph@codesourcery.com>
18145
18146 * Makeconfig (host-built-program-cmd): New variable.
18147 * elf/Makefile (tst-stackguard1-ARGS): Use
18148 $(host-built-program-cmd).
18149 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18150 (tst-spawn-ARGS): Likewise.
18151 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18152
88866099
JM
181532012-10-23 Joseph Myers <joseph@codesourcery.com>
18154 Jim Blandy <jimb@codesourcery.com>
18155
18156 * Makeconfig (run-via-rtld-prefix): New variable.
18157 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18158 (built-program-cmd): Likewise.
18159
b4b4c296
AJ
181602012-10-22 Andreas Jaeger <aj@suse.de>
18161
18162 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18163 __O_RSYNC if it exists, otherwise to O_SYNC.
18164
6fb54a22
JB
181652012-10-22 Jim Blandy <jimb@codesourcery.com>
18166 Joseph Myers <joseph@codesourcery.com>
18167
18168 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18169 /dev/null.
18170 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18171 from /dev/null
18172 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18173 /dev/null.
18174
481b90b9
AJ
181752012-10-22 Andreas Jaeger <aj@suse.de>
18176
2a0e2669
AJ
18177 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18178 Define always.
18179 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18180
76e38f9a
AJ
18181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18182 bits/fcntl-linux.h.
18183
7cd37b43
AJ
18184 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18185 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18186
481b90b9
AJ
18187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18188 to __O_LARGEFILE.
18189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18190 to __O_LARGEFILE.
18191
aba75984
JB
181922012-10-21 Jim Blandy <jimb@codesourcery.com>
18193 Joseph Myers <joseph@codesourcery.com>
18194
18195 * config.make.in (NM): New variable.
18196
88d4247f
AJ
181972012-10-21 Andreas Jaeger <aj@suse.de>
18198
18199 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18200 definitions and declarations that are provided by
18201 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18202
f2eed205
L
182032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18204
18205 [BZ #14683]
18206 * elf/Makefile (tests-static): Add tst-leaks1-static.
18207 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18208 ($(objpfx)tst-leaks1-static): New rule.
18209 ($(objpfx)tst-leaks1-static-mem): Likewise.
18210 (tst-leaks1-static-ENV): New macro.
18211 * elf/dl-open.c (dl_open_worker): Check the main application
18212 only if SHARED is defined.
18213 * elf/tst-leaks1-static.c: New file.
18214
335e6931
AJ
182152012-10-20 Andreas Jaeger <aj@suse.de>
18216
18217 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18218 generic values for Linux.
18219 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18220 and declarations that are provided by <bits/fcntl-linux.h> and
18221 include <bits/fcntl-linux.h>.
18222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18223 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18224
ac5c94d3
RM
182252012-10-20 Roland McGrath <roland@hack.frob.com>
18226
18227 * io/fcntl.h: Move include of <bits/types.h> to the top and
18228 include it unconditionally.
18229
de54b33a
L
182302012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18231
228cfb01
L
18232 * wcsmbs/Makefile (tests-ifunc): New variable.
18233 (tests): Add $(tests-ifunc).
18234 * wcsmbs/test-wcschr-ifunc.c: New file.
18235 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18236 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18237 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18238 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18239 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18240
69f07e5f
L
18241 * string/Makefile (tests-ifunc): New variable.
18242 (tests): Add $(tests-ifunc).
18243 * string/test-memccpy.c (TEST_NAME): New macro.
18244 * string/test-memchr.c (TEST_NAME): Likewise.
18245 * string/test-memcmp.c (TEST_NAME): Likewise.
18246 * string/test-memcpy.c (TEST_NAME): Likewise.
18247 * string/test-memmem.c (TEST_NAME): Likewise.
18248 * string/test-memmove.c (TEST_NAME): Likewise.
18249 * string/test-memset.c (TEST_NAME): Likewise.
18250 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18251 * string/test-stpcpy.c (TEST_NAME): Likewise.
18252 * string/test-stpncpy.c (TEST_NAME): Likewise.
18253 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18254 * string/test-strcasestr.c (TEST_NAME): Likewise.
18255 * string/test-strcat.c (TEST_NAME): Likewise.
18256 * string/test-strchr.c (TEST_NAME): Likewise.
18257 * string/test-strcmp.c(TEST_NAME): Likewise.
18258 * string/test-strcpy.c (TEST_NAME): Likewise.
18259 * string/test-strcspn.c (TEST_NAME): Likewise.
18260 * string/test-strlen.c (TEST_NAME): Likewise.
18261 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18262 * string/test-strncmp.c (TEST_NAME): Likewise.
18263 * string/test-strncpy.c (TEST_NAME): Likewise.
18264 * string/test-strnlen.c (TEST_NAME): Likewise.
18265 * string/test-strpbrk.c (TEST_NAME): Likewise.
18266 * string/test-strrchr.c (TEST_NAME): Likewise.
18267 * string/test-strspn.c (TEST_NAME): Likewise.
18268 * string/test-strstr.c (TEST_NAME): Likewise.
18269 * string/test-bcopy-ifunc.c: New file.
18270 * string/test-bzero-ifunc.c: Likewise.
18271 * string/test-memccpy-ifunc.c: Likewise.
18272 * string/test-memchr-ifunc.c: Likewise.
18273 * string/test-memcmp-ifunc.c: Likewise.
18274 * string/test-memcpy-ifunc.c: Likewise.
18275 * string/test-memmem-ifunc.c: Likewise.
18276 * string/test-memmove-ifunc.c: Likewise.
18277 * string/test-mempcpy-ifunc.c: Likewise.
18278 * string/test-memset-ifunc.c: Likewise.
18279 * string/test-rawmemchr-ifunc.c: Likewise.
18280 * string/test-stpcpy-ifunc.c: Likewise.
18281 * string/test-stpncpy-ifunc.c: Likewise.
18282 * string/test-strcasecmp-ifunc.c: Likewise.
18283 * string/test-strcasestr-ifunc.c: Likewise.
18284 * string/test-strcat-ifunc.c: Likewise.
18285 * string/test-strchr-ifunc.c: Likewise.
18286 * string/test-strchrnul-ifunc.c: Likewise.
18287 * string/test-strcmp-ifunc.c: Likewise.
18288 * string/test-strcpy-ifunc.c: Likewise.
18289 * string/test-strcspn-ifunc.c: Likewise.
18290 * string/test-strlen-ifunc.c: Likewise.
18291 * string/test-strncasecmp-ifunc.c: Likewise.
18292 * string/test-strncat-ifunc.c: Likewise.
18293 * string/test-strncmp-ifunc.c: Likewise.
18294 * string/test-strncpy-ifunc.c: Likewise.
18295 * string/test-strnlen-ifunc.c: Likewise.
18296 * string/test-strpbrk-ifunc.c: Likewise.
18297 * string/test-strrchr-ifunc.c: Likewise.
18298 * string/test-strspn-ifunc.c: Likewise.
18299 * string/test-strstr-ifunc.c: Likewise.
18300
de54b33a
L
18301 * debug/Makefile (tests-ifunc): New variable.
18302 (tests): Add $(tests-ifunc).
18303 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18304 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18305 * debug/test-stpcpy_chk-ifunc.c: New file.
18306 * debug/test-strcpy_chk-ifunc.c: Likewise.
18307
88481c16
SP
183082012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18309
18310 [BZ #13601]
18311 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18312 header is not read in.
18313
135948bd
JM
183142012-10-19 Joseph Myers <joseph@codesourcery.com>
18315
89f1c388
JM
18316 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18317 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18318 directly. Pass built executable to script as
18319 $(built-program-cmd).
18320 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18321 $testprogram without using LD_LIBRARY_PATH and $ldso.
18322
e40a0d21
JM
18323 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18324 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18325 $(rtld-installed-name).
18326 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18327 (rtld_installed_name): Likewise.
18328 (library_path): Likewise.
18329 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18330 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18331 $(run-program-prefix) to tst-tables.sh.
18332 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18333 it to run tst-table-from and tst-table-to.
18334 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18335 Pass it to tst-table.sh.
18336 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18337 $(run-program-prefix) to tst-gettext.sh.
18338 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18339 tst-translit.sh.
18340 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18341 tst-gettext2.sh.
18342 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18343 to run tst-gettext.
18344 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18345 to run tst-gettext2.
18346 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18347 to run tst-translit.
18348 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18349 $(run-program-prefix) to tst-mtrace.sh.
18350 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18351 to run tst-mtrace.
18352 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18353 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18354 $(rtld-installed-name).
18355 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18356 (rtld_installed_name): Likewise.
18357 (run_program_prefix): New variable. Use it to run wordexp-test.
18358
728e272a
JM
18359 * Makeconfig (ARCH): Remove all definitions.
18360 (machine): Likewise.
18361 [ARCH]: Remove conditional code.
18362 [!objdir]: Give error.
18363 [!objdir] (objpfx): Remove.
18364 [!objdir] (common-objpfx): Likewise.
18365 [!objdir] (common-objdir): Likewise.
18366 * configure.in (config_makefile): Remove. Hardcode Makefile in
18367 AC_CONFIG_FILES call.
18368 * configure: Regenerated.
18369
d528cdcf
JM
18370 [BZ #13888]
18371 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18372 or TMPDIR.
18373 (testout): Likewise.
18374
135948bd
JM
18375 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18376 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18377 $(rtld-installed-name).
18378 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18379 (rtld_installed_name): Likwise.
18380 (runit): Remove function.
18381 (run_getconf): New variable, Use it for running getconf binary.
18382
38c78296
L
183832012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18384
18385 [BZ #14716]
18386 * string/test-memmem.c (check_result): New function.
18387 (do_one_test): Use it.
18388 (check1): New function.
18389 (test_main): Use it.
18390
d077f65f
MT
183912012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18392
18393 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18394
ced52c71
JM
183952012-10-18 Joseph Myers <joseph@codesourcery.com>
18396
18397 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18398 (_G_LSEEK64): Likewise.
18399 (_G_MMAP64): Likewise.
18400 (_G_FSTAT64): Likewise.
18401 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18402 (_G_LSEEK64): Likewise.
18403 (_G_MMAP64): Likewise.
18404 (_G_FSTAT64): Likewise.
18405 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18406 unconditional. Call __mmap64 directly.
18407 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18408 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18409 __lseek64 directly.
18410 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18411 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18412 __mmap64 directly.
18413 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18414 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18415 __lseek64 directly.
18416 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18417 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18418 __lseek64 directly.
18419 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18420 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18421 __lseek64 directly.
18422 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18423 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18424 __fxstat64 directly.
18425 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18426 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18427 unconditional.
18428 (freopen64) [!_G_OPEN64]: Remove conditional code.
18429 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18430 unconditional.
18431 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18432 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18433 unconditional.
18434 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18435 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18436 unconditional.
18437 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18438 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18439 unconditional.
18440 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18441 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18442 unconditional.
18443 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18444 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18445 unconditional.
18446 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18447 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18448 unconditional.
18449 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18450
b741de23
SP
184512012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18452
18453 [BZ #12140]
18454 * manual/memory.texi (Malloc Tunable Parameters): Add note
18455 about free list pointers overwriting some perturb bytes.
18456 Wording suggested by Roland McGrath.
18457
f9b9d9c9
JM
184582012-10-17 Joseph Myers <joseph@codesourcery.com>
18459
18460 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18461 (lgamma_test): Likewise.
18462 (tgamma_test): Likewise.
18463
172a631a
FW
184642012-10-16 Florian Weimer <fweimer@redhat.com>
18465
18466 [BZ #14700]
18467 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18468 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18469
e9f37252
MK
184702012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18471
18472 * NEWS: Mention BZ #14716.
18473 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18474 when removing AVAILABLE1_USES_J macro.
18475
d394eb74
L
184762012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18477
18478 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18479 (__bswap_64): __uint64_t for unsigned 64-bit int.
18480
ca38dc17
AS
184812012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18482
18483 * include/string.h (memmem): Declare libc hidden alias.
18484 * string/memmem.c (memmem): Define libc hidden alias.
18485 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18486 __read, __close instead of open, read, close.
18487
9a387d1f
L
184882012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18489
ac49ecaf
L
18490 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18491 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18492 global and hidden.
18493 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18494 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18495 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18496 Likewise.
18497 (__rawmemchr_sse2): Likewise.
18498 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18499 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18500 (__strchr_sse2): Likewise.
18501 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18502 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18503 (__strcasecmp_sse2): Likewise.
18504 (__strncasecmp_sse2): Likewise.
18505 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18506 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18507 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18508 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18509 (__strrchr_sse2): Likewise.
18510 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18511 ifunc-impl-list.c.
18512 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18513 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18514 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18515 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18516 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18517 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18518 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18519 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18520 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18521 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18522 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18523 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18524 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18525 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18526 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18527 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18528 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18529 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18530 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18531 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18532 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18533 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18534 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18535 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18536 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18537 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18538 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18539 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18540 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18541 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18542
b090e8ea
L
18543 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18544 global and hidden.
18545 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18546 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18547 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18548 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18549 Likewise.
18550 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18551 Likewise.
18552 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18553 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18554 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18555 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18556 ifunc-impl-list.c.
18557 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18574 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18575 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18576 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18577 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18578 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18579 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18580 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18581 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18582 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18583 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18584 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18585 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18586 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18587 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18588 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18589 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18590 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18591 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18592 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18593 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18594 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18595 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18596 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18597 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18598
11dd4af6
L
18599 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18600 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18601 * include/ifunc-impl-list.h: New file.
18602 * misc/ifunc-impl-list.c: Likewise.
18603 * misc/Makefile (routines): Add ifunc-impl-list.
18604 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18605 * string/test-string.h: Include <ifunc-impl-list.h>.
18606 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18607 impl_array): New variables.
18608 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18609 are defined.
18610 (test_init): Call __libc_ifunc_impl_list to initialize
18611 func_list if TEST_IFUNC and TEST_NAME are defined.
18612
9a387d1f
L
18613 * string/Makefile (strop-tests): Add bcopy and bzero.
18614 * string/test-bcopy.c: New file.
18615 * string/test-bzero.c: Likewise.
18616 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18617 defined.
18618 * string/test-memset.c: Support bzero test if TEST_BZERO is
18619 defined.
18620 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18621 __libc_memmove.
18622 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18623 __libc_memset.
18624 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18625 of memset.
18626
472371b9
JM
186272012-10-10 Joseph Myers <joseph@codesourcery.com>
18628
1e4a9536
JM
18629 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18630 * configure: Regenerated.
18631
d173d12e
JM
18632 * Makeconfig (+link-static-before-libc): Don't include
18633 $(link-static-libc).
18634
472371b9
JM
18635 * libio/libio.h (_IO_pos_t): Remove.
18636
89a3ad0b
AO
186372012-10-10 Alexandre Oliva <aoliva@redhat.com>
18638
18639 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18640 McGrath.
18641
e7451425
AO
186422012-10-10 Alexandre Oliva <aoliva@redhat.com>
18643
18644 * crypt/crypt-entry.c: Include fips-private.h.
18645 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18646 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18647 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18648 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18649
4ba74a35
AO
186502012-10-10 Alexandre Oliva <aoliva@redhat.com>
18651
18652 * crypt/crypt-private.h: Include stdbool.h.
18653 (_ufc_setup_salt_r): Return bool.
18654 * crypt/crypt-entry.c: Include errno.h.
18655 (__crypt_r): Return NULL with EINVAL for bad salt.
18656 * crypt/crypt_util.c (bad_for_salt): New.
18657 (_ufc_setup_salt_r): Check that salt is long enough and within
18658 the specified alphabet.
18659 * crypt/badsalttest.c: New file.
18660 * crypt/Makefile (tests): Add it.
18661 ($(objpfx)badsalttest): New.
18662
f96f1242
MK
186632012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18664
18665 * NEWS: Add entry for BZ #14602.
18666
0e8e0c1c
JM
186672012-10-09 Joseph Myers <joseph@codesourcery.com>
18668
18669 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18670 type-generic.
18671 * math/libm-test.inc: Update comment listing what functions and
18672 macros are tested.
18673 (isgreater_test): New function.
18674 (isgreaterequal_test): Likewise.
18675 (isless_test): Likewise.
18676 (islessequal_test): Likewise.
18677 (islessgreater_test): Likewise.
18678 (isunordered_test): Likewise.
18679 (main): Call the new functions.
18680
273edc5e
RM
186812012-10-09 Roland McGrath <roland@hack.frob.com>
18682
b8493de0
RM
18683 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18684 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18685 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18686 * sysdeps/i386/configure: Regenerated.
18687 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18688 * sysdeps/mach/configure: Regenerated.
18689 * sysdeps/mach/hurd/configure: Regenerated.
18690 * sysdeps/powerpc/configure: Regenerated.
18691 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18692 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18693 * sysdeps/s390/s390-32/configure: Regenerated.
18694 * sysdeps/s390/s390-64/configure: Regenerated.
18695 * sysdeps/sh/configure: Regenerated.
18696 * sysdeps/sparc/configure: Regenerated.
18697 * sysdeps/unix/sysv/linux/configure: Regenerated.
18698 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18699 * sysdeps/x86_64/configure: Regenerated.
18700
273edc5e
RM
18701 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18702 defined. Don't check if MAP is NULL.
18703
c8450f70
JM
187042012-10-09 Joseph Myers <joseph@codesourcery.com>
18705
18706 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18707 (_G_stat64): Likewise.
18708 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18709 (_G_stat64): Likewise.
18710 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18711 instead of struct _G_stat64.
18712 * libio/fileops.c (mmap_remap_check): Likewise.
18713 (decide_maybe_mmap): Likewise.
18714 (_IO_new_file_seekoff): Likewise.
18715 (_IO_file_stat): Likewise.
18716 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18717 _G_off64_t.
18718 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18719 instead of struct _G_stat64.
18720 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18721
57e605ba
MK
187222012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18723
18724 [BZ #14602]
18725 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18726 Replace with ...
18727 (CHECK_EOL): New macro.
18728 (two_way_short_needle): Check beginning of haystack for EOL. Use
18729 CHECK_EOL.
18730 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18731 Replace with CHECK_EOL.
18732 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18733 Replace with CHECK_EOL.
18734
ef1bb361
JM
187352012-10-08 Joseph Myers <joseph@codesourcery.com>
18736
18737 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18738 type-generic.
18739 * math/libm-test.inc: Update comment listing what functions and
18740 macros are tested.
18741 (finite_test): New function.
18742 (isinf_test): Likewise.
18743 (isnan_test): Likewise.
18744 (fpclassify_test): Test subnormal input.
18745 (isfinite_test): Likewise.
18746 (isnormal_test): Likewise.
18747 (main): Call the new functions.
18748
55f11534
JN
187492012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18750
18751 [BZ #14660]
18752 * Makerules (%.dynsym): Force C locale when running
18753 $(OBJDUMP) --dynamic-syms.
18754
1ab29350
AS
187552012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18756
18757 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18758 <stdint.h>.
18759
f1ecb7ef
DM
187602012-10-06 David S. Miller <davem@davemloft.net>
18761
18762 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18763 upper 32-bits of the length value in %o2 since we use branch-on-register
18764 tests which consider the entire 64-bit register.
18765
5d41d91a
L
187662012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18767
18768 * string/test-strstr.c (check2): Add a test for page boundary.
18769
3baddb72
DM
187702012-10-05 David S. Miller <davem@davemloft.net>
18771
18772 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18773 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18774 file.
18775 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18776 sysdep_routines.
18777 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18778 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18779 and bzero when HWCAP_SPARC_CRYPTO is present.
18780
9cee5585
L
187812012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18782
d7e0dab9
L
18783 [BZ #14602]
18784 * string/test-strstr.c (check2): New function.
18785 (test_main): Call check2.
18786
03759f47
L
18787 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18788 and bug-strchr1.
18789 * string/bug-strcasestr1.c (do_test): Moved to ...
18790 * string/test-strcasestr.c (check1): Here. New function.
18791 (do_one_test): Break out result checking code into ...
18792 (check_result): This. New function.
18793 (do_one_test): Call check_result.
18794 (test_main): Call check1.
18795 * string/bug-strchr1.c (do_test): Moved to ...
18796 * string/test-strchr.c (check1): Here. New function.
18797 (do_one_test): Break out result checking code into ...
18798 (check_result): This. New function.
18799 (do_one_test): Call check_result.
18800 (test_main): Call check1.
18801 * string/bug-strstr1.c (main): Moved to ...
046f153e 18802 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18803 (do_one_test): Break out result checking code into ...
18804 (check_result): This. New function.
18805 (do_one_test): Call check_result.
18806 (test_main): Call check1.
18807 * string/bug-strcasestr1.c: Removed.
18808 * string/bug-strchr1.c: Likewise.
18809 * string/bug-strstr1.c: Likewise.
18810
53cea63e
L
18811 * elf/Makefile (dl-routines): Add hwcaps.
18812 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18813 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18814 (_dl_important_hwcaps): Moved to ...
18815 * elf/dl-hwcaps.c: Here. New file.
18816 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18817
9cee5585 18818 [BZ #14557]
bb859b06
L
18819 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18820 if IS_IN_rtld isn't defined.
18821
9cee5585
L
18822 * elf/dl-support.c (_dl_sysinfo_map): New.
18823 Include "get-dynamic-info.h" and "setup-vdso.h".
18824 (_dl_non_dynamic_init): Call setup_vdso.
18825 * elf/dynamic-link.h: Don't include <assert.h>.
18826 (elf_get_dynamic_info): Moved to ...
18827 * elf/get-dynamic-info.h: Here. New file.
18828 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18829 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18830 * elf/setup-vdso.h: Here. New file.
18831 * elf/rtld.c: Include "setup-vdso.h".
18832 (dl_main): Call setup_vdso.
18833
23c31b76
JM
188342012-10-05 Joseph Myers <joseph@codesourcery.com>
18835
28234b07
JM
18836 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18837 creal in comment listing functions tested. List finite, isinf,
18838 isnan, isless, islessequal, isgreater, isgreaterequal,
18839 islessgreater, isunordered, lgamma_r and pow10 as functions and
18840 macros not tested. Mention which functions not tested are aliases
18841 for other functions. Fix typo. Note that signs of NaNs are not
18842 tested.
18843
23c31b76
JM
18844 * scripts/config.guess: Update from config.git.
18845 * scripts/config.sub: Likewise.
18846
9043e228
RM
188472012-10-04 Roland McGrath <roland@hack.frob.com>
18848
18849 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18850 * misc/madvise.c (madvise): Renamed to __madvise.
18851 Make madvise a weak alias.
18852 * include/sys/mman.h: Declare __madvise.
18853 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18854 * sysdeps/unix/syscalls.list
18855 (madvise): Make __madvise the strong name, and madvise a weak alias.
18856 * sysdeps/unix/sysv/linux/syscalls.list
18857 (madvise, mmap): Remove redundant entries.
18858 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18859 * malloc/malloc.c (mtrim): Likewise.
18860 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18861
f57f8055
RM
188622012-10-03 Roland McGrath <roland@hack.frob.com>
18863
18864 * sysdeps/mach/hurd/dl-cache.c: File removed.
18865 * config.h.in (USE_LDCONFIG): New #undef.
18866 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18867 * configure: Regenerated.
18868 * elf/Makefile (dl-routines): Add dl-cache only under
18869 [$(use-ldconfig) = yes].
18870 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18871 cache on [USE_LDCONFIG].
18872 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18873 [USE_LDCONFIG].
18874 * elf/rtld.c (dl_main): Likewise.
18875
5bb0c10a
PT
188762012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18877
18878 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18879 _SC_LEVEL4_CACHE_LINESIZE.
18880
010188c6
RM
188812012-10-03 Roland McGrath <roland@hack.frob.com>
18882
18883 * sysdeps/unix/bsd/confstr.h: File removed.
18884
b6c5ec07
AO
188852012-10-02 Alexandre Oliva <aoliva@redhat.com>
18886
18887 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18888 sys/sdt-config.h.
18889
408223d4
RM
188902012-10-02 Roland McGrath <roland@hack.frob.com>
18891
18892 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18893 Make 'mapoff' field ElfW(Off) rather than off_t.
18894
bb9510dc
DL
188952012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18896
fc997c6e
DL
18897 * nscd/Makefile: Remove nscd-cflags and all its users.
18898 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18899 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18900
bb9510dc
DL
18901 [BZ #10631]
18902 * malloc.c (malloc_printerr): Clarify error message.
18903
05699367
L
189042012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18905
18906 [BZ #14648]
18907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18908 Set bit_FMA_Usable if FMA is supported.
18909 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18910 macro.
18911 (bit_FMA4_Usable): Updated.
18912 (index_FMA_Usable): New macro.
18913 (CPUID_FMA): Likewise
18914 (HAS_FMA): Defined with bit_FMA_Usable.
18915
51367701
RM
189162012-10-01 Roland McGrath <roland@hack.frob.com>
18917
18918 * bits/types.h (__swblk_t): Type removed.
18919 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18920 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18922 (__SWBLK_T_TYPE): Likewise.
18923 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18924 (__SWBLK_T_TYPE): Likewise.
18925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18926 (__SWBLK_T_TYPE): Likewise.
18927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18928 (__SWBLK_T_TYPE): Likewise.
18929
4d57bf63 189302012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18931 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18932
18933 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18934 (xdr_mapname): Use YPMAXMAP as maxsize.
18935 (xdr_peername): Use YPMAXPEER as maxsize.
18936 (xdr_keydat): Use YPAXRECORD as maxsize.
18937 (xdr_valdat): Use YPMAXRECORD as maxsize.
18938
93c65d43
RM
189392012-10-01 Roland McGrath <roland@hack.frob.com>
18940
497a03d6
RM
18941 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18942
93c65d43
RM
18943 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18944 * csu/init-first.c: ... here.
18945 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18946 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18947 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18948 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18949 * sysdeps/i386/init-first.c: File removed.
18950 * sysdeps/sh/init-first.c: File removed.
18951
bec749fd
JM
189522012-10-01 Joseph Myers <joseph@codesourcery.com>
18953
18954 [BZ #14645]
18955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18956 if x * y might underflow to zero and z is zero.
18957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18958 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18959 * math/libm-test.inc (min_subnorm_value): New variable.
18960 (fma_test): Add more tests.
18961 (fma_test_towardzero): Likewise.
18962 (fma_test_downward): Likewise
18963 (fma_test_upward): Likewise.
18964 (initialize): Set min_subnorm_value.
18965
8ec5b013
JM
189662012-09-29 Joseph Myers <joseph@codesourcery.com>
18967
18968 [BZ #14638]
18969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18970 0 + 0.
18971 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18972 mode for addition resulting in exact zero.
18973 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18975 exact 0 + 0.
18976 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18977 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18978 * math/libm-test.inc (fma_test): Add more tests.
18979 (fma_test_towardzero): New function.
18980 (fma_test_downward): Likewise.
18981 (fma_test_upward): Likewise.
18982 (main): Call the new functions.
18983
b1fa802e
DM
189842012-09-28 David S. Miller <davem@davemloft.net>
18985
18986 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18987
d3b9fd9e
RM
189882012-09-28 Roland McGrath <roland@hack.frob.com>
18989
ea4d37b3
RM
18990 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18991 instead of SIGALRM.
18992
ac51c949
RM
18993 * sysdeps/gnu/_G_config.h: Moved to ...
18994 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18995 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18996 * sysdeps/generic/_G_config.h: ... here.
18997
28c195f7
RM
18998 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18999
848917f9
RM
19000 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19001
6bacf05b
RM
19002 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19003 Conditionalize target on [libnss_test1.so-version].
19004
91363dbb
RM
19005 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19006
cc87f7d8
RM
19007 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19008 (elfobjdir): Move out of conditionals.
19009
b1c608fe
RM
19010 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19011 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19012 (__nss_lookup_function): Conditionalize label remove_from_tree on
19013 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 19014
1d9a6d96
DM
190152012-09-28 David S. Miller <davem@davemloft.net>
19016
19017 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19018 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19019 file.
19020 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19021 sysdep_routines.
19022 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19023 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19024 when HWCAP_SPARC_CRYPTO is present.
19025
72581615
PT
190262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19027
19028 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19029
715a900c
JL
190302012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19031
19032 [BZ #6530]
19033 * stdio-common/vfprintf.c (process_string_arg): Revert
19034 2000-07-22 change.
19035
190362011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19037
19038 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19039 for testcase.
19040 * stdio-common/tst-sprintf.c: Include <locale.h>
19041 (main): Test sprintf's handling of incomplete multibyte
19042 characters.
19043
9bac1d86
L
190442012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19045
19046 * elf/dl-runtime.c (VERSYMIDX): Removed.
19047 * elf/dl-version.c (VERSYMIDX): Likewise.
19048 * elf/do-rel.h (VERSYMIDX): Likewise.
19049 (VALIDX): Likewise.
19050 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19051 * elf/rtld.c (VALIDX): Likewise.
19052 (ADDRIDX): Likewise.
9bac1d86
L
19053 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19054 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19055 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
19056 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19057 (VALIDX): Likewise.
19058 (ADDRIDX): Likewise.
9bac1d86 19059
b31606c0
PT
190602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19061
19062 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19063
11541177
JL
190642012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19065
19066 [BZ #11438]
19067 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19068 to global scope.
19069 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19070 addresses are in the same scope as 192.0.2/24.
19071 * posix/gai.conf: Document new scope table defaults.
19072
adb26fae
SP
190732012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19074
19075 [BZ #5298]
19076 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19077 for ftell. Compute offsets from write pointers instead.
19078 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19079
4573c6b0
SP
190802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19081
19082 [BZ #14543]
19083 * libio/Makefile (tests): New test case tst-fseek.
19084 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19085 combination works in wide mode.
19086 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19087 state when the external buffer state changes.
19088
aa9bbfe6
DM
190892012-09-27 David S. Miller <davem@davemloft.net>
19090
19091 [BZ #14376]
19092 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19093 pass reloc->r_addend in as the 'high' argument to
19094 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19095
784421e7
DM
19096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19097
c39bc8b8
PT
190982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19099
19100 * rt/tst-aio2.c: Include <pthread.h>.
19101 * rt/tst-aio3.c: Likewise.
19102
1ccc2399
SE
191032012-09-27 Steve Ellcey <sellcey@mips.com>
19104
19105 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19106
31ed4153
L
191072012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19108
25f5f885
L
19109 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19110 contents on [SHARED].
31ed4153 19111
b7bfe116
MP
191122012-09-26 Marek Polacek <polacek@redhat.com>
19113
19114 [BZ #14530]
19115 [BZ #13741]
19116 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19117 for C++ and GCC <4.3 as well as for non GCC compilers.
19118
43c4edba
MT
191192012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19120
19121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19122
6a1bf82f
RM
191232012-09-25 Roland McGrath <roland@hack.frob.com>
19124
19125 * Makefile.in (all, install): Declare with .PHONY.
19126 Reported by Michael Hope <michael.hope@linaro.org>.
19127
8ad11b9a
TMQMF
191282012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19129
19130 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19131 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19132 system header.
19133 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19134 Likewise.
19135 (sydep_routines): Add the new and the internal functions.
19136 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19137 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19139 (GLIBC_2.17): Add the new function.
19140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19141 (GLIBC_2.17): Likewise.
19142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19143 (GLIBC_2.17): Likewise.
19144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19145 (GLIBC_2.17): Likewise.
19146 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19147
7e2fca8d
AM
191482012-09-25 Alan Modra <amodra@gmail.com>
19149
19150 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19151 Add release barrier before setting once_control to say
19152 initialisation is done. Add hints on lwarx. Use macro in
19153 place of isync.
19154 (clear_once_control): Add release barrier.
19155
b87c4b24
JM
191562012-09-25 Joseph Myers <joseph@codesourcery.com>
19157
d032e0d2
JM
19158 [BZ #13629]
19159 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19160 specially.
19161 * math/s_clog10.c (__clog10): Likewise.
19162 * math/s_clog10f.c (__clog10f): Likewise.
19163 * math/s_clog10l.c (__clog10l): Likewise.
19164 * math/s_clogf.c (__clogf): Likewise.
19165 * math/s_clogl.c (__clogl): Likewise.
19166 * math/Makefile (libm-calls): Add x2y2m1.
19167 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19168 (__x2y2m1): Likewise.
19169 (__x2y2m1l): Likewise.
19170 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19171 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19172 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19173 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19174 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19175 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19176 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19177 * sysdeps/i386/fpu/libm-test-ulps: Update.
19178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19179
b87c4b24
JM
19180 [BZ #14621]
19181 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19182 int as type of variable DEPTH.
19183 (glob): Use size_t instead of int as type of variables NEWCOUNT
19184 and OLD_PATHC.
19185
6d3bf199
LD
191862012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19187
22bf5c17
LD
19188 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19189 Add s_sincosf-sse2.
19190 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19191 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19192 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19193 macros for using routine as __sincosf_ia32.
19194 Use macro for function declaration and weak_alias.
19195 * sysdeps/i386/fpu/libm-test-ulps: Update.
19196
19197 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19199
19200 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19201 subnormal argument.
19202 * math/s_cexpf.c (__cexpf): Likewise.
19203 * math/s_csinf.c (__csinf): Likewise.
19204 * math/s_csinhf.c (__csinhf): Likewise.
19205 * math/s_ctanf.c (__ctanf): Likewise.
19206 * math/s_ctanhf.c (__ctanhf): Likewise.
19207 * math/s_ccosh.c (__ccoshf): Likewise.
19208 * math/s_cexp.c (__cexpl): Likewise.
19209 * math/s_csin.c (__csin): Likewise.
19210 * math/s_csinh.c (__csinh): Likewise.
19211 * math/s_ctan.c (__ctan): Likewise.
19212 * math/s_ctanh.c (ctanh): Likewise.
19213 * math/s_ccoshl.c (__ccoshl): Likewise.
19214 * math/s_cexpl.c (__cexpl): Likewise.
19215 * math/s_csinl.c (__csinl): Likewise.
19216 * math/s_csinhl.c (__csinhl): Likewise.
19217 * math/s_ctanl.c (__ctanl): Likewise.
19218 * math/s_ctanhl.c (__ctanhl): Likewise.
19219
203e5603
JM
192202012-09-25 Joseph Myers <joseph@codesourcery.com>
19221
19222 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19223 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19224 (_IO_off_t): Define to __off_t, not _G_off_t.
19225 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19226 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19227 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19228 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19229 type of __dummy and __dummy2 fields.
19230 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19231 (_G_ssize_t): Likewise.
19232 (_G_off_t): Likewise.
19233 (_G_pid_t): Likewise.
19234 (_G_uid_t): Likewise.
19235 (_G_wchar_t): Likewise.
19236 (_G_wint_t): Likewise.
19237 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19238 (_G_ssize_t): Likewise.
19239 (_G_off_t): Likewise.
19240 (_G_pid_t): Likewise.
19241 (_G_uid_t): Likewise.
19242 (_G_wchar_t): Likewise.
19243 (_G_wint_t): Likewise.
19244 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19245 (_G_ssize_t): Likewise.
19246 (_G_off_t): Likewise.
19247 (_G_pid_t): Likewise.
19248 (_G_uid_t): Likewise.
19249 (_G_wchar_t): Likewise.
19250 (_G_wint_t): Likewise.
19251
9fab36eb
SP
192522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19253
19254 * malloc/arena.c: Include malloc-sysdep.h.
19255 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19256 is sufficient to shrink the heap or an unmap is needed.
19257 * sysdeps/generic/malloc-sysdep.h: New file. Define
19258 new function check_may_shrink_heap.
19259 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19260 new function check_may_shrink_heap.
19261
2b4f00d1
SP
192622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19263
19264 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19265 comments.
19266
9a9028b1
DL
192672012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19268
57c69bef
DL
19269 * catgets/test-gencat.sh: Add "set -e".
19270 * elf/tst-pathopt.sh: Likewise.
19271 * grp/tst_fgetgrent.sh: Likewise.
19272 * iconvdata/run-iconv-test.sh: Likewise.
19273 * intl/tst-gettext.sh: Likewise.
19274 * intl/tst-gettext2.sh: Likewise.
19275 * intl/tst-gettext4.sh: Likewise.
19276 * intl/tst-gettext6.sh: Likewise.
19277 * intl/tst-translit.sh: Likewise.
19278 * io/ftwtest-sh: Likewise.
19279 * libio/test-freopen.sh: Likewise.
19280 * malloc/tst-mtrace.sh: Likewise.
19281 * posix/globtest.sh: Likewise.
19282 * posix/tst-getconf.sh: Likewise.
19283 * posix/wordexp-tst.sh: Likewise.
19284 * stdio-common/tst-printf.sh: Likewise.
19285 * stdio-common/tst-unbputc.sh: Likewise.
19286 * stdlib/tst-fmtmsg.sh: Likewise.
19287 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19288 * catgets/Makefile: Do not specify -e option when running
19289 testsuite shell scripts.
19290 * elf/Makefile: Likewise.
19291 * grp/Makefile: Likewise.
19292 * iconvdata/Makefile: Likewise.
19293 * intl/Makefile: Likewise.
19294 * io/Makefile: Likewise.
19295 * libio/Makefile: Likewise.
19296 * malloc/Makefile: Likewise.
19297 * posix/Makefile: Likewise.
19298 * stdio-common/Makefile: Likewise.
19299 * stdlib/Makefile: Likewise.
19300 * sysdeps/x86_64/Makefile: Likewise.
19301
9a9028b1
DL
19302 * io/ftwtest-sh: Add copyright header.
19303 * posix/globtest.sh: Likewise.
19304 * posix/tst-getconf.sh: Likewise.
19305 * posix/wordexp-tst.sh: Likewise.
19306 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19307
ced6f16e
L
193082012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19309
94b32c39
L
19310 [BZ #13679]
19311 * Makeconfig (+link): Defined as $(+link-static) if
19312 $(build-shared) isn't yes.
19313 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19314 isn't yes.
19315 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19316
189e935b
L
19317 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19318
ced6f16e
L
19319 [BZ #14562]
19320 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19321 new chunk size with MALLOC_ALIGN_MASK.
19322
a9f8e53a
JM
193232012-09-24 Joseph Myers <joseph@codesourcery.com>
19324
19325 [BZ #5044]
19326 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19327 <rounding-mode.h>.
19328 (__printf_fphex): Determine rounding using get_rounding_mode and
19329 round_away.
19330 * stdio-common/tst-printf-round.c (struct hex_test): New
19331 structure.
19332 (hex_tests): New variable.
19333 (test_hex_in_one_mode): New function.
19334 (do_test): Also run tests for hex float output.
19335
43153109
JM
193362012-09-21 Joseph Myers <joseph@codesourcery.com>
19337
19338 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19339 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19340 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19341 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19342 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19343 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19344 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19345 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19346
8a26625d
JM
193472012-09-20 Joseph Myers <joseph@codesourcery.com>
19348
19349 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19350 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19351 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19352 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19353
f3fd569c
DL
193542012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19355
19356 [BZ #14579]
19357 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19358 mode only.
19359 * elf/tst-rtld-load-self.sh: New test.
19360 * elf/Makefile: Run it.
19361
63bbedd4
JM
193622012-09-18 Joseph Myers <joseph@codesourcery.com>
19363
19364 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19365 (tst-writev-ENV): Remove.
19366 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19367
626f8b6a
CM
193682012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19369
19370 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19371
b7aaa4d6
JM
193722012-09-17 Joseph Myers <joseph@codesourcery.com>
19373
19374 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19375 unconditional.
19376 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19377 Likewise.
19378 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19379 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19380 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19381 Likewise.
19382
65513990
L
193832012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19384
19385 [BZ #14587]
19386 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19387 * config.make.in (have-cpp-asm-debuginfo): Removed.
19388 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19389 * configure: Regenerated.
19390
784761be
JM
193912012-09-14 Joseph Myers <joseph@codesourcery.com>
19392
19393 [BZ #5044]
19394 * stdio-common/printf_fp.c: Include <stdbool.h> and
19395 <rounding-mode.h>.
19396 (___printf_fp): Determine rounding using get_rounding_mode and
19397 round_away.
19398 * stdio-common/tst-printf-round.c: New file.
19399 * stdio-common/Makefile (tests): Add tst-printf-round.
19400 (link-libm): New variable.
19401 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19402
9503345f
L
194032012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19404
19405 [BZ #14576]
19406 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19407 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19408 Likewise.
19409 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19410 Likewise.
19411
ad35fc00
JM
194122012-09-13 Joseph Myers <joseph@codesourcery.com>
19413
19414 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19415 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19416 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19417 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19418
6c9b0f68
JM
194192012-09-12 Joseph Myers <joseph@codesourcery.com>
19420
19421 [BZ #14518]
19422 * include/rounding-mode.h: New file.
19423 * sysdeps/generic/get-rounding-mode.h: Likewise.
19424 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19425 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19426 (MAX_VALUE): New macro.
19427 (MIN_VALUE): Likewise.
19428 (overflow_value): New function.
19429 (underflow_value): Likewise.
19430 (round_and_return): Use overflow_value and underflow_value to
19431 determine return values in overflow and underflow cases. Use
19432 round_away to determine rounding depending on rounding mode.
19433 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19434 determine return values in overflow and underflow cases.
19435 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19436 (struct test_results): New structure.
19437 (struct test): Use struct test_results to store expected results
19438 for all rounding modes.
19439 (TEST): Include expected results for all rounding modes.
19440 (test_in_one_mode): New function.
19441 (do_test): Use test_in_one_mode to compute and check results.
19442 Check results for all rounding modes.
19443 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19444 $(link-libm).
19445
19fcedd5
AM
194462012-12-09 Allan McRae <allan@archlinux.org>
19447
1e9d84cd 19448 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19449
8bbfd2f1
JM
194502012-09-11 Joseph Myers <joseph@codesourcery.com>
19451
19452 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19453 (_G_int32_t): Likewise.
19454 (_G_uint16_t): Likewise.
19455 (_G_uint32_t): Likewise.
19456 (_G_HAVE_BOOL): Likewise.
19457 (_G_HAVE_ATEXIT): Likewise.
19458 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19459 (_G_HAVE_IO_FILE_OPEN): Likewise.
19460 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19461 (_G_int32_t): Likewise.
19462 (_G_uint16_t): Likewise.
19463 (_G_uint32_t): Likewise.
19464 (_G_HAVE_BOOL): Likewise.
19465 (_G_HAVE_ATEXIT): Likewise.
19466 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19467 (_G_HAVE_IO_FILE_OPEN): Likewise.
19468 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19469 (_G_int32_t): Likewise.
19470 (_G_uint16_t): Likewise.
19471 (_G_uint32_t): Likewise.
19472 (_G_HAVE_BOOL): Likewise.
19473 (_G_HAVE_ATEXIT): Likewise.
19474 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19475 (_G_HAVE_IO_FILE_OPEN): Likewise.
19476
b1dc5912
L
194772012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19478
19479 * csu/libc-tls.c: Update copyright years.
19480
0e886ef9
JM
194812012-09-10 Joseph Myers <joseph@codesourcery.com>
19482
28361c5e
JM
19483 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19484 [!_G_USING_THUNKS]: Remove conditional code.
19485 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19486 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19487
0e886ef9
JM
19488 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19489 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19490 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19491 (_G_VTABLE_LABEL_PREFIX): Likewise.
19492 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19493 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19494 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19495 (_G_VTABLE_LABEL_PREFIX): Likewise.
19496 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19497 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19498 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19499 (_G_VTABLE_LABEL_PREFIX): Likewise.
19500 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19501
bcba7aa2
L
195022012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19503
19504 * libio/Makefile: Include ../Makeconfig before tests.
19505 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19506 only if $(build-shared) is yes.
19507
06585ee8
L
19508 * iconv/gconv_db.c: Update copyright years.
19509
80ccd52c
LD
195102012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19511
19512 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19513 unwind info if defined PIC. Fix special cases description.
19514 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19515
19516 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19517 DP_HI_MASK entry.
19518 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19519
691bc9c1
L
195202012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19521
3d9b46b3
L
19522 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19523
de2139a9
L
19524 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19525 is NULL.
19526
5ca78dd0
L
19527 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19528 (LDLIBS-tst-chk4): This.
19529 (LDFLAGS-tst-chk5): Renamed to ...
19530 (LDLIBS-tst-chk5): This.
19531 (LDFLAGS-tst-chk6): Renamed to ...
19532 (LDLIBS-tst-chk6): This.
19533 (LDFLAGS-tst-lfschk4): Renamed to ...
19534 (LDLIBS-tst-lfschk4): This.
19535 (LDFLAGS-tst-lfschk5): Renamed to ...
19536 (LDLIBS-tst-lfschk5): This.
19537 (LDFLAGS-tst-lfschk6): Renamed to ...
19538 (LDLIBS-tst-lfschk6): This.
19539
691bc9c1
L
19540 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19541 on $(common-objpfx)soversions.mk.
19542
65cafb1c
JM
195432012-09-07 Joseph Myers <joseph@codesourcery.com>
19544
19545 [BZ #10014]
19546 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19547 example host name.
19548
c78ab094
SP
195492012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19550
19551 * malloc/arena.c (arena_get_retry): New function that gets
19552 another arena for the caller to try its request on.
19553 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19554 current arena cannot fulfill the request.
19555 (__libc_memalign): Likewise.
19556 (__libc_memalign): Likewise.
19557 (__libc_pvalloc): Likewise.
19558 (__libc_calloc): Likewise.
19559
01f49f59
JT
195602012-09-05 John Tobey <john.tobey@gmail.com>
19561
19562 [BZ #13542]
19563 * manual/arith.texi (Operations on Complex): Fix description
19564 of carg branch cut.
19565
4c23fed5
JM
195662012-09-06 Joseph Myers <joseph@codesourcery.com>
19567
1d3c8572
JM
19568 [BZ #10014]
19569 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19570 host name.
19571
4c23fed5
JM
19572 [BZ #10038]
19573 * manual/memory.texi (Memory): Make order of menu items match
19574 order of sections.
19575
04570aaa
L
195762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19577
19578 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19579 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19580 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19581
b80af2f4
L
195822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19583
19584 * csu/libc-tls.c (static_dtv): Renamed to ...
19585 (_dl_static_dtv): This. Make it global.
19586 (_dl_initial_dtv): Removed.
19587 (__libc_setup_tls): Updated.
19588 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19589 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19590 DL_INITIAL_DTV.
19591
2abe9f15
PM
195922012-09-06 Petr Machata <pmachata@redhat.com>
19593
19594 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19595 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19596 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19597 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19598
0948c3af
L
195992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19600
19601 [BZ #14545]
19602 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19603 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19604 freeing dtv[-1].
19605
a5055ad1
L
196062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19607
19608 [BZ #14544]
19609 * Makeconfig (link-static-before-libc): Replace $(+prector)
19610 with $(+prectorT).
19611 (link-static-after-libc): Replace $(+postctor) with
19612 $(+postctorT).
19613 (link-bounded): Replace $(+prector)/$(+postctor) with
19614 $(+prectorT)/$(+postctorT).
19615 (+prectorT): New macro.
19616 (+postctorT): Likewise.
19617
ed8c2ecd
JM
196182012-09-06 Joseph Myers <joseph@codesourcery.com>
19619
19620 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19621 (round_str): Handle values above the maximum for IBM long double
19622 as inexact.
19623 * stdlib/tst-strtod-round.c (tests): Regenerated.
19624
14c996c8
AK
196252012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19626
19627 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19628 assembler flag.
19629 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19630 zarch_nohighgprs around the zarch optimized routines.
19631 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19632 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19633 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19634 for zarch.
19635
430d6ce6
DM
196362012-09-05 David S. Miller <davem@davemloft.net>
19637
19638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19639
ff04dda4
DM
19640 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19641 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19642 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19643 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19644 entries.
19645
24d4e01b
AO
196462012-09-05 Alexandre Oliva <aoliva@redhat.com>
19647
19648 * malloc/arena.c: Fold copyright years.
19649 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19650
61d58174
AO
196512012-09-05 Alexandre Oliva <aoliva@redhat.com>
19652
19653 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19654
20196a5e
AO
196552012-09-05 Alexandre Oliva <aoliva@redhat.com>
19656
19657 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19658
5c447383
AO
196592012-09-05 Alexandre Oliva <aoliva@redhat.com>
19660
19661 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19662 change internal state upon failure.
19663
fad64255
AO
196642012-09-05 Alexandre Oliva <aoliva@redhat.com>
19665
19666 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19667 * malloc/memusage.c (mmap): Likewise.
19668 (mmap64, mremap): Likewise. Adjust name in comment.
19669
1ffb8c90
SP
196702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19671
19672 * libio/fileops.c: Fix typos in comments.
19673 * libio/oldfileops.c: Likewise.
19674 * libio/wfileops.c: Likewise.
19675
6ef9cc37
SP
196762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19677
19678 [BZ #1349]
19679 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19680 (tst-malloc-usable-ENV): Set environment for test case.
19681 * malloc/hooks.c (malloc_check_get_size): New function to get
19682 requested size.
19683 * malloc/malloc.c (musable): Use malloc_check_get_size.
19684 * malloc/tst-malloc-usable.c: New test case.
19685
4d038ae3
AS
196862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19687
19688 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19689
c4e85184
AM
196902012-09-05 Allan McRae <allan@archlinux.org>
19691
b9dafc56 19692 [BZ #13966]
c4e85184
AM
19693 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19694 determine header location.
19695 * configure: Regenerated.
19696
e1343020
AS
196972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19698
19699 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19700 float format.
19701 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19702 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19703 format.
e1343020
AS
19704 (test): Regenerate.
19705
0a9f1987
DM
197062012-09-04 David S. Miller <davem@davemloft.net>
19707
19708 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19709 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19710 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19711
29237804
FW
197122012-09-04 Florian Weimer <fweimer@redhat.com>
19713
19714 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19715 failures.
19716
edb3cb88
FW
19717 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19718
60160d83
JM
197192012-09-04 Joseph Myers <joseph@codesourcery.com>
19720
19721 [BZ #9914]
19722 * libio/iogetdelim.c: Include <limits.h>.
19723 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19724 + len + 1 would overflow.
19725
bcd6c8dc
AJ
197262012-09-03 Andreas Jaeger <aj@suse.de>
19727
19728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19729 * sysdeps/i386/fpu/libm-test-ulps: Update.
19730
4ffffbd2
LD
197312012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19732
19733 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19734 Add s_sinf-sse2, s_conf-sse2.
19735
19736 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19737 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19738 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19739 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19740
19741 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19742 for using routine as __sinf_ia32.
19743 Use macro for function declaration and weak_alias.
19744 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19745 for using routine as __cosf_ia32.
19746 Use macro for function declaration and weak_alias.
19747
19748 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19749 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19750
19751 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19752 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19754
19755 * math/libm-test.inc (cos_test): Add more test cases.
19756 (sin_test): Likewise.
19757 (sincos_test): Likewise.
19758
511fa286
AK
197592012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19760
19761 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19762 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19763 hidden.
19764 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19765
5f30cfec
L
197662012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19767
19768 [BZ #14538]
19769 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19770 first element of the GOT.
19771 (elf_machine_load_address): Return the difference between
19772 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19773
0786794f
AM
197742012-09-01 Allan McRae <allan@archlinux.org>
19775
5f30cfec
L
19776 [BZ #13412]
19777 * configure.in (AWK): Require gawk version 3.0 or later.
19778 * configure: Regenerated.
0786794f 19779
26889eac
JM
197802012-09-01 Joseph Myers <joseph@codesourcery.com>
19781
19782 * sysdeps/unix/sysv/linux/kernel-features.h
19783 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19784 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19785 [__NR_clock_getres]: Make code unconditional.
19786 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19787 (clock_getcpuclockid): Remove code left unreachable by removal of
19788 conditionals.
19789 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19790 code unconditional.
19791 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19792 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19793 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19794 Make code unconditional.
19795 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19796 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19797 * sysdeps/unix/sysv/linux/clock_settime.c
19798 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19799 conditional code.
19800 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19801 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19802
d22e28b0
L
198032012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19804
19805 [BZ #14476]
19806 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19807 scripts/test-installation.pl.
19808
19809 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19810 and $ld_so_version if it is set.
19811
050af9c4
SP
198122012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19813
19814 [BZ #14516]
19815 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19816 failure if reading from procfs failed.
19817 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19818
ad845c0b
JM
198192012-08-27 Joseph Myers <joseph@codesourcery.com>
19820
19821 * sysdeps/unix/sysv/linux/kernel-features.h
19822 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19823 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19824 Remove conditional code.
19825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19826 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19827 Remove conditional code.
19828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19829 * sysdeps/unix/sysv/linux/i386/fxstat.c
19830 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19831 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19832 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19833 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19835 * sysdeps/unix/sysv/linux/i386/lxstat.c
19836 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19838 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19839 Remove conditional code.
19840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19841 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19842 Remove conditional code.
19843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19844 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19845 <kernel-features.h>.
19846 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19847 Remove.
19848 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19849 Remove conditional code.
19850 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19851 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19852 Remove conditional.
19853
5dbf56af
MF
198542012-08-27 Mike Frysinger <vapier@gentoo.org>
19855
19856 [BZ #5400]
19857 * NEWS: Add fixed bug number.
19858
d6e70f43
JM
198592012-08-27 Joseph Myers <joseph@codesourcery.com>
19860
7efb4737
JM
19861 [BZ #14519]
19862 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19863 underflowing exponent in case of negative sign.
19864 * stdlib/tst-strtod-round-data: Add more tests.
19865 * stdlib/tst-strtod-round.c (tests): Regenerated.
19866
af92131a
JM
19867 [BZ #3479]
19868 * stdlib/strtod_l.c (NDIG): Remove.
19869 (HEXNDIG): Likewise.
19870 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19871 smallest representable value.
19872 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19873 lie within an exact representation of 1/2 ulp of the result.
19874 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19875 unconditionally.
19876 (TENS_P9_IDX): Define unconditionally.
19877 (TENS_P9_SIZE): Likewise.
19878 (TENS_P10_IDX): Likewise.
19879 (TENS_P10_SIZE): Likewise.
19880 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19881 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19882 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19883 entries for 10^2^13 and 10^2^14.
19884 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19885 (TENS_P13_IDX): Define.
19886 (TENS_P13_SIZE): Likewise.
19887 (TENS_P14_IDX): Likewise.
19888 (TENS_P14_SIZE): Likewise.
19889 (_fpioconst_pow10): Change array size to
19890 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19891 unconditional.
19892 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19893 1024]: Add entries for 10^2^13 and 10^2^14.
19894 [LAST_POW10 > _LAST_POW10]: Remove #error.
19895 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19896 (_fpioconst_pow10): Change array size to
19897 FPIOCONST_POW10_ARRAY_SIZE.
19898 * stdlib/gen-fpioconst.c: New file.
19899 * stdlib/gen-tst-strtod-round.c: Likewise.
19900 * stdlib/tst-strtod-round-data: Likewise.
19901 * stdlib/tst-strtod-round.c: Likewise.
19902 * stdlib/Makefile (tests): Add tst-strtod-round.
19903
d6e70f43
JM
19904 [BZ #14459]
19905 * stdlib/strtod_l.c: Include <stdint.h>.
19906 (NDEBUG): Do not define.
19907 (round_and_return): Change EXPONENT parameter to type intmax_t.
19908 Rearrange calculations to avoid internal overflow possibilities.
19909 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19910 Rearrange calculations to avoid internal overflow possibilities.
19911 Assert that number fits inside MPNSIZE limbs.
19912 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19913 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19914 calculations and add assertions to avoid internal overflow
19915 possibilities. Add casts to avoid signed/unsigned operations.
19916 * stdlib/tst-strtod-overflow.c: New file.
19917 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19918
1f529f7d
MP
199192012-08-25 Marek Polacek <polacek@redhat.com>
19920
19921 * time/time.h: Fix some typos in comments.
19922
59a629f1
RM
199232012-08-23 Roland McGrath <roland@hack.frob.com>
19924
19925 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19926 * posix/tst-rfc3484-2.c: Likewise.
19927 * posix/tst-rfc3484-3.c: Likewise.
19928
d3bafbc9
SM
199292012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19930
19931 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19932 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19933
4efcc022
JM
199342012-08-23 Joseph Myers <joseph@codesourcery.com>
19935
19936 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19937 #include of fxstatat64.c.
19938
3cc3ef96
RM
199392012-08-22 Roland McGrath <roland@hack.frob.com>
19940
f04e2132
RM
19941 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19942 * shadow/getspent_r.c: Likewise.
19943 * shadow/getspnam.c: Likewise.
19944 * shadow/getspnam_r.c: Likewise.
19945 * gshadow/getsgent.c: Likewise.
19946 * gshadow/getsgent_r.c: Likewise.
19947 * gshadow/getsgnam.c: Likewise.
19948 * gshadow/getsgnam_r.c: Likewise.
19949 * inet/getnetbyad.c: Likewise.
19950 * inet/getnetbyad_r.c: Likewise.
19951 * inet/getnetbynm.c: Likewise.
19952 * inet/getnetbynm_r.c: Likewise.
19953 * inet/getnetent.c: Likewise.
19954 * inet/getnetent_r.c: Likewise.
19955 * inet/getproto.c: Likewise.
19956 * inet/getproto_r.c: Likewise.
19957 * inet/getprtent.c: Likewise.
19958 * inet/getprtent_r.c: Likewise.
19959 * inet/getprtname.c: Likewise.
19960 * inet/getprtname_r.c: Likewise.
19961 * inet/getrpcbyname.c: Likewise.
19962 * inet/getrpcbyname_r.c: Likewise.
19963 * inet/getrpcbynumber.c: Likewise.
19964 * inet/getrpcbynumber_r.c: Likewise.
19965 * inet/getrpcent.c: Likewise.
19966 * inet/getrpcent_r.c: Likewise.
19967 * inet/getaliasent.c: Likewise.
19968 * inet/getaliasent_r.c: Likewise.
19969 * inet/getaliasname.c: Likewise.
19970 * inet/getaliasname_r.c: Likewise.
19971 * nscd/getgrgid_r.c: Likewise.
19972 * nscd/getgrnam_r.c: Likewise.
19973 * nscd/gethstbyad_r.c: Likewise.
19974 * nscd/gethstbynm3_r.c: Likewise.
19975 * nscd/getpwnam_r.c: Likewise.
19976 * nscd/getpwuid_r.c: Likewise.
19977 * nscd/getsrvbynm_r.c: Likewise.
19978 * nscd/getsrvbypt_r.c: Likewise.
19979 * nscd/gai.c: Likewise.
19980
c53d909c
RM
19981 * configure.in (build_nscd): New substituted variable, set
19982 by --disable-build-nscd and defaults to $use_nscd.
19983 * configure: Regenerated.
19984 * config.make.in (build-nscd): New substituted variable.
19985 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19986 Change conditional to require [$(build-nscd) = yes] as well.
19987 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19988
3cc3ef96
RM
19989 [BZ# 13696]
19990 * configure.in (use_nscd): New substituted variable, set by
19991 --disable-nscd. If enabled, define USE_NSCD.
19992 * configure: Regenerated.
19993 * config.h.in: Add USE_NSCD.
19994 * config.make.in (use-nscd): New substituted variable.
19995 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19996 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19997 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19998 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19999 (CFLAGS-getgrnam_r.c): Likewise.
20000 (CFLAGS-initgroups.c): Likewise.
20001 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20002 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20003 Variables removed.
20004 * inet/getnetgrent_r.c
20005 (nscd_setnetgrent): New function, broken out of ...
20006 (setnetgrent): ... here. Call it.
20007 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20008 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20009 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20010 * nscd/Makefile (routines, aux): Move definitions after include of
20011 Makeconfig. Conditionalize on [$(use-nscd) != no].
20012 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20013 Conditionalize on [USE_NSCD].
20014 (is_nscd, nscd_init_cb): Likewise.
20015 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20016 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20017 * nss/nss_db/db-init.c: Likewise.
20018 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20019 [USE_NSCD].
20020 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20021 (make_request): Use it.
20022 (cache_valid_p): New function.
20023 (__check_pf): Use it.
20024 * NEWS: Add item for --disable-nscd.
20025
07e51550
DL
200262012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20027
20028 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20029 to support sed >= 4.2.1-20-ga9bf076.
20030 * configure: Regenerated.
20031
35a5b08b
RM
200322012-08-22 Roland McGrath <roland@hack.frob.com>
20033
20034 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20035 Conditionalize whole body on [IREL].
20036
8479f23a
JL
200372012-08-22 Jeff Law <law@redhat.com>
20038
20039 [BZ #14505]
20040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20041 if the family is PF_UNSPEC.
20042
48da0b21
MF
200432012-08-22 Mike Frysinger <vapier@gentoo.org>
20044
20045 * Makerules (lib-version): Rename from V.
20046 (install-lib-nosubdir): Change V to lib-version.
20047
15d0da8c
WS
200482012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20049
20050 [BZ #14252]
20051 * powerpc32/power6/wcschr.c: New file.
20052 * powerpc32/power6/wcscpy.c: New file.
20053 * powerpc32/power6/wcsrchr.c: New file.
20054 * powerpc64/power6/wcschr.c: New file.
20055 * powerpc64/power6/wcscpy.c: New file.
20056 * powerpc64/power6/wcsrchr.c: New file.
20057
bcca0895
MK
200582012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20059
20060 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20061 (two_way_short_needle): Use it.
5a4aaa33
RM
20062 * string/strstr.c (AVAILABLE1_USES_J): Define.
20063 * string/strcasestr.c: Likewise.
99677e57
MK
20064
20065 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20066 array references.
20067 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20068
400726de
MK
20069 [BZ #11607]
20070 * NEWS: Add an entry.
20071 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20072 define their defaults.
20073 (two_way_short_needle): Detect end-of-string on-the-fly.
20074 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20075 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20076 * string/bug-strcasestr1.c: New test.
20077 * string/Makefile: Run it.
20078
20a71f2c
MK
200792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20080
20081 [BZ #11607]
20082 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20083 the first character.
20084
21ad0558
RM
200852012-08-21 Roland McGrath <roland@hack.frob.com>
20086
20087 * csu/elf-init.c (__libc_csu_irel): Function removed.
20088 * csu/libc-start.c (apply_irel): New function.
20089 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20090
0e1d9911
JM
200912012-08-21 Joseph Myers <joseph@codesourcery.com>
20092
20093 * sysdeps/unix/sysv/linux/kernel-features.h
20094 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20095 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20096 <kernel-features.h>.
20097 [__NR_fadvise64_64]: Make code unconditional.
20098 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20099 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20100 !__NR_fadvise64_64)]: Likewise.
20101 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20102 !__NR_fadvise64_64))]: Likewise.
20103 [__NR_fadvise64]: Make code unconditional.
20104 [!__NR_fadvise64]: Remove conditional code.
20105 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20106 <kernel-features.h>.
20107 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20108 unconditional.
20109 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20110 conditional code.
20111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20112 not include <kernel-features.h>.
20113 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20114 unconditional.
20115 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20116 conditional code.
20117 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20118 include <kernel-features.h>.
20119 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20120 unconditional.
20121 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20122 conditional code.
20123
14a50c9d
WS
201242012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20125
20126 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20127 slight instruction rearrangements per scrollpipe analysis.
20128 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20129
c0f4faf0
RM
201302012-08-20 Roland McGrath <roland@hack.frob.com>
20131
696da859
RM
20132 * manual/syslog.texi (syslog; vsyslog, closelog):
20133 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20134 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20135
c0f4faf0
RM
20136 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20137 DSOCAPS to match condition on defining it.
20138
348363b2
JM
201392012-08-20 Joseph Myers <joseph@codesourcery.com>
20140
a35cbf28
JM
20141 * sysdeps/unix/sysv/linux/kernel-features.h
20142 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20144 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20145 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20147 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20148 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20150 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20151 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20152
445f7ecd
JM
20153 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20154 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20155
348363b2
JM
20156 * sysdeps/unix/sysv/linux/kernel-features.h
20157 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20158 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20159 unconditional.
20160 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20161 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20162 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20163 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20164 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20165 Make code unconditional.
20166 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20167 (__mmap64) [!__NR_mmap2]: Likewise.
20168 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20169 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20170 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20171 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20172 [__NR_mmap2]: Make code unconditional.
20173 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20174 (__mmap64) [!__NR_mmap2]: Likewise.
20175
bc5bc0e5
AK
201762012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20177
20178 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20179
88d506de
AJ
201802012-08-18 Andreas Jaeger <aj@suse.de>
20181
20182 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20183
493387d2
MF
201842012-08-18 Mike Frysinger <vapier@gentoo.org>
20185
20186 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20187 * include/unistd.h (__have_sock_cloexec): Likewise.
20188 (__have_pipe2): Likewise.
20189 (__have_dup3): Likewise.
20190
a277af22
MF
201912012-08-18 Mike Frysinger <vapier@gentoo.org>
20192
20193 [BZ #9685]
20194 * include/unistd.h (__have_pipe2): Change define into an extern int.
20195 (__have_dup3): Likewise.
20196 * socket/have_sock_cloexec.c: Include fcntl.h.
20197 (__have_pipe2): New variable.
20198 (__have_dup3): Likewise.
20199
fdab8fd3
MF
202002012-08-17 Mike Frysinger <vapier@gentoo.org>
20201
20202 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20203
31035e80
MP
202042012-08-17 Marek Polacek <polacek@redhat.com>
20205
20206 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20207 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20208
3bd9e993
RM
202092012-08-17 Roland McGrath <roland@hack.frob.com>
20210
c91c505f
RM
20211 * configure.in: Add AC_SUBST for sysheaders.
20212 * configure: Regenerated.
20213 * config.make.in (sysheaders): New substituted variable.
20214
7c6f9d53
RM
20215 * sysdeps/unix/mkfifo.c: Moved ...
20216 * sysdeps/posix/mkfifo.c: ... here.
20217 * sysdeps/unix/mkfifoat.c: Moved ...
20218 * sysdeps/posix/mkfifoat.c: ... here.
20219
20220 * sysdeps/unix/utime.c: Moved ...
20221 * sysdeps/posix/utime.c: ... here.
20222
20223 * sysdeps/unix/time.c: Moved ...
20224 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20225 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20226 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20227
20228 * sysdeps/unix/nice.c: Moved ...
20229 * sysdeps/posix/nice.c: ... here.
20230
20231 * sysdeps/unix/alarm.c: Moved ...
20232 * sysdeps/posix/alarm.c: ... here.
20233
3bd9e993
RM
20234 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20235
d1f09384
JL
202362012-08-17 Jeff Law <law@redhat.com>
20237
20238 * intl/Makefile (codeset_mo): New variable.
20239 ($(codeset_mo)): New target.
20240 (tst-codeset.out): Depend on that. Remove explicit rule.
20241 (tst-gettext3.out, tst-gettext5.out): Likewise.
20242 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20243 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20244 * intl/tst-codeset.sh: Remove.
20245 * intl/tst-gettext3.sh: Likewise.
20246 * intl/tst-gettext5.sh: Likewise.
20247
2ae1ae5c
RM
202482012-08-17 Roland McGrath <roland@hack.frob.com>
20249
c31fdb83
RM
20250 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20251 * sysdeps/unix/syscalls.list: ... here.
20252
a0844057
RM
20253 * sysdeps/posix/getaddrinfo.c
20254 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20255 (gaiconf_init, gaiconf_reload): Use them.
20256 [!_STATBUF_ST_NSEC]
20257 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20258 Define using time_t rather than struct timespec.
20259
750c1f2a
RM
20260 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20261 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20262 Macros removed.
20263 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20264 [!NO_THREADS].
20265 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20266 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20267 Likewise.
20268
2ae1ae5c
RM
20269 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20270 __libc_cleanup_push argument.
20271
e66a42f5
RM
20272 * bits/param.h: New file.
20273 * misc/sys/param.h: New file.
20274 * include/sys/param.h: New file.
20275 * misc/Makefile (headers): Add bits/param.h.
20276 * sysdeps/generic/sys/param.h: File removed.
20277 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20278 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20279 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20280 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20281
b7c08a66
RM
20282 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20283 last change.
20284
b2e1c562
RM
20285 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20286 [_IO_MTSAFE_IO].
20287 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20288 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20289 New macros.
20290
c75ccd4c
RM
20291 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20292 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20293 rather than -D_IO_MTSAFE_IO conditionally.
20294 * stdio-common/Makefile (CPPFLAGS): Likewise.
20295 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20296 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20297 Use $(libio-mtsafe).
20298 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20299 of -D_IO_MTSAFE_IO.
20300 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20301 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20302 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20303 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20304 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20305 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20306 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20307 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20308 (CFLAGS-fread_u_chk.c): Likewise.
20309 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20310 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20311 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20312 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20313 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20314 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20315 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20316 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20317 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20318
20319 * libio/Makefile: Test [$(libc-reentrant) = yes]
20320 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20321
20322 * Makeconfig
20323 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20324 * sysdeps/pthread/configure: File removed.
20325 * sysdeps/pthread/Makeconfig: New file.
20326 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20327 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20328
d9195db8
GB
203292012-08-16 Gary Benson <gbenson@redhat.com>
20330
20331 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20332 unmapping the first object in a namespace.
20333
86466cd9
RM
203342012-08-16 Roland McGrath <roland@hack.frob.com>
20335
20336 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20337 (__internal_setnetgrent): ... this. Add internal_function to
20338 definition. Add libc_hidden_def.
20339 (setnetgrent): Update caller.
20340 (internal_endnetgrent): Renamed to ...
20341 (__internal_endnetgrent): ... this. Add internal_function to
20342 definition. Add libc_hidden_def.
20343 (endnetgrent): Update caller.
20344 (internal_getnetgrent_r): Renamed to ...
20345 (__internal_getnetgrent_r): ... this. Add internal_function to
20346 definition. Add libc_hidden_def.
20347 (__getnetgrent_r): Update caller.
20348 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20349
c3c8283c
JM
203502012-08-16 Joseph Myers <joseph@codesourcery.com>
20351
20352 * stdlib/longlong.h: Update from GCC.
20353
db1ee0a8
RM
203542012-08-16 Roland McGrath <roland@hack.frob.com>
20355
20356 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20357 on _QL, which is set by umul_ppmm but never used.
20358 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20359 variables, which are set by GMP macros but never used.
20360 * stdio-common/_itowa.c (_itowa): Likewise.
20361 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20362 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20363
30f69637
CD
203642012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20365
20366 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20367 struct La_sh_regs is not constant.
20368 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20369 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20370 and struct La_sparc64_regs are not constant.
20371
93a78ac4
JM
203722012-08-16 Joseph Myers <joseph@codesourcery.com>
20373
20374 * sysdeps/unix/sysv/linux/kernel-features.h
20375 (__ASSUME_POSIX_TIMERS): Remove.
20376 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20377 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20378 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20379 Make code unconditional.
20380 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20381 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20382 Make code unconditional.
20383 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20384 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20385 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20386 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20387 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20388 Make code unconditional.
20389 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20390 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20391 (__libc_missing_posix_timers): Remove.
20392
dd924cd7
RM
203932012-08-15 Roland McGrath <roland@hack.frob.com>
20394
4b4f2771
RM
20395 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20396 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20397
601c888b
RM
20398 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20399
176790a7
RM
20400 * elf/dl-sym.c: Include <stdlib.h>.
20401
329bc018
RM
20402 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20403 constants, which avoids warnings in 32-bit builds.
20404
e04e272d
RM
20405 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20406 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20407
952bf94a
RM
20408 * misc/lseek.c: File moved to ...
20409 * io/lseek.c: ... here.
20410
7c99b50a
RM
20411 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20412
dd924cd7
RM
20413 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20414 shifting LEN more than 31 bits at once.
20415
b3f479a8
LD
204162012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20417
20418 [BZ #14195]
8c4ae0d4
RM
20419 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20420 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20421 * string/test-strncasecmp.c (check1): Renamed to...
20422 (bz12205): ...this.
20423 (bz14195): Add new testcase for two empty input strings and N > 0.
20424 (test_main): Call new testcase, adapt for renamed function.
20425
9c55864e
AJ
204262012-08-15 Andreas Jaeger <aj@suse.de>
20427
20428 [BZ #14090]
20429 * crypt/md5test2.c: New test, based on test supplied by Serge
20430 Belyshev <belyshev@depni.sinp.msu.ru>.
20431 * crypt/Makefile (xtests): Add md5test-giant..
20432 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20433
02dcb6c5
PE
204342012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20435
20436 [BZ #14090]
20437 * crypt/md5.c (md5_process_block): Don't assume the buffer
20438 length is less than 2**32.
20439 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20440 length is less than 2**64.
20441
a3f95dcc
RM
204422012-08-15 Roland McGrath <roland@hack.frob.com>
20443
be75d758
RM
20444 * string/str-two-way.h: Include <sys/param.h>.
20445 (MAX): Macro removed.
20446
7312ca90
RM
20447 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20448 Move #define and #undef of memmove to just before and after
20449 including <string.h>.
20450
9a0a5486
RM
20451 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20452 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20453 and after including <string.h>. Move declarations of
20454 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20455 to before #include "string/memmove.c".
20456
67cc348d
RM
20457 * include/dirent.h: Declare __getdirentries.
20458
a3f95dcc
RM
20459 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20460 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20461
ca98e171
MF
204622012-08-14 Mike Frysinger <vapier@gentoo.org>
20463
20464 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20465 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20466 * sysdeps/i386/configure: Regenerated.
20467 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20468 STABS_CURRENT_FILE, and STABS_FUN.
20469 (END): Remove call to STABS_FUN_END.
20470 (STABS_CURRENT_FILE1): Delete.
20471 (STABS_CURRENT_FILE): Likewise.
20472 (STABS_FUN): Likewise.
20473 (STABS_FUN_END): Likewise.
20474 (STABS_FUN2): Likewise.
20475 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20476 * sysdeps/x86_64/configure: Regenerated.
20477
5908bf46
RM
204782012-08-14 Roland McGrath <roland@hack.frob.com>
20479
20480 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20481 * elf/dl-lookup.c: Likewise.
5908bf46 20482
f2c05b9e
JM
204832012-08-14 Joseph Myers <joseph@codesourcery.com>
20484
20485 * sysdeps/unix/sysv/linux/kernel-features.h
20486 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20487 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20488 unconditionally.
20489 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20490 unconditionally.
20491 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20492 condition on __ASSUME_CLONE_THREAD_FLAGS.
20493
e11f5155
AJ
204942012-08-14 Andreas Jaeger <aj@suse.de>
20495
20496 * sysdeps/i386/fpu/libm-test-ulps: Update.
20497
51a9ba86
MK
204982012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20499
2fdd4f78
AJ
20500 * include/atomic.h (atomic_exchange_and_add): Split into ...
20501 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20502 New atomic macros.
51a9ba86 20503
ba6cba9e
MT
205042012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20505
20506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20507
42443a47
JL
205082012-08-13 Jeff Law <law@redhat.com>
20509
20510 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20511 null byte in the output string.
20512
121dce05
JM
205132012-08-10 Joseph Myers <joseph@codesourcery.com>
20514
20515 * sysdeps/unix/sysv/linux/kernel-features.h
20516 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20517 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20518 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20519 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20520 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20521 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20522 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20523
bf51f568
JL
205242012-08-09 Jeff Law <law@redhat.com>
20525
20526 [BZ #13939]
20527 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20528 When avoid_arena is set, don't retry in the that arena. Pick the
20529 next one, whatever it might be.
20530 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20531 (arena_lock): Pass in new parameter to arena_get2.
20532 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20533 arena_get2.
20534 (__libc_malloc): Unify retrying after main arena failure with
20535 __libc_memalign version.
20536 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20537
f85fa270
L
205382012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20539
20540 [BZ #14166]
20541 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20542 to __redirect_strstr.
20543 (__strstr_sse42): Use typeof __redirect_strstr.
20544 (__strstr_ia32): Likewise.
20545 (__libc_strstr): New prototype.
20546 (strstr): Renamed to ...
20547 (__libc_strstr): This.
20548 (strstr): New strong alias of __libc_strstr.
20549 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20550 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20551 __redirect_time.
20552 Include <time.h>.
20553 (__libc_time): New prototype.
20554 (time_ifunc): Replace time with __libc_time.
20555 (time): New strong alias and hidden definition of __libc_time.
20556 (__GI_time): Remove strong alias.
20557 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20558 Include <stddef.h>.
20559 (memmove): Redefined to __redirect_memmove.
20560 (__memmove_sse2): Use typeof __redirect_memmove.
20561 (__memmove_ssse3): Likewise.
20562 (__memmove_ssse3_back): Likewise.
20563 (__libc_memmove): New prototype.
20564 (memmove): Renamed to ...
20565 (__libc_memmove): This.
20566 (memmove): New strong alias of __libc_memmove.
20567
33b4a91e
MS
205682012-08-08 Mark Salter <msalter@redhat.com>
20569
20570 * elf/elf.h
20571 (R_MN10300_TLS_GD): Define.
20572 (R_MN10300_TLS_LD): Likewise.
20573 (R_MN10300_TLS_LDO): Likewise.
20574 (R_MN10300_TLS_GOTIE): Likewise.
20575 (R_MN10300_TLS_IE): Likewise.
20576 (R_MN10300_TLS_LE): Likewise.
20577 (R_MN10300_TLS_DTPMOD): Likewise.
20578 (R_MN10300_TLS_DTPOFF): Likewise.
20579 (R_MN10300_TLS_TPOFF): Likewise.
20580 (R_MN10300_SYM_DIFF): Likewise.
20581 (R_MN10300_ALIGN): Likewise.
20582 (R_MN10300_NUM): Update.
20583
b36137f1
JM
205842012-08-08 Joseph Myers <joseph@codesourcery.com>
20585
20586 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20587 Remove.
20588
cdd915fd
RM
205892012-08-08 Roland McGrath <roland@hack.frob.com>
20590
a2433aac
RM
20591 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20592
cdd915fd
RM
20593 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20594 sysdeps/unix -> sysdeps/posix move.
20595 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20596
bf9b740a
AM
205972012-08-07 Allan McRae <allan@archlinux.org>
20598
20599 [BZ #14303]
20600 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20601 (SUNOS_CPP): Likewise.
20602 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20603 not found.
20604 (open_input): Call CPP using execvp.
20605
93df14ee
JM
206062012-08-07 Joseph Myers <joseph@codesourcery.com>
20607
20608 * sysdeps/unix/sysv/linux/kernel-features.h
20609 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20610 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20611 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20612 (__ASSUME_WAITID_SYSCALL): Likewise.
20613 * sysdeps/unix/sysv/linux/dl-execstack.c
20614 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20615 code unconditional.
20616 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20617 conditional code.
20618 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20619 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20620 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20621 code.
20622 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20623 unconditional.
20624 [__ASSUME_WAITID_SYSCALL]: Likewise.
20625 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20626
d34689de
RM
206272012-08-07 Roland McGrath <roland@hack.frob.com>
20628
a281decc
RM
20629 * sysdeps/unix/closedir.c: Renamed to ...
20630 * sysdeps/posix/closedir.c: ... here.
20631 * sysdeps/unix/dirfd.c: Renamed to ...
20632 * sysdeps/posix/dirfd.c: ... here.
20633 * sysdeps/unix/dirstream.h: Renamed to ...
20634 * sysdeps/posix/dirstream.h: ... here.
20635 * sysdeps/unix/fdopendir.c: Renamed to ...
20636 * sysdeps/posix/fdopendir.c: ... here.
20637 * sysdeps/unix/opendir.c: Renamed to ...
20638 * sysdeps/posix/opendir.c: ... here.
20639 * sysdeps/unix/readdir.c: Renamed to ...
20640 * sysdeps/posix/readdir.c: ... here.
20641 * sysdeps/unix/readdir_r.c: Renamed to ...
20642 * sysdeps/posix/readdir_r.c: ... here.
20643 * sysdeps/unix/rewinddir.c: Renamed to ...
20644 * sysdeps/posix/rewinddir.c: ... here.
20645 * sysdeps/unix/seekdir.c: Renamed to ...
20646 * sysdeps/posix/seekdir.c: ... here.
20647 * sysdeps/unix/telldir.c: Renamed to ...
20648 * sysdeps/posix/telldir.c: ... here.
20649 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20650 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20651 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20652 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20653
22895b47
RM
20654 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20655 * bits/fcntl.h: ... here.
20656
707a53b6
RM
20657 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20658 not 0.
20659 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20660 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20661 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20662 (struct flock): Move l_start, l_len to the beginning.
20663 Use __pid_t for l_pid.
20664 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20665 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20666 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20667 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20668 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20669 [__USE_LARGEFILE64] (struct flock64): New type.
20670 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20671
f0bd3e25
RM
20672 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20673 * bits/dirent.h: ... here.
20674
d34689de
RM
20675 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20676 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20677
6dad2c06
JM
206782012-08-07 Joseph Myers <joseph@codesourcery.com>
20679
20680 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20681 Change from 2.6.0 to 2.6.16.
20682 * sysdeps/unix/sysv/linux/configure: Regenerated.
20683 * sysdeps/unix/sysv/linux/kernel-features.h
20684 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20685 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20686 version.
20687 (__ASSUME_UTIMES): Likewise.
20688 (__ASSUME_CLONE_STOPPED): Remove.
20689 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20690 architectures, not kernel version.
20691 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20692 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20693 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20694 (__ASSUME_WAITID_SYSCALL): Likewise.
20695 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20696 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20697 * README: State 2.6.16 as minimum Linux kernel version. Do not
20698 refer to older versions.
20699
03af9520
RM
207002012-08-06 Roland McGrath <roland@hack.frob.com>
20701
8e49df1d
RM
20702 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20703 Define alphasort64 as an alias.
20704 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20705 Define versionsort64 as an alias.
20706 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20707 Define scandir64 as an alias.
20708 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20709 Define scandirat64 as an alias.
20710 * dirent/alphasort64.c (alphasort64):
20711 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20712 * dirent/versionsort64.c: Likewise.
20713 * dirent/scandir64.c: Likewise.
20714 * dirent/scandirat64.c: Likewise.
20715 * sysdeps/wordsize-64/alphasort.c: File removed.
20716 * sysdeps/wordsize-64/alphasort64.c: File removed.
20717 * sysdeps/wordsize-64/scandir.c: File removed.
20718 * sysdeps/wordsize-64/scandir64.c: File removed.
20719 * sysdeps/wordsize-64/scandirat.c: File removed.
20720 * sysdeps/wordsize-64/scandirat64.c: File removed.
20721 * sysdeps/wordsize-64/versionsort.c: File removed.
20722 * sysdeps/wordsize-64/versionsort64.c: File removed.
20723 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20724 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20725 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20726 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20727 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20728 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20729 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20730 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20731
20732 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20733 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20734 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20735 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20736 [defined __arch64__ || defined __sparcv9]
20737 (__INO_T_MATCHES_INO64_T): New macro.
20738 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20739 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20740 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20741 * sysdeps/unix/sysv/linux/bits/dirent.h
20742 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20743 (_DIRENT_MATCHES_DIRENT64): New macro.
20744
03af9520
RM
20745 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20746 Define lockf64 as an alias.
20747 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20748 Define fseeko64 as an alias.
20749 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20750 Define ftello64 as an alias.
20751 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20752 Define _IO_fgetpos64 and fgetpos64 as aliases.
20753 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20754 Define _IO_fsetpos64 and fsetpos64 as aliases.
20755 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20756 Conditionalize body on this.
20757 * libio/fseeko64.c: Likewise.
20758 * libio/ftello64.c: Likewise.
20759 * libio/iofgetpos64.c: Likewise.
20760 * libio/iofsetpos64.c: Likewise.
20761 * sysdeps/wordsize-64/lockf.c: File removed.
20762 * sysdeps/wordsize-64/lockf64.c: File removed.
20763 * sysdeps/wordsize-64/fseeko.c: File removed.
20764 * sysdeps/wordsize-64/fseeko64.c: File removed.
20765 * sysdeps/wordsize-64/ftello.c: File removed.
20766 * sysdeps/wordsize-64/ftello64.c: File removed.
20767 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20768 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20769 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20770 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20771 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20772 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20773 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20774 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20775 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20776 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20779 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20780 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20781
20782 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20784 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20786 [defined __arch64__ || defined __sparcv9]
20787 (__OFF_T_MATCHES_OFF64_T): New macro.
20788 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20789 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20790 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20791 (__OFF_T_MATCHES_OFF64_T): New macro.
20792
c5757acd
L
207932012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20794
20795 * stdlib/secure-getenv.c (__secure_getenv): Replace
20796 GLIBC_2_16 with GLIBC_2_17.
20797
3a31811e
L
207982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20799
20800 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20801 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20802
faa2bccb
DM
208032012-08-03 David S. Miller <davem@davemloft.net>
20804
20805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20806
85fe1997
JM
208072012-08-03 Joseph Myers <joseph@codesourcery.com>
20808
20809 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20810 Remove.
20811 (__ASSUME_CORRECT_SI_PID): Likewise.
20812 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20813 (__ASSUME_TMPFS_NAME): Likewise.
20814 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20815 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20816 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20817 (HAVE_AUX_SECURE): Make definition unconditional.
20818 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20819 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20820
4f75b7a0
RM
208212012-08-03 Roland McGrath <roland@hack.frob.com>
20822
20823 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20824 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20825 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20826 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20827 __eloop_threshold instead of SYMLOOP_MAX.
20828
20829 * sysdeps/generic/eloop-threshold.h: New file.
20830 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20831 of MAXSYMLINKS.
20832 * elf/chroot_canon.c (chroot_canon): Likewise.
20833
7aab07e4
JM
208342012-08-03 Joseph Myers <joseph@codesourcery.com>
20835
20836 [BZ #13717]
20837 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20838 Change to 2.6.0 everywhere.
20839 * sysdeps/unix/sysv/linux/configure: Regenerated.
20840 * sysdeps/unix/sysv/linux/kernel-features.h
20841 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20842 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20843 kernel versions.
20844 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20845 (__ASSUME_FUTEX_REQUEUE): Remove.
20846 (__ASSUME_STATFS64): Define unconditionally.
20847 (__ASSUME_AT_SECURE): Likewise.
20848 (__ASSUME_CORRECT_SI_PID): Likewise.
20849 (__ASSUME_TGKILL): Define without depending on kernel version for
20850 i386.
20851 (__ASSUME_UTIMES): Likewise.
20852 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20853 kernel version.
20854 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20855 (__ASSUME_TMPFS_NAME): Likewise.
20856 * README: Update reference to Linux kernel versions.
20857
b67e9372
MP
208582012-08-02 Marek Polacek <polacek@redhat.com>
20859
1f529f7d 20860 [BZ# 14150]
b67e9372
MP
20861 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20862 libc_cv_asm_type_prefix with %.
20863 * configure: Regenerated.
d2441631
RM
20864 * include/libc-symbols.h: Remove comment about
20865 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20866 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20867 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20868 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20869 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20870 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20871 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20872 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20873 * elf/tst-unique2mod1.c: Likewise.
20874 * elf/tst-unique1mod2.c: Likewise.
20875 * elf/tst-unique1mod1.c: Likewise.
20876 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20877 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20878 Replace ASM_TYPE_DIRECTIVE with .type.
20879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20880 * sysdeps/i386/sysdep.h: Likewise.
20881 * sysdeps/x86_64/sysdep.h: Likewise.
20882 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20884 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20885 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20886 * sysdeps/powerpc/powerpc32/sysdep.h:
20887 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20888 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20889 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20890 * sysdeps/i386/fpu/e_powf.S: Likewise.
20891 * sysdeps/i386/fpu/e_expl.S: Likewise.
20892 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20893 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20894 * sysdeps/i386/fpu/e_pow.S: Likewise.
20895 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20896 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20897 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20898 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20899 * sysdeps/i386/fpu/e_log2.S: Likewise.
20900 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20901 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20902 * sysdeps/i386/fpu/e_powl.S: Likewise.
20903 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20904 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20905 * sysdeps/i386/fpu/e_logl.S: Likewise.
20906 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20907 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20908 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20909 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20910 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20911 * sysdeps/i386/fpu/e_log.S: Likewise.
20912 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20913 * sysdeps/i386/fpu/e_logf.S: Likewise.
20914 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20915 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20916 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20917 * sysdeps/i386/fpu/e_log10.S: Likewise.
20918 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20919 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20920 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20921 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20922 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20923 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20924 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20925 * sysdeps/i386/i686/strtok.S: Likewise.
20926 * sysdeps/i386/i386-mcount.S: Likewise.
20927 * sysdeps/i386/strtok.S: Likewise.
20928 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20929 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20930 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20931 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20932 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20933 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20934 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20935 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20936 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20937 * sysdeps/x86_64/_mcount.S: Likewise.
20938 * sysdeps/x86_64/strtok.S: Likewise.
20939 * sysdeps/sh/_mcount.S: Likewise.
20940
2747bf9a
RM
209412012-08-01 Roland McGrath <roland@hack.frob.com>
20942
20943 * libio/iofopen.c: Include <fcntl.h>.
20944 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20945 (_IO_fopen64, fopen64): Define as aliases.
20946 * libio/iofopen64.c: Include <fcntl.h>.
20947 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20948 Conditionalize body on this.
20949 * sysdeps/wordsize-64/iofopen.c: File removed.
20950 * sysdeps/wordsize-64/iofopen64.c: File removed.
20951
3fb791b8
MP
209522012-08-01 Marek Polacek <polacek@redhat.com>
20953
20954 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20955 Use dlfcn directly instead of a variable.
20956 (binfmt-subdir): Do not define.
20957 (dlfcn): Likewise.
20958
a9f1039f
JM
209592012-08-01 Joseph Myers <joseph@codesourcery.com>
20960
23bddc06
JM
20961 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20962 Remove all definitions.
20963 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20964 <kernel-features.h>.
20965 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20966 (miss_F_GETOWN_EX): Remove all definitions.
20967 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20968 macro definition.
20969 [!__ASSUME_FCNTL64]: Remove conditional code.
20970 [__ASSUME_FCNTL64]: Make code unconditional.
20971 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20972 <kernel-features.h>.
20973 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20974 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20975 (lockf64) [__NR_fcntl64]: Make code unconditional.
20976 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20977
a9f1039f
JM
20978 * sysdeps/unix/sysv/linux/kernel-features.h
20979 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20980 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20981 Make code unconditional.
20982 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20983 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20985 [__NR_vfork]: Make code unconditional.
20986 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20987 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20989 [__NR_vfork]: Make code unconditional.
20990 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20991 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20992
09c0ee5f
RM
209932012-08-01 Roland McGrath <roland@hack.frob.com>
20994
48aec5b9
RM
20995 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20996 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20997
cd97c966
RM
20998 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20999 Define mkstemp64 as an alias.
3f55550c
RM
21000 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21001 Define mkstemps64 as an alias.
cd97c966
RM
21002 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21003 Define mkostemp64 as an alias.
b8625cfc
RM
21004 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21005 Define mkostemps64 as an alias.
cd97c966
RM
21006 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21007 Conditionalize body on this.
21008 * misc/mkostemp64.c: Likewise.
b8625cfc 21009 * misc/mkostemps64.c: Likewise.
3f55550c 21010 * misc/mkstemps64.c: Likewise.
cd97c966
RM
21011 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21012 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21013 * sysdeps/wordsize-64/mkostemp.c: File removed.
21014 * sysdeps/wordsize-64/mkstemp.c: File removed.
21015 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21016 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21017 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21018 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21019
09c0ee5f
RM
21020 [BZ #14138]
21021 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21022 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21023 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21024 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21025
21026 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21027 compat_symbol macros from <shlib-compat.h> rather than the underlying
21028 default_symbol_version and symbol_version macros, so that DEFAULT
21029 lines in shlib-versions are respected.
21030 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21031
7e66ee51
FW
210322012-08-01 Florian Weimer <fweimer@redhat.com>
21033
21034 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21035 Declare with warn_unused_result.
21036 (setgid, setregid, setegid, setresgid): Likewise.
21037 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21038 Likewise.
21039 * WUR-REPORT: Remove set*id functions.
21040
d2a54255
PT
210412012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21042
21043 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21044
7ecdb005
RM
210452012-07-31 Roland McGrath <roland@hack.frob.com>
21046
b4180a5e 21047 [BZ #10191]
789bd351
RM
21048 * include/sys/socket.h (__libc_accept, __libc_accept4):
21049 Add attribute_hidden.
21050 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21051
40ce302d
RM
21052 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21053 use of PTR_MANGLE.
21054 * inet/getnetgrent_r.c (setup): Likewise.
21055
7ecdb005
RM
21056 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21057
e2eabb2c
DM
210582012-07-31 David S. Miller <davem@davemloft.net>
21059
21060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21061
d0419dbf
JM
210622012-07-31 Joseph Myers <joseph@codesourcery.com>
21063
21064 [BZ #13629]
21065 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21066 value between 1.0 and 2.0 and smaller part has absolute value less
21067 than 1.0.
21068 * math/s_clog10.c (__clog10): Likewise.
21069 * math/s_clog10f.c (__clog10f): Likewise.
21070 * math/s_clog10l.c (__clog10l): Likewise.
21071 * math/s_clogf.c (__clogf): Likewise.
21072 * math/s_clogl.c (__clogl): Likewise.
21073 * math/libm-test.inc (clog_test): Add more tests.
21074 (clog10_test): Likewise.
21075 * sysdeps/i386/fpu/libm-test-ulps: Update.
21076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21077
2bc13872
FW
210782012-07-31 Florian Weimer <fweimer@redhat.com>
21079
21080 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21081 Exit with zero in case no suitable GID is found, and write a
21082 message to standard error.
21083
bea9b193
RM
210842012-07-30 Roland McGrath <roland@hack.frob.com>
21085
21086 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21087 rather than to 1.
21088 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21089 (MAXPATHLEN): Removed.
21090 (NOGROUP, NODEV): New macros.
21091 (setbit, clrbit, isset, isclr): New macros.
21092 (howmany, roundup, powerof2): New macros.
21093 (DEV_BSIZE): New macro.
21094
21095 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21096 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21097
21098 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21099 definition on [!__NO_LONG_DOUBLE_MATH].
21100
21101 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21102 PTR_MANGLE and PTR_DEMANGLE.
21103
21104 * socket/accept4.c (accept4): Rename to __libc_accept4.
21105 Define accept4 as a weak alias.
21106
21107 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21108 on [_DIRENT_HAVE_D_TYPE].
21109 * io/ftw.c (ftw_dir): Likewise.
21110
21111 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21112
21113 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21114
21115 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21116 Use the BSD numbers rather than the arbitrary ones we had.
21117 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21118 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21119 (SIGXCPU, SIGXFSZ): New macros.
21120 (_NSIG): Now 32.
21121
21122 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21123 initializer on [_LIBC_REENTRANT].
21124
21125 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21126 definitions inside [_POSIX_MAPPED_FILES].
21127
21128 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21129
21130 * dirent/opendir.c: Include <fcntl.h>.
21131
21132 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21133 (__libc_getspecific): Likewise.
21134 (__libc_key_create): Likewise.
21135
21136 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21137 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21138 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21139 (tmpfile64): Define as alias.
21140 * sysdeps/wordsize-64/tmpfile.c: File removed.
21141 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21142 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21143 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21144
21145 * stdio-common/vfscanf.c: Include <stdbool.h>.
21146 * nss/makedb.c: Likewise.
21147 * stdio-common/_i18n_number.h: Likewise.
21148 * argp/argp-help.c: Likewise.
21149 * posix/wordexp.c: Likewise.
21150 * sysdeps/posix/spawni.c: Likewise.
21151 * nss/nss_files/files-initgroups.c: Likewise.
21152 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21153 * nss/nss_files/files-initgroups.c: Likewise.
21154 * nss/nss_db/db-netgrp.c: Likewise.
21155 * nss/nss_db/db-initgroups.c: Likewise.
21156 * io/fchmodat.c: Include <sys/stat.h>.
21157
21158 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21159 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21160
21161 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21162 [HAVE_MMAP].
21163
21164 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21165 Add multiple inclusion protection.
21166
e5abc686
DM
211672012-07-27 David S. Miller <davem@davemloft.net>
21168
21169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21170
815e6fa3
GB
211712012-07-27 Gary Benson <gbenson@redhat.com>
21172
21173 [BZ #14298]
21174 * elf/rtld.c: Include <stap-probe.h>.
21175 (dl_main): Added static probes "init_start" and "init_complete".
21176 * elf/dl-load.c: Include <stap-probe.h>.
21177 (lose): Take new parameter "nsid".
21178 Added static probe "map_failed".
21179 (_dl_map_object_from_fd): Pass namespace id to lose.
21180 Added static probe "map_start".
21181 (open_verify): Pass namespace id to lose.
21182 * elf/dl-open.c: Include <stap-probe.h>.
21183 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21184 and "reloc_complete".
21185 * elf/dl-close.c: Include <stap-probe.h>.
21186 (_dl_close_worker): Added static probes "unmap_start" and
21187 "unmap_complete".
21188 * elf/rtld-debugger-interface.txt: New file documenting the above.
21189
9f98c16c
RM
211902012-07-26 Roland McGrath <roland@hack.frob.com>
21191
21192 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21193 rather than a string variable.
21194 * sunrpc/rpc_main.c (h_output): Likewise.
21195 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21196
f3c22df3
PT
211972012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21198
21199 * inet/check_native.c: New file.
21200
3129cfc6
JM
212012012-07-26 Joseph Myers <joseph@codesourcery.com>
21202
da865e95
JM
21203 [BZ #13629]
21204 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21205 if larger part has absolute value 1.0.
21206 * math/s_clog10.c (__clog10): Likewise.
21207 * math/s_clog10f.c (__clog10f): Likewise.
21208 * math/s_clog10l.c (__clog10l): Likewise.
21209 * math/s_clogf.c (__clogf): Likewise.
21210 * math/s_clogl.c (__clogl): Likewise.
21211 * math/libm-test.inc (clog_test): Add more tests.
21212 (clog10_test): Likewise.
21213 * sysdeps/i386/fpu/libm-test-ulps: Update.
21214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21215
3129cfc6
JM
21216 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21217 (pltexit): Likewise.
21218 (La_regs): Likewise.
21219 (La_retval): Likewise.
21220 (int_retval): Likewise.
21221 Update #error for removed macros to refer only to definitions in
21222 tst-audit.h.
21223 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21224 macro.
21225 (pltexit): Likewise.
21226 (La_regs): Likewise.
21227 (La_retval): Likewise.
21228 (int_retval): Likewise.
21229 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21230 macro.
21231 (pltexit): Likewise.
21232 (La_regs): Likewise.
21233 (La_retval): Likewise.
21234 (int_retval): Likewise.
21235 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21236 macro.
21237 (pltexit): Likewise.
21238 (La_regs): Likewise.
21239 (La_retval): Likewise.
21240 (int_retval): Likewise.
21241 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21242 macro.
21243 (pltexit): Likewise.
21244 (La_regs): Likewise.
21245 (La_retval): Likewise.
21246 (int_retval): Likewise.
21247 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21248 macro.
21249 (pltexit): Likewise.
21250 (La_regs): Likewise.
21251 (La_retval): Likewise.
21252 (int_retval): Likewise.
21253 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21254 macro.
21255 (pltexit): Likewise.
21256 (La_regs): Likewise.
21257 (La_retval): Likewise.
21258 (int_retval): Likewise.
21259 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21260 macro definitions in tst-audit.h.
21261 * sysdeps/i386/tst-audit.h: New file.
21262 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21263 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21264 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21265 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21266 * sysdeps/sh/tst-audit.h: Likewise.
21267 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21268 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21269 * sysdeps/x86_64/tst-audit.h: Likewise.
21270
bfc07087
AJ
212712012-07-26 Andreas Jaeger <aj@suse.de>
21272
b1b2aaf8
AJ
21273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21274 ptrace.
21275
21276 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21277 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21278 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21279 PTRACE_O_MASK.
21280 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21281 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21282 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21283
bfc07087
AJ
21284 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21285 value.
21286
21287 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21288 _sigsys.
21289 (si_call_addr, si_syscall, si_arch): Define new macro.
21290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21291 _sigsys.
21292 (si_call_addr, si_syscall, si_arch): Define new marcro.
21293 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21294 _sigsys.
21295 (si_call_addr, si_syscall, si_arch): Define new macro.
21296 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21297 _sigsys.
21298 (si_call_addr, si_syscall, si_arch): Define new macro.
21299
89b4b02f
JM
213002012-07-25 Joseph Myers <joseph@codesourcery.com>
21301
21302 [BZ #13717]
21303 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21304 Change to 2.4.21 where previously 2.4.1.
21305 * sysdeps/unix/sysv/linux/configure: Regenerated.
21306 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21307 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21308 Linux kernel version.
21309 (__ASSUME_STD_AUXV): Remove.
21310 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21311 kernel version.
21312 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21313 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21314 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21315 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21316 (__ASSUME_NETLINK_SUPPORT): Likewise.
21317 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21318 (__no_netlink_support): Remove conditional definition.
21319 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21320 Remove.
21321 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21322 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21323 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21324 (if_nameindex_ioctl): Remove.
21325 (if_nameindex_netlink): Do not handle __no_netlink_support.
21326 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21327 code.
21328 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21329 Remove conditional code.
21330 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21331 code.
21332 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21333 unconditional.
21334 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21335 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21336 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21337 Remove.
21338 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21339 [!__ASSUME_STD_AUXV]: Remove conditional code.
21340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21341 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21342 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21344 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21345 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21346 code.
21347 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21349 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21350 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21351 conditional code.
21352 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21354 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21355 code.
21356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21357 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21358 conditional code.
21359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21360 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21361 code unconditional.
21362 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21363 conditional code.
21364 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21365 unconditional.
21366 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21367 conditional code.
21368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21369 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21370 unconditional.
21371 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21372 conditional code.
21373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21374 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21375 code unconditional.
21376 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21377 conditional code.
21378 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21379 unconditional.
21380 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21381 conditional code.
21382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21383 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21384 code unconditional.
21385 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21386 conditional code.
21387 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21388 unconditional.
21389 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21390 conditional code.
21391
842a39cd
AS
213922012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21393
21394 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21395 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21396 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21397 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21398 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21399 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21400 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21401 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21402 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21403 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21404 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21405 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21406 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21407 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21408 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21409 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21410 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21411 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21412 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21414 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21415 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21416 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21417
84b3fd84
FW
214182012-07-25 Florian Weimer <fweimer@redhat.com>
21419
21420 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21421 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21422 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21423 Introduce __libc_secure_getenv.
0c7936d5
FW
21424 * stdlib/Versions (2.17): Add secure_getenv
21425 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21426 * stdlib/secure-getenv.c: Rename __secure_getenv to
21427 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21428 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21429 * stdlib/tst-secure-getenv.c: New.
21430 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21431 * manual/startup.texi (Environment Access): Document
21432 secure_getenv.
84b3fd84
FW
21433 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21434 __libc_secure_getenv.
21435 * inet/ruserpass.c (ruserpass): Likewise.
21436 * malloc/mtrace.c (mtrace): Likewise.
21437 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21438 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21439 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21440 * sysdeps/posix/tempname.c: Likewise. Evaluate
21441 HAVE_SECURE_GETENV.
21442 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21443 __secure_getenv to __libc_secure_getenv.
84b3fd84 21444 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21446 Likewise.
21447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21448 Likewise.
21449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21451 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21456
56e49b71
JM
214572012-07-25 Joseph Myers <joseph@codesourcery.com>
21458
21459 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21460 (struct La_i86_retval): Likewise.
21461 (struct La_x86_64_regs): Likewise.
21462 (struct La_x86_64_retval): Likewise.
21463 (struct La_x32_regs): Likewise.
21464 (struct La_x32_retval): Likewise.
21465 (struct La_ppc32_regs): Likewise.
21466 (struct La_ppc32_retval): Likewise.
21467 (struct La_ppc64_regs): Likewise.
21468 (struct La_ppc64_retval): Likewise.
21469 (struct La_sh_regs): Likewise.
21470 (struct La_sh_retval): Likewise.
21471 (struct La_s390_32_regs): Likewise.
21472 (struct La_s390_32_retval): Likewise.
21473 (struct La_s390_64_regs): Likewise.
21474 (struct La_s390_64_retval): Likewise.
21475 (struct La_sparc32_regs): Likewise.
21476 (struct La_sparc32_retval): Likewise.
21477 (struct La_sparc64_regs): Likewise.
21478 (struct La_sparc64_retval): Likewise.
21479 (struct audit_ifaces): Remove architecture-specific pltenter and
21480 pltexit members.
21481 * sysdeps/i386/ldsodefs.h: New file.
21482 * sysdeps/powerpc/ldsodefs.h: Likewise.
21483 * sysdeps/s390/ldsodefs.h: Likewise.
21484 * sysdeps/sh/ldsodefs.h: Likewise.
21485 * sysdeps/sparc/ldsodefs.h: Likewise.
21486 * sysdeps/x86_64/ldsodefs.h: Likewise.
21487
354691b7
MP
214882012-07-25 Marek Polacek <polacek@redhat.com>
21489
21490 [BZ #6808]
21491 * math/libm-test.inc (yn_test): Add another test.
21492 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21493 to ERANGE when the result is +-Inf.
21494 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21495 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21496 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21497 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21498
bf9e2071
JM
214992012-07-24 Joseph Myers <joseph@codesourcery.com>
21500
21501 * conform/data/time.h-data (NULL): Use macro-constant. Require
21502 equal to 0.
21503 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21504 clock_t.
21505 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21506
57633811
TS
215072012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21508
21509 * configure.in <sysdeps resolving>: Correct printing
21510 Implies_before.
21511 * configure: Regenerate.
21512
c23c33b0
TS
215132012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21514
21515 * math/w_ilogb.c: Include <limits.h>.
21516 * math/w_ilogbl.c: Likewise.
21517
b5982523
JM
215182012-07-20 Joseph Myers <joseph@codesourcery.com>
21519
21520 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21521 va_copy. Document allowing for unavailable va_copy only as
21522 pre-C99 compatibility.
21523 * manual/string.texi (Copying and Concatenation): Use va_copy
21524 instead of __va_copy in concat example.
21525
ac4ea442
PT
215262012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21527
21528 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21529 (__sendto): Use create_address_port. Initialize APORT and deallocate
21530 it if not null.
21531
f98eafbd
PT
21532 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21533 with O_NOLINK passed to __file_name_lookup.
21534
898c7aab
PT
21535 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21536 with O_NOLINK passed to __file_name_lookup.
21537
0ced335a
PT
21538 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21539 negative N or less than NGIDS.
21540
b3404dbd
PT
21541 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21542 type to string_t. Set ERANGE as errno and return it if NAME is not big
21543 enough. Use memcpy instead of strncpy.
21544
0f48659e
JM
215452012-07-20 Joseph Myers <joseph@codesourcery.com>
21546
21547 * elf/Makefile (check-data): Remove.
21548 (localplt.data): New vpath directive.
21549 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21550 instead of $(check-data).
21551 * scripts/data/localplt-generic.data: Move to ...
21552 * sysdeps/generic/localplt.data: ... here.
21553 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21554 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21555 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21557 ... here.
21558 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21560 ... here.
21561 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21563 ... here.
21564 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21566 ... here.
21567 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21569 ... here.
21570 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21572 ... here.
21573
d37cbdaa
AZ
215742012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21575
21576 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21577 PPC32 and PPC64 files.
21578 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21579 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21580
46f85fc2
AK
215812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21582
21583 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21584 __makecontext_ret to ...
21585 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21586 ... here and call exit if uc_link is NULL. New file.
21587 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21588 __makecontext_ret.S.
21589 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21590 __makecontext_ret to ...
21591 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21592 ... here and call exit if uc_link is NULL. New file.
21593 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21594 __makecontext_ret.S.
21595
08f43f9b
AK
215962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21597
21598 * elf/elf.h (R_390_IRELATIVE): New definition.
21599 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21600 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21601 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21602 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21603 (elf_machine_lazy_rel): Likewise.
21604 * sysdeps/s390/dl-irel.h: New file.
21605 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21606 * sysdeps/s390/s390-64/memset.S: New asm code.
21607 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21608 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21609 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21610 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21611 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21612 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21613 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21614 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21615 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21616 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21617 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21618 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21619 * sysdeps/s390/s390-32/memset.S: New asm code.
21620 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21621
3b05db33
MP
216222012-07-17 Marek Polacek <polacek@redhat.com>
21623
21624 [BZ #14349]
21625 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21626 * sysdeps/s390/s390-64/configure.in: Likewise.
21627 * sysdeps/sparc/configure.in: Likewise.
21628 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21629 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21630 * sysdeps/i386/configure.in: Likewise.
21631 * sysdeps/x86_64/configure.in: Likewise.
21632 * sysdeps/sh/configure.in: Likewise.
21633 * sysdeps/s390/s390-32/configure: Regenerated.
21634 * sysdeps/s390/s390-64/configure: Likewise.
21635 * sysdeps/x86_64/configure: Likewise.
21636 * sysdeps/sh/configure: Likewise.
21637 * sysdeps/powerpc/powerpc64/configure: Likewise.
21638 * sysdeps/powerpc/powerpc32/configure: Likewise.
21639 * sysdeps/sparc/configure: Likwise.
21640 * sysdeps/i386/configure: Likewise.
21641
a66877c6
MP
21642 * elf/dl-open.c: Comment fixes.
21643
cfc82fd8
JM
216442012-07-17 Joseph Myers <joseph@codesourcery.com>
21645
bd29910a
JM
21646 * Makefile [CXX] (check-data): Remove.
21647 [CXX] (c++-types.data): New vpath directive.
21648 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21649 vpath. Do not allow for C++ type data being missing.
21650 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21651 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21652 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21653 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21654 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21655 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21656 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21658 ... here.
21659 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21661 ... here.
21662 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21664 ... here.
21665 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21667 ... here.
21668 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21670 ... here.
21671 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21673 ... here.
21674 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21676 ... here.
21677 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21679
cfc82fd8
JM
21680 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21681 definitions to architecture-specific files.
21682 (TLS_IE): Likewise.
21683 (TLS_LD): Likewise.
21684 (TLS_GD): Likewise.
21685 * sysdeps/i386/tls-macros.h: New file.
21686 * sysdeps/powerpc/tls-macros.h: Likewise.
21687 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21688 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21689 * sysdeps/sh/tls-macros.h: Likewise.
21690 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21691 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21692 * sysdeps/x86_64/tls-macros.h: Likewise.
21693
f7db3170
TS
216942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21695
07cbfc23
TS
21696 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21697 zero value for regular exit case.
21698
f7db3170
TS
21699 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21700 (__start_context): Preserve zero value for regular exit case.
21701
dc97c227
TS
217022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21703 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21704
21705 * manual/setjmp.texi (setcontext): Clarify normal process
21706 termination when uc_link is the null pointer.
21707 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21708 exit call.
21709
d0cd7d02
AS
217102012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21711
21712 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21713 preprocessor. Test for each exception mask separately.
21714
dd318934
AJ
217152012-07-16 Andreas Jaeger <aj@suse.de>
21716
21717 * po/ru.po: Update from translation team.
21718
8048311a
JM
217192012-07-15 Joseph Myers <joseph@codesourcery.com>
21720
21721 * conform/data/string.h-data (NULL): Use macro-constant. Require
21722 equal to 0.
21723 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21724 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21725 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21726 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21728
b637d46e
AJ
217292012-07-13 Andreas Jaeger <aj@suse.de>
21730
21731 * po/fr.po: Update from translation team.
21732
541428fe
MP
217332012-07-12 Marek Polacek <polacek@redhat.com>
21734
21735 [BZ #14173]
21736 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21737 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21738 loop condition.
21739
ec332e94
JM
217402012-07-12 Joseph Myers <joseph@codesourcery.com>
21741
21742 [BZ #13717]
21743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21744 Change to 2.4.1 where previously 2.4.0.
21745 * sysdeps/unix/sysv/linux/configure: Regenerated.
21746 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21747 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21748 version.
21749 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21750 (__ASSUME_AT_CLKTCK): Remove.
21751 (__ASSUME_AT_PAGESIZE): Likewise.
21752 (__ASSUME_AT_XID): Likewise.
21753 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21754 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21755 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21756 unconditionally.
21757 (HAVE_AUX_PAGESIZE): Likewise.
21758 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21759 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21760 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21761
7b6e99be
JB
217622012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21763
21764 [BZ #14307]
21765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21766 the temporary buffer used to invoke __gethostbyname2_r,
21767 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21768 host_data / struct gaih_addrtuple.
21769 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21770 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21771 header file nss/nsswitch.h.
21772 * nss/nsswitch.h (global scope): Add definition of implementation
21773 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21774 resolv/nss_dns/dns-host.c).
21775
608404eb
AJ
217762012-07-11 Andreas Jaeger <aj@suse.de>
21777
21778 * po/fr.po: Update from translation team.
21779
71220aca
AJ
21780 * po/sv.po: Update from translation team
21781 * po/fr.po: Another update from translation team.
21782
28cfe843
AZ
217832012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21784
21785 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21786 for subnormals or multiply small sinh result by itself.
21787 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21789
6b90f981
DM
217902012-07-11 David S. Miller <davem@davemloft.net>
21791
21792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21793
c6825772
AS
217942012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21795
21796 [BZ #14347]
21797 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21798 (INTERNAL_MARK): Shift it here.
21799
7b8e0d49
MP
218002012-07-10 Marek Polacek <polacek@redhat.com>
21801
21802 [BZ #14151]
21803 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21804 libc_cv_asm_global_directive with .globl.
21805 * configure: Regenerated.
21806 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21807 with .globl.
21808 * sysdeps/i386/configure: Regenerated.
21809 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21810 with .globl.
21811 * sysdeps/x86_64/configure: Regenerated.
21812 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21813 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21814 * elf/tst-unique2mod2.c: Likewise.
21815 * elf/tst-unique2mod1.c: Likewise.
21816 * elf/tst-unique1mod2.c: Likewise.
21817 * elf/tst-unique1mod1.c: Likewise.
21818 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21819 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21821 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21822 * sysdeps/mach/sysdep.h: Likewise.
21823 * sysdeps/i386/sysdep.h: Likewise.
21824 * sysdeps/i386/i386-mcount.S: Likewise.
21825 * sysdeps/x86_64/_mcount.S: Likewise.
21826 * sysdeps/x86_64/sysdep.h: Likewise.
21827 * sysdeps/sh/_mcount.S: Likewise.
21828 * sysdeps/sh/sysdep.h: Likewise.
21829 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21830 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21831 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21832 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21833 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21834 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21835 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21836 * locale/localeinfo.h: Likewise.
21837 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21838 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21839
6c55cda3
RM
218402012-07-09 Roland McGrath <roland@hack.frob.com>
21841
21842 [BZ #14336]
21843 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21844 system".
21845 * manual/message.texi (The Uniforum approach): Likewise.
21846 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21847 (glibc iconv Implementation): Likewise.
21848
638a572e
JM
218492012-07-09 Joseph Myers <joseph@codesourcery.com>
21850
21851 [BZ #14337]
21852 * math/s_clog.c (__clog): Avoid scaling a value down where that
21853 could result in underflow.
21854 * math/s_clog10.c (__clog10): Likewise.
21855 * math/s_clog10f.c (__clog10f): Likewise.
21856 * math/s_clog10l.c (__clog10l): Likewise.
21857 * math/s_clogf.c (__clogf): Likewise.
21858 * math/s_clogl.c (__clogl): Likewise.
21859 * math/libm-test.inc (clog_test): Add more tests.
21860 (clog10_test): Likewise.
21861 * sysdeps/i386/fpu/libm-test-ulps: Update.
21862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21863
261f4859
AS
218642012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21865
0abaf3e4
AS
21866 [BZ #14283]
21867 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21868 by 7 not 8 to examine high bit of fractional part.
21869
261f4859
AS
21870 [BZ #14042]
21871 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21872 for call to __mcount_internal.
21873 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21874 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21875 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21876
f17ac40d
JM
218772012-07-06 Joseph Myers <joseph@codesourcery.com>
21878
9ad63c23
JM
21879 [BZ #14154]
21880 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21881 approximation for values within 0x1p-13f of an odd multiple of
21882 pi/4.
21883 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21884 exception. Add more tests.
21885 * sysdeps/i386/fpu/libm-test-ulps: Update.
21886
f17ac40d
JM
21887 [BZ #6778]
21888 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21889 inputs and return -1 for them. Do not check for +Inf in case not
21890 reachable for +Inf.
21891 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21892 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21893 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21894 and return -1 for them. Do not check for +Inf in case not
21895 reachable for +Inf.
21896 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21897 define.
21898 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21899 and return -1 for them. Do not check for +Inf in case not
21900 reachable for +Inf.
21901 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21902 spurious underflow.
21903 * sysdeps/i386/fpu/libm-test-ulps: Update.
21904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21905
fb21f89b
MF
219062012-07-06 Mike Frysinger <vapier@gentoo.org>
21907
21908 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21909
cdfe2c5e
JM
219102012-07-05 Joseph Myers <joseph@codesourcery.com>
21911
21912 [BZ #14157]
21913 [BZ #14331]
21914 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21915 could result in spurious underflow. Scale down values above
21916 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21917 * math/s_csqrtf.c (__csqrtf): Likewise.
21918 * math/s_csqrtl.c (__csqrtl): Likewise.
21919 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21920 spurious underflow.
21921 * sysdeps/i386/fpu/libm-test-ulps: Update.
21922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21923
70d35b67
AS
219242012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21925
704bc459
AS
21926 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21927 xopen-msg.sed.
21928 * catgets/xopen-msg.awk: New file.
21929 * catgets/xopen-msg.sed: Removed.
21930
70d35b67
AS
21931 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21932 po2text.sed.
21933 * intl/po2test.awk: New file.
21934 * intl/po2test.sed: Removed.
21935
ca61cf32
JM
219362012-07-04 Joseph Myers <joseph@codesourcery.com>
21937
21938 [BZ #14328]
21939 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21940 or multiply small sinh result by itself.
21941 * math/s_ctanf.c (__ctanf): Likewise.
21942 * math/s_ctanh.c (__ctanh): Likewise.
21943 * math/s_ctanhf.c (__ctanhf): Likewise.
21944 * math/s_ctanhl.c (__ctanhl): Likewise.
21945 * math/s_ctanl.c (__ctanl): Likewise.
21946 * math/libm-test.inc (ctan_test_tonearest): New function.
21947 (ctan_test_towardzero): Likewise.
21948 (ctan_test_downward): Likewise.
21949 (ctan_test_upward): Likewise.
21950 (ctanh_test_tonearest): Likewise.
21951 (ctanh_test_towardzero): Likewise.
21952 (ctanh_test_downward): Likewise.
21953 (ctanh_test_upward): Likewise.
21954 (main): Call these new functions.
21955 * sysdeps/i386/fpu/libm-test-ulps: Update.
21956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21957
ca48a46a
MF
219582012-07-03 Mike Frysinger <vapier@gentoo.org>
21959
21960 * .gitignore: Delete /ports entry.
21961
9d63d37d
AJ
219622012-07-03 Andreas Jaeger <aj@suse.de>
21963
21964 * po/bg.po: Update from translation team.
21965 * po/cs.po: Likewise.
21966 * po/de.po: Likewise.
21967 * po/hr.po: Likewise.
21968 * po/nl.pl: Likewise.
21969 * po/pl.po: Likewise.
21970 * po/vi.po: Likewise.
21971
370ca3d2
JM
219722012-07-03 Joseph Myers <joseph@codesourcery.com>
21973
95f5a9a8
JM
21974 * Makeconfig [!+link] (+link-before-libc): New variable.
21975 [!+link] (+link-after-libc): Likewise.
21976 [!+link] (+link-tests): Likewise.
21977 [!+link] (+link): Define in terms of $(+link-before-libc) and
21978 $(+link-after-libc).
21979 [!+link-static] (+link-static-before-libc): New variable.
21980 [!+link-static] (+link-static-after-libc): Likewise.
21981 [!+link-static] (+link-static-tests): Likewise.
21982 [!+link-static] (+link-static): Define in terms of
21983 $(+link-static-before-libc) and $(+link-static-after-libc).
21984 [build-shared] (link-libc-before-gnulib): New variable.
21985 [build-shared] (link-libc-tests): Likewise.
21986 [build-shared] (link-libc): Define in terms of
21987 $(link-libc-before-gnulib).
21988 [!build-shared] (link-libc-tests): New variable.
21989 (link-libc-static-tests): New variable.
21990 [!gnulib] (gnulib-arch): New variable.
21991 [!gnulib] (gnulib-tests): Likewise.
21992 [!gnulib] (static-gnulib-arch): Likewise.
21993 [!gnulib] (static-gnulib-tests): Likewise.
21994 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21995 Define with "=" instead of ":=".
21996 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21997 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21998 * Rules (binaries-all-notests): New variable.
21999 (binaries-all-tests): Likewise.
22000 (binaries-static-notests): Likewise.
22001 (binaries-static-tests): Likewise.
22002 (binaries-all): Define using $(binaries-all-notests) and
22003 $(binaries-all-tests).
22004 (binaries-static): Define using $(binaries-static-notests) and
22005 $(binaries-static-tests).
22006 (binaries-shared-tests): New variable.
22007 (binaries-shared-notests): Likewise.
22008 (binaries-shared): Remove variable.
22009 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22010 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22011 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22012 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22013 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22014 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22015 * elf/Makefile (sln-modules): New variable.
22016 (extra-objs): Add $(sln-modules:=.o).
22017 (ldconfig-modules): Add static-stubs.
22018 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22019 * elf/static-stubs.c: New file.
22020
7a845b2c
JM
22021 [BZ #14283]
22022 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22023 by 7 not 8 to examine high bit of fractional part. Use volatile
22024 variables when splitting into final array of floats if
22025 __FLT_EVAL_METHOD__ != 0.
22026 * math/libm-test.inc (cos_test): Add another test.
22027 (sin_test): Likewise.
22028 * sysdeps/i386/fpu/libm-test-ulps: Update.
22029
e2283f38
JM
22030 [BZ #14273]
22031 * math/libm-test.inc (cosh_test): Add more tests.
22032
370ca3d2
JM
22033 * version.h (RELEASE): Set to "development".
22034 (VERSION): Set to "2.16.90".
22035
ee9247c3
CD
220362012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22037
22038 * NEWS: Update copyright. Remove last-updated date.
22039 Mention math library bug fixes and timezone data changes.
22040 * README: Mention GNU/Hurd, x32, and HPPA support status.
22041
4648c381
TS
220422012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22043
22044 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22045
aac78a43
AJ
220462012-06-27 Andreas Jaeger <aj@suse.de>
22047
22048 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22049
ed3dbfad
AJ
220502012-06-25 Andreas Jaeger <aj@suse.de>
22051
22052 * sysdeps/s390/fpu/libm-test-ulps: Update.
22053
4d0ee855
AS
220542012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22055 Thomas Schwinge <thomas@codesourcery.com>
22056
22057 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22058 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22059 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22060 fanotify_mark.
22061
af1bce34
TS
220622012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22063
a9fa33ba
TS
22064 * sysdeps/mach/start.c: Remove file.
22065 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22066 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22067 * sysdeps/sh/init-first.c: Likewise.
22068
58f902b8
TS
22069 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22070 registers for frame unwinding purposes, add CFI directives.
22071 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22072 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22073 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22074 Likewise.
22075
1518f58b
TS
22076 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22077 __fortify_fail returning.
22078 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22079
db9b5059
TS
22080 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22081 sysdeps/sh/____longjmp_chk.S.
22082 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22083 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22084 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22085 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22086
967705fe
TS
22087 * sysdeps/sh/abort-instr.h: New file.
22088 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22089 process in case exit returns.
22090
a9def8c4
TS
22091 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22092 initialize the GOT register before use.
22093
2a649725
TS
22094 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22095 calculation of ARGC > 4.
22096
af1bce34
TS
22097 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22098 meaningful names to some local labels.
22099
d230f50a
KK
221002012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22101 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22102
22103 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22104 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22105 (__arch_compare_and_exchange_val_16_acq): Likewise.
22106 (__arch_compare_and_exchange_val_32_acq): Likewise.
22107 (atomic_exchange_and_add): Fix gUSA sequence.
22108 (atomic_add): Likewise.
22109 (atomic_add_negative): Likewise.
22110 (atomic_add_zero): Likewise.
22111 (atomic_bit_test_set): Likewise.
22112
0479b305
AS
221132012-06-22 Andreas Schwab <schwab@redhat.com>
22114
22115 [BZ #13579]
22116 * include/link.h (struct link_map): Add l_free_initfini.
22117 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22118 l_initfini.
22119 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22120 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22121 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22122 set.
22123
0e3933b9
CD
221242012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22125
22126 * configure.in: Use AC_LANG_SOURCE.
22127 * configure: Regenerate.
22128
4248b1b1
RM
221292012-06-22 Roland McGrath <roland@hack.frob.com>
22130
22131 * configure.in (libc_cv_localstatedir): New substituted variable.
22132 * configure: Regenerated.
22133 * config.make.in (localstatedir): New variable, substituted from
22134 libc_cv_localstatedir.
22135 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22136 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22137 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22138 * sysdeps/gnu/configure: Regenerated.
22139
006dd861
JL
221402012-06-21 Jeff Law <law@redhat.com>
22141
22142 [BZ #14277]
22143 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22144 free. Simplify list management for _LIBC case.
22145
79662d42
JM
221462012-06-21 Joseph Myers <joseph@codesourcery.com>
22147
b7abb4bf
JM
22148 [BZ #14273]
22149 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22150 Clear sign bit of 64-bit integer value before comparing against
22151 overflow value.
22152
79662d42
JM
22153 * sysdeps/mach/configure: Regenerated.
22154
1f150908
L
221552012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22156
22157 [BZ #14278]
22158 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22159
28363bbf
JL
221602012-06-21 Jeff Law <law@redhat.com>
22161
22162 [BZ #13882]
22163 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22164 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 22165 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
22166 * elf/dl-open.c (dl_open_worker): Likewise.
22167
09615db4
CD
221682012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22169
22170 * scripts/list-sources.sh: Scan PORTS for translations.
22171 * po/libc.pot: Regenerated.
22172
2174c6dd
AJ
221732012-06-21 Andreas Jaeger <aj@suse.de>
22174
22175 [BZ #12194]
22176 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22177 warning.
22178 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22179 * bits/byteswap-16.h (__bswap_16): Likewise.
22180 * bits/byteswap.h (__bswap_constant_16): Likewise.
22181
3ee947b1
L
221822012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22183
22184 [BZ #14117]
a2f34833
L
22185 * sysdeps/i386/fpu_control.h: Removed.
22186 * sysdeps/x86_64/fpu_control.h: Moved to ...
22187 * sysdeps/x86/fpu_control.h: Here.
22188
3ee947b1
L
22189 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22190 (_FPU_SETCW): Likewise.
22191
ed1825f8
L
221922012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22193
25f1282a
L
22194 [BZ #14117]
22195 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22196 * sysdeps/x86/fpu/bits/mathinline.h: This.
22197 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22198
ed1825f8
L
22199 [BZ #14050]
22200 [BZ #14117]
22201 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22202 functions if __x86_64__ is defined.
22203
36d54b74
CLT
222042012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22205
22206 * string/endian.h: Add !__ASSEMBLER__ condition for including
22207 conversion interfaces.
22208
10285c21
JM
222092012-06-15 Joseph Myers <joseph@codesourcery.com>
22210
22211 [BZ #14241]
22212 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22213 of ABS(x) in calculating zero to negative powers other than odd
22214 integers.
22215 * math/libm-test.inc (pow_test): Add more tests.
22216
06c5abbd
AJ
222172012-06-15 Andreas Jaeger <aj@suse.de>
22218
22219 * manual/contrib.texi (Contributors): Update entry of Liubov
22220 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22221 Machado Filho.
22222
a3aeac40
CH
222232012-06-15 Cyril Hrubis <metan@ucw.cz>
22224
22225 * string/string.h: Add __wur to GNU version of strerror_r.
22226
49bdf4c1
L
222272012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22228
22229 [BZ #14229]
22230 * string/Makefile (tests): Add tst-strtok_r.
22231 * string/tst-strtok_r.c: New file.
22232 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22233 RAX_LP/RDX_LP on SAVE_PTR.
22234
834f9b8d
RM
222352012-06-14 Roland McGrath <roland@hack.frob.com>
22236
22237 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22238
75fa1921
JM
222392012-06-14 Joseph Myers <joseph@codesourcery.com>
22240
22241 * libm_test.inc (csqrt_test): Allow more spurious underflow
22242 exceptions.
22243 (j0_test): Likewise.
22244 (j1_test): Likewise.
22245 (y0_test): Likewise.
22246 (y1_test): Likewise.
22247
771766df
CD
222482012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22249
22250 * po/Makefile (libc.pot): Use UTF-8 charset.
22251
ceb9e56b
PP
222522012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22253
22254 [BZ #14210]
22255 Suppress sign-conversion warning from FD_SET.
22256 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22257 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22258 not unsigned long int.
22259 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22260
ddb28975
L
222612012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22262
22263 [BZ #14050]
22264 [BZ #14117]
22265 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22266 __extern_always_inline instead of __extern_inline.
22267 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22268 (__signbit): Likewise.
22269 (__signbitl): Support C++ namespace.
22270 (lrintf): New inline function.
22271 (lrint): Likewise.
22272 (llrintf): Likewise.
22273 (llrint): Likewise.
22274 (fmaxf): Likewise.
22275 (fmax): Likewise.
22276 (fminf): Likewise.
22277 (fmin): Likewise.
22278 (rint): Likewise.
22279 (rintf): Likewise.
22280 (ceil): Likewise.
22281 (ceilf): Likewise.
22282 (floor): Likewise.
22283 (floorf): Likewise.
22284 (nearbyint): Likewise.
22285 (nearbyintf): Likewise.
22286
d7b4fb26
TS
222872012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22288
22289 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22290 non-default versions.
22291
eb55f5c2
RM
222922012-06-11 Roland McGrath <roland@hack.frob.com>
22293
22294 [BZ #14218]
22295 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22296
366af02c
TS
222972012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22298
99ff6e5c
TS
22299 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22300 (FE_UPWARD, FE_DOWNWARD): Don't define.
22301 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22302 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22303
366af02c
TS
22304 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22305 reading it.
22306 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22307 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22308
793ea851
KK
223092012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22310
22311 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22312 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22313 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22314 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22315
a728a38f
L
223162012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22317
22318 [BZ #14117]
c08010c7
L
22319 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22320 * sysdeps/i386/fpu/Implies: New file.
22321 * sysdeps/x86_64/fpu/Implies: Likewise.
22322 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22323 * sysdeps/x86/fpu/bits/fenv.h: This.
22324
a728a38f
L
22325 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22326 __SSE_MATH__.
22327
6e230d11
SP
223282012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22329
22330 [BZ #14134]
22331 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22332 character 0xffff that matches the last element of the
22333 conversion table.
22334
1b671feb
AZ
223352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22336
22337 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22338 fmodl commit.
22339
6043738b
AZ
223402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22341
22342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22343 values higher than 25.6283.
22344
34ae0b32
AZ
223452012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22346
22347 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22348 subnormal exponent extraction and add some __builtin_expect.
22349 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22350 Fix for subnormal mantissa calculation.
22351
1214ec8f
MF
223522012-06-04 Mike Frysinger <vapier@gentoo.org>
22353
22354 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22355 cpu2 is -1 and errno is not ENOSYS.
22356
f3d1f93c
L
223572012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22358
22359 [BZ #14117]
0e4a3cd7
L
22360 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22361 * sysdeps/x86/bits/string.h: This.
22362 * sysdeps/x86_64/bits/string.h: Removed.
22363
6704c645
L
22364 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22365 if not compiling for x86-64, but compiling for >= i486.
22366
48495318
L
22367 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22368 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22369
14adcbfc
L
22370 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22371 New macro from Linux kernel 3.4.0.
22372 (FP_XSTATE_MAGIC2): Likewise.
22373 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22374 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22375 (struct _fpx_sw_bytes): New struct.
22376 (struct _xsave_hdr): Likewise.
22377 (struct _ymmh_state): Likewise.
22378 (struct _xstate): Likewise.
22379
68e408ab
L
22380 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22381 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22382 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22383 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22384 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22385 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22386
f3d1f93c
L
22387 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22388 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22389 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22390 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22391 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22392 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22393
d9dc34cd
TMQMF
223942012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22395
22396 [BZ #13743]
22397 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22398 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22399 (sysdep_headers): Include sys/platform/ppc.h.
22400 * sysdeps/powerpc/test-gettimebase.c: Test for
22401 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22402 * manual/Makefile (appendices): Include platform.texi.
22403 * manual/contrib.texi (Contributors): Update @node pointers.
22404 * manual/maint.texi (Maintenance): Likewise.
22405 (Platform): New node.
22406 * manual/platform.texi: New file. Document the new features.
22407
4af3879c
SP
224082012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22409 Jakub Jelinek <jakub@redhat.com>
22410
22411 [BZ #14188]
22412 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22413 where __builtin_expect is unavailable.
22414
2fd6ff13
DM
224152012-06-03 David S. Miller <davem@davemloft.net>
22416
22417 * stdlib/longlong.h: Updated from GCC.
22418
173f7220
AS
224192012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22420
22421 [BZ #14042]
22422 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22423 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22424 __mcount_internal.
22425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22426 (GLIBC_2.16): Likewise.
22427
f34a1c6f
L
224282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22429
22430 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22431
88a4576f
JM
224322012-06-01 Joseph Myers <joseph@codesourcery.com>
22433
ea32bcdd
JM
22434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22435 (default-abi): New variable.
22436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22437 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22438 variable.
22439 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22440 Likewise.
22441 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22442 Likewise.
22443 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22444 Likewise.
22445
88a4576f
JM
22446 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22447 definition. Document in comment.
22448
402fe938
DM
224492012-06-01 David S. Miller <davem@davemloft.net>
22450
22451 * stdlib/longlong.h: Updated from GCC.
22452
3553723f
L
224532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22454
22455 [BZ #14117]
3bd872c4
L
22456 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22457 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22458 sys/debugreg.h sys/io.h here.
22459 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22460 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22461 sys/io.h.
22462 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22463 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22464 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22465 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22466 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22467 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22468
3553723f
L
22469 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22470 Define only if __x86_64__ is defined.
22471
4842e4fe
JM
224722012-06-01 Joseph Myers <joseph@codesourcery.com>
22473
c5bfe3d5
JM
22474 [BZ #14048]
22475 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22476 Use int64_t for variable i.
22477 * math/libm-test.inc (fmod_test): Add more tests.
22478
4842e4fe
JM
22479 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22480 z computation is not scheduled after fetestexcept.
22481 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22482 Use math_force_eval instead of asm to ensure calculation scheduled
22483 before exception test.
22484 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22485 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22486
efb73488
AJ
224872012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22488
22489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22490 computation is not scheduled after fetestexcept.
22491
29bcce7c
L
224922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22493
22494 [BZ #14117]
22495 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22496 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22497
73a68f94
AZ
224982012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22499
22500 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22501 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22502
67b6df78
L
225032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22504
edf2933a 22505 [BZ #14117]
ebc64a18
L
22506 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22507 <bits/wordsize.h>.
22508 (__WCHAR_MIN): Support __WORDSIZE == 64.
22509 (__WCHAR_MAX): Likewise.
22510
edf2933a
L
22511 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22512 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22513
57c6cf40
L
22514 [BZ #14183]
22515 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22516 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22517
67b6df78 22518 [BZ #14117]
8eb6281e
L
22519 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22520 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22521
aac639f4
L
22522 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22523 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22524
67b6df78
L
22525 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22526 Defined to 1 if __x86_64__ isn't defined.
22527 (_STAT_VER_LINUX_OLD): New.
22528 (st_atime): Remove duplicate.
22529 (st_mtime): Likewise.
22530 (st_ctime): Likewise.
22531
1c2cfe81
DM
225322012-05-31 David S. Miller <davem@davemloft.net>
22533
22534 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22535 entries.
22536
5be8418c
AS
225372012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22538
e7725326
AS
22539 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22540 gen-libm-test.pl.
22541
5be8418c
AS
22542 [BZ #14132]
22543 * elf/dl-reloc.c: Include <_itoa.h>.
22544 (_dl_reloc_bad_type): Remove use of INTUSE.
22545 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22546 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22547 * stdio-common/psiginfo.c (psiginfo): Likewise.
22548 * stdio-common/psignal.c (psignal): Likewise.
22549 * string/strsignal.c (strsignal): Likewise.
22550 * include/signal.h (_sys_siglist): Declare hidden proto.
22551 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22552 INTVARDEF with libc_hidden_data_def.
22553 * stdio-common/itoa-udigits.c: Likewise.
22554 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22555 (_itoa_lower_digits_internal): Remove declaration.
22556 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22557 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22558 (_sys_sigabbrev_internal): Remove aliases.
22559 (_sys_siglist): Define hidden alias.
22560
507352f1
MT
225612012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22562
22563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22564 bits/sysctl.h.
22565
42bbb1c3
L
225662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22567
22568 [BZ #14117]
6bd784b6
L
22569 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22570 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22571
8bca20f0
L
22572 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22573 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22574 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22575 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22576 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22577 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22578
f9e890a9
L
22579 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22580 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22581 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22582
471101a1
L
22583 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22584 with __addr.
22585 (insw): Likewise.
22586 (insl): Likewise.
22587 (outsb): Likewise.
22588 (outsw): Likewise.
22589 (outsl): Likewise.
22590
6451c862
L
22591 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22592 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22593 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22594
a254b8c9
L
22595 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22596 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22597 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22598 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22599 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22600 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22601
b8dfdd92
L
22602 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22603 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22604
578cd270
L
22605 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22606 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22607
de662f5f
L
22608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22609 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22610 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22611
25653439
L
22612 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22613 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22614 to ...
22615 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22616
6bad24a0
L
22617 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22618 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22619 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22620
42bbb1c3
L
22621 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22622 for x86-64.
22623 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22624
2d10d547
JM
226252012-05-31 Joseph Myers <joseph@codesourcery.com>
22626
22627 * math/math.h (M_El): Use two more decimal places.
22628 (M_LOG2El): Likewise.
22629 (M_LOG10El): Likewise.
22630 (M_LN2l): Likewise.
22631 (M_LN10l): Likewise.
22632 (M_PIl): Likewise.
22633 (M_PI_2l): Likewise.
22634 (M_PI_4l): Likewise.
22635 (M_1_PIl): Likewise.
22636 (M_2_PIl): Likewise.
22637 (M_2_SQRTPIl): Likewise.
22638 (M_SQRT2l): Likewise.
22639 (M_SQRT1_2l): Likewise.
22640
f230c29b
DM
226412012-05-31 David S. Miller <davem@davemloft.net>
22642
22643 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22644 values between float registers.
22645 * sysdeps/sparc/sparc64/memset.S: Likewise.
22646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22647
fed806c3
MF
226482012-05-31 Mike Frysinger <vapier@gentoo.org>
22649
22650 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22651 -D_FORTIFY_SOURCE=1.
22652 (CPPFLAGS-tst-longjmp_chk.c): Define.
22653 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22654 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22655 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22656 CFLAGS-tst-wchar-h.c.
22657
30917259
MP
226582012-05-31 Marek Polacek <polacek@redhat.com>
22659
22660 [BZ #14132]
22661 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22662 __endmntent_internal): Remove declaration.
22663 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22664 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22665 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22666
1c58d5dc
DM
226672012-05-30 David S. Miller <davem@davemloft.net>
22668
22669 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22670 (___Q_simulate_exceptions): Use real FP ops rather than writing
22671 into the %fsr.
22672 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22673 Likewise.
22674
7dc00e0d
L
226752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22676
22677 [BZ #14117]
0bd53985
L
22678 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22679 * sysdeps/x86/bits/xtitypes.h: This.
22680
3a257e66
L
22681 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22682 * sysdeps/x86/bits/wordsize.h: This.
22683
62f62904
L
22684 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22685 * sysdeps/x86/bits/huge_vall.h: This.
22686
404fe9d9
L
22687 * sysdeps/i386/bits/select.h: Removed.
22688 * sysdeps/x86_64/bits/select.h: Renamed to ...
22689 * sysdeps/x86/bits/select.h: This.
22690
d48d0446
L
22691 * sysdeps/i386/bits/setjmp.h: Removed.
22692 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22693 * sysdeps/x86/bits/setjmp.h: This.
22694
7dc00e0d
L
22695 * sysdeps/i386/bits/mathdef.h: Removed.
22696 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22697 * sysdeps/x86/bits/mathdef.h: This.
22698
03277f8f
AS
226992012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22700
22701 [BZ #14132]
22702 * include/sys/socket.h (__connect_internal)
22703 (__libc_sa_len_internal): Remove declaration.
22704 (__connect, __libc_sa_len): Declare hidden_proto.
22705 (SA_LEN): Remove use of INTUSE.
22706 * socket/connect.c: Add libc_hidden_def.
22707 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22708 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22709 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22710 alias.
22711 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22712 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22713 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22714 of adding _internal alias.
22715
13764867
L
227162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22717
22718 [BZ #14117]
6bd97696
L
22719 * sysdeps/i386/bits/link.h: Removed.
22720 * sysdeps/i386/bits/linkmap.h: Likewise.
22721 * sysdeps/x86_64/bits/link.h: Renamed to ...
22722 * sysdeps/x86/bits/link.h: This.
22723 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22724 * sysdeps/x86/bits/linkmap.h: This.
22725
f726f0bb
L
22726 * sysdeps/i386/bits/endian.h: Removed.
22727 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22728 * sysdeps/x86/bits/endian.h: This.
22729
13764867
L
22730 * sysdeps/i386/bits/byteswap.h: Removed.
22731 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22732 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22733 * sysdeps/x86/bits/byteswap.h: This.
22734 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22735 * sysdeps/x86/bits/byteswap-16.h: This.
22736 * sysdeps/i386/Implies: Add x86.
22737 * sysdeps/x86_64/Implies: Likewise.
22738
ae251b0b
DM
227392012-05-30 David S. Miller <davem@davemloft.net>
22740
22741 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22742 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22743 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22744 (FP_TRAPPING_EXCEPTIONS): Define.
22745 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22746 (FP_TRAPPING_EXCEPTIONS): Define.
22747 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22748 subnormals only when inexact has been signalled or underflow
22749 exceptions are enabled.
22750 (_FP_PACK_CANONICAL): Likewise.
22751
d5c90867
L
227522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22753
22754 [BZ #14183]
22755 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22756 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22757
63f1549e
RH
227582012-05-30 Richard Henderson <rth@twiddle.net>
22759
8d8f2279
RH
22760 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22761 with #ifndef NOT_IN_libc.
22762
63f1549e
RH
22763 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22764 marked to avoid plt entry.
22765
0ab0291b
L
227662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22767
22768 [BZ #14112]
22769 * Makeconfig (default-abi): New macro.
22770 (abi-includes): Likewise.
22771 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22772 $(abi-$(default-abi)-lib-soname) for soname if defined.
22773 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22774 abi-variants.
22775 * Makefile (installed-stubs): Likewise.
22776 * include/stubs-biarch.h: Removed.
22777 * scripts/lib-names.awk: Only handle one library at a time.
22778 * scripts/soversions.awk: Remove WORDSIZE support.
22779 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22780 entries.
22781 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22782 Removed.
22783 (syscall-list-default-condition): Likewise.
22784 (syscall-list-default-condition): Likewise.
22785 (syscall-list-includes): Likewise.
22786 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22787 syscall-list-* with abi-*. Handle undefined abi-variants.
22788 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22789 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22790 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22791 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22792 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22793 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22794 Removed.
22795 (syscall-list-32-options): Likewise.
22796 (syscall-list-32-condition): Likewise.
22797 (syscall-list-64-options): Likewise.
22798 (syscall-list-64-condition): Likewise.
22799 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22800 macro.
22801 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22802 Renamed to ...
22803 (abi-*): This.
22804 (abi-64-ld-soname): New macro.
22805 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22806 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22807 Renamed to ...
22808 (abi-*): This.
22809 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22810 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22811
4da0431d
JM
228122012-05-30 Joseph Myers <joseph@codesourcery.com>
22813
3a85279c
JM
22814 * sysdeps/unix/sysv/linux/kernel-features.h
22815 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22816 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22817 include <kernel-features.h>.
22818 [!__NR_ftruncate64]: Remove conditional code.
22819 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22820 [__NR_ftruncate64]: Make code unconditional.
22821 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22822 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22823 include <kernel-features.h>.
22824 [!__NR_ftruncate64]: Remove conditional code.
22825 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22826 [__NR_ftruncate64]: Make code unconditional.
22827 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22829 include <kernel-features.h>.
22830 [!__NR_ftruncate64]: Remove conditional code.
22831 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22832 [__NR_ftruncate64]: Make code unconditional.
22833 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22835 include <kernel-features.h>.
22836 [!__NR_ftruncate64]: Remove conditional code.
22837 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22838 [__NR_ftruncate64]: Make code unconditional.
22839 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22840
4da0431d
JM
22841 * configure.in (libc_cv_fpie): Weaken to a compile test using
22842 LIBC_TRY_CC_OPTION.
22843 * configure: Regenerated.
22844
11ef492c
AK
228452012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22846
22847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22851 Refreshed.
22852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22858 Refreshed.
22859
d66ef399
DM
228602012-05-27 David S. Miller <davem@davemloft.net>
22861
22862 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22863 (___Q_zero): New.
22864 (__Q_simulate_exceptions): Return void. Change to simulate
22865 exceptions by writing into the %fsr.
22866 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22867 (__Qp_handle_exceptions): Likewise.
22868 (numbers): Delete.
22869 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22870 __Qp_handle_exceptions.
22871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22872 __Qp_handle_exceptions.
22873 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22874 as unused and give dummy FP_RND_NEAREST initializer.
22875 (FP_INHIBIT_RESULTS): Define.
22876 (___Q_simulate_exceptions): Update declaration.
22877 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22878 formatting.
22879 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22880 as unused and give dummy FP_RND_NEAREST initializer.
22881 (__Qp_handle_exceptions): Update declaration.
22882 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22883 formatting.
22884
04fb54b5
TS
228852012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22886
22887 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22888 the temporary FPU control word.
22889 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22890 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22891 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22892 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22893 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22894 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22895 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22896 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22897 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22898 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22899 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22900
3f99608f
KK
229012012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22902
22903 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22904 fields.
22905
65a4de4e
CLT
229062012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22907
22908 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22909 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22910 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22911 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22912 Likewise.
22913 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22914 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22915 Likewise.
22916
15749d40
UD
229172012-05-27 Ulrich Drepper <drepper@gmail.com>
22918
22919 * po/h.po: Update from translation team.
22920
25dbcb27
AS
229212012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22922
3d3f8e55
AS
22923 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22924
25dbcb27
AS
22925 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22926 handling of denormals.
22927 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22928 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22929 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22930 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22931 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22934 Likewise.
22935
7ad47a80 229362012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22937
22938 [BZ #14152]
22939 * math/libm-test.inc (fma_test): Don't always expect underflow
22940 exception.
22941
9c6ea9fa
SP
229422012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22943
22944 [BZ #12416]
22945 * elf/tst-execstack.c: Include stackinfo.h.
22946 (do_test): Adjust test case to ensure that pthread_getattr_np
22947 behaviour remains the same after marking stack executable.
22948
a8239222
JM
229492012-05-25 Joseph Myers <joseph@codesourcery.com>
22950
22951 * sysdeps/unix/sysv/linux/kernel-features.h
22952 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22953 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22954 kernel-features.h.
22955 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22956 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22957 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22958 kernel-features.h.
22959 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22960 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22961
918b5606
L
229622012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22963
22964 * configure.in: Define the default includes to being none.
22965 * configure: Regenerated.
22966
3a097cc7
RM
229672012-05-25 Roland McGrath <roland@hack.frob.com>
22968
8422c9a5
RM
22969 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22970 * sysdeps/x86_64/setjmp.S: Likewise.
22971 * sysdeps/i386/bsd-setjmp.S: Likewise.
22972 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22973 * sysdeps/i386/setjmp.S: Likewise.
22974 * sysdeps/i386/__longjmp.S: Likewise.
22975 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22976 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22977
3a097cc7
RM
22978 * include/stap-probe.h: New file.
22979 * configure.in: Handle --enable-systemtap.
22980 * configure: Regenerated.
22981 * config.h.in (USE_STAP_PROBE): New #undef.
22982 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22983 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22984 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22985
21708942
JM
229862012-05-25 Joseph Myers <joseph@codesourcery.com>
22987
22988 [BZ #13717]
22989 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22990 to 2.4.0 where earlier.
22991 * sysdeps/unix/sysv/linux/configure: Regenerated.
22992 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22993 <kernel-features.h>.
22994 [__ASSUME_32BITUIDS]: Make code unconditional.
22995 [!__ASSUME_32BITUIDS]: Remove conditional code.
22996 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22997 <kernel-features.h>.
22998 [__ASSUME_32BITUIDS]: Make code unconditional.
22999 [!__ASSUME_32BITUIDS]: Remove conditional code.
23000 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23001 [__ASSUME_32BITUIDS]: Make code unconditional.
23002 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23003 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.c: Do not include
23024 <kernel-features.h>.
23025 [__ASSUME_32BITUIDS]: Make code unconditional.
23026 [!__ASSUME_32BITUIDS]: Remove conditional code.
23027 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23028 <kernel-features.h>.
23029 [__ASSUME_32BITUIDS]: Make code unconditional.
23030 [!__ASSUME_32BITUIDS]: Remove conditional code.
23031 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23032 <kernel-features.h>.
23033 [__ASSUME_32BITUIDS]: Make code unconditional.
23034 [!__ASSUME_32BITUIDS]: Remove conditional code.
23035 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23036 <kernel-features.h>.
23037 [__ASSUME_32BITUIDS]: Make code unconditional.
23038 [!__ASSUME_32BITUIDS]: Remove conditional code.
23039 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23040 <kernel-features.h>.
23041 [__ASSUME_32BITUIDS]: Make code unconditional.
23042 [!__ASSUME_32BITUIDS]: Remove conditional code.
23043 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23044 <kernel-features.h>.
23045 [__NR_setresgid] (__setresgid): Do not declare.
23046 [__ASSUME_32BITUIDS]: Make code unconditional.
23047 [!__ASSUME_32BITUIDS]: Remove conditional code.
23048 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23049 <kernel-features.h>.
23050 [__NR_setresuid] (__setresuid): Do not declare.
23051 [__ASSUME_32BITUIDS]: Make code unconditional.
23052 [!__ASSUME_32BITUIDS]: Remove conditional code.
23053 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/i386/setresgid.c: Do not include
23074 <kernel-features.h>.
23075 [__ASSUME_32BITUIDS]: Make code unconditional.
23076 [!__ASSUME_32BITUIDS]: Remove conditional code.
23077 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23078 <kernel-features.h>.
23079 [__ASSUME_32BITUIDS]: Make code unconditional.
23080 [!__ASSUME_32BITUIDS]: Remove conditional code.
23081 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23082 <kernel-features.h>.
23083 [__ASSUME_32BITUIDS]: Make code unconditional.
23084 [!__ASSUME_32BITUIDS]: Remove conditional code.
23085 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23086 <kernel-features.h>.
23087 [__ASSUME_32BITUIDS]: Make code unconditional.
23088 [!__ASSUME_32BITUIDS]: Remove conditional code.
23089 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23090 <kernel-features.h>.
23091 [__ASSUME_32BITUIDS]: Make code unconditional.
23092 [!__ASSUME_32BITUIDS]: Remove conditional code.
23093 * sysdeps/unix/sysv/linux/kernel-features.h
23094 (__ASSUME_SETRESUID_SYSCALL): Remove.
23095 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23096 (__ASSUME_32BITUIDS): Likewise.
23097 (__ASSUME_LDT_WORKS): Likewise.
23098 (__ASSUME_O_DIRECTORY): Likewise.
23099 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23100 architecture but not kernel version.
23101 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23102 (__ASSUME_MMAP2_SYSCALL): Likewise.
23103 (__ASSUME_STAT64_SYSCALL): Likewise.
23104 (__ASSUME_IPC64): Likewise.
23105 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23106 <kernel-features.h>.
23107 [__ASSUME_32BITUIDS]: Make code unconditional.
23108 [!__ASSUME_32BITUIDS]: Remove conditional code.
23109 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23110 <kernel-features.h>.
23111 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23112 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23113 132096]: Remove conditional code.
23114 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23115 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23116 <kernel-features.h>.
23117 [__ASSUME_32BITUIDS]: Make code unconditional.
23118 [!__ASSUME_32BITUIDS]: Remove conditional code.
23119 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23120 <kernel-features.h>.
23121 [__ASSUME_32BITUIDS]: Make code unconditional.
23122 [!__ASSUME_32BITUIDS]: Remove conditional code.
23123 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23124 <kernel-features.h>.
23125 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23126 unconditional.
23127 (__setresgid): Do not declare.
23128 [__ASSUME_32BITUIDS]: Make code unconditional.
23129 [!__ASSUME_32BITUIDS]: Remove conditional code.
23130 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23131 <kernel-features.h>.
23132 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23133 unconditional.
23134 (__setresuid): Do not declare.
23135 [__ASSUME_32BITUIDS]: Make code unconditional.
23136 [!__ASSUME_32BITUIDS]: Remove conditional code.
23137 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23138 <kernel-features.h>.
23139 [__ASSUME_32BITUIDS]: Make code unconditional.
23140 [!__ASSUME_32BITUIDS]: Remove conditional code.
23141 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23142 <kernel-features.h>.
23143 [__ASSUME_32BITUIDS]: Make code unconditional.
23144 [!__ASSUME_32BITUIDS]: Remove conditional code.
23145
a386f1cc
RH
231462012-05-25 Richard Henderson <rth@twiddle.net>
23147
23148 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23149 dl_hwcap to ifunc resolver.
23150 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23151 elf_ifunc_invoke.
23152 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23153 dl_hwcap to ifunc resolver.
23154 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23155
b6550497
JM
231562012-05-24 Joseph Myers <joseph@codesourcery.com>
23157
23158 [BZ #14153]
23159 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23160 for |x| <= 2**-26, not 2**-57.
23161 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23162 exception.
23163
b0bc23a1
JL
231642012-05-24 Jeff Law <law@redhat.com>
23165
23166 * stdio-common/Makefile (tests): Add bug25.
23167 * stdio-common/bug25.c: New test.
23168
347c92e9
L
231692012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23170
23171 [BZ #13576]
23172 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23173 multiple of MALLOC_ALIGNMENT in size.
23174 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23175
6bcc8b3f
JM
231762012-05-24 Joseph Myers <joseph@codesourcery.com>
23177
23178 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23179 Require >= 256.
23180 (FILENAME_MAX): Use macro-int-constant.
23181 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23182 (_IOFBF): Use macro-int-constant.
23183 (_IOLBF): Likewise.
23184 (_IONBF): Likewise.
23185 (SEEK_CUR): Likewise.
23186 (SEEK_END): Likewise.
23187 (SEEK_SET): Likewise.
23188 (TMP_MAX): Likewise.
23189 (EOF): Use macro-int-constant. Require < 0.
23190 (NULL): Use macro-constant. Require == 0.
23191 (stdin): Require type to be FILE *.
23192 (stdout): Likewise.
23193 (stderr): Likewise.
23194 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23195 macro-int-constant.
23196 (EXIT_SUCCESS): Likewise.
23197 (NULL): Use macro-constant. Require == 0.
23198 (RAND_MAX): Use macro-int-constant.
23199 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23200 [C99-based standards] (strtof): Require function.
23201 [C99-based standards] (strtold): Likewise.
23202 [C99-based standards] (strtoll): Likewise.
23203 [C99-based standards] (strtoull): Likewise.
23204 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23205 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23206 [ISO || ISO99 || ISO11] (math.h): Likewise.
23207 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23208 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23210
d18ea0c5
AS
232112012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23212
23213 [BZ #14132]
56d25bb8
AS
23214 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23215 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23216 * intl/dgettext.c (DCGETTEXT): Likewise.
23217 * intl/gettext.c (DCGETTEXT): Likewise.
23218 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23219 * posix/regex_internal.h (gettext): Likewise.
23220 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23221 Remove declaration.
23222 * include/argz.h (__argz_count_internal)
23223 (__argz_stringify_internal): Remove declaration.
23224 (__argz_count, __argz_stringify): Declare hidden proto.
23225 * intl/dcgettext.c: Remove use of INTDEF.
23226 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23227 * string/argz-stringify.c: Likewise.
23228 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23229 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23230 Declare hidden proto.
d18ea0c5
AS
23231 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23232 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23233 Declare hidden proto.
23234 * include/stdio.h (__asprintf_internal): Don't declare.
23235 (__asprintf): Don't define as macro. Declare hidden proto.
23236 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23237 (__fsetlocking): Declare hidden proto.
23238 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23239 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23240 hidden proto.
23241 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23242 (_IO_setlinebuf): Remove use of INTUSE.
23243 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23244 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23245 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23246 Remove declaration.
23247 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23248 (_IO_do_flush): Remove use of INTUSE.
23249 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23250 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23251 (_IO_adjust_column, _IO_least_wmarker)
23252 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23253 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23254 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23255 (_IO_default_doallocate, _IO_wdefault_doallocate)
23256 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23257 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23258 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23259 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23260 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23261 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23262 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23263 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23264 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23265 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23266 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23267 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23268 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23269 proto.
23270 (_IO_flush_all_internal, _IO_adjust_column_internal)
23271 (_IO_default_uflow_internal, _IO_default_finish_internal)
23272 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23273 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23274 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23275 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23276 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23277 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23278 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23279 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23280 (_IO_file_close_internal, _IO_file_close_it_internal)
23281 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23282 (_IO_file_init_internal, _IO_file_attach_internal)
23283 (_IO_file_fopen_internal, _IO_file_read_internal)
23284 (_IO_file_sync_internal, _IO_file_seek_internal)
23285 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23286 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23287 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23288 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23289 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23290 (_IO_list_all_internal, _IO_link_in_internal)
23291 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23292 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23293 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23294 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23295 (_IO_do_write_internal, _IO_padn_internal)
23296 (_IO_getline_info_internal, _IO_getline_internal)
23297 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23298 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23299 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23300 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23301 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23302 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23303 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23304 with libc_hidden_ver, remove use of INTUSE.
23305 * libio/genops.c: Likewise.
23306 * libio/freopen.c: Likewise.
23307 * libio/freopen64.c: Likewise.
23308 * libio/iofclose.c: Likewise.
23309 * libio/iofdopen.c: Likewise.
23310 * libio/iofflush.c: Likewise.
23311 * libio/iofflush_u.c: Likewise.
23312 * libio/iofgets.c: Likewise.
23313 * libio/iofgets_u.c: Likewise.
23314 * libio/iofopen.c: Likewise.
23315 * libio/iofopncook.c: Likewise.
23316 * libio/iofread.c: Likewise.
23317 * libio/iofread_u.c: Likewise.
23318 * libio/ioftell.c: Likewise.
23319 * libio/iofwrite.c: Likewise.
23320 * libio/iogetline.c: Likewise.
23321 * libio/iogets.c: Likewise.
23322 * libio/iogetwline.c: Likewise.
23323 * libio/iopadn.c: Likewise.
23324 * libio/iopopen.c: Likewise.
23325 * libio/ioseekoff.c: Likewise.
23326 * libio/ioseekpos.c: Likewise.
23327 * libio/iosetbuffer.c: Likewise.
23328 * libio/iosetvbuf.c: Likewise.
23329 * libio/ioungetc.c: Likewise.
23330 * libio/ioungetwc.c: Likewise.
23331 * libio/iovdprintf.c: Likewise.
23332 * libio/iovsprintf.c: Likewise.
23333 * libio/iovsscanf.c: Likewise.
23334 * libio/memstream.c: Likewise.
23335 * libio/obprintf.c: Likewise.
23336 * libio/oldfileops.c: Likewise.
23337 * libio/oldiofclose.c: Likewise.
23338 * libio/oldiofdopen.c: Likewise.
23339 * libio/oldiofopen.c: Likewise.
23340 * libio/oldiopopen.c: Likewise.
23341 * libio/oldstdfiles.c: Likewise.
23342 * libio/putc.c: Likewise.
23343 * libio/setbuf.c: Likewise.
23344 * libio/setlinebuf.c: Likewise.
23345 * libio/stdfiles.c: Likewise.
23346 * libio/strops.c: Likewise.
23347 * libio/vasprintf.c: Likewise.
23348 * libio/vscanf.c: Likewise.
23349 * libio/vsnprintf.c: Likewise.
23350 * libio/vswprintf.c: Likewise.
23351 * libio/wfiledoalloc.c: Likewise.
23352 * libio/wfileops.c: Likewise.
23353 * libio/wgenops.c: Likewise.
23354 * libio/wmemstream.c: Likewise.
23355 * libio/wstrops.c: Likewise.
23356 * libio/__fpurge.c: Likewise.
23357 * libio/__fsetlocking.c: Likewise.
23358 * assert/assert.c: Likewise.
23359 * debug/fgets_chk.c: Likewise.
23360 * debug/fgets_u_chk.c: Likewise.
23361 * debug/fread_chk.c: Likewise.
23362 * debug/fread_u_chk.c: Likewise.
23363 * debug/gets_chk.c: Likewise.
23364 * debug/obprintf_chk.c: Likewise.
23365 * debug/vasprintf_chk.c: Likewise.
23366 * debug/vdprintf_chk.c: Likewise.
23367 * debug/vsnprintf_chk.c: Likewise.
23368 * debug/vsprintf_chk.c: Likewise.
23369 * malloc/mtrace.c: Likewise.
23370 * misc/error.c: Likewise.
23371 * misc/syslog.c: Likewise.
23372 * stdio-common/asprintf.c: Likewise.
23373 * stdio-common/fxprintf.c: Likewise.
23374 * stdio-common/getw.c: Likewise.
23375 * stdio-common/isoc99_fscanf.c: Likewise.
23376 * stdio-common/isoc99_scanf.c: Likewise.
23377 * stdio-common/isoc99_vfscanf.c: Likewise.
23378 * stdio-common/isoc99_vscanf.c: Likewise.
23379 * stdio-common/isoc99_vsscanf.c: Likewise.
23380 * stdio-common/printf-prs.c: Likewise.
23381 * stdio-common/printf_fp.c: Likewise.
23382 * stdio-common/printf_fphex.c: Likewise.
23383 * stdio-common/printf_size.c: Likewise.
23384 * stdio-common/putw.c: Likewise.
23385 * stdio-common/scanf.c: Likewise.
23386 * stdio-common/sprintf.c: Likewise.
23387 * stdio-common/tmpfile.c: Likewise.
23388 * stdio-common/vfprintf.c: Likewise.
23389 * stdio-common/vfscanf.c: Likewise.
23390 * stdlib/strfmon_l.c: Likewise.
23391 * sunrpc/openchild.c: Likewise.
23392 * sunrpc/xdr_stdio.c: Likewise.
23393 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23394 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23395
d6c33fda
RM
233962012-05-24 Roland McGrath <roland@hack.frob.com>
23397
c1487492
RM
23398 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23399
23400 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23401 in the third column, to generate for the shared library an IFUNC
23402 that uses _dl_vdso_vsym.
23403 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23404 * Makeconfig (object-suffixes-noshared): New variable.
23405
23406 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23407 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23408 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23409 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23410
d6c33fda
RM
23411 [BZ #14132]
23412 * include/sys/time.h (__gettimeofday): Remove macro.
23413 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23414 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23415 Remove INTDEF.
23416 (__gettimeofday): Add libc_hidden_def.
23417 (gettimeofday): Add libc_hidden_weak.
23418 * sysdeps/mach/gettimeofday.c: Likewise.
23419 * sysdeps/posix/gettimeofday.c: Likewise.
23420 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23421 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23423 (__gettimeofday_internal): Remove strong_alias.
23424 (__gettimeofday): Add libc_hidden_def.
23425 (gettimeofday): Add libc_hidden_weak.
23426 * sysdeps/unix/syscalls.list (gettimeofday):
23427 Remove __gettimeofday_internal alias.
23428
b5a2bbe6
L
234292012-05-24 Daniel Jacobowitz <drow@false.org>
23430 H.J. Lu <hongjiu.lu@intel.com>
23431
23432 [BZ #12495]
23433 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23434 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23435 (largebin_index_32_big): New.
23436 (largebin_index): Use it for 16-byte alignment.
23437 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23438 correction with front_misalign.
23439
cfba4fda
L
234402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23441
7f907421
L
23442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23444 Likewise.
23445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23446 Likewise.
23447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23448 Likewise.
23449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23450 Likewise.
23451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23452 Likewise.
23453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23454 Likewise.
23455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23456 Likewise.
23457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23458 Likewise.
23459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23460 Likewise.
23461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23462 Likewise.
23463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23464 Likewise.
23465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23466 Likewise.
23467
cfba4fda
L
23468 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23469 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23470
80bad0cc
JM
234712012-05-24 Joseph Myers <joseph@codesourcery.com>
23472
7a25eb06
JM
23473 [BZ #10846]
23474 [BZ #14036]
23475 * math/libm-test.inc (exp_test): Add test from bug 14036.
23476 (pow_test): Add test from bug 10846.
23477
795405f9
JM
23478 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23479 and other flags.
23480 (special_function): Do not include flags in test name.
23481 (parse_args): Likewise.
23482 * sysdeps/i386/fpu/libm-test-ulps: Update.
23483 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23484 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23485 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23487
80bad0cc
JM
23488 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23489 exceptions.
23490 * math/libm-test.inc ("Philosophy"): Update comment about
23491 exception testing.
23492 (UNDERFLOW_EXCEPTION): New macro.
23493 (UNDERFLOW_EXCEPTION_OK): Likewise.
23494 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23495 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23496 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23497 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23498 (INVALID_EXCEPTION_OK): Update value.
23499 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23500 (OVERFLOW_EXCEPTION_OK): Likewise.
23501 (IGNORE_ZERO_INF_SIGN): Likewise.
23502 (test_exceptions): Handle underflow exceptions.
23503 (acos_test): Update for underflow exception expectations.
23504 (cexp_test): Likewise.
23505 (clog_test): Likewise.
23506 (clog10_test): Likewise.
23507 (csqrt_test): Likewise.
23508 (ctan_test): Likewise.
23509 (ctanh_test): Likewise.
23510 (exp_test): Likewise.
23511 (exp10_test): Likewise.
23512 (exp2_test): Likewise.
23513 (expm1_test): Likewise.
23514 (fma_test): Likewise.
23515 (j0_test): Likewise.
23516 (jn_test): Likewise.
23517 (nexttoward_test): Likewise.
23518 (pow_test): Likewise.
23519 (scalbn_test): Likewise.
23520 (scalbln_test): Likewise.
23521 (tan_test): Likewise.
23522 (y1_test): Likewise.
23523 * sysdeps/i386/fpu/libm-test-ulps: Update.
23524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23525
9e0e3d0b
DM
235262012-05-23 David S. Miller <davem@davemloft.net>
23527
23528 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23529 (__libc_sigaction): Remove unused local variables.
23530
ccd0a08f
L
235312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23532
23533 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23534
62bdf9a6
PE
235352012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23536
f8591f80
PE
23537 mktime: avoid signed integer overflow
23538 * time/mktime.c (__mktime_internal): Do not mishandle the case
23539 where diff == INT_MIN.
23540
94c7d826
PE
23541 mktime: simplify computation of average
23542 * time/mktime.c (ranged_convert): Use new time_t_avg function
23543 instead of rolling our own (probably-slower) code.
23544
ce73d683
PE
23545 mktime: do not assume signed right shift propagates sign bit
23546 * time/mktime.c (isdst_differ): New static function.
23547 (__mktime_internal): No need to normalize tm_isdst now.
23548 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23549 tm_isdst values.
23550
72a22e59
PE
23551 mktime: merge another wrapv change from gnulib
23552 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23553 from some compilers.
23554
68605433
PE
23555 mktime: remove incorrect attempt at unusual arithmetics
23556 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23557 The code didn't really work on such machines anyway.
23558 (TYPE_MINIMUM): Assume two's complement.
23559 (twos_complement_arithmetic): Verify that long_int and time_t
23560 are two's complement (or unsigned, in the latter case).
23561
03cf7fe3
PE
23562 mktime: check signed shifts on long_int and time_t, too
23563 * time/mktime.c (SHR): Check that shifts work as desired
23564 on the types long_int and time_t too, as SHR is used on
23565 such types.
23566
f04dfbc2
PE
23567 mktime: do not assume 'long' is wide enough
23568 * time/mktime.c (verify): Move decl up.
23569 (long_int): New type.
23570 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23571 to remove assumption in the code that 'long' is wide enough to
23572 store year values. This assumption is not true on x32 and on
23573 some non-glibc platforms.
23574
62bdf9a6
PE
23575 mktime: merge wrapv change from gnulib
23576 * time/mktime.c (WRAPV): New macro.
23577 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23578 (guess_time_tm, __mktime_internal): Do not assume that signed
23579 integer overflow wraps around; modern compilers generate code
23580 where this assumption is no longer valid.
23581
5e292e4f
L
235822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23583
23584 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23585 Replace "jmp L(pseudo_end)" with "ret".
23586 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23587 Likewise.
23588
8caf8c87
AJ
235892012-05-23 Andreas Jaeger <aj@suse.de>
23590
23591 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23592 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23593
1a09dc56
AJ
235942012-05-23 Andreas Jaeger <aj@suse.de>
23595 Maximilian Attems <max@stro.at>
23596
23597 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23598 New macros.
23599
1c87aba0
L
236002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23601
23602 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23603 code so that pseudo_end is just ret and the stack pointer is
23604 correct also for static library in error case.
23605
40e45bd5
JM
236062012-05-23 Joseph Myers <joseph@codesourcery.com>
23607
c2670533
JM
23608 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23609 move to syscalls.list.
23610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23614
40e45bd5
JM
23615 * manual/install.texi (Running make install): Do not mention Linux
23616 kernel version for which pt_chown is not needed.
23617 (Linux): Do not mention problems with nscd with 2.0 kernels.
23618 * INSTALL: Regenerated.
23619
be08eda5
AJ
236202012-05-23 Andreas Jaeger <aj@suse.de>
23621
23622 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23623 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23624 macro.
23625 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23626 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23627 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23628 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23629 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23630 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23631 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23632 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23633 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23634 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23635 * sysdeps/unix/sysv/linux/bits/in.h
23636 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23637
a6a056bb
RM
236382012-05-22 Roland McGrath <roland@hack.frob.com>
23639
23640 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23641 (PREPARE_VERSION): Just use assert instead, it will be elided
23642 under [NDEBUG] anyway.
23643
c9009328
L
236442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23645
23646 * sysdeps/unix/sysv/linux/Makefile: Include
23647 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23648 (sysdep_routines): Remove sysctl.
c9009328
L
23649 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23650 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23651 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23652 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23653 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23654
73338355
AJ
236552012-05-22 Andreas Jaeger <aj@suse.de>
23656
23657 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23658 that pseudo_end is just ret and the stack pointer is correct also
23659 for static library in error case.
23660
d44638b0
PP
236612012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23662
23663 [BZ #14122]
23664 * nss/nsswitch.c (defconfig_entries): New variable.
23665 (__nss_database_lookup): Don't leak defconfig entries.
23666 (nss_parse_service_list): Don't leak on error paths.
23667 (free_database_entries): New function.
23668 (free_defconfig): New function.
23669 (free_mem): Move common code to free_database_entries.
23670
31a39bd8
L
236712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23672
da0331a8
L
23673 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23674 Add arch_prctl.
23675 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23676
31a39bd8
L
23677 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23678 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23680 New macro.
23681 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23682 (INTERNAL_SYSCALL_TYPES): Likewise.
23683 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23684 (LOAD_REGS_TYPES_[1-6]): Likewise.
23685 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23686 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23687
45470df3
AZ
236882012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23689
23690 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23691 copysignl for GLIBC_2_0.
23692 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23693 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23694 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23695 logbl for GLIBC_2_0.
23696 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23697 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23698
98a61bcb
L
236992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23700
a4f6e481
L
23701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23702 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23703
f63d5db6
L
23704 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23705 Use "neg %eax".
23706
98a61bcb
L
23707 * time/mktime.c: Update copyright years.
23708
95770f14
PE
237092012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23710
6226efbd
PE
23711 mktime: merge comment-quoting-style change from gnulib
23712 * time/mktime.c: Quote 'like this' in comments.
23713 The GNU coding standards suggest that we no longer quote `like this',
23714 as "`" and "'" are typically rendered asymmetrically nowadays.
23715 The typical gnulib style is to quote 'like this' when quoting
23716 code, and "like this" when quoting English.
23717
b99e4f78
PE
23718 * time/mktime.c (compile-command): Add "-I.".
23719
643e01e6
PE
23720 mktime: merge mktime-internal.h change from gnulib
23721 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23722
2554247d
PE
23723 mktime: merge time_r change from gnulib
23724 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23725
826dd0ab
PE
23726 mktime: merge DEBUG change from gnulib
23727 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23728 case system <time.h> has a #define.
23729
bd83aabe
PE
23730 mktime: merge <sys/types.h> change from gnulib
23731 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23732 since <time.t> is now guaranteed to define time_t.
23733
95770f14
PE
23734 mktime: merge HAVE_CONFIG_H change from gnulib
23735 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23736
5e1a27a9
L
237372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23738
0e44a77e
L
23739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23740 Use "neg %eax".
23741
5e1a27a9
L
23742 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23743 __rlim_t cast.
23744 (struct rusage): Use anonymous union to pad each field to
23745 __syscall_slong_t.
23746
46259bec
DM
237472012-05-21 David S. Miller <davem@davemloft.net>
23748
23749 * Makefules (o-iterator): Remove .s cases.
23750 (compile-command.s): Delete.
23751 (COMPILE.s): Delete.
23752 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23753
59f0c22e
JM
237542012-05-21 Joseph Myers <joseph@codesourcery.com>
23755
23756 * configure.in (libc_cv_predef_stack_protector): Only consider
23757 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23758 * configure: Regenerated.
23759
20c07380
L
237602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23761
bbb3154b
L
23762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23763 New macro. Use R*LP on int and pointer.
23764 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23765 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23766 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23767 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23768
20c07380
L
23769 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23770 [__WORDSIZE_TIME64_COMPAT32] instead of
23771 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23772 (struct utmp): Likewise.
23773 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23774 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23775 Renamed to ...
23776 (__WORDSIZE_TIME64_COMPAT32): This.
23777 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23778 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23779 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23780 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23781 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23782 (__WORDSIZE_TIME64_COMPAT32): New macro.
23783
d8d1017e
AJ
237842012-05-21 Andreas Jaeger <aj@suse.de>
23785
23786 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23787 only if [SHARED]. Add prototype for __wcschr_ia32.
23788
6c7fb145
RM
237892012-05-21 Roland McGrath <roland@hack.frob.com>
23790
23791 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23792 of %rbp unmolested in the jmp_buf while mangling the low bits.
23793 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23794 unmolested high bits of %rbp while demangling the low bits.
23795 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23796
66274218
AJ
237972012-05-21 Andreas Jaeger <aj@suse.de>
23798
07c58f8f
AJ
23799 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23800 * sunrpc/svc_simple.c: Use it for registerrpc.
23801 * sunrpc/xcrypt.c: Use it for passwd2des.
23802
66274218
AJ
23803 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23804
61f65140
L
238052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23806
23807 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23808 Don't define if [__SYSCALL_WORDSIZE != 32].
23809 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23810 New macro.
23811
5fefb436
AJ
238122012-05-21 Bruno Haible <bruno@clisp.org>
23813 Andreas Jaeger <aj@suse.de>
23814
23815 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23816 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23817 inptr and inend for must_buffer_ch.
23818 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23819 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23820 * stdio-common/Makefile (tests): Remove bug15.
23821 (bug15-ENV): Remove macro.
23822 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23823 anymore.
23824
d8e272ab
AJ
238252012-05-19 Andreas Jaeger <aj@suse.de>
23826 Roland McGrath <roland@hack.frob.com>
23827
23828 * manual/contrib.texi: Completely rewritten. It contains now an
23829 alphabetical list of contributors and their contributions.
23830
4a56a162
RH
238312012-05-21 Richard Henderson <rth@twiddle.net>
23832
23833 * misc/getauxval.c (__getauxval): Use unsigned long int.
23834 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23835 (getauxval): Use unsigned long int.
23836
d024d23c
L
238372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23838
23839 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23840
cbc00a03
RM
238412012-05-21 Roland McGrath <roland@hack.frob.com>
23842
23843 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23844 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23845 __alignof__ (long double).
23846
478143fa
AZ
238472012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23848
23849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23850
c7683a6d
RH
238512012-05-20 Richard Henderson <rth@twiddle.net>
23852
23853 * misc/getauxval.c: New file.
23854 * misc/sys/auxv.h: New file.
23855 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23856 (routines): Add getauxval.
23857 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23858 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23859 * elf/dl-sysdep.c (_dl_auxv): Remove.
23860 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23861 * elf/dl-support.c (_dl_auxv): New variable.
23862 (_dl_aux_init): Initialize it.
23863 * manual/startup.texi (Auxiliary Vector): New node.
23864 * sysdeps/generic/bits/hwcap.h: New file.
23865 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23866 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23867 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23868 * sysdeps/sparc/sysdep.h: ... here. Include it.
23869 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23870 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23872 Update.
c7683a6d
RH
23873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23881
a6f1845d
AZ
238822012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23883
23884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23885
cbcbe830
DM
238862012-05-19 David S. Miller <davem@davemloft.net>
23887
23888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23889
e0b16cc2
JM
238902012-05-19 Joseph Myers <joseph@codesourcery.com>
23891
23892 [BZ #14123]
23893 * math/s_ccosh.c: Include <float.h>
23894 (__ccosh): Avoid internal overflow calculating sinh and cosh
23895 values before multiplying by sin and cos values.
23896 * math/s_ccoshf.c: Likewise.
23897 * math/s_ccoshl.c: Likewise.
23898 * math/s_csin.c: Likewise.
23899 * math/s_csinf.c: Likewise.
23900 * math/s_csinl.c: Likewise.
23901 * math/s_csinh.c: Likewise.
23902 * math/s_csinhf.c: Likewise.
23903 * math/s_csinhl.c: Likewise.
23904 * math/libm-test.inc (ccos_test): Add more tests.
23905 (ccosh_test): Likewise.
23906 (csin_test): Likewise.
23907 (csinh_test): Likewise.
23908 * sysdeps/i386/fpu/libm-test-ulps: Update.
23909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23910
6ad13e08
L
239112012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23912
f66f0ce8
L
23913 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23914 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23915
6ad13e08
L
23916 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23917
b1d072a7
JM
239182012-05-19 Joseph Myers <joseph@codesourcery.com>
23919
23920 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23921 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23922 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23923 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23924 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23925 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23926 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23927 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23928 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23929 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23930 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23931 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23932 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23933 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23934 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23935 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23936 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23937 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23938 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23939 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23940 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23941 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23942 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23943 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23944 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23945 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23946 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23947 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23948 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23949 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23950 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23951
9eae47cb
AJ
239522012-05-18 Andreas Jaeger <aj@suse.de>
23953
23954 * csu/.gitignore: Delete.
23955
bb07f69f
L
239562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23957
23958 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23959 (timex): Use __syscall_slong_t.
23960
e6bdb741
AJ
239612012-05-18 Andreas Jaeger <aj@suse.de>
23962 Carlos O'Donell <carlos_odonell@mentor.com>
23963
23964 * manual/install.texi (Configuring and compiling): Update
23965 description about files modified in the source directory.
d6c33fda 23966 * INSTALL: Regenerated.
e6bdb741 23967
1b74487e
L
239682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23969
23970 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23971 value. Use "or" to set return value to -1.
23972 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23973 negate return value.
23974
a88b64b9
TMQMF
239752012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23976
23977 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23978 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23979 failure if the compiler has Graphite support disabled.
23980 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23981 Likewise.
23982 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23983 CFLAGS-memmove.c): Likewise.
23984 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23985 Likewise.
23986
3707636e
L
239872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23988
610b8622
L
23989 * sysdeps/x86_64/x32/_itoa.h: New file.
23990
7cd195df
L
23991 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23992 getdents system call only if kernel and user dirents have the
23993 same d_ino and d_off.
23994
94b07d20
L
23995 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23996 LLONG_MAX != LONG_MAX.
23997 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23998 (_fitoa_word): Likewise.
23999
18298070
L
24000 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24001 years.
24002 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24003 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24004 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24005
553c7ea4
L
24006 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24007 include <bits/wordsize.h>. Check __x86_64__ instead of
24008 __WORDSIZE.
24009 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24010 if __x86_64__ is defined. Use anonymous union on fpstate.
24011
3707636e
L
24012 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24013 anonymous union.
24014
b53ef01a
AS
240152012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24016
37fb1dc0
AS
24017 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24018 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24019 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24020 Refer to _rtld_local_ro instead of _rtld_global_ro.
24021 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24022 Likewise.
24023 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24024 Likewise.
24025 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24026 Likewise.
24027 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24028 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24029 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24030
b53ef01a
AS
24031 * sysdeps/powerpc/powerpc32/dl-machine.c
24032 (__elf_machine_runtime_setup) [PROF]: Don't reference
24033 _dl_prof_resolve.
24034
7a185db2
AJ
240352012-05-18 Andreas Jaeger <aj@suse.de>
24036
24037 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24038 function only available for GCCs before 3.4 since GCC 3.4
24039 introduced a builtin.
24040 (lrint): Likewise.
24041 (llrintf): Likewise.
24042 (llrint): Likewise.
24043 (fmaxf): Likewise.
24044 (fmax): Likewise.
24045 (fminf): Likewise.
24046 (fmin): Likewise.
24047 (rint): Likewise.
24048 (rintf): Likewise.
24049 (nearbyint): Likewise.
24050 (nearbyintf): Likewise.
24051 (ceil): Likewise.
24052 (ceilf): Likewise.
24053 (floor): Likewise.
24054 (floorf): Likewise.
24055
3e5aef87
L
240562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24057
428bd707
L
24058 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24059 on both fields and cast pointer to __syscall_ulong_t.
24060
3e5aef87
L
24061 * bits/types.h (__fsword_t): New type.
24062 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24063 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24065 (__FSWORD_T_TYPE): Likewise.
24066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24067 (__FSWORD_T_TYPE): Likewise.
24068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24069 (__FSWORD_T_TYPE): Likewise.
24070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24071 (__FSWORD_T_TYPE): Likewise.
24072 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24073 __SWORD_TYPE with __fsword_t.
24074 (statfs64): Likewise.
24075
1ba7c3dc
DM
240762012-05-17 David S. Miller <davem@davemloft.net>
24077
24078 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24079
59910343
AJ
240802012-05-17 Andreas Jaeger <aj@suse.de>
24081
24082 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24083 warning.
24084
2e4c1e9e
L
240852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24086
24087 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24088
de7f5ce7
AJ
240892012-05-17 Andreas Jaeger <aj@suse.de>
24090
24091 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24092 when it is used.
24093
286abc3d
CM
240942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24095
24096 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24097
477cc68e
L
240982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24099
24100 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24101 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24102
1a0994f5
CD
241032012-05-17 Andreas Jaeger <aj@suse.de>
24104 Carlos O'Donell <carlos_odonell@mentor.com>
24105
24106 [BZ #14059]
24107 * sysdeps/x86_64/multiarch/init-arch.h
24108 (bit_YMM_Usable): Rename to...
24109 (bit_AVX_Usable): ... this.
24110 (bit_FMA4_Usable): New macro.
24111 (bit_XMM_state): New macro.
24112 (bit_YMM_state): New macro.
24113 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24114 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24115 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24116 (CPUID_OSXSAVE): New macro.
24117 (CPUID_AVX): New macro.
24118 (CPUID_FMA4): New macro.
24119 (index_YMM_Usable): Rename to...
24120 (index_AVX_Usable): ... this.
24121 (HAS_AVX): Use HAS_ARCH_FEATURE.
24122 (HAS_FMA4): Likewise.
24123 (HAS_YMM_USABLE): Remove.
24124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24125 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24126 are present.
24127 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24128 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24129 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24130 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24131 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24132
0af797de
CM
241332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24134
24135 * math/libm-test.c: Support platforms without multiple rounding modes.
24136 * math/bug-nextafter.c: Support platforms without FP exceptions.
24137 * math/bug-nexttoward.c: Likewise.
24138 * math/test-fenv.c: Likewise.
24139 * math/test-misc.c: Likewise.
24140 * stdlib/bug-getcontext.c: Likewise.
24141
e39745ff
AJ
241422012-05-17 Andreas Jaeger <aj@suse.de>
24143
24144 * manual/examples/search.c (critter_cmp): Change signature to
24145 avoid warnings.
24146 * manual/string.texi (Collation Functions): Likewise.
24147
48970aba
L
241482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24149
24150 * bits/types.h: Fold copyright years.
24151 * bits/typesizes.h: Likewise.
24152 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24154 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24156 * time/time.h: Likewise.
24157
bedee953
PP
241582012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24159
24160 [BZ #208]
24161 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24162 in instead of returning them. Return void.
24163 (__libc_mallinfo): Accumulate over all arenas.
24164 (__malloc_stats): Adjust for change in int_mallinfo interface.
24165
61653dfb
RM
241662012-05-16 Roland McGrath <roland@hack.frob.com>
24167
30b99d79
RM
24168 [BZ #10375]
24169 * configure.in (NM): Add AC_CHECK_TOOL for it.
24170 (libc_extra_cflags): New substituted variable.
24171 Check for -fstack-protector being used implicitly.
24172 * configure: Regenerated.
24173 * config.make.in (config-extra-cflags): New variable,
24174 gets @libc_extra_cflags@.
24175 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24176
61653dfb
RM
24177 [BZ #10375]
24178 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24179 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24180 * configure: Regenerated.
24181 * config.make.in (CPPUNDEFS): New substituted variable.
24182 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24183 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24184 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24185
661768bb
L
241862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24187
24188 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24189 (mq_attr): Use __syscall_slong_t.
24190
d4261567
L
241912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24192
24193 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24194 Check __x86_64__ instead of __WORDSIZE.
24195 (_STAT_VER_LINUX): Likewise.
24196 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24197 __syscall_ulong_t and __syscall_slong_t.
24198 (stat64): Likewise.
24199
cf3ff365
L
242002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24201
24202 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24203
76cf3e4d
L
242042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24205
24206 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24207
a637753a
L
242082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24209
24210 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24211 __syscall_ulong_t.
24212
d5e05119
L
24213 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24214 include <bits/wordsize.h>. Check __x86_64__ instead of
24215 __WORDSIZE.
24216 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24217 defined.
24218 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24219
f62ee380
L
24220 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24221 include <bits/wordsize.h>. Check __x86_64__ instead of
24222 __WORDSIZE.
24223 (user_regs_struct): Use "__extension__ unsigned long long"
24224 instead of "unsigned long" if __x86_64__ is defined.
24225 (user): Likewise. Pad after pointer field if __ILP32__ is
24226 defined.
24227
4e124ced
JM
242282012-05-16 Joseph Myers <joseph@codesourcery.com>
24229
6a3951a0
JM
24230 * configure.in (makeinfo): Require version 4.5 or later. Allow
24231 versions 5 to 9.
24232 * configure: Regenerated.
24233 * manual/install.texi (texinfo): Increase version requirement to
24234 4.5 or later.
24235 * INSTALL: Regenerated.
24236
4e124ced
JM
24237 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24238
953ca31a
L
242392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24240
24241 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24242
617aca05
L
24243 * sysdeps/x86_64/x32/ffs.c: New file.
24244
5762f7ae
L
24245 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24246 __syscall_ulong_t.
24247 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24248 defined. Use __syscall_ulong_t.
24249 (shminfo): Use __syscall_ulong_t.
24250 (shm_info): Likewise.
24251
a26b6856
L
24252 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24253 __syscall_ulong_t.
24254
cb2b9ef7
L
24255 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24256 <bits/wordsize.h>.
24257 (msgqnum_t): Use __syscall_ulong_t.
24258 (msglen_t): Likewise.
24259 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24260 __syscall_ulong_t.
24261
34683bb0
L
24262 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24263 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24264
84a68786
L
24265 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24266
48baa5f1
L
24267 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24268 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24269
180be88b
L
24270 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24271 __syscall_slong_t.
24272
5e90c8ad
L
24273 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24274 include <bits/wordsize.h>. Check __x86_64__ instead of
24275 __WORDSIZE.
24276
23dfb58b
L
24277 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24278 "unsigned long long int" if __x86_64__ is defined.
24279 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24280
ce5d54b0
L
24281 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24282 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24283 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24284
13dc9eac
L
24285 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24286 <stdint.h>.
24287 (GET_PC): Cast to uintptr_t first.
24288 (GET_FRAME): Likewise.
24289 (GET_STACK): Likewise.
24290
a7895d15
L
24291 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24292 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24293 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24294 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24295 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24296 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24297 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24298 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24299 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24300 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24301 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24302 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24303 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24304 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24305 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24306 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24307 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24308 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24309 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24310 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24311 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24312 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24313 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24314 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24315 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24316 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24317 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24318 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24319 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24320
656416c9
AS
243212012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24322
5bd66283
AS
24323 * Makerules (+depfiles): Also collect depfiles from .oS in
24324 $(extra-objs).
24325 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24326 .oS, $(libnldbl-routines)).
24327
656416c9
AS
24328 * Makerules (native-compile-mkdep-flags): Define.
24329 * sunrpc/Makefile (extra-objs): Add $(addprefix
24330 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24331 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24332 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24333 calling $(make-target-directory).
24334
a46f2169
L
243352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24336
24337 * bits/types.h (__snseconds_t): Removed.
24338 * time/time.h (struct timespec): Replace __snseconds_t with
24339 __syscall_slong_t.
24340 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24341 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24342 Likewise.
24343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24344 (__SNSECONDS_T_TYPE): Likewise.
24345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24346 (__SNSECONDS_T_TYPE): Likewise.
24347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24348 (__SNSECONDS_T_TYPE): Likewise.
24349
6af6528b
L
243502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24351
24352 * sysdeps/mach/hurd/bits/typesizes.h
24353 (__SYSCALL_SLONG_TYPE): New macro.
24354 (__SYSCALL_ULONG_TYPE): Likewise.
24355
de986b56
L
243562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24357
24358 * bits/types.h (__syscall_slong_t): New type.
24359 (__syscall_ulong_t): Likewise.
24360
24361 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24362 (__SYSCALL_ULONG_TYPE): Likewise.
24363 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24364 (__SYSCALL_SLONG_TYPE): Likewise.
24365 (__SYSCALL_ULONG_TYPE): Likewise.
24366 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24367 (__SYSCALL_SLONG_TYPE): Likewise.
24368 (__SYSCALL_ULONG_TYPE): Likewise.
24369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24370 (__SYSCALL_SLONG_TYPE): Likewise.
24371 (__SYSCALL_ULONG_TYPE): Likewise.
24372
85736dc7
L
243732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24374
24375 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24376 Add sigaltstack-offsets.sym.
24377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24378 <sigaltstack-offsets.h>.
24379 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24380 longjmp_msg pointer.
24381 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24382 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24383 signal stack.
24384 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24385
cc03b296
JM
243862012-05-15 Joseph Myers <joseph@codesourcery.com>
24387
a9538892
JM
24388 * elf/stackguard-macros.h: Remove file.
24389 * sysdeps/generic/stackguard-macros.h: New file.
24390 * sysdeps/i386/stackguard-macros.h: Likewise.
24391 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24392 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24393 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24394 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24395 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24396 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24397 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24398 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24399 <elf/stackguard-macros.h>.
24400
cc03b296
JM
24401 [BZ #14109]
24402 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24403 __aligned__ in attribute.
24404 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24405 (gregset_t): Likewise.
24406
93171016
L
244072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24408
24409 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24410 * sysdeps/x86_64/64/Implies-after: Here. New file.
24411 * sysdeps/x86_64/x32/Implies-after: New file.
24412
d86813a0
L
244132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24414
24415 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24416 and access return value for _dl_profile_fixup. Use R10_LP to
24417 load frame size.
24418
2953ec75
L
244192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24420
24421 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24422
3b550e9e
L
244232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24424
24425 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24426 * sysdeps/x86_64/x32/sysdep.h: New file.
24427
eda41706
L
244282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24429
24430 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24431 * sysdeps/x86_64/setjmp.S: Likewise.
24432
9ea01d93
AZ
244332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24434
24435 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24436 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24437 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24438 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24439 remove unused global constant.
24440
02a91938
CM
244412012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24442
24443 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24444 include of <not-cancel.h>.
24445
6540185f
RM
244462012-05-15 Roland McGrath <roland@hack.frob.com>
24447
24448 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24449
509072a0
AJ
244502012-05-15 Jeff Law <law@redhat.com>
24451 Andreas Jaeger <aj@suse.de>
24452
24453 [BZ #13594]
24454 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24455 out from...
24456 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24457 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24458 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24459 code changing __hst_map_handle.map.
24460
ba75122d
RM
244612012-05-15 Roland McGrath <roland@hack.frob.com>
24462
24463 * configure.in (sysnames): Look for Implies-before and Implies-after
24464 files.
24465 * configure: Regenerated.
24466
890d8bd8
L
244672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24468
24469 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24470 8-byte data alignment with LP_SIZE alignment.
24471
f6ee6623
L
244722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24473
24474 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24475 into R10_LP.
24476
ea2626f6
L
244772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24478
24479 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24480
085f715e
L
244812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24482
24483 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24484 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24485 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24486 Likewise.
24487 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24488
be8498fc
L
244892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24490
24491 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24492 (stackinfo_sub_sp): Likewise.
24493
70bc83b9
L
244942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24495
24496 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24497 RAX_LP.
24498
9bc0b730
L
244992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24500
24501 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24502 into R*_LP.
24503
6d2850e7
L
245042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24505
24506 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24507 sizes into R*_LP.
24508
3cb84561
L
245092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24510
24511 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24512
54e2ed81
L
245132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24514
24515 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24516 into R11_LP and load __x86_64_shared_cache_size_half into
24517 R8_LP.
24518
8a17f349
L
245192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24520
24521 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24522 R8_LP.
24523
777b1eea
AZ
245242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24525
24526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24527 logb for POWER7.
24528 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24529 logbf for POWER7.
24530 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24531 logbl for POWER7.
24532 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24533 powerpc32/power7/fpu/s_logb.c via #include.
24534 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24535 powerpc32/power7/fpu/s_logbf.c via #include.
24536 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24537 powerpc32/power7/fpu/s_logbl.c via #include.
24538
d20d4ac2
JM
245392012-05-15 Joseph Myers <joseph@codesourcery.com>
24540
24541 * README.libm: Remove file.
24542
6cdef1ab
L
245432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24544
24545 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24546 count for x32. Use R*_LP and omit operand-size suffix.
24547
0b254d8f
L
245482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24549
24550 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24551 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24552 * sysdeps/x86_64/x32/shlib-versions: New file.
24553
ceb809dc
RM
245542012-05-14 Roland McGrath <roland@hack.frob.com>
24555
24556 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24557 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24558 Use _dl_fatal_printf instead.
24559
37f1abd4
JM
245602012-05-14 Joseph Myers <joseph@codesourcery.com>
24561
24562 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24563 set if not set by the user. Do not allow for being unset.
24564 * sysdeps/unix/sysv/linux/configure: Regenerated.
24565
11de3a33
L
245662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24567
24568 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24569 the `q' suffix from lea and replace .quad with ASM_ADDR.
24570
e02f153a
L
245712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24572
24573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24574 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24575 instead of $17.
24576 (PTR_DEMANGLE): Likewise.
24577
520ae0fd
L
245782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24579
24580 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24581 (LP_OP): Likewise.
24582 (ASM_ADDR): Likewise.
24583 (RAX_LP): Likewise.
24584 (RBP_LP): Likewise.
24585 (RBX_LP): Likewise.
24586 (RCX_LP): Likewise.
24587 (RDI_LP): Likewise.
24588 (RSI_LP): Likewise.
24589 (RSP_LP): Likewise.
24590 (R8_LP): Likewise.
24591 (R9_LP): Likewise.
24592 (R10_LP): Likewise.
24593 (R10_LP): Likewise.
24594 (R11_LP): Likewise.
24595 (R12_LP): Likewise.
24596 (R13_LP): Likewise.
24597 (R14_LP): Likewise.
24598 (R15_LP): Likewise.
24599
b985be81
L
246002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24601
24602 * sysdeps/x86_64/x32/dl-machine.h: New file.
24603
6a4888ff
AJ
246042012-05-14 Andreas Jaeger <aj@suse.de>
24605
24606 * manual/Makefile (subdir): Remove export of subdir.
24607 (all): Remove target.
24608 (.PHONY): Remove all from list.
24609 (mkinstalldirs): Remove.
24610 (.PHONY): Remove installdirs from list.
24611 ($(inst_infodir)/libc.info): Use make-target-directory.
24612 (installdirs): Remove.
24613 (subdir_%): Remove.
24614 (glibc-targets): Remove.
24615 (lib): Remove.
24616 (stubs): Remove.
24617 ($(objpfx)stubs ../po/manual.pot): Remove.
24618 ($(objpfx)stamp%): Remove.
24619 (make-target-directory): Remove.
24620 (subdir_install): Remove.
24621 (routines): Remove.
24622 (aux): Remove.
24623 (sources): Remove.
24624 (objects): Remove.
24625 (headers): Remove.
24626
24627 [BZ #13750]
24628 * manual/.gitignore: Remove, it's not needed anymore.
24629 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24630 all files in it.
24631 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24632 directory.
24633 (texis): Renamed to $(objpfx)texis.
24634 (texis-path): New, contains path to generated files.
24635 (chapters.%): Use texis-path for complete path, add extra argument
24636 libc-texinfo.sh.
24637 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24638 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24639 (summary,texi, stamp-summary): Use complete path of
24640 files. Generate files in build dir.
24641 (dir-add.texi): Build in build dir.
24642 (libm-err.texi,stamp-libm-err): Likewise.
24643 (version.texi, stamp-version): Likewise.
24644 (.%c.texi): Likewise.
24645 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24646 (mostlyclean): Remove target.
24647 (realclean): Remove target.
24648 (generated): Add new variable with contents from mostlyclean and
24649 realclean, remove entries duplicated in common-mostlyclean, add
24650 stamp-libm-err and stamp-version.
24651 (generated-dirs): Add libc directory.
24652 ($(inst_infodir)/libc.info): Install files from build dir.
24653
24654 * manual/install.texi (Configuring and compiling): Adjust since
24655 the info files are not part of the tar ball anymore.
24656
7ac77294
AJ
246572012-05-14 Andreas Jaeger <aj@suse.de>
24658
24659 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24660 variable.
24661
ffb7875d
JM
246622012-05-14 Joseph Myers <joseph@codesourcery.com>
24663
24664 [BZ #13717]
24665 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24666 to 2.2.0 where earlier.
24667 * sysdeps/unix/sysv/linux/configure: Regenerated.
24668 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24669 Remove conditional code.
24670 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24671 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24672 Remove conditional code.
24673 [!__NR_lchown]: Likewise.
24674 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24675 [__NR_lchown]: Likewise.
24676 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24677 comment referencing __ASSUME_LCHOWN_SYSCALL.
24678 * sysdeps/unix/sysv/linux/i386/sigaction.c
24679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24681 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24682 Remove conditional code.
24683 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24684 (__protocol_available): Remove #if 0 code.
24685 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24686 conditional code.
24687 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24688 * sysdeps/unix/sysv/linux/kernel-features.h
24689 (__ASSUME_GETCWD_SYSCALL): Don't define.
24690 (__ASSUME_REALTIME_SIGNALS): Likewise.
24691 (__ASSUME_PREAD_SYSCALL): Likewise.
24692 (__ASSUME_PWRITE_SYSCALL): Likewise.
24693 (__ASSUME_POLL_SYSCALL): Likewise.
24694 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24695 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24696 non-SPARC.
24697 (__ASSUME_SIOCGIFNAME): Don't define.
24698 (__ASSUME_MSG_NOSIGNAL): Likewise.
24699 (__ASSUME_SENDFILE): Define unconditionally.
24700 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24701 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24702 conditional code.
24703 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24704 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24705 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24706 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24707 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24708 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24709 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24711 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24714 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24717 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24720 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24723 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24724 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24726 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24727 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24729 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24732 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24733 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24734 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24735 Remove conditional code.
24736 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24737 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24738 Remove conditional code.
24739 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24740 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24741 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24742 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24743 Remove conditional code.
24744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24745 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24746 Remove conditional code.
24747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24748 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24749 Remove conditional code.
24750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24751 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24752 Remove conditional code.
24753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24754 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24755 Remove conditional code.
24756 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24757 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24758 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24759 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24760 * sysdeps/unix/sysv/linux/sigaction.c
24761 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24762 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24763 * sysdeps/unix/sysv/linux/sigpending.c
24764 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24765 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24766 * sysdeps/unix/sysv/linux/sigprocmask.c
24767 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24768 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24769 * sysdeps/unix/sysv/linux/sigsuspend.c
24770 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24771 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24772 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24773 (__libc_missing_rt_sigs): Remove.
24774 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24775 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24776 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24777 Remove conditional code.
24778 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24779 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24780 return 1.
24781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24782 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24783 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24784 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24785
1bfb7291
AJ
247862012-05-14 Andreas Jaeger <aj@suse.de>
24787
caae5a81
AJ
24788 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24789 it's not used in glibc.
24790 (__coshm1): Likewise.
24791 (__acosh1p): Likewise.
24792 (__sgn): Likewise.
24793
1bfb7291
AJ
24794 * manual/string.texi (Copying and Concatenation): Add missing
24795 variable in concat example.
24796 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24797
c044d724
L
247982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24799
144c5467 24800 [BZ #14103]
c044d724
L
24801 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24802 __builtin_clzl with __builtin_clzll.
24803
2523c62b
L
248042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24805
24806 [BZ #14104]
24807 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24808 libc_freeres_ptr.
24809
d7bb4c42
LD
248102012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24811
24812 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24813 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24814 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24815 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24816
9dc4e1fb
MF
248172012-05-14 Mike Frysinger <vapier@gentoo.org>
24818
24819 * NEWS: Update ia64 info.
24820
c7df0112
AS
248212012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24822
24823 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24824 used as bcopy.
24825
dc70356c
TS
248262012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24827
24828 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24829 * sysdeps/unix/syscalls.list (dup3): Likewise.
24830 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24831 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24832
9fb1a21f
L
248332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24834
24835 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24836 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24837
4822a2a5
L
248382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24839
24840 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24841 thread pointer.
24842 (TLS_IE): Use mov/add instead of movq/addq to load thread
24843 pointer.
24844 (TLS_GD_PREFIX): New.
24845 (TLS_GD): Use it.
24846
842b81d6
DM
248472012-05-11 David S. Miller <davem@davemloft.net>
24848
24849 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24850 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24851 (_FPU_SETCW): Likewise.
24852
1cf463cd
L
248532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24854
24855 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24856 is 32-byte aligned.
24857
60cc4a18
AS
248582012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24859
24860 [BZ #11837]
24861 * iconvdata/gb18030.c: Update tables.
24862 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24863 characters specially.
24864 (BODY for TO_LOOP): Add encoding of missing ranges.
24865
febb44a4
TS
248662012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24867
24868 [BZ #13673]
24869 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24870 * sysdeps/mach/hurd/dup3.c: Likewise.
24871 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24872 * sysdeps/powerpc/memmove.c:: Likewise.
24873
0a10fb9e
L
248742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24875
24876 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24877 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24878
df8a552f
L
248792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24880
24881 * elf/elf.h (R_X86_64_RELATIVE64): New.
24882 (R_X86_64_NUM): Updated.
24883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24884 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24885 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24886 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24887 tst-quad1pie tst-quad2pie
24888 (modules-names): Add tst-quadmod1 tst-quadmod2.
24889 ($(objpfx)tst-quad1): New dependency.
24890 ($(objpfx)tst-quad2): Likewise.
24891 ($(objpfx)tst-quad1pie): Likewise.
24892 ($(objpfx)tst-quad2pie): Likewise.
24893 * sysdeps/x86_64/tst-quad1.c: New file.
24894 * sysdeps/x86_64/tst-quad1pie.c: New file.
24895 * sysdeps/x86_64/tst-quad2.c: Likewise.
24896 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24897 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24898 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24899 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24900 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24901
f34d6f84
ST
249022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24903
f42d41d1
ST
24904 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24905 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24906 * streams/stropts.h (t_scalar_t): Define type.
24907
3c3571fc
ST
24908 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24909 (_PATH_PRESERVE): Set to "/var/lib".
24910 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24911
61f06bd3
ST
24912 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24913 instead of int.
24914
918d4d71
ST
24915 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24916 if __dir_mkfile succeeded.
24917
f34d6f84
ST
24918 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24919 checking for _hurd_dtablesize. Unlock it right after having
24920 finished _hurd_dtable allocation.
24921
10589b4a
TS
249222012-05-10 Thomas Schwinge <thomas@schwinge.name>
24923
674cdbc7
TS
24924 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24925 * sysdeps/mach/hurd/configure: Regenerated.
24926 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24927 special-casing to...
24928 * sysdeps/gnu/configure.in: ... this new file.
24929 * sysdeps/unix/sysv/linux/configure: Regenerated.
24930 * sysdeps/gnu/configure: New generated file.
24931
8e41b99f
TS
24932 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24933 for Linux: use nsec instead of usec, as well as:
24934 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24935 members of type struct timespec.
24936 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24937 New macros.
24938 (struct stat64): Likewise.
24939 (_STATBUF_ST_NSEC): New macro.
24940 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24941
10589b4a
TS
24942 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24943 __strtoul_internal rather than strtoul.
24944
63643c85
PT
249452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24946
24947 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24948 and reject them.
24949
3faebe6a
ST
249502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24951
24952 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24953 which preserves existing values.
24954 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24955
c6474b07
PT
249562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24957
24958 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24959 TIMEOUT values. Return EINVAL for NFDS values either negative or
24960 greater than FD_SETSIZE.
24961
1043890b
ST
249622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24963
24964 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24965 allocated, call __vm_protect to finish enabling the existing space, and
24966 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24967 allocate the remainder.
24968
37ed8b9b
PT
249692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24970
24971 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24972 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24973
db653660
ST
249742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24975
37ed8b9b
PT
24976 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24977 sysdeps/mach/hurd/readlink.c.
b29d4053 24978
db653660
ST
24979 * posix/tst-sysconf.c (posix_options): Only use
24980 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24981 _POSIX_SYNCHRONIZED_IO when they are defined
24982 * sysdeps/mach/hurd/bits/posix_opt.h:
24983 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24984 (_XOPEN_REALTIME): Undefine macro.
24985 (_XOPEN_REALTIME_THREADS): Undefine macro.
24986 (_XOPEN_SHM): Undefine macro.
24987 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24988 macro to -1.
24989 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24990 macro to -1.
24991 (_POSIX_ASYNC_IO): Undefine macro.
24992 (_POSIX_PRIORITIZED_IO): Undefine macro.
24993 (_POSIX_SPIN_LOCKS): Define macro to -1.
24994
ee16e894
ST
24995 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24996 SA_NODEFER, SA_RESETHAND.
24997 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24998 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24999 F_DUPFD_CLOEXEC.
25000
6103ae3b
TS
250012012-05-10 Thomas Schwinge <thomas@schwinge.name>
25002
25003 * elf/Makefile (pldd-modules): Define unconditionally.
25004
80b4e5f3
TS
250052012-05-10 Thomas Schwinge <thomas@schwinge.name>
25006
25007 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25008
edadcbd6
ST
250092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25010
25011 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25012 Return ENOENT when name is empty.
25013 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25014
80694780
TS
250152012-05-10 Thomas Schwinge <thomas@schwinge.name>
25016
1792c087
TS
25017 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25018
80694780
TS
25019 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25020
6b645f0d
ST
250212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25022
80694780
TS
25023 Fix mlock in all cases except non-readable pages.
25024 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25025 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 25026
6b645f0d
ST
25027 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25028 (__mkdir): When path is `/', just fail with EEXIST.
25029 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25030
e468f8a3
TS
250312012-05-10 Thomas Schwinge <thomas@schwinge.name>
25032
25033 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25034 <sys/uio.h> (for writev).
25035 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25036 and <sys/param.h> (for MIN).
25037
a4186cff
PT
250382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25039
25040 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25041 REQUESTED_TIME. Properly set the remaining time and return EINTR
25042 if interrupted.
25043
510bbf14
TS
250442012-05-10 Thomas Schwinge <thomas@schwinge.name>
25045
25046 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25047 Depend on against $(link-rpcuserlibs).
25048
5d5722e8
ST
250492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25050
a4186cff
PT
25051 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25052 (__libc_stack_end): Do not use attribute_relro.
25053 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25054 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 25055 to libthread-provided value.
a4186cff
PT
25056 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25057 attribute_relro.
5d5722e8 25058
37233df9
TS
250592012-05-10 Thomas Schwinge <thomas@schwinge.name>
25060
be971a2b
TS
25061 [BZ #3748]
25062 * bits/libc-lock.h (__libc_once_get): New macro.
25063 * sysdeps/mach/bits/libc-lock.h: Likewise.
25064 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25065 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25066 instead of using implementation details.
25067
37233df9
TS
25068 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25069 * libio/freopen.c: Likewise.
25070 * libio/freopen64.c: Likewise.
25071 * misc/syslog.c: Likewise.
25072 * nscd/connections.c: Likewise.
25073 * nscd/netgroupcache.c: Likewise.
25074 * sysdeps/posix/getcwd.c: Likewise.
25075
38de94a5
RM
250762012-05-10 Roland McGrath <roland@hack.frob.com>
25077
25078 * math/w_ilogbf.c: Add #include <limits.h>.
25079
67530489
ST
250802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25081
a4186cff 25082 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
25083 path instead of returning without unlocking.
25084
67530489
ST
25085 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25086 immediate-write ioctls.
25087 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25088
5aa3a74a
TS
250892012-05-10 Thomas Schwinge <thomas@schwinge.name>
25090
18bad2ae
TS
25091 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25092 __builtin_frame_address instead of making assumptions about the
25093 location of the return address relative to DATA. Force early load of
25094 the return address.
25095 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25096 __builtin_frame_address.
25097
5aa3a74a
TS
25098 dup3 for GNU Hurd.
25099 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25100 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25101 implement dup3 and do some further code clean-ups.
25102 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25103 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25104
ecd0de9a
ST
251052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25106
cd9fa985
ST
25107 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25108
a4186cff
PT
25109 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25110 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25111 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25112 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25113 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25114 d->port.lock.
802ca5a5 25115
a4186cff
PT
25116 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25117 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25118 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 25119
bcf55240
TS
251202012-05-10 Thomas Schwinge <thomas@schwinge.name>
25121
6960eb42
TS
25122 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25123 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25124 definitions.
25125
eb43375f
TS
25126 accept4 for GNU Hurd.
25127 * include/sys/socket.h (__libc_accept4): New prototype.
25128 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25129 to implement __libc_accept4.
25130 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25131 __libc_accept4.
25132 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25133
bcf55240
TS
25134 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25135 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25136 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25137 signal-defines.sym.
25138
6178c55b
ST
251392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25140
a4186cff 25141 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 25142
6f080c2f
TS
251432012-05-10 Thomas Schwinge <thomas@schwinge.name>
25144
25145 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25146 assertion on O_CLOEXEC flag.
25147 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25148 * hurd/intern-fd.c: Likewise.
25149 * hurd/port2fd.c: Likewise.
25150
bcfe3a54
ST
251512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25152
25153 [BZ #3906]
25154 * bits/in.h (IPV6_PKTINFO): Define new macro.
25155 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25156
89c9aa49
AZ
251572012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25158
25159 [BZ #13954]
25160 [BZ #13955]
25161 [BZ #13956]
25162 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25163 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25164 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25165 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25167 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25168 * math/libm-test.inc (logb_test) : Additional logb tests.
25169
021db4be
AJ
251702012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25171 Andreas Jaeger <aj@suse.de>
25172
25173 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25174 * configure: Regenerated.
25175 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25176 * config.make.in (link-obsolete-rpc): New substituted variable.
25177 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25178 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25179 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25180 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25181 so that libc.a contains the symbols.
25182 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25183 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25184 * sunrpc/auth_none.c: Likewise.
25185 * sunrpc/auth_unix.c: Likewise.
25186 * sunrpc/authdes_prot.c: Likewise.
25187 * sunrpc/authuxprot.c: Likewise.
25188 * sunrpc/clnt_gen.c: Likewise.
25189 * sunrpc/clnt_perr.c: Likewise.
25190 * sunrpc/clnt_raw.c: Likewise.
25191 * sunrpc/clnt_simp.c: Likewise.
25192 * sunrpc/clnt_tcp.c: Likewise.
25193 * sunrpc/clnt_udp.c: Likewise.
25194 * sunrpc/clnt_unix.c: Likewise.
25195 * sunrpc/des_crypt.c: Likewise.
25196 * sunrpc/des_soft.c: Likewise.
25197 * sunrpc/get_myaddr.c: Likewise.
25198 * sunrpc/key_call.c: Likewise.
25199 * sunrpc/key_prot.c: Likewise.
25200 * sunrpc/netname.c: Likewise.
25201 * sunrpc/pm_getmaps.c: Likewise.
25202 * sunrpc/pm_getport.c: Likewise.
25203 * sunrpc/pmap_clnt.c: Likewise.
25204 * sunrpc/pmap_prot.c: Likewise.
25205 * sunrpc/pmap_prot2.c: Likewise.
25206 * sunrpc/pmap_rmt.c: Likewise.
25207 * sunrpc/publickey.c: Likewise.
25208 * sunrpc/rpc_cmsg.c: Likewise.
25209 * sunrpc/rpc_common.c: Likewise.
25210 * sunrpc/rpc_dtable.c: Likewise.
25211 * sunrpc/rpc_prot.c: Likewise.
25212 * sunrpc/rpc_thread.c: Likewise.
25213 * sunrpc/rtime.c: Likewise.
25214 * sunrpc/svc.c: Likewise.
25215 * sunrpc/svc_auth.c: Likewise.
25216 * sunrpc/svc_raw.c: Likewise.
25217 * sunrpc/svc_run.c: Likewise.
25218 * sunrpc/svc_tcp.c: Likewise.
25219 * sunrpc/svc_udp.c: Likewise.
25220 * sunrpc/svc_unix.c: Likewise.
25221 * sunrpc/svcauth_des.c: Likewise.
25222 * sunrpc/xcrypt.c: Likewise.
25223 * sunrpc/xdr.c: Likewise.
25224 * sunrpc/xdr_array.c: Likewise.
25225 * sunrpc/xdr_float.c: Likewise.
25226 * sunrpc/xdr_intXX_t.c: Likewise.
25227 * sunrpc/xdr_mem.c: Likewise.
25228 * sunrpc/xdr_rec.c: Likewise.
25229 * sunrpc/xdr_ref.c: Likewise.
25230 * sunrpc/xdr_sizeof.c: Likewise.
25231 * sunrpc/xdr_stdio.c: Likewise.
25232
b5c086a2
RM
252332012-05-10 Roland McGrath <roland@hack.frob.com>
25234
25235 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25236 change. Update copyright years.
25237
6d74dd09
JM
252382012-05-10 Joseph Myers <joseph@codesourcery.com>
25239
25240 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25241
28e72501
MK
252422012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25243 Joseph Myers <joseph@codesourcery.com>
25244 Paul Pluzhnikov <ppluzhnikov@google.com>
25245
25246 [BZ #14012]
25247 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25248 requiring rpcgen.
25249 [cross-compiling] (extra-libs): Likewise.
25250 [cross-compiling] (extra-libs-others): Likewise.
25251 [cross-compiling] (librpcsvc-routines): Likewise.
25252 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25253 [cross-compiling] (omit-deps): Likewise.
25254 (sunrpc-CPPFLAGS): New variable.
25255 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25256 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25257 (cross-rpcgen-objs): New variable.
25258 (extra-objs): Append $(cross-rpcgen-objs).
25259 ($(cross-rpcgen-objs)): New rule.
25260 ($(objpfx)cross-rpcgen): Likewise.
25261 (rpcgen-cmd): Define to use $(built-program-file). Expand
25262 comment.
25263 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25264 ($(objpfx)x%.stmp): Likewise.
25265 * sunrpc/proto.h [IS_IN_build] (_): Define.
25266 [IS_IN_build] (_libc_intl_domainname): Likewise.
25267
c8c59454
L
252682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25269
25270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25271 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25272 and R_X86_64_TPOFF64.
25273
6f27cd16
JM
252742012-05-10 Joseph Myers <joseph@codesourcery.com>
25275
25276 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25277 sysdeps/unix/sysv/syscalls.list.
25278 (stime): Likewise.
25279 (utime): Likewise.
25280 * sysdeps/unix/sysv/syscalls.list: Remove file.
25281
02467e1c
PE
252822012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25283
25284 [BZ #3440]
25285 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25286 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25287 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25288 (__LC_IDENTIFICATION): Make these macros useful in #if
25289 expressions, as required by C99.
25290
da392631
AS
252912012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25292
25293 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25294 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25295 after this.
25296
8115f29b
L
252972012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25298
25299 * stdlib/longlong.h: Updated from GCC.
25300
bdd74070
AJ
253012012-05-09 Andreas Jaeger <aj@suse.de>
25302
edfe0dbe
AJ
25303 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25304 default is first entry.
25305 (run_mode): Set type.
25306 (main): Remove informal message about syslog.
25307 (options): Fix typo.
25308
bcfe3a54
ST
25309 [BZ #14053]
25310 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25311 to asm.
bcfe3a54
ST
25312 (lrint): Likewise.
25313 (llrintf): Likewise.
25314 (llrint): Likewise.
25315 (rint): Likewise.
25316 (rintf): Likewise.
25317 (nearbyint): Likewise.
25318 (nearbyintf): Likewise.
bdd74070 25319
91d8d69e
AJ
253202012-05-09 Andreas Jaeger <aj@suse.de>
25321 Pedro Alves <palves@redhat.com>
25322
25323 * nscd/nscd.c (run_mode): Use enum.
25324 (main): Cleanup coding style issue.
25325
bb90b80b
AJ
253262012-05-09 Alexandre Oliva <aoliva@redhat.com>
25327 Andreas Jaeger <aj@suse.de>
25328
bcfe3a54
ST
25329 * nscd/nscd.c (go_background): Replaced with...
25330 (run_mode): ... this.
bb90b80b 25331 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25332 (options): Add -F --foreground.
25333 (main): Implement it.
25334 (parse_opt): Parse it.
bb90b80b 25335
1a4b75a1
AJ
253362012-05-09 Andreas Jaeger <aj@suse.de>
25337
25338 [BZ #14083]
25339 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25340 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25341 -Wconversion warning.
25342 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25343 Likewise.
25344
b1cc2472
JM
253452012-05-09 Joseph Myers <joseph@codesourcery.com>
25346
25347 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25348 == 0.
25349 (LC_ALL): Use macro-int-constant.
25350 (LC_COLLATE): Likewise.
25351 (LC_CTYPE): Likewise.
25352 (LC_MESSAGES): Likewise.
25353 (LC_MONETARY): Likewise.
25354 (LC_NUMERIC): Likewise.
25355 (LC_TIME): Likewise.
25356 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25357 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25359 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25360 Specify type.
25361 [C99-based standards] (float_t): Expect type.
25362 [C99-based standards] (double_t): Expect type.
25363 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25364 type.
25365 [C99-based standards] (HUGE_VALL): Likewise.
25366 [C99-based standards] (INFINITY): Likewise.
25367 [C99-based standards] (NAN): Likewise.
25368 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25369 [C99-based standards] (FP_NAN): Likewise.
25370 [C99-based standards] (FP_NORMAL): Likewise.
25371 [C99-based standards] (FP_SUBNORMAL): Likewise.
25372 [C99-based standards] (FP_ZERO): Likewise.
25373 [C99-based standards] (FP_FAST_FMA): Use
25374 optional-macro-int-constant. Specify type. Require == 1.
25375 [C99-based standards] (FP_FAST_FMAF): Likewise.
25376 [C99-based standards] (FP_FAST_FMAL): Likewise.
25377 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25378 [C99-based standards] (FP_ILOGBNAN): Likewise.
25379 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25380 Specify type.
25381 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25382 [C99-based standards] (math_errhandling): Specify type.
25383 [ISO99 || ISO11] (signgam): Do not allow.
25384 [non-C99-based standards] (copysignf): Do not allow.
25385 [non-C99-based standards] (exp2f): Likewise.
25386 [non-C99-based standards] (log2f): Likewise.
25387 [non-C99-based standards] (modff): Allow.
25388 [non-C99-based standards] (erff): Do not allow.
25389 [non-C99-based standards] (erfcf): Likewise.
25390 [non-C99-based standards] (gammaf): Likewise.
25391 [non-C99-based standards] (hypotf): Likewise.
25392 [non-C99-based standards] (j0f): Likewise.
25393 [non-C99-based standards] (j1f): Likewise.
25394 [non-C99-based standards] (jnf): Likewise.
25395 [non-C99-based standards] (lgammaf): Likewise.
25396 [non-C99-based standards] (tgammaf): Likewise.
25397 [non-C99-based standards] (y0f): Likewise.
25398 [non-C99-based standards] (y1f): Likewise.
25399 [non-C99-based standards] (ynf): Likewise.
25400 [non-C99-based standards] (isnanf): Likewise.
25401 [non-C99-based standards] (acoshf): Likewise.
25402 [non-C99-based standards] (asinhf): Likewise.
25403 [non-C99-based standards] (atanhf): Likewise.
25404 [non-C99-based standards] (cbrtf): Likewise.
25405 [non-C99-based standards] (expm1f): Likewise.
25406 [non-C99-based standards] (ilogbf): Likewise.
25407 [non-C99-based standards] (log1pf): Likewise.
25408 [non-C99-based standards] (logbf): Likewise.
25409 [non-C99-based standards] (nextafterf): Likewise.
25410 [non-C99-based standards] (remainderf): Likewise.
25411 [non-C99-based standards] (rintf): Likewise.
25412 [non-C99-based standards] (scalbf): Likewise.
25413 [non-C99-based standards] (copysignl): Likewise.
25414 [non-C99-based standards] (exp2l): Likewise.
25415 [non-C99-based standards] (log2l): Likewise.
25416 [non-C99-based standards] (modfl): Allow.
25417 [non-C99-based standards] (erfl): Do not allow.
25418 [non-C99-based standards] (erfcl): Likewise.
25419 [non-C99-based standards] (gammal): Likewise.
25420 [non-C99-based standards] (hypotl): Likewise.
25421 [non-C99-based standards] (j0l): Likewise.
25422 [non-C99-based standards] (j1l): Likewise.
25423 [non-C99-based standards] (jnl): Likewise.
25424 [non-C99-based standards] (lgammal): Likewise.
25425 [non-C99-based standards] (tgammal): Likewise.
25426 [non-C99-based standards] (y0l): Likewise.
25427 [non-C99-based standards] (y1l): Likewise.
25428 [non-C99-based standards] (ynl): Likewise.
25429 [non-C99-based standards] (isnanl): Likewise.
25430 [non-C99-based standards] (acoshl): Likewise.
25431 [non-C99-based standards] (asinhl): Likewise.
25432 [non-C99-based standards] (atanhl): Likewise.
25433 [non-C99-based standards] (cbrtl): Likewise.
25434 [non-C99-based standards] (expm1l): Likewise.
25435 [non-C99-based standards] (ilogbl): Likewise.
25436 [non-C99-based standards] (log1pl): Likewise.
25437 [non-C99-based standards] (logbl): Likewise.
25438 [non-C99-based standards] (nextafterl): Likewise.
25439 [non-C99-based standards] (remainderl): Likewise.
25440 [non-C99-based standards] (rintl): Likewise.
25441 [non-C99-based standards] (scalbl): Likewise.
25442 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25443 [non-C99-based standards] (FP_*): Do not allow.
25444 [C99-based standards] (FP_*): Change to
25445 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25446 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25447 allow.
25448 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25449 (SIG_ERR): Likewise.
25450 [X/Open-based standards] (SIG_HOLD): Likewise.
25451 (SIG_IGN): Likewise.
25452 (SIGABRT): Use macro-int-constant. Specify type. Require
25453 positive value.
25454 (SIGFPE): Likewise.
25455 (SIGILL): Likewise.
25456 (SIGINT): Likewise.
25457 (SIGSEGV): Likewise.
25458 (SIGTER): Likewise.
25459 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25460 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25461 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25462 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25463 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25464 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25465 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25466 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25467 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25468 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25469 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25471 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25472 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25474 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25477 [X/Open-based standards] (SIGTRAP): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25480 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25481 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25482 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25483 allow.
25484
b9f1922d
IW
254852012-05-08 Ian Wienand <ianw@vmware.com>
25486
25487 [BZ #14080]
25488 * time/tzset.c (__tzset_parse_tz): Update default rules for
25489 daylight time changes in the Energy Policy Act of 2005.
25490
1db86e88
AJ
254912012-05-09 Andreas Jaeger <aj@suse.de>
25492
25493 [BZ #13983]
25494 * elf/ldconfig.c (parse_conf): Change string to make clear that
25495 ldconfig only issued a warning if ld.so.conf does not exist.
25496
dee4a4e3
DM
254972012-05-08 David S. Miller <davem@davemloft.net>
25498
ee0db190
DM
25499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25500 movxtod instead of popping the value on the stack.
25501
dee4a4e3
DM
25502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25503
6a43ec98
CD
255042012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25505
25506 * config.h.in: Add HAVE_ARM_PCS_VFP.
25507
05c2c961
RMG
255082012-05-08 Roland Mc Grath <roland@hack.frob.com>
25509
bcfe3a54
ST
25510 [BZ #13979]
25511 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25512 checking but the checks are disabled for any reason.
05c2c961 25513
4b30f61a
L
255142012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25515
25516 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25517 and ELF64_R_TYPE with ELFW(R_TYPE).
25518
eee2bc67
JM
255192012-05-08 Joseph Myers <joseph@codesourcery.com>
25520
7ea5391a
JM
25521 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25522 (ulimit): Likewise.
25523
eee2bc67
JM
25524 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25525 (settimeofday): Likewise.
25526
abb66a67
MF
255272012-05-08 Mike Frysinger <vapier@gentoo.org>
25528
25529 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25530 a struct th_u2 inside the union, and move tu_block/tu_code into
25531 a new th_u3 union of tu_block/tu_code inside of that. Move
25532 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25533 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25534 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25535 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25536 (th_stuff): Change to th_u1.tu_stuff.
25537 (th_data): Define.
25538 (th_msg): Change to th_u1.th_u2.tu_data.
25539
7f18b530
DM
255402012-05-07 David S. Miller <davem@davemloft.net>
25541
05760585
DM
25542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25543
7f18b530
DM
25544 [BZ #14074]
25545 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25546 (SETUP_PIC_REG): Use it.
25547 (SETUP_PIC_REG_LEAF): Use it.
25548
495fd99f
JM
255492012-05-07 Joseph Myers <joseph@codesourcery.com>
25550
25551 [BZ #13885]
25552 [BZ #13923]
25553 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25554 USE_AS_EXPM1L.
25555 (EXPL_FINITE): Likewise.
25556 (FLDLOG): Likewise.
25557 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25558 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25559 e_expl.S.
25560 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25561 USE_AS_EXPM1L.
25562 (EXPL_FINITE): Likewise.
25563 (FLDLOG): Likewise.
25564 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25565 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25566 e_expl.S.
25567 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25568 test of -max_value argument for long double.
25569 * sysdeps/i386/fpu/libm-test-ulps: Update.
25570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25571
6693d694
DM
255722012-05-06 David S. Miller <davem@davemloft.net>
25573
25574 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25575 quad soft-float symbols whose references which are compiler
25576 generated.
25577 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25578
6c23e11c
JM
255792012-05-06 Joseph Myers <joseph@codesourcery.com>
25580
d8b82cad
JM
25581 [BZ #13884]
25582 [BZ #13914]
25583 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25584 USE_AS_EXP10L.
25585 (EXPL_FINITE): Likewise.
25586 (FLDLOG): Likewise.
25587 (c0): Likewise.
25588 (c1): Likewise.
25589 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25590 Adjust comments for base varying.
25591 (__expl_finite): Change alias to EXPL_FINITE.
25592 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25593 e_expl.S.
25594 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25595 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25596 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25597 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25598 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25599 USE_AS_EXP10L.
25600 (EXPL_FINITE): Likewise.
25601 (FLDLOG): Likewise.
25602 (c0): Likewise.
25603 (c1): Likewise.
25604 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25605 Adjust comments for base varying.
25606 (__expl_finite): Change alias to EXPL_FINITE.
25607 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25608 tests for bugs.
25609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25610
6c23e11c
JM
25611 [BZ #14064]
25612 * math/libm-test.inc (check_float_internal): Correct ulp
25613 calculation for subnormal expected results.
25614
29ba805c
AJ
256152012-05-06 Andreas Jaeger <aj@suse.de>
25616
25617 * Makeconfig (+math-flags): New, set to -frounding-math.
25618 (+cflags): Add +math-flags so that all of glibc gets compiled with
25619 it.
25620
25621 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25622
7b17aeda
JM
256232012-05-05 Joseph Myers <joseph@codesourcery.com>
25624
5779f134
JM
25625 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25626 Disable one test.
25627
41498f4d
JM
25628 [BZ #13787]
25629 [BZ #13922]
25630 [BZ #14036]
25631 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25632 (__ieee754_expl): Allow for and saturate large arguments.
25633 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25634 (u_threshold): Likewise.
25635 (__exp): Call __ieee754_exp before checking for overflow and
25636 underflow.
25637 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25638 (u_threshold): Likewise.
25639 (__expf): Call __ieee754_expf before checking for overflow and
25640 underflow.
25641 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25642 (u_threshold): Likewise.
25643 (__expl): Call __ieee754_expl before checking for overflow and
25644 underflow.
25645 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25646 (__ieee754_expl): Allow for and saturate large arguments.
25647 * math/libm-test.inc (exp_test): Add another test. Do not allow
25648 missing overflow exception on overflow.
25649 (expm1_test): Do not allow missing overflow exception on overflow.
25650
6698b8bf
JM
25651 * sysdeps/i386/fpu/e_expl.c: Move to ...
25652 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25653 rather than using inline asm.
25654 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25655 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25656 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25657
7b17aeda
JM
25658 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25659 (nice): Likewise.
25660 (poll): Likewise.
25661 (signal): Likewise.
25662 (time): Likewise.
25663 (times): Likewise.
25664
f7c85819
JM
256652012-05-04 Joseph Myers <joseph@codesourcery.com>
25666
25667 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25668 sysdeps/unix/common/syscalls.list.
25669 (fchmod): Likewise.
25670 (fchown): Likewise.
25671 (ftruncate): Likewise.
25672 (getrusage): Likewise.
25673 (gettimeofday): Likewise.
25674 (setpgid): Likewise.
25675 (setregid): Likewise.
25676 (setreuid): Likewise.
25677 (sigaction): Likewise.
25678 (truncate): Likewise.
25679 (vhangup): Likewise.
25680 * sysdeps/unix/common/syscalls.list: Remove file.
25681 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25682 * sysdeps/unix/sysv/linux/Implies: Likewise.
25683
336270d0
L
256842012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25685
25686 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25688 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25689 Moved to ...
25690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25691 Here.
25692 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25693 to ...
25694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25695 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25696 to ...
25697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25698 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25699 to ...
25700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25701 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25702 to ...
25703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25704 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25705 to ...
25706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25707 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25708 to ...
25709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25710 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25711 to ...
25712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25713 Here.
25714 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25715 to ...
25716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25717 Here.
25718 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25719 to ...
25720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25721 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25722 Moved to ...
25723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25724 Here.
25725 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25726 to ...
25727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25728
d128e450
JM
257292012-05-04 Joseph Myers <joseph@codesourcery.com>
25730
fa8ee516
JM
25731 * sysdeps/unix/common/bits/dirent.h: Remove file.
25732 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25733
d128e450
JM
25734 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25735 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25736 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25737 * sysdeps/unix/bsd/isatty.c: Likewise.
25738 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25739 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25740 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25741
ff8faaf0 257422012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25743
62881be4 25744 [BZ #13563]
31dc8730
AZ
25745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25746 long double comparison inaccuracies.
25747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25749
6fef930c
AS
257502012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25751
25752 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25754
8f203e6c
JM
257552012-05-04 Joseph Myers <joseph@codesourcery.com>
25756
25757 [BZ #14049]
25758 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25759 nonzero digits before rounding a hex value.
25760 * stdlib/tst-strtod.c (tests): Add another test.
25761
5197d9c2
AK
257622012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25763
25764 * sysdeps/s390/fpu/libm-test-ulps: Update.
25765
f0c1dedf
AJ
257662012-05-03 Andreas Jaeger <aj@suse.de>
25767
25768 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25769 does not get optimized out.
25770 (malloc_opt_barrier): New.
25771
a65ef2ae 257722012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25773 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25774
2b942cb7 25775 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25776 intermediate file deletion.
2b942cb7 25777 (generated): Add .symlist files.
a65ef2ae 25778
54b71e02
JM
257792012-05-03 Joseph Myers <joseph@codesourcery.com>
25780
25781 [BZ #13775]
25782 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25783 Redirect under this condition.
25784 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25785 [__USE_GNU] (__dprintf_chk): Not under this condition.
25786 [__USE_GNU] (__vdprintf_chk): Likewise.
25787 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25788 under this condition.
25789 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25790 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25791 [__USE_XOPEN2K8] (vdprintf): Likewise.
25792 [__USE_GNU] (__dprintf_chk): Not under this condition.
25793 [__USE_GNU] (__vdprintf_chk): Likewise.
25794 [__USE_GNU] (dprintf): Likewise.
25795 [__USE_GNU] (vdprintf): Likewise.
25796
d3dfcc41
RM
257972012-05-03 Roland McGrath <roland@hack.frob.com>
25798
25799 * elf/Makefile (common-generated): Set this instead of generated for
25800 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25801 $(all-built-dso)-derived lists.
25802
7ac30cc5
AJ
258032012-05-03 Andreas Jaeger <aj@suse.de>
25804
0c51e550
AJ
25805 * sysdeps/i386/fpu/libm-test-ulps: Update.
25806
7ac30cc5
AJ
25807 * FAQ: Removed.
25808 * FAQ.in: Likewise.
25809 * scripts/gen-FAQ.pl: Likewise.
25810 * manual/install.texi (Installation): Point to online location of
25811 FAQ.
25812 * Makefile (files-for-dist): Remove FAQ.
25813 (FAQ): Remove.
25814
d4c2917f
AM
258152012-05-02 Allan McRae <allan@archlinux.org>
25816
25817 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25818 (LDFLAGS-reldepmod5.so): Likewise.
25819 (LDFLAGS-reldep6mod1.so): Likewise.
25820 (LDFLAGS-reldep6mod4.so): Likewise.
25821 (LDFLAGS-reldep8mod3.so): Likewise.
25822 (LDFLAGS-unload4mod1.so): Likewise.
25823 (LDFLAGS-unload4mod2.so): Likewise.
25824 (LDFLAGS-tst-initorder): Likewise.
25825 (LDFLAGS-tst-initordera2.so): Likewise.
25826 (LDFLAGS-tst-initordera3.so): Likewise.
25827 (LDFLAGS-tst-initordera4.so): Likewise.
25828 (LDFLAGS-tst-initorderb2.so): Likewise.
25829 (LDFLAGS-noload): Likewise.
25830 (LDFLAGS-next): Likewise.
25831 (LDFLAGS-order2mod1.so): Likewise.
25832 (LDFLAGS-order2mod2.so): Likewise.
25833 (LDFLAGS-tst-initorder2): Likewise.
25834 (LDFLAGS-tst-initorder2a.so): Likewise.
25835 (LDFLAGS-tst-initorder2b.so): Likewise.
25836 (LDFLAGS-tst-initorder2c.so): Likewise.
25837 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25838
d77f993f
DM
258392012-05-02 David S. Miller <davem@davemloft.net>
25840
25841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25842
171a70b4
PP
258432012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25844
25845 [BZ #14055]
25846 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25847
0be196ad
AJ
258482012-05-02 Andreas Jaeger <aj@suse.de>
25849
25850 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25851 since we manipulate rounding mode.
25852 (CPPFLAGS-test-idouble.c): Likewise.
25853 (CPPFLAGS-test-ifloat.c): Likewise.
25854 (CFLAGS-test-ldouble.c): Likewise.
25855 (CFLAGS-test-double.c): Likewise.
25856 (CFLAGS-test-float.c): Likewise.
25857 (CFLAGS-test-misc.c): Likewise.
25858 (CFLAGS-test-test-fenv.c): Likewise.
25859
4f9d04aa
AZ
258602012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25861
2b942cb7
RM
25862 [BZ #2550]
25863 [BZ #2570]
25864 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25865 comparisons to determine direction to adjust input.
4f9d04aa 25866
82a79e7d
RM
258672012-05-01 Roland McGrath <roland@hack.frob.com>
25868
f5a01ca9
RM
25869 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25870 output to the target.
25871
90fe4186
RM
25872 * scripts/localplt.awk: New file.
25873 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25874 (check-localplt-CFLAGS): Variable removed.
25875 ($(all-built-dso:=.jmprel)): New static pattern rule.
25876 (generated): Add those targets.
25877 (localplt-built-dso): New variable.
25878 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25879
25880 * elf/check-localplt.c: File removed.
25881
82397ed6
RM
25882 * scripts/check-execstack.awk: New file.
25883 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25884 (check-execstack-CFLAGS): Variable removed.
25885 ($(objpfx)check-execstack.h): Target removed.
25886 ($(objpfx)execstack-default): New target.
25887 (generated): Add that instead of check-execstack.h.
25888 ($(all-built-dso:=.phdr)): New static pattern rule.
25889 (generated): Add those targets.
25890 * elf/check-execstack.c: File removed.
25891
82a79e7d
RM
25892 * scripts/check-textrel.awk: New file.
25893 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25894 (check-textrel-CFLAGS): Variable removed.
25895 (all-built-dso): Use := to define.o
25896 ($(all-built-dso:=.dyn)): New static pattern rule.
25897 (generated): Add those targets.
25898 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25899 * config.make.in (READELF): New substituted variable.
25900 * elf/check-textrel.c: File removed.
25901
62fde54f 259022012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25903
615605c9
JM
25904 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25905 allow.
25906 * conform/data/ctype.h-data [C99-based standards] (isblank):
25907 Expect function.
25908 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25909 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25911 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25912 Specify type. Require positive value.
25913 (EILSEQ): Likewise.
25914 (ERANGE): Likewise.
25915 [ISO || POSIX] (EILSEQ): Do not expect.
25916 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25917 Specify type. Require positive value.
25918 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25919 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25920 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25921 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25923 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25924 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25925 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25926 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25927 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25928 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25929 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25931 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25932 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25933 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25934 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25935 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25936 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25937 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25938 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25939 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25940 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25941 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25942 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25943 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25944 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25945 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25946 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25947 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25948 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25949 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25950 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25951 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25952 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25953 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25954 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25955 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25956 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25957 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25958 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25959 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25960 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25961 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25962 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25963 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25964 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25965 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25966 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25967 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25968 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25969 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25970 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25971 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25972 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25973 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25974 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25975 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25976 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25977 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25978 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25979 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25980 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25981 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25982 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25983 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25984 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25985 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25986 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25987 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25988 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25989 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25990 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25991 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25992 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25993 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25994 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25995 Require >= 2.
25996 (FLT_ROUNDS): Expect as macro, not constant.
25997 (FLT_MANT_DIG): Use macro-int-constant.
25998 (DBL_MANT_DIG): Likewise.
25999 (LDBL_MANT_DIG): Likewise.
26000 (FLT_DIG): Likewise.
26001 (DBL_DIG): Likewise.
26002 (LDBL_DIG): Likewise.
26003 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26004 (DBL_MIN_EXP): Likewise.
26005 (LDBL_MIN_EXP): Likewise.
26006 (FLT_MAX_EXP): Use macro-int-constant.
26007 (DBL_MAX_EXP): Likewise.
26008 (LDBL_MAX_EXP): Likewise.
26009 (FLT_MAX_10_EXP): Likewise.
26010 (DBL_MAX_10_EXP): Likewise.
26011 (LDBL_MAX_10_EXP): Likewise.
26012 (FLT_MAX): Use macro-constant.
26013 (DBL_MAX): Likewise.
26014 (LDBL_MAX): Likewise.
26015 (FLT_EPSILON): Use macro-constant. Give upper bound.
26016 (DBL_EPSILON): Likewise.
26017 (LDBL_EPSILON): Likewise.
26018 (FLT_MIN): Likewise.
26019 (DBL_MIN): Likewise.
26020 (LDBL_MIN): Likewise.
26021 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26022 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26023 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26024 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26025 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26026 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26027 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26028 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26029 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26030 [ISO11] (FLT_TRUE_MIN): Likewise.
26031 [ISO11] (LDBL_TRUE_MIN): Likewise.
26032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26033 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26034 (SCHAR_MIN): Use macro-int-constant. Specify type.
26035 (SCHAR_MAX): Likewise.
26036 (UCHAR_MAX): Likewise.
26037 (CHAR_MIN): Likewise.
26038 (CHAR_MAX): Likewise.
26039 (MB_LEN_MAX): Use macro-int-constant.
26040 (SHRT_MIN): Use macro-int-constant. Specify type.
26041 (SHRT_MAX): Likewise.
26042 (USHRT_MAX): Likewise.
26043 (INT_MAX): Likewise.
26044 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26045 bound negative.
26046 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26047 bound with "U".
26048 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26049 bound with "L".
26050 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26051 bound negative. Suffix upper bound with "L".
26052 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26053 bound with "UL".
26054 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26055 Specify type.
26056 [C99-based standards] (LLONG_MAX): Likewise.
26057 [C99-based standards] (ULLONG_MAX): Likewise.
26058 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26059 == 0.
26060 [ISO11] (max_align_t): Require type.
26061 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26062
c9140a62
JM
26063 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26064 from $CFLAGS, without defining away __attribute__ calls.
26065 (checknamespace): Use $CFLAGS_namespace.
26066
9af0bf29
JM
26067 * conform/conformtest.pl (@keywords): Only include C99 keywords
26068 for standards based on C99 or C11.
26069
343222a2
JM
26070 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26071 Disable tests.
26072 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26073 UNIX98]: Likewise.
26074
661f8cf0
JM
26075 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26076 usability of symbols in #if.
26077
ee74b9cb
JM
26078 * conform/conformtest.pl: If macro or constant types start
26079 "promoted:", expect the symbol to be of the following type
26080 promoted by the integer promotions.
62fde54f 26081
aafc49b3
JM
26082 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26083 in one place. Also handle "macro-constant".
26084
fefdf574
JM
26085 * conform/conformtest.pl: Only accept expected macro values with
26086 "==". Parse all "macro" lines in one place.
26087 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26088
f2d922fe
JM
26089 * conform/conformtest.pl: Handle braced types on "constant" lines
26090 instead of handling "typed-constant".
26091 * conform/data/signal.h-data: Use "constant" instead of
26092 "typed-constant".
26093
d22956c9
JM
26094 * conform/conformtest.pl: Handle "optional-" at start of lines in
26095 one place rather than duplicating several cases. Handle each
26096 format of "macro" line with initial "optional-".
26097
028e2e38
JM
26098 * conform/conformtest.pl: Only accept expected constant or
26099 optional-constant values with "==". Parse all "constant" lines in
26100 one place. Parse all "optional-constant" lines in one place.
26101 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26102 * conform/data/fmtmsg.h-data: Likewise.
26103 * conform/data/netinet/in.h-data: Likewise.
26104 * conform/data/tar.h-data: Likewise.
26105 * conform/data/limits.h-data: Use "==" form on "constant" and
26106 "optional-constant" lines.
26107
1b8f2850
JM
26108 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26109 Use -std=c99 for XOPEN2K.
26110 (@knownproblems): Remove.
26111 (newtoken): Don't check %isknown.
26112
a05a144b
JM
26113 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26114 Do not expect macro.
26115 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26116 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26117 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26118 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26119 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26120 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26121 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26122 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26123 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26124 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26125 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26126 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26127 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26128 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26129 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26130 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26131 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26132 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26133 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26134 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26135 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26136 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26137 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26138 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26139 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26140 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26141 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26142 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26143 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26144 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26145 [XPG3] (acosh): Likewise.
26146 [XPG3] (asinh): Likewise.
26147 [XPG3] (atanh): Likewise.
26148 [XPG3] (cbrt): Likewise.
26149 [XPG3] (expm1): Likewise.
26150 [XPG3] (ilogb): Likewise.
26151 [XPG3] (log1p): Likewise.
26152 [XPG3] (logb): Likewise.
26153 [XPG3] (nextafter): Likewise.
26154 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26155 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26156 [XPG3] (remainder): Likewise.
26157 [XPG3] (rint): Likewise.
26158 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26159 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26160 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26161 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26162 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26163 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26164 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26165 [UNIX98 || XOPEN2K] (scalb): Expect.
26166 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26167 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26168 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26169 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26170 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26171 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26172 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26173 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26174 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26175 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26176 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26177 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26178 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26179 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26180 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26181 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26182 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26183 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26187 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26193 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26194 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26195 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26199 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26213 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26214 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26215 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26216 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26217 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26218 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26219 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26220 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26221 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26222 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26223 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26224 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26225 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26238 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26239 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26240 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26242 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26243 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26244 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26245 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26246 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26247 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26248 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26249 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26250 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26251 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26252 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26253 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26254 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26255 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26256 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26257 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26258 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26259 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26260 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26261 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26262 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26263 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26264 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26265 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26266 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26267 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26268 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26269 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26270 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26271 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26272 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26274 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26275 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26276 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26277 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26278 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26279 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26280 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26281 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26282 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26283 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26284 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26285 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26286 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26287 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26288 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26289 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26290 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26291 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26292 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26293 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26294 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26295 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26296 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26297 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26298 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26299 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26300 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26301 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26302 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26303
73c5ebe3
JM
26304 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26305 _XOPEN_SOURCE_EXTENDED for XPG4.
26306
39c33b6c
JM
26307 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26308
62fde54f
JM
26309 * Makeconfig (localtime): Remove variable.
26310 (inst_localtime-file): Likewise.
26311
0741d64c
AS
263122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26313
26314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26315 Update.
26316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26317 Update.
26318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26319 Update.
26320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26321 Update.
26322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26323 Update.
26324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26325 Update.
26326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26327 Update.
26328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26329 Update.
26330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26331 Update.
26332
7cb029ee
JM
263332012-05-01 Joseph Myers <joseph@codesourcery.com>
26334
26335 [BZ #2550]
26336 [BZ #2570]
26337 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26338 comparisons to determine direction to adjust input.
26339 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26340 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26341 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26342 Likewise.
26343 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26344 Likewise.
26345 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26346 Likewise.
26347 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26348 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26349 Likewise.
26350 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26351 Likewise.
26352 * math/libm-test.inc (nexttoward_test): Add more tests.
26353
412bd966
AS
263542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26355
26356 [BZ #14040]
26357 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26358 in version GLIBC_2.1, not GLIBC_2.0.
26359 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26360 Likewise.
26361
9568c0c2
JM
263622012-04-30 Joseph Myers <joseph@codesourcery.com>
26363
adfbc8ac
JM
26364 [BZ #13942]
26365 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26366 (1 - x) * (1 + x).
26367 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26368 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26369 * math/libm-test.inc (acos_test): Add more tests.
26370 (asin_test): Likewise.
26371 * sysdeps/i386/fpu/libm-test-ulps: Update.
26372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26373
5ba3cc69
JM
26374 [BZ #14034]
26375 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26376 of square root.
26377 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26378 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26379 * math/libm-test.inc (acos_test_tonearest): New function.
26380 (acos_test_towardzero): Likewise.
26381 (acos_test_downward): Likewise.
26382 (acos_test_upward): Likewise.
26383 (asin_test_tonearest): Likewise.
26384 (asin_test_towardzero): Likewise.
26385 (asin_test_downward): Likewise.
26386 (asin_test_upward): Likewise.
26387 (main): Call the new functions.
26388 * sysdeps/i386/fpu/libm-test-ulps: Update.
26389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26390
9568c0c2
JM
26391 [BZ #13884]
26392 [BZ #13924]
26393 * math/e_exp10.c: Include <float.h>.
26394 (__ieee754_exp10): Handle underflow here rather than multiplying
26395 large negative argument by M_LN10.
26396 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26397 of __ieee754_expf.
26398 * math/e_exp10l.c: Include <float.h>.
26399 (__ieee754_exp10l): Handle underflow here rather than multiplying
26400 large negative argument by M_LN10l.
26401 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26402 spurious overflow exception on underflow.
26403
5ac3ea17
MP
264042012-04-29 Marek Polacek <polacek@redhat.com>
26405
26406 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26407 (__fortify_function): New macro.
26408 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26409 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26410 __extern_always_inline.
26411 * libio/bits/stdio2.h: Likewise.
26412 * libio/bits/stdio.h: Likewise.
26413 * string/string.h: Likewise.
26414 * string/bits/string3.h: Likewise.
26415 * include/stdio.h: Likewise.
26416 * stdlib/bits/stdlib.h: Likewise.
26417 * stdlib/stdlib.h: Likewise.
26418 * rt/bits/mqueue2.h: Likewise.
26419 * rt/mqueue.h: Likewise.
26420 * posix/bits/unistd.h: Likewise.
26421 * posix/unistd.h: Likewise.
26422 * io/bits/poll2.h: Likewise.
26423 * io/bits/fcntl2.h: Likewise.
26424 * io/fcntl.h: Likewise.
26425 * io/sys/poll.h: Likewise.
26426 * misc/bits/syslog.h: Likewise.
26427 * misc/bits/syslog-ldbl.h: Likewise.
26428 * misc/sys/syslog.h: Likewise.
26429 * socket/bits/socket2.h: Likewise.
26430 * socket/sys/socket.h: Likewise.
26431 * debug/tst-chk1.c: Likewise.
26432 * wcsmbs/bits/wchar2.h: Likewise.
26433 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26434 * wcsmbs/wchar.h: Likewise.
26435
ecf0ebfb
AJ
264362012-04-29 Andreas Jaeger <aj@suse.de>
26437
26438 * Makerules (tests): Remove enable-check-abi protection.
26439 (check-abi-warn): Remove.
26440 (check-abi-%): Remove check-abi-warn usage.
26441
26442 * configure.in: Remove check-abi configure option.
26443 * configure: Regenerated.
26444 * config.make.in (enable-check-abi): Remove.
26445
6d5c57fa
AS
264462012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26447
24c5d07e 26448 [BZ #14033]
ded5180a
AS
26449 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26450 double functions to double *_finite functions.
26451
7e0d315d
AS
26452 [BZ #13941]
26453 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26454 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26455 LDBL_MIN_EXP.
26456 * stdio-common/Makefile (tests): Add tst-sprintf3.
26457 * stdio-common/tst-sprintf3.c: New file.
26458
6d5c57fa
AS
26459 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26460 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26461
0749ff8b
JM
264622012-04-28 Joseph Myers <joseph@codesourcery.com>
26463
26464 * conform/conformtest.pl: Remove duplicate typed-constant
26465 handling.
26466
8dbd5d7b
DM
264672012-04-28 David S. Miller <davem@davemloft.net>
26468
26469 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26470 (check-abi-%): Remove AWK script prerequisite and explicit
26471 abilist directory.
26472 (check-abi): Rewrite to just diff the symlist with the abilist.
26473 (config-tls, config-abi-config): Delete, no longer used.
26474 (update-abi-%): Remove AWK script and explicit abilist directory.
26475 (update-abi): Rewrite to simply compare and conditionally copy the
26476 symlist and the sysdep abilist file. Remove update-abi-config
26477 checks.
26478 * abilist/ld.abilist: Remove.
26479 * abilist/libBrokenLocale.abilist: Remove.
26480 * abilist/libanl.abilist: Remove.
26481 * abilist/libcrypt.abilist: Remove.
26482 * abilist/libdl.abilist: Remove.
26483 * abilist/librt.abilist: Remove.
26484 * abilist/libthread_db.abilist: Remove.
26485 * abilist/libutil.abilist: Remove.
26486 * scripts/extract-abilist.awk: Remove.
26487 * scripts/merge-abilist.awk: Remove.
26488 * sysdeps/generic/libcidn.abilist: New file.
26489 * sysdeps/generic/libnss_compat.abilist: New file.
26490 * sysdeps/generic/libnss_db.abilist: New file.
26491 * sysdeps/generic/libnss_dns.abilist: New file.
26492 * sysdeps/generic/libnss_files.abilist: New file.
26493 * sysdeps/generic/libnss_hesiod.abilist: New file.
26494 * sysdeps/generic/libnss_nis.abilist: New file.
26495 * sysdeps/generic/libnss_nisplus.abilist: New file.
26496 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26497 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26498 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26499 file.
26500 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26501 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26502 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26503 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26504 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26505 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26506 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26507 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26508 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26509 file.
26510 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26511 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26512 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26513 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26514 file.
26515 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26516 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26517 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26518 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26519 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26520 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26521 file.
26522 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26523 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26524 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26525 file.
26526 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26528 New file.
26529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26530 New file.
26531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26532 New file.
26533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26534 New file.
26535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26536 New file.
26537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26538 New file.
26539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26540 New file.
26541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26542 New file.
26543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26544 New file.
26545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26546 New file.
26547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26548 New file.
26549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26550 New file.
26551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26552 New file.
26553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26554 file.
26555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26556 New file.
26557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26558 New file.
26559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26560 file.
26561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26562 New file.
26563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26564 New file.
26565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26566 file.
26567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26568 New file.
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26570 New file.
26571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26572 New file.
26573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26574 New file.
26575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26576 New file.
26577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26578 New file.
26579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26581 file.
26582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26583 New file.
26584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26585 file.
26586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26587 file.
26588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26589 file.
26590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26591 file.
26592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26593 file.
26594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26595 New file.
26596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26597 file.
26598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26599 file.
26600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26601 New file.
26602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26603 file.
26604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26606 file.
26607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26608 New file.
26609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26610 file.
26611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26612 file.
26613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26614 file.
26615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26616 file.
26617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26618 file.
26619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26620 New file.
26621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26622 file.
26623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26624 file.
26625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26626 New file.
26627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26628 file.
26629 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26630 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26631 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26632 file.
26633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26634 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26635 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26636 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26637 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26638 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26639 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26640 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26641 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26642 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26645 file.
26646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26647 New file.
26648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26649 file.
26650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26651 file.
26652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26653 file.
26654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26655 file.
26656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26657 file.
26658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26659 New file.
26660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26661 New file.
26662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26663 file.
26664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26665 New file.
26666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26667 file.
26668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26670 file.
26671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26672 New file.
26673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26674 file.
26675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26676 file.
26677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26678 file.
26679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26680 file.
26681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26682 file.
26683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26684 New file.
26685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26686 New file.
26687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26688 file.
26689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26690 New file.
26691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26692 file.
26693
41d73a1b
JM
266942012-04-28 Joseph Myers <joseph@codesourcery.com>
26695
26696 * conform/conformtest.pl: Fix typo in handling typed-constant from
26697 allow-header.
26698
28aeeda4
JM
266992012-04-27 Joseph Myers <joseph@codesourcery.com>
26700
adae8f5e
JM
26701 * README: Cut down references to pre-2.6 Linux kernels and
26702 Linuxthreads. Update lists of configurations in libc and ports
26703 and sort alphabetically. Say "or newer" with Linux kernel version
26704 requirements.
26705
28aeeda4
JM
26706 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26707
a462cb63
RA
267082012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26709
26710 [BZ #887]
26711 * math/libm-test.inc (logb_test_downward): New test to expose
26712 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26713 rounding mode.
26714
6ad3493e
JM
267152012-04-27 Joseph Myers <joseph@codesourcery.com>
26716
26717 [BZ #14027]
26718 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26719 to be done.
26720 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26721 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26722
2ce4f015
JM
267232012-04-26 Joseph Myers <joseph@codesourcery.com>
26724
5aeb141a
JM
26725 * sysdeps/unix/i386/brk.S: Remove file.
26726 * sysdeps/unix/i386/dl-brk.S: Likewise.
26727 * sysdeps/unix/i386/pipe.S: Likewise.
26728 * sysdeps/unix/i386/sigreturn.S: Likewise.
26729 * sysdeps/unix/i386/syscall.S: Likewise.
26730 * sysdeps/unix/i386/vfork.S: Likewise.
26731 * sysdeps/unix/i386/wait.S: Likewise.
26732
7143acae
JM
26733 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26734 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26735
2ce4f015
JM
26736 * configure.in (arm*-none*): Do not allow without
26737 --enable-hacker-mode.
26738 (netbsd*): Remove case setting base_os.
26739 (386bsd*): Likewise.
26740 (freebsd*): Likewise.
26741 (bsdi*): Likewise.
26742 (osf*): Likewise.
26743 (sunos*): Likewise.
26744 (ultrix*): Likewise.
26745 (newsos*): Likewise.
26746 (dynix*): Likewise.
26747 (*bsd*): Likewise.
26748 (sysv*): Likewise.
26749 (isc*): Likewise.
26750 (esix*): Likewise.
26751 (sco*): Likewise.
26752 (minix*): Likewise.
26753 (irix4*): Likewise.
26754 (irix6*): Likewise.
26755 (solaris[2-9]*): Likewise.
26756 (none): Likewise.
26757 * configure: Regenerated.
26758
0ac229c8
AZ
267592012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26760
26761 [BZ #11521]
26762 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26763 overflow or cancellation in calculating denominator.
26764 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26765 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26766 down expression to avoid unexpected rounding in newer GCCs.
26767 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26768
33f244f4
DM
267692012-04-26 David S. Miller <davem@davemloft.net>
26770
26771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26772 long-double compat symbols.
26773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26786
cfa1f3e8
DM
267872012-04-25 David S. Miller <davem@davemloft.net>
26788
26789 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26790 HWCAP_* values only after the memory barriers have been defined.
26791 (atomic_full_barrier): Define.
26792 (atomic_read_barrier): Define.
26793 (atomic_write_barrier): Define.
26794
6e236b92
SP
267952012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26796
26797 * shlib-versions: Add libgcc_s version information.
26798 * sysdeps/generic/libgcc_s.h: Remove.
26799 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26800 libgcc_s.h.
26801 * sysdeps/gnu/unwind-resume.c: Likewise.
26802 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26803
aab39a09
DM
268042012-04-25 David S. Miller <davem@davemloft.net>
26805
26806 * sysdeps/unix/sparc/brk.S: Delete.
26807 * sysdeps/unix/sparc/dl-brk.S: Delete.
26808 * sysdeps/unix/sparc/pipe.S: Delete.
26809 * sysdeps/unix/sparc/sysdep.S: Delete.
26810 * sysdeps/unix/sparc/sysdep.h: Delete.
26811 * sysdeps/unix/sparc/vfork.S: Delete.
26812 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26813 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26814 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26815 ret_ERRVAL, r0, r1, MOVE): Define.
26816 (JUMPTARGET): Remove.
26817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26818 sysdeps/unix/sparc/sysdep.h
26819 (ENTRY, END): Remove.
26820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26821
a3cc4f48
JM
268222012-04-25 Joseph Myers <joseph@codesourcery.com>
26823
2ed8cda2
JM
26824 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26825 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26826 -DIS_IN_build.
26827
35d76d59
JM
26828 * timezone/README: Update upstream location and email address for
26829 tzcode and tzdata.
26830 * timezone/zdump.c: Update from tzcode 2012b.
26831 * timezone/zic.c: Likewise.
26832
a3cc4f48
JM
26833 * configure.in (libc_cv_as_needed): Remove test.
26834 * configure: Regenerated.
26835 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26836 conditional definition.
26837 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26838 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26839 * config.make.in (have-as-needed): Remove variable.
26840
ceab42c3
SP
268412012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26842 Paul Pluzhnikov <ppluzhnikov@google.com>
26843
26844 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26845 strings correctly.
26846
3ce2865f
CLT
268472012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26848
26849 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26850 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26851 * sysdeps/sh/strlen.S: Likewise.
26852
f37e0d68
JM
268532012-04-24 Joseph Myers <joseph@codesourcery.com>
26854
ae186e9a
JM
26855 * sysdeps/unix/fork.S: Remove file.
26856 * sysdeps/unix/i386/fork.S: Likewise.
26857 * sysdeps/unix/sparc/fork.S: Likewise.
26858
b96914af
JM
26859 * sysdeps/unix/system.c: Remove file.
26860 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26861
f37e0d68
JM
26862 * sysdeps/unix/getegid.S: Remove file.
26863 * sysdeps/unix/geteuid.S: Likewise.
26864
87ef29ca
RM
268652012-04-24 Roland McGrath <roland@hack.frob.com>
26866
83bcd236
RM
26867 * scripts/check-localplt.awk: New file.
26868 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26869 of diff.
26870 * scripts/data/localplt-generic.data: Add a comment.
26871
87ef29ca
RM
26872 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26873 NODE when __dir_mkfile failed.
26874 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26875 Reported by Ludovic Courtès <ludo@gnu.org>.
26876
e5a6e567
AJ
268772012-04-24 Andreas Jaeger <aj@suse.de>
26878
26879 * Makerules (common-clean): Also remove gen-as-const-headers
26880 files.
26881
c1820385
JM
268822012-04-24 Joseph Myers <joseph@codesourcery.com>
26883
26884 * Makerules (native-compile): Do not change working directory for
26885 build. Use $(OUTPUT_OPTION) in command.
26886 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26887
94e02fc4
AZ
268882012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26889
26890 [BZ #13886]
26891 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26892 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26893 * math/libm-test.inc (floor_test): Add more tests.
26894 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26895
3a533ca3
JM
268962012-04-24 Joseph Myers <joseph@codesourcery.com>
26897
940ab4b3
JM
26898 * sysdeps/unix/getdents.c: Remove file.
26899 * sysdeps/unix/sysv/getdents.c: Likewise.
26900 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26901
90e037bd
JM
26902 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26903 sysdeps/unix/mman/syscalls.list.
26904 (mmap): Likewise.
26905 (mprotect): Likewise.
26906 (msync): Likewise.
26907 (munmap): Likewise.
26908 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26909 * sysdeps/unix/mman/syscalls.list: Remove.
26910 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26911
3a533ca3
JM
26912 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26913 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26914 * configure: Regenerated.
26915 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26916 $(libgcc_s_suffix).
26917 * config.make.in (libgcc_s_suffix): Remove variable.
26918
1ad743de
JM
269192012-04-23 Joseph Myers <joseph@codesourcery.com>
26920
4ad451e2
JM
26921 * sysdeps/unix/sysv/gethostname.c: Move to ...
26922 * sysdeps/posix/gethostname.c: ... here.
26923
5e37ce39
JM
26924 * sysdeps/unix/execve.S: Remove file.
26925
1ad743de
JM
26926 * sysdeps/unix/_exit.S: Remove file.
26927
4e681b5b
AJ
269282012-04-23 Andreas Jaeger <aj@suse.de>
26929
26930 [BZ #13739]
26931 * manual/Makefile: Remove make dist support, there's no
26932 need for a stand-alone documentation tar ball.
26933 (TEXI2DVI): Define always, it's not in Makeconfig.
26934 (dist): Removed.
26935 (tar-it): Removed.
26936 (edition): Removed.
26937 (glibc-doc-$(edition).tar): Removed
26938 (%.Z): Removed.
26939 (%.gz): Removed.
26940 (%.uu): Removed.
26941 (ETAGS): Remove, it's in Makeconfig.
26942 (move-if-change): Remove, it's in Makeconfig.
26943
38686a03 269442012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26945
26946 [BZ #13970]
26947 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26948 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26949 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26950 (strtod_l, strtof_l, strtold_l): Remove __wur.
26951 It is not necessarily an error to ignore strtol's return value.
26952 One can reliably look at the stored endptr to decide whether
26953 the number had valid syntax.
26954
7c0616fa
AJ
269552012-04-21 Andreas Jaeger <aj@suse.de>
26956
803cb6b7 26957 [BZ #13739]
7c0616fa
AJ
26958 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26959
b0fe253f
JM
269602012-04-21 Joseph Myers <joseph@codesourcery.com>
26961
26962 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26963 * sysdeps/unix/sysv/Versions: Remove file.
26964
8280f22d
MT
269652012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26966
26967 [BZ #13927]
26968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26969
75ce411f 269702012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26971
26972 [BZ #7064]
26973 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26974 version from __vm86.
26975
097d59fa
JM
269762012-04-20 Joseph Myers <joseph@codesourcery.com>
26977
a90f3bcb
JM
26978 * sysdeps/unix/common/lxstat.c: Remove file.
26979 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26980
edc7ea78
JM
26981 * sysdeps/unix/sysv/Makefile: Remove file.
26982
cb78c221
JM
26983 * sysdeps/unix/sysv/direct.h: Remove file.
26984
efa6a45f
JM
26985 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26986 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26987 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26988 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26989 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26990 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26991 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26992
9c9f2d0c
JM
26993 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26994
4541c83b
JM
26995 * sysdeps/unix/xmknod.c: Remove file.
26996 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26997
f5d153a0
JM
26998 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26999
aa746595
JM
27000 * sysdeps/unix/sysv/i386/time.S: Remove file.
27001
cce5905e
JM
27002 * sysdeps/unix/fxstat.c: Remove file.
27003 * sysdeps/unix/xstat.c: Likewise.
27004 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27005
37fa3841
JM
27006 * sysdeps/unix/sysv/sigaction.c: Remove file.
27007
ff1962a3
JM
27008 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27009 (sysdep_headers): Remove variable.
27010 [termio.h not in sysdep_headers] (generated): Likewise.
27011 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27012 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27013 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27014 * sysdeps/unix/sysv/tcflow.c: Likewise.
27015 * sysdeps/unix/sysv/tcflush.c: Likewise.
27016 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27017 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27018 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27019 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27020 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27021
e7740d31
JM
27022 * sysdeps/unix/siglist.c: Remove file.
27023
ee06f18b
JM
27024 * sysdeps/unix/getppid.S: Remove file.
27025
097d59fa
JM
27026 * sysdeps/unix/mkdir.c: Remove file.
27027 * sysdeps/unix/rmdir.c: Likewise.
27028
ff3d51ec
AS
270292012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27030
27031 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27032 ERR_MAX value.
27033 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27034 errlist-compat value.
27035
50f81fd7
DM
270362012-04-18 David S. Miller <davem@davemloft.net>
27037
27038 * sysdeps/generic/memcopy.h (reg_char): Delete.
27039 * debug/strcat_chk.c: Use char, not reg_char.
27040 * debug/strcpy_chk.c: Likewise.
27041 * debug/strncat_chk.c: Likewise.
27042 * debug/strncpy_chk.c: Likewise.
27043 * string/memchr.c: Likewise.
27044 * string/memrchr.c: Likewise.
27045 * string/rawmemchr.c: Likewise.
27046 * string/strcat.c: Likewise.
27047 * string/strchr.c: Likewise.
27048 * string/strchrnul.c: Likewise.
27049 * string/strcmp.c: Likewise.
27050 * string/strcpy.c: Likewise.
27051 * string/strncat.c: Likewise.
27052 * string/strncmp.c: Likewise.
27053 * string/strncpy.c: Likewise.
27054
8ff41c46
WS
270552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27056
27057 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27058 __builtin_memcopy is called when src and dest ranges are known to not
27059 overlap.
27060
6b652f46
WS
270612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27062
27063 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27064 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27065 fwd_align_merge macro call.
27066 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27067 bwd_align_merge macro call.
27068 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27069
b282631e
WS
270702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27071
27072 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27073 bwd_align_merge macros.
27074 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27075 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27076 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27077
95aa737c
DM
270782012-04-18 David S. Miller <davem@davemloft.net>
27079
27080 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27081
7a99a614
AJ
270822012-04-18 Andreas Jaeger <aj@suse.de>
27083
27084 [BZ# 6794]
27085 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27086 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27087 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27088
27089 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27090 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27091 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27092
27093 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27094 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27095 Adjust for changed ldbl-128 files.
27096
27097 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27098 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27099 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27100
e5270c23
DM
271012012-04-17 David S. Miller <davem@davemloft.net>
27102
27103 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27104
fb5e92c9
AS
271052012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27106
27107 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27108 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27109 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27110 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27111 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27112 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27113
76da7265
AZ
271142012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27115
27116 [BZ #6794]
27117 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27118 * math/libm-test.inc: Add ilogb errno and exception tests.
27119 * math/w_ilogb.c: New file: ilogb wrapper.
27120 * math/w_ilogbf.c: New file: ilogbf wrapper.
27121 * math/w_ilogbl.c: New file: ilogbl wrapper.
27122 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27123 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27124 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27125 exception being thrown with 0.0 as argument.
27126 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27127 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27128 exception being thrown with 0.0 as argument.
27129 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27130 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27131 exception being thrown with 0.0 as argument.
27132 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27133 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27134 exception being thrown with 0.0 as argument.
27135 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27136 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 27137 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
27138 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27139 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27140 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27141 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27142 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27143 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27144
0396e69d
PB
271452012-04-17 Petr Baudis <pasky@ucw.cz>
27146
27147 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27148 with altivec.
27149
750b5926
MP
271502012-04-16 Marek Polacek <polacek@redhat.com>
27151
27152 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27153
751728a1
MP
271542012-04-16 Marek Polacek <polacek@redhat.com>
27155
27156 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27157 operands of fdivp instruction.
27158
34a27407
L
271592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27160
27161 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27162 * elf/tst-auditmod3b.c: Likewise.
27163 * elf/tst-auditmod4b.c: Likewise.
27164 * elf/tst-auditmod5b.c: Likewise.
27165 * elf/tst-auditmod6b.c: Likewise.
27166 * elf/tst-auditmod6c.c: Likewise.
27167 * elf/tst-auditmod7b.c: Likewise.
27168 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27169 * sysdeps/x86_64/preconfigure.in: Likewise.
27170 * sysdeps/x86_64/preconfigure: Regenerated.
27171
7e73e17d
L
271722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27173
27174 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27175 __ILP32__.
27176
c7a6ab72
AB
271772012-04-13 Antoine Balestrat <merkil33@gmail.com>
27178
27179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27180 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27181
a9e8e0e0
CL
271822012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27183
27184 [BZ #13973]
27185 * locale/iso-639.def: Fix gl language name. Spotted by
27186 Yaron Shahrabani.
27187
ec98af7d
RM
271882012-04-12 Roland McGrath <roland@hack.frob.com>
27189
27190 [BZ #2074]
27191 * libio/libio.h (__io_write_fn): Update comment.
27192
247c3ede
PB
271932012-04-12 Petr Baudis <pasky@ucw.cz>
27194
27195 [BZ #2074]
27196 * stdio.texi (Hook Functions): The user provided writer function
27197 is not allowed to return -1.
27198
55939d6d
DM
271992012-04-11 David S. Miller <davem@davemloft.net>
27200
27201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27202
90020f5a
MF
272032012-04-11 Mike Frysinger <vapier@gentoo.org>
27204
27205 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27206 Add a leading slash to rtkaio.
27207
288f9098
JM
272082012-04-11 Jim Meyering <meyering@redhat.com>
27209
90020f5a
MF
27210 [BZ #11959]
27211 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27212 It is not necessarily an error to ignore fwrite's return
27213 value. One can reliably use ferror to test for errors after
27214 the fact.
288f9098 27215
4be2b570
L
272162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27217
27218 * bits/types.h (__snseconds_t): New type.
27219 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27220
27221 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27222 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27223 (__SNSECONDS_T_TYPE): Likewise.
27224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27225 (__SNSECONDS_T_TYPE): Likewise.
27226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27227 (__SNSECONDS_T_TYPE): Likewise.
27228
288f9098 272292012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27230
27231 [BZ #2636]
27232 * manual/time.texi (Processor Time): Return type of times is
27233 elapsed real time since an arbitrary point in the past.
27234 (CPU Time): Move CLK_TCK from here...
27235 (Processor Time): ...to here. Correct description.
27236 * manual/conf.texi (Constants for Sysconf): Correct description of
27237 _SC_CLK_TCK.
27238
d7dd4413
DM
272392012-04-10 David S. Miller <davem@davemloft.net>
27240
27241 [BZ #13967]
27242 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27243 where the is a gap between DT_REL(A) and DT_JMPREL.
27244
b46068fc
L
272452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27246
27247 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27248 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27249 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27250
73d65cc3
SP
272512012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27252
27253 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27254 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27255 (dl_main): Handle --inhibit-cache.
27256 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27257 _dl_inhibit_cache.
27258 * elf/dl-load.c (_dl_map_object): Use it.
27259 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27260
bcc8d661
JM
272612012-04-09 Joseph Myers <joseph@codesourcery.com>
27262
8f9a2fae
JM
27263 [BZ #13872]
27264 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27265 (__ieee754_powl): Saturate large exponents rather than testing for
27266 overflow of y*log2(x).
27267 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27268 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27269 exceptions.
27270
bcc8d661
JM
27271 [BZ #11521]
27272 * math/s_ctan.c: Include <float.h>.
27273 (__ctan): Avoid internal overflow or cancellation in calculating
27274 denominator.
27275 * math/s_ctanf.c: Likewise.
27276 * math/s_ctanl.c: Likewise.
27277 * math/s_ctanh.c: Likewise.
27278 * math/s_ctanhf.c: Likewise.
27279 * math/s_ctanhl.c: Likewise.
27280 * math/libm-test.inc (ctan_test): Add more tests.
27281 (ctanh_test): Likewise.
27282 * sysdeps/i386/fpu/libm-test-ulps: Update.
27283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27284
823fbbb4
AJ
272852012-04-09 Andreas Jaeger <aj@suse.de>
27286
03879793
AJ
27287 [BZ #6894]
27288 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27289 is an optional BSD extension.
27290
823fbbb4
AJ
27291 [BZ #10254]
27292 * manual/stdio.texi (Opening Streams): Document additional fopen
27293 parameters.
27294
8de131cb
RM
272952012-04-09 Roland McGrath <roland@hack.frob.com>
27296
27297 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27298 %eax without telling the compiler.
27299
c0ed9d7d
CD
273002012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27301
27302 [BZ # 13963]
27303 * manual/install.texi: Use sourceware.org.
27304
c483f6b4
JM
273052012-04-09 Joseph Myers <joseph@codesourcery.com>
27306
d7dd9453
JM
27307 [BZ #13873]
27308 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27309 (__ieee754_pow): Generate overflow and underflow using huge*huge
27310 and tiny*tiny rather than just returning constant infinity or zero
27311 for large exponents.
27312 * math/libm-test.inc (pow_test): Require overflow exceptions for
27313 applicable cases of large exponents.
27314
c483f6b4
JM
27315 [BZ #706]
27316 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27317 (__ieee754_pow): Use iterative multiplication algorithm only for
27318 integer exponents with absolute value below 1024. Check for odd
27319 integer exponents when using algorithm for real exponents.
27320 * math/libm-test.inc (pow_test): Add more tests.
27321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27322
d2de7579
JM
273232012-04-08 Joseph Myers <joseph@codesourcery.com>
27324
27325 [BZ #13705]
27326 * math/libm-test.inc (exp_test): Do not allow overflow exception
27327 on underflow test.
27328
f77f1232
AJ
273292012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27330
27331 [BZ #13705]
27332 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27333 instead of __kernel_standard_f.
27334
3884932b
MF
273352012-04-08 Mike Frysinger <vapier@gentoo.org>
27336
27337 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27338 * sysdeps/x86_64/memset_chk.S: Likewise.
27339
54472e9c
AJ
273402012-04-08 Andreas Jaeger <aj@suse.de>
27341
6ab0fbfc
AJ
27342 [BZ #10153]
27343 * manual/startup.texi (Environment Access): Describe return value
27344 for putenv and setenv.
27345
61efba8c
AJ
27346 [BZ #6895]
27347 * manual/filesys.texi (Directory Entries): Add description for
27348 DT_LNK.
27349
95c3f29a
AJ
27350 [BZ #6890]
27351 * manual/filesys.texi (Directory Entries): Clarify that it's file
27352 system not operating system in the description of DT_UNKNOWN.
27353
54472e9c
AJ
27354 [BZ #6578]
27355 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27356
624254b1
SC
273572012-04-08 Stephen Compall <s11@member.fsf.org>
27358
27359 [BZ #6649]
27360 * manual/llio.texi (Opening and Closing Files): Add cross
27361 reference to explain mode argument.
27362
1e4920e0
MF
273632012-04-07 Mike Frysinger <vapier@gentoo.org>
27364
27365 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27366 * sysdeps/x86_64/memset_chk.S: Likewise.
27367
5ed848f3
DM
273682012-04-07 David S. Miller <davem@davemloft.net>
27369
27370 * elf/elf.h (R_SPARC_WDISP10): Define.
27371 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27372 R_SPARC_SIZE32.
27373 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27374 R_SPARC_SIZE64 and R_SPARC_H34.
27375
96154cd8
CD
273762012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27377
27378 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27379 conditions and remove no longer applicable assertion.
27380
9904dc47
L
273812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27382
27383 * bits/byteswap.h: Include <features.h>.
27384 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27385 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27386
f8887d0a
L
273872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27388
27389 * bits/byteswap.h (__bswap_16): Removed.
27390 Include <bits/byteswap-16.h> to get __bswap_16.
27391 * sysdeps/i386/bits/byteswap.h: Likewise.
27392 * sysdeps/s390/bits/byteswap.h: Likewise.
27393 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27394 * bits/byteswap-16.h: New file.
27395 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27396 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27397 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27398 * string/Makefile (headers): Add bits/byteswap-16.h.
27399
62470f60
PP
274002012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27401
27402 [BZ #13895]
27403 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27404 extra indirection.
27405 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27406 * nss/tst-nss-static.c: New.
27407
4dad7bab
RM
274082012-04-06 Robert Millan <rmh@gnu.org>
27409
27410 [BZ #6486]
27411 * manual/llio.texi (File Position Primitive): lseek
27412 refers to WHENCE when it really means OFFSET.
27413
e9142a17
AJ
274142012-04-06 Andreas Jaeger <aj@suse.de>
27415
2c040eff
AJ
27416 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27417 strncmp declarations.
27418
e9142a17
AJ
27419 * abilist/libc.abilist: Add __poll and __ppoll.
27420
ff9f1c5f
DM
274212012-04-05 David S. Miller <davem@davemloft.net>
27422
dcd2ae90
DM
27423 * scripts/check-local-headers.sh: Accept a host triplet in the
27424 path matched by the exclude regexp.
27425
993eb054
DM
27426 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27427 definition.
27428 * sysdeps/powerpc/powerpc32/dl-machine.h
27429 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27430 * sysdeps/s390/s390-32/dl-machine.h
27431 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27432 * sysdeps/sparc/sparc32/dl-machine.h
27433 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27434 * sysdeps/sparc/sparc64/dl-machine.h
27435 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27436
ff9f1c5f
DM
27437 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27438 lazy binding.
48e2e132 27439 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27440 undefined symbol errors.
27441
48e2e132 27442 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27443 DT_NEEDED entries.
27444
e80d6f94
MM
274452012-04-05 Michael Matz <matz@suse.de>
27446
27447 [BZ #13592]
27448 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27449
349fa79f
AJ
274502012-04-05 Andreas Jaeger <aj@suse.de>
27451
27452 [BZ #13908]
27453 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27454 comment.
27455
f402708f
KK
274562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27457
27458 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27459 which ROUND is no valid rounding mode.
27460
2ecccfc9
KK
274612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27462
27463 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27464 read again.
27465 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27466
8a53f50f
KK
274672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27468
27469 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27470 an exception using FPU order intentionally.
27471
274722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27473
27474 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27475 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27476 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27477 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27478
d653abb7
SJ
274792012-04-05 Simon Josefsson <simon@josefsson.org>
27480
27481 [BZ #12340]
27482 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27483 EINVAL when BUFLEN is too smal.
27484
c3b1bf7d
TS
274852012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27486
27487 [BZ #13553]
27488 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27489 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27490
b1aa60f3
AJ
274912012-04-03 Andreas Jaeger <aj@suse.de>
27492
c3b1bf7d 27493 [BZ #13938]
67f60a26
AJ
27494 * manual/setjmp.texi (System V contexts): Fix sentence.
27495
b1aa60f3
AJ
27496 [BZ #13926]
27497 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27498 New macro for this case.
27499 [!__GNUC__] (__bswap_64): New inline function for this case.
27500 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27501 * bits/byteswap.h: Likewise.
27502 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27503 ull, guard with __GLIBC_HAVE_LONG_LONG.
27504
27505 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27506 __GLIBC_HAVE_LONG_LONG.
27507
27508 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27509 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27510
39c59c35
TMQMF
275112012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27512
27513 [BZ #13691]
27514 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27515 inptr and inend, rather than using last_ch.
27516
135ffda8
DM
275172012-04-02 David S. Miller <davem@davemloft.net>
27518
27519 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27520 * stdio-common/printf-parse.h (read_int): Change return type to
27521 'int', return -1 on INT_MAX overflow.
27522 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27523 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27524 overflows INT_MAX. Check for overflow of in-format-string precision
27525 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27526 SIZE_MAX not INT_MAX for integer overflow test.
27527 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27528 skip the construct in the format string but do not record anything.
27529 * stdio-common/bug22.c: Adjust to test both width/prevision
27530 INT_MAX overflow as well as total length INT_MAX overflow. Check
27531 explicitly for proper errno values.
27532
228c019e
TS
275332012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27534
302cadd3
TS
27535 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27536 CHAR_MAX.
27537 * string/test-strcmp.c [! WIDE]: Likewise.
27538 * time/tst-mktime2.c: Likewise for INT_MAX.
27539 * string/test-string.h: #include <sys/param.h> for MIN.
27540
228c019e
TS
27541 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27542 * sysdeps/i386/init-first.c (init): Likewise.
27543 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27544 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27545 * sysdeps/sh/init-first.c (init): Likewise.
27546
cfa633f5
UD
275472012-04-01 Ulrich Drepper <drepper@gmail.com>
27548
27549 * po/ru.po: Update from translation team.
d1635ef8 27550 * po/vi.po: Likewise.
cfa633f5 27551
6cd0a5ea
SP
275522012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27553
27554 * resolv/nss_dns/dns-host.c: Merge copyright years.
27555
4b43400f
LD
275562012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27557
27558 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27559 Optimize memcpy with prefetch if
27560 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27561 src, dst pointers have unequal 16 byte alignments.
27562
48c41d04
SP
275632012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27564
27565 [BZ #13928]
27566 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27567 from a CNAME entry and return the minimum ttl for the query.
27568 (gaih_getanswer_slice): Likewise.
27569
b8dc394d
JL
275702012-03-30 Jeff Law <law@redhat.com>
27571
27572 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27573 due to long keys.
27574 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27575 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27576
2f5a5ed0
JL
27577 * resolv/nss_dns/dns-host.c: Update copyright year.
27578
1d39e359
UD
275792012-03-30 Ulrich Drepper <drepper@gmail.com>
27580
c030f70c 27581 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27582 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27583
1d39e359
UD
27584 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27585 comments for sendmmsg.
27586
275872012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27588
27589 [BZ #13691]
27590 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27591 with only 1 character between 0x0041 and 0x01b0.
27592 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27593 * wcsmbs/tst-mbsnrtowcs.c: New file.
27594
20fde227
DM
275952012-03-29 David S. Miller <davem@davemloft.net>
27596
27597 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27598 small copies by hand.
27599
984a4237
JL
276002012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27601
27602 [BZ #13761]
27603 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27604 _nss_compat_initgroups_dyn): Fall back to malloc/free
27605 for large group memberships.
27606
18c9d62b
DM
276072012-03-28 David S. Miller <davem@davemloft.net>
27608
88d85d4f
DM
27609 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27610 that branches into memcpy.
27611 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27613 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27614 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27616 bits.
27617 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27618 implementation too.
27619 * sysdeps/sparc/mempcpy.S: New file.
27620
e5aa83e1
DM
27621 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27622 the IFUNC routine in the libc case.
27623 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27624
88570753
DM
27625 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27626 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27627 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27628 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27629 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27630 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27631 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27632 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27633
249d7567
DM
27634 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27635 loop to 256 bytes instead of 64 bytes and fix test signedness.
27636
18c9d62b
DM
27637 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27638 * sysdeps/sparc/sparc32/Makefile: rather than here...
27639 * sysdeps/sparc/sparc64/Makefile: and here.
27640
05f3d1f6
UD
276412012-03-28 Ulrich Drepper <drepper@gmail.com>
27642
27643 * malloc/mallocbug.c: Avoid warnings about unused variables.
27644
86ae07a8
JL
276452012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27646
27647 [BZ #13760]
27648 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27649 in the right place. Discard and retry query if response is
27650 larger than input buffer size.
27651
41bf21a1
JM
276522012-03-28 Joseph Myers <joseph@codesourcery.com>
27653
d6270972
JM
27654 [BZ #369]
27655 [BZ #2678]
27656 [BZ #3866]
27657 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27658 x for large integer exponent.
27659 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27660 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27661 sign of result as needed afterwards.
27662 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27663 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27664 result for underflowing pow the same as for overflow.
27665 (__kernel_standard_l): Handle powl overflow and underflow here
27666 rather than calling __kernel_standard.
27667 * math/libm-test.inc (pow_test): Add more tests.
27668
414fca03 27669 [BZ #3868]
41bf21a1
JM
27670 [BZ #13879]
27671 [BZ #13910]
27672 [BZ #13911]
27673 [BZ #13912]
27674 [BZ #13913]
27675 [BZ #13915]
27676 [BZ #13916]
27677 [BZ #13917]
27678 [BZ #13918]
27679 [BZ #13919]
27680 [BZ #13920]
27681 [BZ #13921]
27682 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27683 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27684 (__kernel_standard_l): New function.
27685 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27686 __kernel_standard.
27687 * math/w_acosl.c (__acosl): Likewise.
27688 * math/w_asinl.c (__asinl): Likewise.
27689 * math/w_atan2l.c (__atan2l): Likewise.
27690 * math/w_atanhl.c (__atanhl): Likewise.
27691 * math/w_coshl.c (__coshl): Likewise.
27692 * math/w_exp10l.c (__exp10l): Likewise.
27693 * math/w_exp2l.c (__exp2l): Likewise.
27694 * math/w_fmodl.c (__fmodl): Likewise.
27695 * math/w_hypotl.c (__hypotl): Likewise.
27696 * math/w_j0l.c (__j0l, __y0l): Likewise.
27697 * math/w_j1l.c (__j1l, __y1l): Likewise.
27698 * math/w_jnl.c (__jnl, __ynl): Likewise.
27699 * math/w_lgammal.c (__lgammal): Likewise.
27700 * math/w_log10l.c (__log10l): Likewise.
27701 * math/w_log2l.c (__log2l): Likewise.
27702 * math/w_logl.c (__logl): Likewise.
27703 * math/w_powl.c (__powl): Likewise.
27704 * math/w_remainderl.c (__remainderl): Likewise.
27705 * math/w_scalbl.c (sysv_scalbl): Likewise.
27706 * math/w_sinhl.c (__sinhl): Likewise.
27707 * math/w_sqrtl.c (__sqrtl): Likewise.
27708 * math/w_tgammal.c (__tgammal): Likewise.
27709 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27710 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27711 * math/libm-test.inc (acos_test): Add more tests.
27712 (acosh_test): Likewise.
27713 (asin_test): Likewise.
27714 (atanh_test): Likewise.
27715 (exp_test): Likewise.
27716 (exp10_test): Likewise.
27717 (exp2_test): Likewise.
27718 (expm1_test): Likewise.
27719 (lgamma_test): Likewise.
27720 (log_test): Likewise.
27721 (log10_test): Likewise.
27722 (log1p_test): Likewise.
27723 (log2_test): Likewise.
27724 (pow_test): Do not allow some spurious overflow exceptions.
27725 (sqrt_test): Add more tests.
27726 (tgamma_test): Likewise.
27727 (y0_test): Likewise.
27728 (y1_test): Likewise.
27729 (yn_test): Likewise.
27730
dd62fda6
AB
277312012-03-27 Anton Blanchard <anton@samba.org>
27732
27733 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27734 MAP_HUGETLB.
27735 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27736 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27738
1e3cdfda
AJ
277392012-03-27 David S. Miller <davem@davemloft.net>
27740
b855ab85
DM
27741 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27742
1e3cdfda
AJ
27743 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27744 have-as-vis3 check.
27745
277462012-03-27 Andreas Jaeger <aj@suse.de>
27747
27748 * sysdeps/x86_64/elf/configure.in: Moved to ...
27749 * sysdeps/x86_64/configure.in: ... here.
27750 * sysdeps/x86_64/elf/start.S: Moved to ...
27751 * sysdeps/x86_64/start.S: ... here.
27752 * sysdeps/x86_64/elf/configure: Delete.
27753
27754 * sysdeps/x86_64/configure.in: Merge contents from
27755 sysdeps/i386/configure.in (without i686 check).
27756
27757 * sysdeps/i386/elf/Versions: Merge into ...
27758 * sysdeps/i386/Versions: ... this.
27759 * sysdeps/i386/elf/Versions: Delete file.
27760 * sysdeps/i386/elf/start.S: Moved to ...
27761 * sysdeps/i386/start.S: ...here.
27762 * sysdeps/i386/elf/configure.in: Merge into...
27763 * sysdeps/i386/configure.in: ...here.
27764 * sysdeps/i386/elf/configure.in: Delete file.
27765 * sysdeps/i386/elf/configure: Delete file.
27766
27767 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27768 * debug/backtracesyms.c: ... here.
27769 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27770 * debug/backtracesymsfd.c: ... here.
27771 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27772 * sysdeps/generic/ifunc-sel.h: ... here.
27773
27774 * sysdeps/unix/i386/start.c: Delete file.
27775 * sysdeps/unix/sparc/start.c: Delete file.
27776 * sysdeps/unix/start.c: Delete file.
27777
27778 * sysdeps/sh/elf/configure.in: Moved to ...
27779 * sysdeps/sh/configure.in: ... here.
27780 * sysdeps/sh/elf/start.S: Moved to ...
27781 * sysdeps/sh/start.S: ... here.
27782 * sysdeps/sh/elf/configure: Delete file.
27783
27784 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27785 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27786 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27787 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27788 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27789 * sysdeps/powerpc/powerpc64/start.S: here.
27790 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27791 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27792 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27793 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27794 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27795
27796 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27797 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27798 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27799 * sysdeps/powerpc/powerpc32/start.S: ... here.
27800 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27801 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27802 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27803
27804 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27805 * sysdeps/powerpc/ifunc-sel.h: ... here.
27806 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27807 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27808
27809 * sysdeps/sparc/elf/configure.in: Moved to ...
27810 * sysdeps/sparc/configure.in: ... here.
27811 * sysdeps/sparc/elf/configure: Delete file.
27812 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27813 * sysdeps/sparc/sparc32/start.S: ... here.
27814 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27815 * sysdeps/sparc/sparc64/start.S: ... here.
27816 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27817 * sysdeps/sparc/sparc32/Makefile: ... this.
27818 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27819 * sysdeps/sparc/sparc64/Makefile: ... this.
27820
27821 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27822 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27823 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27824 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27825 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27826 * sysdeps/s390/s390-32/setjmp.S: ... here.
27827 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27828 * sysdeps/s390/s390-32/configure.in: ... here.
27829 * sysdeps/s390/s390-32/elf/configure: Delete file.
27830 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27831 * sysdeps/s390/s390-32/start.S: ... here.
27832
27833 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27834 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27835 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27836 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27837 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27838 * sysdeps/s390/s390-64/setjmp.S: ... here.
27839 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27840 * sysdeps/s390/s390-64/configure.in: ... here
27841 * sysdeps/s390/s390-64/elf/configure: Delete file.
27842 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27843 * sysdeps/s390/s390-64/start.S: ... here.
27844 * sysdeps/s390/s390-64/elf/configure: Delete.
27845
27846 * configure.in: Remove support for elf directories in sysdeps.
27847
27848 * configure: Regenerated.
27849 * sysdeps/i386/configure: Regenerated.
27850 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27851 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27852 * sysdeps/s390/s390-32/configure: Regenerated.
27853 * sysdeps/s390/s390-64/configure: Regenerated.
27854 * sysdeps/sh/configure: Regenerated.
27855 * sysdeps/sparc/configure: Regenerated.
27856 * sysdeps/x86_64/configure: Regenerated.
27857
a3f61311
AS
278582012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27859
c876e002
AS
27860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27861
a3f61311
AS
27862 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27863 denormal result into account.
27864
ac4c54f0
RM
278652012-03-25 Roland McGrath <roland@hack.frob.com>
27866
27867 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27868 Reported by Allan McRae <allan@archlinux.org>.
27869
6a9b9c02
JL
278702012-03-23 Jeff Law <law@redhat.com>
27871
27872 * nss/getnssent.c (__nss_getent): Fix typo.
27873
4c42a0c1
DM
278742012-03-23 David S. Miller <davem@davemloft.net>
27875
27876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27877
1532c7ac
L
278782012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27879
27880 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27881 to pad to uint64_t for each field.
27882 (dl_tls_index): Replace unsigned long with uint64_t.
27883
3ff42526
PP
278842012-03-23 Daniel Jacobowitz <dmj@google.com>
27885 Paul Pluzhnikov <ppluzhnikov@google.com>
27886
27887 [BZ #6528]
27888 * grp/Makefile (otherlibs): Don't set it.
27889 * inet/Makefile (otherlibs): Likewise.
27890 * login/Makefile (otherlibs): Likewise.
27891 * nscd/Makefile (otherlibs): Likewise.
27892 * posix/Makefile (otherlibs): Likewise.
27893 * pwd/Makefile (otherlibs): Likewise.
27894 * rt/Makefile (otherlibs): Likewise.
27895 * sunrpc/Makefile (otherlibs): Likewise.
27896 * nss/Makefile (otherlibs): Likewise.
27897 Add libnss_files to routines and static-only-routines.
27898 ($(objpfx)getent): Remove rule.
27899 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27900 static-only-routines.
27901
7c69cd14
JM
279022012-03-22 Joseph Myers <joseph@codesourcery.com>
27903
27904 [BZ #13892]
27905 * math/s_cexp.c: Include <float.h>.
27906 (__cexp): Handle exp result overflowing not necessarily
27907 overflowing both real and imaginary parts of result.
27908 * math/s_cexpf.c: Likewise.
27909 * math/s_cexpl.c: Likewise.
27910 * math/libm-test.inc (cexp_test): Add more tests.
27911 * sysdeps/i386/fpu/libm-test-ulps: Update.
27912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27913
81b035fe
L
279142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27915
27916 * include/link.h (ELFW): New macro.
27917 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27918 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27919
1da7940c
L
279202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27921
27922 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27923 with uint64_t.
27924
b749dbb9
L
279252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27926
27927 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27928 declaration.
27929 (struct La_x32_retval): Likewise.
27930
2ff87f3f
L
279312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27932
27933 * sysdeps/x86_64/preconfigure.in: New file.
27934 * sysdeps/x86_64/preconfigure: New generated file.
27935
c0df8e69
JM
279362012-03-22 Joseph Myers <joseph@codesourcery.com>
27937
48e44791
JM
27938 [BZ #13824]
27939 * math/e_exp2l.c: Include <float.h>.
27940 (__ieee754_exp2l): Handle overflow and underflow cases
27941 separately. Only pass fractional part of argument to
27942 __ieee754_expl.
27943 * math/libm-test.inc (exp2_test): Add more tests.
27944
c0df8e69
JM
27945 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27946 negating x to take absolute value.
27947 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27948 Likewise.
27949 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27950 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27951 Likewise.
27952 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27953 computing low part if x was negated.
27954 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27955
c8e43ba7
L
279562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27957
27958 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27959 la_x32_gnu_pltexit.
27960 (pltexit): Cast int_retval to ptrdiff_t.
27961 * elf/tst-auditmod3b.c: Likewise.
27962 * elf/tst-auditmod4b.c: Likewise.
27963 * elf/tst-auditmod5b.c: Likewise.
27964 * elf/tst-auditmod6b.c: Likewise.
27965 * elf/tst-auditmod6c.c: Likewise.
27966 * elf/tst-auditmod7b.c: Likewise.
27967
27968 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27969 and x32_gnu_pltexit.
27970
27971 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27972 __ELF_NATIVE_CLASS.
27973 (La_x32_regs): New macro.
27974 (La_x32_retval): Likewise.
27975 (la_x32_gnu_pltenter): New function prototype.
27976 (la_x32_gnu_pltexit): Likewise.
27977
7998fa78
AS
279782012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27979
dcb33988
AS
27980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27981 exponent.
27982
233fc563
AS
27983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27984
7998fa78
AS
27985 * configure.in (libc_cv_cc_nofma): Check for option to disable
27986 generation of FMA instructions.
27987 * configure: Regenerate.
27988 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27989 * sysdeps/ieee754/dbl-64/Makefile: New file.
27990 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27991 Remove brandred-fma4.
27992 (CFLAGS-brandred-fma4.c): Remove.
27993 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27994 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27995 define.
27996 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27997 define.
27998
8e95c99a
L
279992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28000
28001 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28002 LLONG_MAX != LONG_MAX.
28003 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28004 (_fitoa_word): Likewise.
28005 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28006 LLONG_MAX != LONG_MAX.
28007 * stdio-common/_itowa.h: Include <_itoa.h>.
28008 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28009 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28010 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28011 only if not defined.
28012 (_ITOA_WORD_TYPE): Likewise.
28013 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28014 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28015
6f4db457
DM
280162012-03-21 David S. Miller <davem@davemloft.net>
28017
28018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28019
7785fe5a
L
280202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28021
28022 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28023 of x86_64 when setting libc_cv_slibdir, libdir and
28024 libc_cv_localedir.
28025 * sysdeps/unix/sysv/linux/configure: Regenerated.
28026
4535cd55
JM
280272012-03-21 Joseph Myers <joseph@codesourcery.com>
28028
28029 * manual/lang.texi (Old Varargs): Remove section.
28030 (How Variadic): Update menu.
28031 (va_start): Do not mention varargs.h.
28032
17228132
TS
280332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28034 Joseph Myers <joseph@codesourcery.com>
28035
28036 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28037 link test.
28038 * configure: Regenerated.
28039
8149f976
TS
280402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28041
05f3d1f6
UD
28042 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28043 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28044 conformtest.pl
8149f976 28045
1a4ac776
JM
280462012-03-21 Joseph Myers <joseph@codesourcery.com>
28047
be22ce65
JM
28048 * NOTES: Remove.
28049 * Makefile (files-for-dist): Remove NOTES.
28050 (NOTES): Remove rule.
28051 * README: Don't refer to NOTES.
28052 * manual/creature.texi: Don't include macros.texi.
28053 * manual/intro.texi (creature.texi): Remove comment referring to
28054 NOTES.
28055
40b601fb
JM
28056 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28057 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28058 * configure: Regenerated.
28059 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28060 LIBC_TRY_CC_OPTION.
28061 (libc_cv_as_i686): Likewise.
28062 (libc_cv_cc_avx): Likewise.
28063 (libc_cv_cc_sse2avx): Likewise.
28064 (libc_cv_cc_fma4): Likewise.
28065 (libc_cv_cc_novzeroupper): Likewise.
28066 * sysdeps/i386/configure: Regenerated.
28067
1a4ac776
JM
28068 [BZ #13883]
28069 * sysdeps/i386/fpu/s_cexp.S: Remove.
28070 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28071 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28072 * math/libm-test.inc (cexp_test): Add more tests.
28073 * sysdeps/i386/fpu/libm-test-ulps: Update.
28074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28075
a458e7fe
AM
280762012-03-21 Allan McRae <allan@archlinux.org>
28077
28078 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28079
0cb7efc5
JM
280802012-03-21 Joseph Myers <joseph@codesourcery.com>
28081
28082 [BZ #13871]
28083 * math/w_exp2.c: Do not include <float.h>.
28084 (o_threshold, u_threshold): Remove.
28085 (__exp2): Calculate result before checking finiteness and calling
28086 __kernel_standard.
28087 * math/w_exp2f.c: Likewise.
28088 * math/w_exp2l.c: Likewise.
28089 * math/libm-test.inc (exp2_test): Require overflow exception for
28090 1e6 input.
2460d3aa
JM
28091
28092 [BZ #3866]
28093 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28094 range of signed 64-bit integers before using fistpll. Remove
28095 checks for whether integers fit in mantissa bits.
28096 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28097 the range of signed 32-bit integers before using fistpl. Remove
28098 checks for whether integers fit in mantissa bits.
28099 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28100 (__ieee754_powl): Test for y outside the range of signed 64-bit
28101 integers before using fistpll. Reduce 64-bit values to 63-bit
28102 ones as needed.
28103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28104 divide-by-zero is raised for zero to large negative powers.
28105 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28106 (__ieee754_powl): Test for y outside the range of signed 64-bit
28107 integers before using fistpll. Reduce 64-bit values to 63-bit
28108 ones as needed.
28109 * math/libm-test.inc (pow_test): Add more tests.
28110
eb96ffb0
L
281112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28112
28113 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28114 <stdio-common/_itoa.h>.
28115 * debug/segfault.c: Likewise.
28116 * elf/dl-cache.c: Likewise.
28117 * elf/dl-minimal.c: Likewise.
28118 * elf/dl-misc.c: Likewise.
28119 * elf/dl-sysdep.c: Likewise.
28120 * elf/dl-version.c: Likewise.
28121 * elf/rtld.c: Likewise.
28122 * hurd/hurdsock.c: Likewise.
28123 * hurd/lookup-retry.c: Likewise.
28124 * malloc/malloc.c: Likewise.
28125 * malloc/mtrace.c: Likewise.
28126 * nscd/nscd_getgr_r.c: Likewise.
28127 * nscd/nscd_getpw_r.c: Likewise.
28128 * nscd/nscd_getserv_r.c: Likewise.
28129 * posix/getopt_init.c: Likewise.
28130 * posix/wordexp.c: Likewise.
28131 * stdio-common/_itoa.c: Likewise.
28132 * stdio-common/printf_fphex.c: Likewise.
28133 * stdio-common/vfprintf.c: Likewise.
28134 * string/_strerror.c: Likewise.
28135 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28136 * sysdeps/i386/i686/hp-timing.h: Likewise.
28137 * sysdeps/mach/_strerror.c: Likewise.
28138 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28139 * sysdeps/mach/hurd/sethostid.c: Likewise.
28140 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28141 * sysdeps/mach/xpg-strerror.c: Likewise.
28142 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28143 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28144 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28145 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28146 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28147 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28148 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28149 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28150 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28151 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28152 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28153 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28154 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28155 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28156 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28158 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28159 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28160 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28161 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28162 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28163
28164 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28165
28166 * stdio-common/_itoa.h: Moved to ...
28167 * sysdeps/generic/_itoa.h: Here.
28168
28169 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28170
28171 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28172 instead of "_itoa.h" and "_itowa.h".
28173 * stdio-common/vfprintf.: Likewise.
28174
d1af992d
L
281752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28176
28177 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28178 <bits/wordsize.h>.
28179 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28180 (__signbit): Likwise.
28181 (llrintf): Likwise.
28182 (llrint): Likwise.
28183
114883e0
L
281842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28185
28186 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28187 __WORDSIZE != 64.
28188
c135cc1b
JM
281892012-03-20 Joseph Myers <joseph@codesourcery.com>
28190
28191 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28192 OVERFLOW_EXCEPTION_OK.
28193 * math/libm-test.inc ("Philosophy"): Update comment about
28194 exception testing.
28195 (OVERFLOW_EXCEPTION): Define.
28196 (OVERFLOW_EXCEPTION_OK): Likewise.
28197 (INVALID_EXCEPTION_OK): Renumber.
28198 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28199 (IGNORE_ZERO_INF_SIGN): Likewise.
28200 (test_exceptions): Handle FE_OVERFLOW.
28201 (exp10_test): Expect overflow exceptions.
28202 (exp2_test): Likewise.
28203 (expm1_test): Likewise.
28204 (nextafter_test): Likewise.
28205 (pow_test): Likewise.
28206 (scalbn_test): Likewise.
28207 (scalbln_test): Likewise.
28208
95443d88
L
282092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28210
28211 * sysdeps/x86_64/bits/atomic.h
28212 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28213 64bit integer.
28214 (atomic_exchange_acq): Likewise.
28215 (__arch_exchange_and_add_body): Likewise.
28216 (__arch_add_body): Likewise.
28217 (atomic_add_negative): Likewise.
28218 (atomic_add_zero): Likewise.
28219
490df6c4
L
282202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28221
c2722551 28222 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28223 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28224
5e52b189
L
282252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28226
28227 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28228 Check __x86_64__ instead of __WORDSIZE.
28229
a9879d4c
L
282302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28231
28232 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28233
5df98260
DM
282342012-03-19 David S. Miller <davem@davemloft.net>
28235
e1497744
DM
28236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28237
5df98260
DM
28238 * sysdeps/sparc/fpu/fenv_private.h: New file.
28239 * sysdeps/sparc/fpu/math_private.h: Use it.
28240 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28241 Remove.
28242 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28243 (libc_feholdexcept_setroundl): Remove.
28244 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28245 Remove.
28246 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28247 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28248
b4c35121
L
282492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28250
28251 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28252 int64_t instead of long int.
28253 (INSERT_WORDS64): Likwise.
28254
56965fd7
L
282552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28256
28257 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28258 _Unwind_GetCFA return to _Unwind_Ptr first.
28259
83d1aec8
JM
282602012-03-19 Joseph Myers <joseph@codesourcery.com>
28261
1897ad44
JM
28262 [BZ #13629]
28263 * math/s_clog.c: Include <float.h>.
28264 (__clog): Scale large or subnormal inputs.
28265 * math/s_clogf.c: Likewise.
28266 * math/s_clogl.c: Likewise.
28267 * math/s_clog10.c: Include <float.h>.
28268 (M_LOG10_2): Define.
28269 (__clog10): Scale large or subnormal inputs.
28270 * math/s_clog10f.c: Likewise.
28271 * math/s_clog10l.c: Likewise.
28272 * math/libm-test.inc (clog_test): Add more tests.
28273 (clog10_test): Likewise.
28274 * sysdeps/i386/fpu/libm-test-ulps: Update.
28275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28276
7726d6a9
JM
28277 [BZ #11451]
28278 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28279 x and y.
28280 * math/libm-test.inc (atan2_test): Add another test.
28281
83d1aec8
JM
28282 * Makerules (common-objdir-compile): Remove.
28283 * sysdeps/unix/Makefile (config-generated): Do not add
28284 $(unix-generated) to variable.
28285 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28286 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28287 Remove rule.
28288 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28289 Likewise.
28290 [generic bits/local_lim.h] (before-compile): Do not append to
28291 variable.
28292 [generic bits/local_lim.h] (common-generated): Likewise.
28293 [generic sys/param.h] (before-compile): Do not append to variable.
28294 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28295 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28296 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28297 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28298 include.
28299 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28300 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28301 [generic sys/param.h] ($(addprefix
28302 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28303 [generic sys/param.h] (common-generated): Do not append to
28304 variable.
28305 [generic sys/param.h] (sysdep_headers): Likewise.
28306 [generic bits/errno.h] (before-compile): Do not append to
28307 variable.
28308 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28309 rule.
28310 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28311 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28312 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28313 [generic bits/errno.h] (common-generated): Do not append to
28314 variable.
28315 [generic bits/ioctls.h] (before-compile): Do not append to
28316 variable.
28317 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28318 rule.
28319 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28320 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28321 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28322 rule.
28323 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28324 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28325 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28326 [generic bits/ioctls.h] (common-generated): Do not append to
28327 variable.
28328 [generic sys/syscall.h] (syscall.h): Remove variable.
28329 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28330 rule.
28331 [generic sys/syscall.h] (before-compile): Do not append to
28332 variable.
28333 [generic sys/syscall.h] (common-generated): Likewise.
28334 * sysdeps/unix/errnos-tmpl.c: Remove file.
28335 * sysdeps/unix/errnos.awk: Likewise.
28336 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28337 * sysdeps/unix/ioctls.awk: Likewise.
28338 * sysdeps/unix/mk-local_lim.c: Likewise.
28339 * sysdeps/unix/snarf-ioctls: Likewise.
28340
4851a949
RH
283412012-03-19 Richard Henderson <rth@twiddle.net>
28342
bd37f2ee
RH
28343 * sysdeps/i386/fpu/fenv_private.h: New file.
28344 * sysdeps/i386/fpu/math_private.h: Use it.
28345 (math_opt_barrier, math_force_eval): Remove.
28346 (libc_feholdexcept_setround_53bit): Remove.
28347 (libc_feupdateenv_53bit): Remove.
28348 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28349 (math_opt_barrier, math_force_eval): Remove.
28350 (libc_feholdexcept): Remove.
28351 (libc_feholdexcept_setround): Remove.
28352 (libc_fetestexcept, libc_fesetenv): Remove.
28353 (libc_feupdateenv_test): Remove.
28354 (libc_feupdateenv, libc_feholdsetround): Remove.
28355 (libc_feresetround): Remove.
28356
d0adc922
RH
28357 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28358 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28359
0fe0f1f8
RH
28360 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28361 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28362 (libc_feupdateenv_testl): New.
28363 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28364 (libc_feupdateenv_testf): New.
28365 (libc_feupdateenv): Use libc_feupdateenv_test.
28366 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28367 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28368
eb92c487
RH
28369 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28370 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28371 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28372 (libc_feresetround_noex): New.
28373 (libc_feresetround_noexf): New.
28374 (libc_feresetround_noexl): New.
28375 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28376 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28377 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28378 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28379 SET_RESTORE_ROUND.
28380 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28381 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28382 (__cos): Likewise.
28383 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28384 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28385 SET_RESTORE_ROUND_NOEX.
28386 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28387 SET_RESTORE_ROUND_NOEXF.
28388 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28389 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28390 (libc_feholdsetroundf): New.
28391 (libc_feresetround, libc_feresetroundf): New.
28392
7d2e8012
RH
28393 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28394 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28395 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28396
b4dabbb4
RH
28397 * sysdeps/generic/math_private.h: Include <fenv.h>.
28398 (default_libc_feholdexcept): New.
28399 (default_libc_feholdexcept_setround): New.
28400 (default_libc_fesetenv, default_libc_feupdateenv): New.
28401 (libc_feholdexcept): Only define if undefined.
28402 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28403 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28404 (libc_feholdexcept_setroundl): Likewise.
28405 (libc_feholdexcept_setround_53bit): Likewise.
28406 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28407 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28408 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28409 (libc_feupdateenv_53bit): Likewise.
28410 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28411 (libc_feholdexcept): Convert from macro to inline function.
28412 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28413 (libc_fesetenv, libc_feupdateenv): Likewise.
28414
4851a949
RH
28415 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28416 not previously defined.
28417 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28418 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28419 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28420 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28421 * sysdeps/ieee754/flt-32/math_private.h: New file.
28422 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28423 math_private.h below SET_FLOAT_WORD.
28424 (__isnan, __isinf_ns, __finite): Remove.
28425 (__isnanf, __isinf_nsf, __finitef): Remove.
28426
e79d442e
AS
284272012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28428
28429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28430
90b80344
DM
284312012-03-17 David S. Miller <davem@davemloft.net>
28432
28433 [BZ #6471]
28434 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28435 for 2.16.
28436
edc21804
DM
284372012-03-16 David S. Miller <davem@davemloft.net>
28438
77e927af
DM
28439 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28440 warnings.
28441
374976dd
DM
28442 [BZ #6471]
28443 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28444 properly.
28445 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28446 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28447 sysdep_routines when subdir is sysvipc.
28448 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28449 __getshmlba helper.
28450
edc21804
DM
28451 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28452
473c3ef3
L
284532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28454
28455 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28456 [__LP64__].
28457
eb0f39b6
L
284582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28459
28460 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28461 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28462 (__lround): Renamed to ...
28463 (__llround): This. Replace long int with long long int.
28464 Define lround functions as aliases of llround functions.
28465 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28466
6b6cd74b
L
284672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28468
28469 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28470 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28471 adresses to uintptr_t. Replace "long int" and "unsigned long
28472 int" with "greg_t" on va_arg.
28473
f1a77b01
L
284742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28475
28476 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28477 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28478
28479 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28480 Move e_machine check before EI_CLASS check. Handle x32
28481 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28482 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28483 SKIP_EM_IA_64 and include
28484 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28485
28486 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28487 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28488 (add_system_dir): New macro.
28489
28490 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28491 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28492
11b90b9f
JM
284932012-03-16 Joseph Myers <joseph@codesourcery.com>
28494
c36e1d23
JM
28495 [BZ #2551]
28496 [BZ #2552]
28497 [BZ #2553]
28498 [BZ #2554]
28499 [BZ #2562]
28500 [BZ #2563]
28501 [BZ #2565]
28502 [BZ #2566]
28503 [BZ #2576]
28504 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28505 (y0): Likewise.
28506 * math/w_j0f.c (j0f): Likewise.
28507 (y0f): Likewise.
28508 * math/w_j0l.c (__j0l): Likewise.
28509 (__y0l): Likewise.
28510 * math/w_j1.c (j1): Likewise.
28511 (y1): Likewise.
28512 * math/w_j1f.c (j1f): Likewise.
28513 (y1f): Likewise.
28514 * math/w_j1l.c (__j1l): Likewise.
28515 (__y1l): Likewise.
28516 * math/w_jn.c (jn): Likewise.
28517 (yn): Likewise.
28518 * math/w_jnf.c (jnf): Likewise.
28519 (ynf): Likewise.
28520 * math/w_jnl.c (__jnl): Likewise.
28521 (__ynl): Likewise.
28522 * math/libm-test.inc (j0_test): Add more tests.
28523 (j1_test): Likewise.
28524 (jn_test): Likewise. Add trailing semicolon to existing test.
28525 (y0_test): Likewise.
28526 (y1_test): Likewise.
28527 * sysdeps/i386/fpu/libm-test-ulps: Update.
28528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28529
11b90b9f
JM
28530 [BZ #13851]
28531 [BZ #13854]
28532 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28533 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28534 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28535 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28536 (__tanl): Set errno for infinite argument.
28537 * sysdeps/i386/fpu/mptan.c: Remove.
28538 * sysdeps/i386/fpu/s_tan.S: Likewise.
28539 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28540 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28541 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28542 * math/libm-test.inc (tan_test): Add more tests and enable more
28543 tests for double and long double.
28544 * sysdeps/i386/fpu/libm-test-ulps: Update.
28545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28546
6a1bd2a1
JK
285472012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28548
28549 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28550 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28551
10a803e0
RM
285522012-03-16 Roland McGrath <roland@hack.frob.com>
28553
28554 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28555 * configure.in: Use it for both main tree and add-ons.
28556 * configure: Regenerated.
28557
f196c7f7
L
285582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28559
28560 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28561
8848d99d
JM
285622012-03-16 Joseph Myers <joseph@codesourcery.com>
28563
96cbe7f4
JM
28564 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28565 in comment.
28566
8848d99d
JM
28567 [BZ #13851]
28568 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28569 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28570 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28571 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28572 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28573 infinite argument.
28574 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28576 != 0 for prec == 2.
28577 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28578 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28579 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28580 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28581 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28582 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28583 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28584 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28585 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28586 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28587 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28588 * math/libm-test.inc (cos_test): Add more tests and enable more
28589 tests for long double.
28590 (sin_test): Likewise.
28591 (sincos_test): Likewise.
28592 * sysdeps/i386/fpu/libm-test-ulps: Update.
28593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28594
dd7f4703
DM
285952012-03-16 David S. Miller <davem@davemloft.net>
28596
28597 * sysdeps/sparc/fpu/math_private.h: New file.
28598
006f1daa
DM
285992012-03-15 David S. Miller <davem@davemloft.net>
28600
c0c83bc8
DM
28601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28602 file.
e6a62e18 28603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28605 file.
e6a62e18
DM
28606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28611 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28612 sysdep routines.
28613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28614
88cb87d9
DM
28615 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28616 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28617
006f1daa 28618 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28620 sparc-ifunc.h
006f1daa 28621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28623 Likewise.
28624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28625 Likewise.
006f1daa
DM
28626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28630 Likewise.
006f1daa
DM
28631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28636 Likewise.
28637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28638 Likewise.
006f1daa
DM
28639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28645 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28646 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28657 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28659 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28663
11e0098e
AS
286642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28665
28666 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28667 scaling.
28668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28669
e85b09d0
AJ
286702012-03-15 Andreas Jaeger <aj@suse.de>
28671
28672 [BZ #13852]
28673 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28674 ieee754/flt-32 implementation for sin, cos and sincos.
28675 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28676 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28677 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28678 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28679 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28680 ieee754/flt-32 implementation for tan.
28681
28682 * math/libm-test.inc (cos_test): Enable some large input tests for
28683 float as well
28684 (sin_test): Likewise.
28685 (sincos_test): Likewise.
28686 (tan_test): Add tests for large input.
28687
28688 * sysdeps/i386/fpu/libm-test-ulps: Update.
28689
81c64153
AJ
286902012-03-15 Andreas Jaeger <aj@suse.de>
28691
28692 [BZ #13658]
28693 * math/libm-test.inc (cos_test): Add more test cases.
28694 (sin_test): Likewise.
28695 (sincos_test): Likewise.
28696
7bbfa5c6
AJ
286972012-03-15 Andreas Jaeger <aj@suse.de>
28698
28699 [BZ #13837]
28700 * math/libm-test.inc (cos_test): Add a test case for large input
28701 value.
28702 (sin_test): Likewise.
28703 (sincos_test): Likewise.
28704
287052012-03-15 Andreas Jaeger <aj@suse.de>,
28706 Joseph Myers <joseph@codesourcery.com>
28707
28708 [BZ #13658]
0671f479 28709 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28710 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28711 * sysdeps/i386/fpu/branred.c: Likewise.
28712 * sysdeps/i386/fpu/dosincos.c: Likewise.
28713 * sysdeps/i386/fpu/mpa.c: Likewise.
28714 * sysdeps/i386/fpu/s_cos.S: Likewise.
28715 * sysdeps/i386/fpu/s_sin.S: Likewise.
28716 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28717 * sysdeps/i386/fpu/sincos32.c: Likewise.
28718
28719 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28720 Define.
28721 (libc_feupdateenv_53bit): Define.
28722 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28723 Define.
28724 (libc_feupdateenv_53bit): Define.
28725
28726 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28727 53 bit (without extend i386 double precision).
28728
28729 * math/libm-test.inc (sincos_test): Add tests for large input.
28730 (sin): Likewise.
28731 (cos): Likewise.
28732
28733 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28734
9cad04ea
AS
287352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28736
28737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28738
f7062b9a
DM
287392012-03-15 David S. Miller <davem@davemloft.net>
28740
28741 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28742 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28743 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28744 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28757 file.
f7062b9a 28758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28760 file.
f7062b9a 28761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28763 file.
f7062b9a 28764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28766 file.
f7062b9a
DM
28767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28769 fmin/fmax sysdep routines.
28770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28771
7bd951ff
DM
287722012-03-14 David S. Miller <davem@davemloft.net>
28773
559398ab
DM
28774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28794 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28796 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28797 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28803 routines.
28804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28805 file.
559398ab 28806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28808 file.
559398ab 28809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28811 file.
559398ab 28812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28814 file.
559398ab 28815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28817 file.
559398ab 28818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28820 file.
28821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28822 file.
28823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28824 file.
28825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28826 file.
28827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28828 New file.
28829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28830 file.
28831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28832 file.
559398ab 28833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28835 file.
559398ab 28836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28838 file.
559398ab 28839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28841 file.
559398ab 28842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28844 VIS3 routines.
559398ab
DM
28845
28846 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28847 New file.
28848
5a1c1e32
DM
28849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28850
eae47a36
DM
28851 * sysdeps/sparc/configure.in: New file.
28852 * sysdeps/sparc/configure: Generate.
28853 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28854 * configure: Regenerate.
28855 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28856 * config.make.in (have-as-vis3): New.
28857 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28858 available use -Av9d instead of -Av9a.
28859 * sysdeps/sparc/sparc64/Makefile: Likewise.
28860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28862 New file.
28863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28864 file.
28865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28866 New file.
28867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28868 file.
eae47a36
DM
28869 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28870 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28871 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28872 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28873 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28874
c0c83bc8
DM
28875 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28876 fzeros/fnegs to load 0x80000000 into a float register instead of
28877 using the stack.
7bd951ff
DM
28878 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28879
bd951ccb
JM
288802012-03-14 Joseph Myers <joseph@codesourcery.com>
28881
28882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28883 bits/syscall.h.
28884 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28885 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28886 ($(inst_includedir)/bits/syscall.h): Remove rule.
28887 ($(objpfx)bits/syscall.d): Include instead of
28888 $(objpfx)syscall-list.d.
28889 (generated): Change syscall-list.h and syscall-list.d to
28890 bits/syscall.h and bits/syscall.d.
28891
bb4e6db2
RM
288922012-03-14 Roland McGrath <roland@hack.frob.com>
28893
28894 [BZ #13846]
28895 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28896
aa4a2ae1
JM
288972012-03-14 Joseph Myers <joseph@codesourcery.com>
28898
e456826d
JM
28899 [BZ #13841]
28900 * math/s_csqrt.c: Include <float.h>.
28901 (__csqrt): Scale large or subnormal inputs.
28902 * math/s_csqrtf.c: Likewise.
28903 * math/s_csqrtl.c: Likewise.
28904 * math/libm-test.inc (csqrt_test): Add more tests.
28905 * sysdeps/i386/fpu/libm-test-ulps: Update.
28906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28907
aa4a2ae1
JM
28908 [BZ #13840]
28909 * math/libm-test.inc (hypot_test): Add more tests.
28910
7c10fd35
DM
289112012-03-13 David S. Miller <davem@davemloft.net>
28912
28913 [BZ #13840]
28914 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28915 double-precision for the calculation instead of scaling.
28916
f453b98b
JM
289172012-03-13 Joseph Myers <joseph@codesourcery.com>
28918
28919 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28920 manipulate bits before adding and subtracting TWO52[sx].
28921 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28922 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28923 Likewise.
28924 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28925
09a3453f
DM
289262012-03-13 David S. Miller <davem@davemloft.net>
28927
8e59da90
DM
28928 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28929 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28931 rtld-global-offsets.h
28932 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28933
2a8ab7f2
DM
28934 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28935 large parameters.
28936
10f62770
DM
28937 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28938
5f0bdb18
DM
28939 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28940 'err' in the ifdef scope in which it is actually used.
28941
09a3453f
DM
28942 * nss/nss_db/db-init.c: Include string.h
28943
b4b2eb5e
DM
289442012-03-12 David S. Miller <davem@davemloft.net>
28945
98bb2f1c
DM
28946 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28947 masking out of the most significant byte of random value used.
28948 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28949 Fix coding style in previous change.
28950
b4b2eb5e
DM
28951 * sysdeps/unix/sysv/linux/kernel-features.h
28952 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28953 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28954 expression.
28955 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28956 later.
28957
6e226b09
DM
289582012-03-11 David S. Miller <davem@davemloft.net>
28959
a1bcbd40
DM
28960 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28961 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28962 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28963 for 'resultvar' otherwise things get truncated on 64-bit.
28964
cb9d6174
DM
28965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28966 Fix masking out of the most significant byte of random value used.
28967
6e226b09
DM
28968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28969
058c132d
AS
289702012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28971
28972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28973
2d2cd515
DM
289742012-03-09 David S. Miller <davem@davemloft.net>
28975
28976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28977 variables with appropriate CPP guards.
28978 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28979 frame pointer, not the stack pointer. Correct layout comments. Fix test
28980 on resulting framesize and the management of the outregs buffer for pltexit.
28981 Preserve floating point return values across _dl_call_pltexit call.
28982 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28983 framesize and the management of the outregs buffer for pltexit.
28984 Preserve floating point return values across _dl_call_pltexit
28985 call.
28986 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28987 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28988 (print_exit): Fix format string for return register value.
28989
9a07f9d0
JM
289902012-03-10 Joseph Myers <joseph@codesourcery.com>
28991
28992 * sunrpc/Makefile (others): Add rpcgen.
28993 ($(objpfx)rpcgen): Remove special build rule and dependency on
28994 libc.
28995 * sunrpc/rpcgen.c: New file.
28996
547b5e30
PE
289972012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28998
c524201a
PE
28999 [BZ #13673]
29000 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29001 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29002 * sysdeps/i386/crti.S: Likewise.
29003 * sysdeps/i386/crtn.S: Likewise.
29004 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29005 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29006 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29007 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29008 * sysdeps/sh/crti.S: Likewise.
29009 * sysdeps/sh/crtn.S: Likewise.
29010 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29011
7b6235f2
PE
29012 [BZ #13673]
29013 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29014 with URL.
29015 * locale/programs/locfile-kw.gperf: Likewise.
29016 * locale/programs/charmap-kw.h: Regenerated.
29017 * locale/programs/locfile-kw.h: Likewise.
29018
547b5e30
PE
29019 [BZ #13673]
29020 * intl/plural.y: Replace FSF snail mail address with URL.
29021 * intl/plural.c: Regenerated.
29022
5f0a5dae
RH
290232012-03-09 Richard Henderson <rth@twiddle.net>
29024
29025 * include/math_private.h: Remove file.
29026 * math/math_private.h: Move file ...
29027 * sysdeps/generic/math_private.h: ... here.
29028
b8c03620
RH
29029 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29030 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29031 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29032
4e234f5d 29033 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
29034 and <math_private.h>.
29035 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29036 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29037 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29038 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29039 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29040 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29041 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29043 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29044 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29046 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29047 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29048 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29049 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29050 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29057 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29059 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29060 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29061 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29065 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29067 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29068 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29069 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29070 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29071 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29072 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29074 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29075 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29076 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29077 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29078 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29079 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29080 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29081 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29082 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29083 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29084 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29085 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29086 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29087 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29088 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29089 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29090 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29091 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29092 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29093 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29094 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29096 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29098 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29099 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29100 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29101 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29102 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29103 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29104 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29105 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29106 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29109 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29110 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29113 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29114 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29115 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29116 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29117 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29118 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29123 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29124 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29125 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29126 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29127 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29128 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29129 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29130 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29131 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29132 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29133 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29134 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29135 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29136 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29137 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29138 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29139 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29140 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29141 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29142 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29143 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29144 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29145 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29146 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29147 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29148 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29149 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29150 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29151 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29152 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29153 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29154 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29155 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29156 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29157 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29158 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29159 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29160 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29161 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29162 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29163 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29164 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29165 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29166 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29167 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29168 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29169 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29170 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29171 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29172 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29173 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29174 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29175 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29176 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29177 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29178 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29179 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29180 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29181 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29182 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29183 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29184 * sysdeps/ieee754/k_standard.c: Likewise.
29185 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29186 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29187 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29190 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29192 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29235 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29236 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29237 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29238 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29239 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29240 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29242 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29246 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29247 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29248 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29252 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29276 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29278 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29280 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29281 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29282 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29283 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29284 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29288 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29289 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29290 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29291 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29292 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29293 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29294 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29295 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29300 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29301 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29302 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29303 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29304 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29305 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29306 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29307 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29308 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29311 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29312 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29314 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29315 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29316 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29317 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29318 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29320 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29321 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29324 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29325 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29326 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29327 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29328 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29329 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29330 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29331 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29332 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29333 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29334 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29335 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29336 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29337 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29338 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29339 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29340 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29341 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29342 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29343 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29344 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29345 * sysdeps/ieee754/s_lib_version.c: Likewise.
29346 * sysdeps/ieee754/s_matherr.c: Likewise.
29347 * sysdeps/ieee754/s_signgam.c: Likewise.
29348 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29349 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29350 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29351 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29352 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29353 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29354 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29355 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29356 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29357 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29358 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29359 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29360 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29361 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29362 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29363 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29364 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29365 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29366 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29367 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29368 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29369
1991fa03
JM
293702012-03-09 Joseph Myers <joseph@codesourcery.com>
29371
29372 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29373 * sunrpc/rpc_main.c: Likewise.
29374 * sunrpc/rpc_svcout.c: Likewise.
29375
60d6f5a6
DM
293762012-03-09 David S. Miller <davem@davemloft.net>
29377
29378 * include/math_private.h: New file.
29379
4962050e
JM
293802012-03-09 Joseph Myers <joseph@codesourcery.com>
29381
02a6f887
JM
29382 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29383 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29384 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29385 from <bits/socket_type.h>.
29386 (enum __socket_type): Don't define here.
29387 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29389 bits/socket_type.h.
29390
c6e013c1
JM
29391 [BZ #13566]
29392 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29393 checking __USE_GNU.
29394
4962050e
JM
29395 * Makerules ($(inst_includedir)/%.h): New rule.
29396 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29397 (install-others): Remove variable setting.
29398 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29399
38842f45
RH
294002012-03-08 Richard Henderson <rth@twiddle.net>
29401
67bb6da6
RH
29402 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29403 from macro to inline function; merge with the
29404 !__LIBC_INTERNAL_MATH_INLINES version.
29405 (__ieee754_sqrtf): Likewise.
29406
15194b4b
RH
29407 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29408 to inline function.
29409 (__rintf, __floor, __floorf): Likewise.
29410
64e21ede
RH
29411 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29412 macro to inline function.
29413 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29414
38842f45
RH
29415 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29416 not <math/math_private.h>.
29417
c64bf5fe
DM
294182012-03-08 David S. Miller <davem@davemloft.net>
29419
29420 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29421 copyright year.
29422 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29423
82d86f28
TS
294242012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29425
29426 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29427 normalization.
29428 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29429 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29430
aea5d727
UD
294312012-03-08 Ulrich Drepper <drepper@gmail.com>
29432
29433 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29434 be defined individually, they must be defined as a block. Define
29435 S for printing a string instead of hidint the different by using a
29436 macro for adding the 'l'.
29437 * stdio-common/tst-fphex-wide.c: Adjust.
29438
70bca0a3
MP
294392012-03-07 Marek Polacek <polacek@redhat.com>
29440
29441 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29442
65b81130
MP
294432012-03-08 Marek Polacek <polacek@redhat.com>
29444
29445 [BZ #13806]
29446 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29447 * stdio-common/tst-fphex.c: Define a few macros to make the
29448 test reusable. Use them.
29449 * stdio-common/tst-fphex-wide.c: New file.
29450
07037eeb
JM
294512012-03-08 Joseph Myers <joseph@codesourcery.com>
29452
a7a93d50
JM
29453 [BZ #6911]
29454 * manual/macros.texi (gnusystems): New macro.
29455 (nongnusystems): Likewise.
29456 (gnulinuxhurdsystems): Likewise.
29457 (gnuhurdsystems): Likewise..
29458 (gnulinuxsystems): Likewise.
29459 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29460 variants of the GNU system, not "GNU system".
29461 * manual/conf.texi: Likewise.
29462 * manual/errno.texi: Likewise. Update example of errno macro
29463 expansion.
29464 * manual/filesys.texi: Likewise.
29465 (getumask): Document as specific to GNU/Hurd.
29466 * manual/install.texi: Likewise. Reword some references to
29467 GNU/Linux.
29468 * manual/intro.texi: Likewise.
29469 * manual/io.texi: Likewise.
29470 (File Name Portability): Detail which constraints are inapplicable
29471 to all GNU systems and which are only inapplicable to GNU/Hurd.
29472 * manual/job.texi: Likewise.
29473 * manual/llio.texi: Likewise.
29474 (O_NOCTTY): Document as present on GNU/Linux.
29475 * manual/maint.texi: Likewise.
29476 * manual/memory.texi: Likewise.
29477 * manual/pattern.texi: Likewise.
29478 * manual/pipe.texi: Likewise.
29479 * manual/process.texi: Likewise.
29480 * manual/resource.texi: Likewise.
29481 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29482 child on GNU/Hurd.
29483 * manual/setjmp.texi: Likewise.
29484 * manual/signal.texi: Likewise.
29485 * manual/startup.texi: Likewise.
29486 * manual/stdio.texi: Likewise.
29487 * manual/terminal.texi: Likewise.
29488 (ONLCR): Document as POSIX.
29489 (OXTABS): Document availability on GNU/Linux as XTABS.
29490 (ONOEOT): Document availability separately from other bits.
29491 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29492 * manual/time.texi: Likewise.
29493 * manual/users.texi: Likewise.
29494 * INSTALL: Regenerated.
29495 * sysdeps/gnu/errlist.c: Regenerated.
29496
07037eeb
JM
29497 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29498 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29499 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29500 puts.
29501 * configure: Regenerated.
29502
d1d3431a
JM
295032012-03-07 Joseph Myers <joseph@codesourcery.com>
29504
af6a1e37
JM
29505 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29506 default includes instead of AC_HEADER_CHECK.
29507 * sysdeps/i386/configure: Regenerated.
29508
d1d3431a
JM
29509 [BZ #10716]
29510 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29511 * math/s_cacoshf.c (__cacoshf): Likewise.
29512 * math/s_cacoshl.c (__cacoshl): Likewise.
29513 * math/s_casinh.c (__casinh): Set signs of result from argument.
29514 * math/s_casinhf.c (__casinhf): Likewise.
29515 * math/s_casinhl.c (__casinhl): Likewise.
29516 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29517 (casinh_test): Add more tests.
29518 * sysdeps/i386/fpu/libm-test-ulps: Update.
29519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29520
482ff4da
UD
295212012-03-07 Ulrich Drepper <drepper@gmail.com>
29522
872fda05
UD
29523 * po/zh_TW.po: Update from translation team.
29524
a4300c7a
UD
29525 * login/Makefile (distribute): Remove variable.
29526 * catgets/Makefile: Likewise.
29527 * mach/Makefile: Likewise.
29528 * malloc/Makefile: Likewise.
29529 * misc/Makefile: Likewise.
29530 * iconv/Makefile: Likewise.
29531 * nscd/Makefile: Likewise.
29532 * hurd/Makefile: Likewise.
29533 * manual/Makefile: Likewise.
29534 * locale/Makefile: Likewise.
29535 * intl/Makefile: Likewise.
29536 * conform/Makefile: Likewise.
29537 * nss/Makefile: Likewise.
29538 * time/Makefile: Likewise.
29539 * soft-fp/Makefile: Likewise.
29540 * dirent/Makefile: Likewise.
29541 * gmon/Makefile: Likewise.
29542 * po/Makefile: Likewise.
29543 * rt/Makefile: Likewise.
29544 * socket/Makefile: Likewise.
29545 * math/Makefile: Likewise.
29546 * signal/Makefile: Likewise.
29547 * debug/Makefile: Likewise.
29548 * elf/Makefile: Likewise.
29549 * timezone/Makefile: Likewise.
29550 * stdlib/Makefile: Likewise.
29551 * iconvdata/Makefile: Likewise.
29552 * sunrpc/Makefile: Likewise.
29553 * io/Makefile: Likewise.
29554 * argp/Makefile: Likewise.
29555 * inet/Makefile: Likewise.
29556 * hesiod/Makefile: Likewise.
29557 * grp/Makefile: Likewise.
29558 * csu/Makefile: Likewise.
29559 * wctype/Makefile: Likewise.
29560 * crypt/Makefile: Likewise.
29561 * libio/Makefile: Likewise.
29562 * string/Makefile: Likewise.
29563 * nis/Makefile: Likewise.
29564 * resolv/Makefile: Likewise.
29565 * stdio-common/Makefile: Likewise.
29566 * wcsmbs/Makefile: Likewise.
29567 * dlfcn/Makefile: Likewise.
29568 * posix/Makefile: Likewise.
29569
3b7c4e74 29570 [BZ #6959]
482ff4da
UD
29571 * timezone/Makefile: Don't install timezone files, just the programs
29572 and scripts.
29573
f72ed77d
UD
295742012-03-06 Ulrich Drepper <drepper@gmail.com>
29575
a000466f
UD
29576 * nss/databases.def: Add missing gshadow entry.
29577
f72ed77d
UD
29578 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29579
a53b7a4e
MP
295802012-03-06 Marek Polacek <polacek@redhat.com>
29581
29582 [BZ #13726]
29583 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29584 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29585 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29586 * stdio-common/tst-long-dbl-fphex.c: New file.
29587
e9258400
DM
295882012-03-06 David S. Miller <davem@davemloft.net>
29589
29590 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29591 (set_obp_int): New function.
29592 (get_obp_int): New function.
29593 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29594 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29595 Avoid unused variable warnings on 'val' and use builtin_expect.
29596 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29597 __builtin_expect.
e9258400
DM
29598 (INLINE_CLONE_SYSCALL): Likewise.
29599
3bd2c723
DM
296002012-03-05 David S. Miller <davem@davemloft.net>
29601
29602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29603
bbb78d03
AS
296042012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29605
884c5db4
AS
29606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29607
bbb78d03
AS
29608 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29609 only for |x| >= 40.
29610 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29611
1c9f702a 296122012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29613
29614 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29615 Replace gettimeofday with __vdso_gettimeofday.
29616
7be16f82
RM
29617 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29618 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29619 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29620
29621 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29622 time with __vdso_time.
29623
ed58a00f
JM
296242012-03-05 Joseph Myers <joseph@codesourcery.com>
29625
29626 * manual/lang.texi (size_t): Note types to which size_t may be
29627 equivalent with the GNU C Library, but do not describe when
29628 differences between them are significant.
29629
30ee4ced
AJ
296302012-03-05 Andreas Jaeger <aj@suse.de>
29631
29632 * sysdeps/i386/fpu/libm-test-ulps: Update.
29633
b7cd39e8
JM
296342012-03-05 Joseph Myers <joseph@codesourcery.com>
29635
29636 [BZ #3976]
29637 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29638 (__ieee754_pow): Save and restore rounding mode and use
29639 round-to-nearest for main computations.
29640 * math/libm-test.inc (pow_test_tonearest): New function.
29641 (pow_test_towardzero): Likewise.
29642 (pow_test_downward): Likewise.
29643 (pow_test_upward): Likewise.
29644 (main): Call the new functions.
29645 * sysdeps/i386/fpu/libm-test-ulps: Update.
29646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29647
29648 [BZ #3976]
29649 * math/libm-test.inc (cosh_test_tonearest): New function.
29650 (cosh_test_towardzero): Likewise.
29651 (cosh_test_downward): Likewise.
29652 (cosh_test_upward): Likewise.
29653 (sinh_test_tonearest): Likewise.
29654 (sinh_test_towardzero): Likewise.
29655 (sinh_test_downward): Likewise.
29656 (sinh_test_upward): Likewise.
29657 (main): Call the new functions.
29658 * sysdeps/i386/fpu/libm-test-ulps: Update.
29659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29660
6c6a98c9
TV
296612012-03-05 Tom de Vries <tom@codesourcery.com>
29662
29663 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29664 default stack guard is set in last bytes.
29665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29666
21bb2d2e 296672012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29668
21bb2d2e 29669 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29670
21bb2d2e
AJ
29671 [BZ #13656]
29672 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29673 possibly allocate from heap instead of stack.
29674 * stdio-common/bug-vfprintf-nargs.c: New file.
29675 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29676
c6922934
AS
296772012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29678
29679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29680
bc957d53
MP
296812012-03-03 Marek Polacek <polacek@redhat.com>
29682
29683 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29684 * math/math_private.h: Likewise.
29685 * stdlib/tst-strtod.c: Likewise.
29686 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29687 * sysdeps/x86_64/bits/atomic.h: Likewise.
29688
6358490d
DM
296892012-03-02 David S. Miller <davem@davemloft.net>
29690
29691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29695 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29696 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29697 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29698 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29699
01ae168d
RM
297002012-03-02 Roland McGrath <roland@hack.frob.com>
29701
d9a17c07
RM
29702 [BZ #13792]
29703 * manual/examples/README: New file, says the example source files
29704 can be used under GPL>=2.
29705 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29706 line containing just "*/".
29707 * manual/examples/add.c: Add copyright header (GPL>=2).
29708 * manual/examples/argp-ex1.c: Likewise.
29709 * manual/examples/argp-ex2.c: Likewise.
29710 * manual/examples/argp-ex3.c: Likewise.
29711 * manual/examples/argp-ex4.c: Likewise.
29712 * manual/examples/atexit.c: Likewise.
29713 * manual/examples/db.c: Likewise.
29714 * manual/examples/dir.c: Likewise.
29715 * manual/examples/dir2.c: Likewise.
29716 * manual/examples/execinfo.c: Likewise.
29717 * manual/examples/filecli.c: Likewise.
29718 * manual/examples/filesrv.c: Likewise.
29719 * manual/examples/fmtmsgexpl.c: Likewise.
29720 * manual/examples/genpass.c: Likewise.
29721 * manual/examples/inetcli.c: Likewise.
29722 * manual/examples/inetsrv.c: Likewise.
29723 * manual/examples/isockad.c: Likewise.
29724 * manual/examples/longopt.c: Likewise.
29725 * manual/examples/memopen.c: Likewise.
29726 * manual/examples/memstrm.c: Likewise.
29727 * manual/examples/mkfsock.c: Likewise.
29728 * manual/examples/mkisock.c: Likewise.
29729 * manual/examples/mygetpass.c: Likewise.
29730 * manual/examples/pipe.c: Likewise.
29731 * manual/examples/popen.c: Likewise.
29732 * manual/examples/rprintf.c: Likewise.
29733 * manual/examples/search.c: Likewise.
29734 * manual/examples/select.c: Likewise.
29735 * manual/examples/setjmp.c: Likewise.
29736 * manual/examples/sigh1.c: Likewise.
29737 * manual/examples/sigusr.c: Likewise.
29738 * manual/examples/stpcpy.c: Likewise.
29739 * manual/examples/strdupa.c: Likewise.
29740 * manual/examples/strftim.c: Likewise.
29741 * manual/examples/strncat.c: Likewise.
29742 * manual/examples/subopt.c: Likewise.
29743 * manual/examples/swapcontext.c: Likewise.
29744 * manual/examples/termios.c: Likewise.
29745 * manual/examples/testopt.c: Likewise.
29746 * manual/examples/testpass.c: Likewise.
29747 * manual/examples/timeval_subtract.c: Likewise.
29748
01ae168d
RM
29749 [BZ #13792]
29750 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29751 function to ...
29752 * manual/timeval_subtract.c.texi: ... here, new file.
29753
49efa33d
DM
297542012-03-02 David S. Miller <davem@davemloft.net>
29755
29756 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29757
28afd92d
JM
297582012-03-02 Joseph Myers <joseph@codesourcery.com>
29759
804360ed
JM
29760 [BZ #3976]
29761 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29762 (__sin): Save and restore rounding mode and use round-to-nearest
29763 for all computations.
29764 (__cos): Save and restore rounding mode and use round-to-nearest
29765 for all computations.
29766 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29767 <fenv.h>.
29768 (tan): Save and restore rounding mode and use round-to-nearest for
29769 all computations.
29770 * math/libm-test.inc (cos_test_tonearest): New function.
29771 (cos_test_towardzero): Likewise.
29772 (cos_test_downward): Likewise.
29773 (cos_test_upward): Likewise.
29774 (sin_test_tonearest): Likewise.
29775 (sin_test_towardzero): Likewise.
29776 (sin_test_downward): Likewise.
29777 (sin_test_upward): Likewise.
29778 (tan_test_tonearest): Likewise.
29779 (tan_test_towardzero): Likewise.
29780 (tan_test_downward): Likewise.
29781 (tan_test_upward): Likewise.
29782 (main): Call the new functions.
29783 * sysdeps/i386/fpu/libm-test-ulps: Update.
29784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29785
a6d06d7b
JM
29786 [BZ #10135]
29787 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29788 small n, then large n, before computing and testing k+n.
29789 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29790 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29791 Likewise.
29792 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29793 Likewise.
29794 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29795 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29796 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29797 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29798 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29799 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29800 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29801 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29802 * math/libm-test.inc (scalbn_test): Add more tests.
29803 (scalbln_test): Likewise.
29804
07e12bb3
JM
29805 * manual/filesys.texi (mode_t): Describe constraints on size and
29806 signedness, not exact equivalence to a particular type.
29807 (ino_t): Likewise.
29808 (ino64_t): Likewise.
29809 (dev_t): Likewise.
29810 (nlink_t): Likewise.
29811 (blkcnt_t): Likewise.
29812 (blkcnt64_t): Likewise.
29813 * manual/llio.texi (off_t): Likewise.
29814
28afd92d
JM
29815 [BZ #3976]
29816 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29817 (__ieee754_exp): Save and restore rounding mode and use
29818 round-to-nearest for all computations.
29819 * math/libm-test.inc (exp_test_tonearest): New function.
29820 (exp_test_towardzero): Likewise.
29821 (exp_test_downward): Likewise.
29822 (exp_test_upward): Likewise.
29823 (main): Call the new functions.
29824 * sysdeps/i386/fpu/libm-test-ulps: Update.
29825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29826
b1eeb65d
CD
298272012-03-01 Chris Demetriou <cgd@google.com>
29828
29829 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29830 have predictable order.
29831
53362a4b
DM
298322012-03-01 David S. Miller <davem@davemloft.net>
29833
3c969083
DM
29834 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29835
759707de
DM
29836 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29837 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29838 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29839 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29840
dfdb8ff2
DM
29841 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29842 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29843 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29845 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29846 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29847 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29848 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29849 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29850
ead89f96
DM
29851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29852
7f66bd07
DM
29853 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29854 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29855 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29856
53362a4b
DM
29857 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29858 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29859 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29860 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29861 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29862 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29864 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29865 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29866 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29867 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29868 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29870 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29871 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29873 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29874 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29875 * sysdeps/sparc/elf/configure: Regenerated.
29876
7b1902cb
JM
298772012-03-01 Joseph Myers <joseph@codesourcery.com>
29878
bec039bc
JM
29879 * configure.in (AS, LD): Require binutils 2.20 or later.
29880 * configure: Regenerated.
29881 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29882 as required minimum version.
29883 * INSTALL: Regenerated.
29884
7b1902cb
JM
29885 [BZ #2541]
29886 [BZ #4108]
29887 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29888 before squaring exponent.
29889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29890 bottom long double and 27 bits of top long double before squaring
29891 exponent.
29892 * math/libm-test.inc (erfc_test): Add more tests.
29893 * sysdeps/i386/fpu/libm-test-ulps: Update.
29894 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29896
f775c276
KT
298972012-03-01 Kai Tietz <ktietz@redhat.com>
29898
29899 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29900 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29901 containing bit-fields.
29902 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29903 * soft-fp/single.h (_FP_UNION_S): Likewise.
29904 * soft-fp/double.h (_FP_UNION_D): Likewise.
29905
5b8a4d4a
JM
299062012-02-29 Joseph Myers <joseph@codesourcery.com>
29907
0bab47b6
JM
29908 [BZ #13786]
29909 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29910 not include ../strcmp.S.
29911 [USE_AS_STRNCASECMP_L]: Likewise.
29912 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29913 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29914 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29915 (__strncasecmp_l_ia32): Define as alias to
29916 __strncasecmp_l_nonascii.
29917
0fcad3e2
JM
29918 [BZ #5794]
29919 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29920 * sysdeps/i386/fpu/libm-test-ulps: Update.
29921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29922
5b8a4d4a
JM
29923 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29925
8fdceb2e
JL
299262012-02-29 Jeff Law <law@redhat.com>
29927
29928 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29929 out of bounds read.
29930
1f393a11
MP
299312012-02-29 Marek Polacek <polacek@redhat.com>
29932
29933 [BZ #13706]
29934 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29935 * elf/Makefile: Add rules to run tst-unused-dep.out.
29936
8847f037
DM
299372012-02-28 David S. Miller <davem@davemloft.net>
29938
29939 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29940 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29941 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29943 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29944 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29945
169d7f11
JM
299462012-02-29 Joseph Myers <joseph@codesourcery.com>
29947
29948 * math/libm-test.inc (llround_test): Move one test from
29949 lround_test. Use TEST_f_L in moved test.
29950 (lround_test): Move misplaced test to llround_test. Add testcase
29951 from bug 2561.
29952
39adf059
UD
299532012-02-28 Ulrich Drepper <drepper@gmail.com>
29954
29955 * sysdeps/x86_64/fpu/e_expf.S: New file.
29956 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29957
71b5d1c5
SB
299582012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29959
29960 [BZ #13637]
29961 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29962 of remain_len that may cause incomplete multi-byte character and
29963 false match.
29964 * posix/bug-regex33.c: New file.
29965 * posix/Makefile (tests): Add bug-regex33.
29966
1f77f049
JM
299672012-02-28 Joseph Myers <joseph@codesourcery.com>
29968
29969 * manual/macros.texi: New file.
29970 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29971 * manual/libc.texinfo: Include macros.texi.
29972 * manual/creatute.texi: Likewise.
29973 * manual/install.texi: Likewise.
29974 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29975 @glibcadj{} in references to the GNU C Library.
29976 * manual/charset.texi: Likewise.
29977 * manual/conf.texi: Likewise.
29978 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29979 when not using those macros.
29980 * manual/creature.texi: Likewise.
29981 * manual/crypt.texi: Likewise.
29982 * manual/errno.texi: Likewise.
29983 * manual/filesys.texi: Likewise.
29984 * manual/header.texi: Likewise.
29985 * manual/install.texi: Likewise.
29986 * manual/intro.texi: Likewise.
29987 * manual/io.texi: Likewise.
29988 * manual/job.texi: Likewise.
29989 * manual/lang.texi: Likewise.
29990 * manual/libc.texiinfo: Likewise.
29991 * manual/llio.texi: Likewise.
29992 * manual/locale.texi: Likewise.
29993 * manual/maint.texi: Likewise.
29994 * manual/math.texi: Likewise.
29995 * manual/memory.texi: Likewise.
29996 * manual/message.texi: Likewise.
29997 * manual/nss.texi: Likewise.
29998 * manual/pattern.texi: Likewise.
29999 * manual/process.texi: Likewise.
30000 * manual/resource.texi: Likewise.
30001 * manual/search.texi: Likewise.
30002 * manual/setjmp.texi: Likewise.
30003 * manual/signal.texi: Likewise.
30004 * manual/socket.texi: Likewise.
30005 * manual/startup.texi: Likewise.
30006 * manual/stdio.texi: Likewise.
30007 * manual/string.texi: Likewise.
30008 * manual/sysinfo.texi: Likewise.
30009 * manual/syslog.texi: Likewise.
30010 * manual/terminal.texi: Likewise.
30011 * manual/time.texi: Likewise.
30012 * manual/users.texi: Likewise.
30013 * INSTALL: Regenerated.
30014 * NOTES: Regenerated.
d40c5d54 30015 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 30016
450bf206
AS
300172012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30018
30019 * include/dirent.h: Include <dirstream.h> before
30020 <dirent/dirent.h>.
30021
741a235b
DM
300222012-02-28 David S. Miller <davem@davemloft.net>
30023
30024 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30025 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30026 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30027 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30028
d6b5aa58
DM
300292012-02-27 David S. Miller <davem@davemloft.net>
30030
1aff59a3
DM
30031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30033 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30034 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30035
d6b5aa58
DM
30036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30037 frame pointer instead of stack pointer relative arg slot.
30038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30039 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30040 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30041
433f48bf
CD
300422012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30043
30044 [BZ #3992]
30045 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30046
d674b76d
DM
300472012-02-27 David S. Miller <davem@davemloft.net>
30048
30049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30053 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30054 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30055 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30056 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30057
0e7727f7
JM
300582012-02-27 Joseph Myers <joseph@codesourcery.com>
30059
30060 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30061 later. Allow versions 5-9.
43be4ca2 30062 * configure: Regenerated.
0e7727f7
JM
30063 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30064 required minimum version and 4.6 as recommended version. Do not
30065 mention bugs in GCC 2.7 and 2.8.
43be4ca2 30066 * INSTALL: Regenerated.
0e7727f7 30067
a78bc654
DM
300682012-02-27 David S. Miller <davem@davemloft.net>
30069
428d5830
DM
30070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30074 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30075 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30076 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30077 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30078
a78bc654
DM
30079 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30080 manipulate bits before adding and subtracting TWO112[sx].
30081 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30082
4579f81c
RM
300832012-02-27 Roland McGrath <roland@hack.frob.com>
30084
36c8acb4
RM
30085 [BZ #13775]
30086 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30087 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30088 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30089 being in POSIX, because they are in 1003.1-2008.
30090
84ad622b
RM
30091 * rt/tst-aio.c: Include <fcntl.h>.
30092 * rt/tst-aio7.c: Likewise.
30093 * rt/tst-aio64.c: Likewise.
30094
4579f81c
RM
30095 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30096
abd923db
JM
300972012-02-27 Joseph Myers <joseph@codesourcery.com>
30098
30099 * manual/install.texi (--with-headers): Describe headers as
30100 interface headers, not private headers.
30101 (Specific advice for GNU/Linux systems): Describe use of headers
30102 from "make headers_install", not private headers from older
30103 kernels.
43be4ca2 30104 * INSTALL: Regenerated.
abd923db
JM
30105 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30106 Change to 2.6.19.
30107 * sysdeps/unix/sysv/linux/configure: Regenerated.
30108
6664049b
JM
30109 * manual/llio.texi (fclean): Remove documentation.
30110
bb8b6697
JM
30111 * manual/Makefile (libc-texi-generated): New variable. Include
30112 version.texi.
30113 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30114 $(libc-texi-generated), not duplicated list of files.
30115 (version.texi, stamp-version): New rules.
30116 (realclean): Remove $(libc-texi-generated), not individual files
30117 from that list. Do not remove dir-add.texinfo.
30118 * manual/libc.texinfo: Comment out uses of edition numbers and
30119 references to printed manual. Remove last-updated dates.
30120 (EDITION): Comment out.
30121 (ISBN): Likewise.
30122 (VERSION, UPDATED): Remove.
30123 (version.texi): Include.
30124
12e5c3b9
AS
301252012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30126
30127 * sysdeps/posix/spawni.c: Include <signal.h>.
30128 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30129 * sysdeps/pthread/aio_fsync.c: Likewise.
30130
4efeffc1 301312012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 30132
ba63ba08
UD
30133 * conform/Makefile (tests): Run only when not cross-compiling and
30134 when fast-check is not defined.
30135
d94a4670
UD
30136 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30137 * conform/data/limits.h-data: Fixes for POSIX2008.
30138 * conform/run-conformtest.sh: Run all tests.
30139 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30140 headers.
30141 * include/bits/dlfcn.h: Likewise.
30142 * include/langinfo.h: Likewise.
30143 * include/monetary.h: Likewise.
30144 * include/sys/poll.h: Likewise.
30145
30146 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30147 for __USE_GNU.
30148 * posix/spawn.h: Define __need_sigset_t.
30149 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30150 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30151 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30152 to get sigevent_t only.
30153 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30154 only for __USE_GNU.
30155 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30156 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30157 process_vm_writev only for __USE_GNU.
30158 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
30159
30160 * conform/Makefile: For now ignore errors from run-conformtest.
30161 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30162 POSIX to avoid namespace pollution. Don't prepend headers.
30163 * conform/data/aio.h-data: Fixes for POSIX testing.
30164 * conform/data/fcntl.h-data: Likewise.
30165 * conform/data/glob.h-data: Likewise.
30166 * conform/data/grp.h-data: Likewise.
30167 * conform/data/pthread.h-data: Likewise.
30168 * conform/data/pwd.h-data: Likewise.
30169 * conform/data/signal.h-data: Likewise.
30170 * conform/data/spawn.h-data: Likewise.
30171 * conform/data/stdio.h-data: Likewise.
30172 * conform/data/stdlib.h-data: Likewise.
30173 * conform/data/stropts.h-data: Likewise.
30174 * conform/data/sys/mman.h-data: Likewise.
30175 * conform/data/sys/stat.h-data: Likewise.
30176 * conform/data/sys/types.h-data: Likewise.
30177 * conform/data/sys/wait.h-data: Likewise.
30178 * conform/data/time.h-data: Likewise.
30179 * conform/data/unistd.h-data: Likewise.
30180 * conform/data/utime.h-data: Likewise.
30181
30182 * io/sys/stat.h: fchmod was always in POSIX.
30183 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30184 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30185 * rt/aio.h: Define __need_timespec before including <time.h>.
30186 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30187 struct. Add forward declaration of pthread_attr_t and use it in
30188 sigevent.
30189 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30190 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30191 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30192 always remove CLK_TCK definition.
30193
c20105c3
AS
301942012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30195
30196 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30197
7a270350
UD
301982012-02-25 Ulrich Drepper <drepper@gmail.com>
30199
31341567
UD
30200 * conform/run-conformtest.sh: New file.
30201 * conform/Makefile: Run run-conformtest for tests.
30202 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30203 support.
30204
30205 * conform/data/uchar.h-data: New file.
30206 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30207 * conform/data/arpa/inet.h-data: Likewise.
30208 * conform/data/assert.h-data: Likewise.
30209 * conform/data/complex.h-data: Likewise.
30210 * conform/data/cpio.h-data: Likewise.
30211 * conform/data/ctype.h-data: Likewise.
30212 * conform/data/dirent.h-data: Likewise.
30213 * conform/data/dlfcn.h-data: Likewise.
30214 * conform/data/errno.h-data: Likewise.
30215 * conform/data/fcntl.h-data: Likewise.
30216 * conform/data/float.h-data: Likewise.
30217 * conform/data/fmtmsg.h-data: Likewise.
30218 * conform/data/fnmatch.h-data: Likewise.
30219 * conform/data/ftw.h-data: Likewise.
30220 * conform/data/glob.h-data: Likewise.
30221 * conform/data/grp.h-data: Likewise.
30222 * conform/data/iconv.h-data: Likewise.
30223 * conform/data/inttypes.h-data: Likewise.
30224 * conform/data/langinfo.h-data: Likewise.
30225 * conform/data/libgen.h-data: Likewise.
30226 * conform/data/limits.h-data: Likewise.
30227 * conform/data/locale.h-data: Likewise.
30228 * conform/data/math.h-data: Likewise.
30229 * conform/data/monetary.h-data: Likewise.
30230 * conform/data/mqueue.h-data: Likewise.
30231 * conform/data/ndbm.h-data: Likewise.
30232 * conform/data/net/if.h-data: Likewise.
30233 * conform/data/netdb.h-data: Likewise.
30234 * conform/data/netinet/in.h-data: Likewise.
30235 * conform/data/nl_types.h-data: Likewise.
30236 * conform/data/poll.h-data: Likewise.
30237 * conform/data/pthread.h-data: Likewise.
30238 * conform/data/pwd.h-data: Likewise.
30239 * conform/data/regex.h-data: Likewise.
30240 * conform/data/sched.h-data: Likewise.
30241 * conform/data/search.h-data: Likewise.
30242 * conform/data/semaphore.h-data: Likewise.
30243 * conform/data/setjmp.h-data: Likewise.
30244 * conform/data/signal.h-data: Likewise.
30245 * conform/data/spawn.h-data: Likewise.
30246 * conform/data/stdarg.h-data: Likewise.
30247 * conform/data/stdio.h-data: Likewise.
30248 * conform/data/stdlib.h-data: Likewise.
30249 * conform/data/string.h-data: Likewise.
30250 * conform/data/strings.h-data: Likewise.
30251 * conform/data/stropts.h-data: Likewise.
30252 * conform/data/sys/ipc.h-data: Likewise.
30253 * conform/data/sys/mman.h-data: Likewise.
30254 * conform/data/sys/msg.h-data: Likewise.
30255 * conform/data/sys/resource.h-data: Likewise.
30256 * conform/data/sys/select.h-data: Likewise.
30257 * conform/data/sys/sem.h-data: Likewise.
30258 * conform/data/sys/shm.h-data: Likewise.
30259 * conform/data/sys/socket.h-data: Likewise.
30260 * conform/data/sys/stat.h-data: Likewise.
30261 * conform/data/sys/statvfs.h-data: Likewise.
30262 * conform/data/sys/time.h-data: Likewise.
30263 * conform/data/sys/timeb.h-data: Likewise.
30264 * conform/data/sys/times.h-data: Likewise.
30265 * conform/data/sys/types.h-data: Likewise.
30266 * conform/data/sys/uio.h-data: Likewise.
30267 * conform/data/sys/un.h-data: Likewise.
30268 * conform/data/sys/utsname.h-data: Likewise.
30269 * conform/data/sys/wait.h-data: Likewise.
30270 * conform/data/syslog.h-data: Likewise.
30271 * conform/data/tar.h-data: Likewise.
30272 * conform/data/termios.h-data: Likewise.
30273 * conform/data/utime.h-data: Likewise.
30274 * conform/data/utmpx.h-data: Likewise.
30275 * conform/data/varargs.h-data: Likewise.
30276 * conform/data/wchar.h-data: Likewise.
30277 * conform/data/wctype.h-data: Likewise.
30278 * conform/data/wordexp.h-data: Likewise.
30279
30280 * include/stropts.h: New file.
30281 * include/uchar.h: New file.
30282 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30283 * include/assert.h: Likewise.
30284 * include/ctype.h: Likewise.
30285 * include/dirent.h: Likewise.
30286 * include/dlfcn.h: Likewise.
30287 * include/fcntl.h: Likewise.
30288 * include/fnmatch.h: Likewise.
30289 * include/glob.h: Likewise.
30290 * include/grp.h: Likewise.
30291 * include/libio.h: Likewise.
30292 * include/locale.h: Likewise.
30293 * include/math.h: Likewise.
30294 * include/net/if.h: Likewise.
30295 * include/netdb.h: Likewise.
30296 * include/netinet/in.h: Likewise.
30297 * include/pthread.h: Likewise.
30298 * include/pwd.h: Likewise.
30299 * include/regex.h: Likewise.
30300 * include/sched.h: Likewise.
30301 * include/search.h: Likewise.
30302 * include/setjmp.h: Likewise.
30303 * include/signal.h: Likewise.
30304 * include/stdio.h: Likewise.
30305 * include/stdlib.h: Likewise.
30306 * include/string.h: Likewise.
30307 * include/sys/cdefs.h: Likewise.
30308 * include/sys/mman.h: Likewise.
30309 * include/sys/msg.h: Likewise.
30310 * include/sys/resource.h: Likewise.
30311 * include/sys/select.h: Likewise.
30312 * include/sys/socket.h: Likewise.
30313 * include/sys/stat.h: Likewise.
30314 * include/sys/statvfs.h: Likewise.
30315 * include/sys/time.h: Likewise.
30316 * include/sys/times.h: Likewise.
30317 * include/sys/uio.h: Likewise.
30318 * include/sys/utsname.h: Likewise.
30319 * include/sys/wait.h: Likewise.
30320 * include/termios.h: Likewise.
30321 * include/time.h: Likewise.
30322 * include/ulimit.h: Likewise.
30323 * include/unistd.h: Likewise.
30324 * include/utime.h: Likewise.
30325 * include/wchar.h: Likewise.
30326 * include/wctype.h: Likewise.
30327 * include/wordexp.h: Likewise.
30328
30329 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30330
7a270350
UD
30331 * time/time.h: TIME_UTC must be a macro.
30332 Make timespec_get available for ISO C11 only as well.
30333
7724defc
UD
303342012-02-24 Ulrich Drepper <drepper@gmail.com>
30335
30336 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30337 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30338
6b1d1d46
JM
303392012-02-24 Joseph Myers <joseph@codesourcery.com>
30340
30341 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30342
0f8bbd69
JM
303432012-02-24 Joseph Myers <joseph@codesourcery.com>
30344
30345 * manual/texinfo.tex: Update to version 2012-01-19.16.
30346
66ab80bc
JM
303472012-02-24 Joseph Myers <joseph@codesourcery.com>
30348
30349 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30350
74981cc5
RM
303512012-02-24 Roland McGrath <roland@hack.frob.com>
30352
ee968201
RM
30353 [BZ #13738]
30354 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30355 * manual/fdl-1.3.texi: New file.
30356 * manual/fdl-1.1.texi: File removed.
30357
74981cc5
RM
30358 [BZ #13738]
30359 * manual/libc.texinfo (FDL_VERSION): New @set.
30360 Use it for mention of FDL in cover text.
30361 (Documentation License): Use it in @include file name.
30362
7bb764bc
JM
303632012-02-22 Joseph Myers <joseph@codesourcery.com>
30364 Roland McGrath <roland@hack.frob.com>
30365
30366 [BZ #5461]
30367 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30368 not LONG_LONG_MAX and LONG_LONG_MIN.
30369 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30370 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30371 name.
30372 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30373
6cbeae47
JM
303742012-02-22 Joseph Myers <joseph@codesourcery.com>
30375
30376 [BZ #2547]
30377 [BZ #11365]
30378 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30379 manipulate bits before adding and subtracting TWO23[sx].
30380 * math/libm-test.inc (nearbyint_test): Add more tests.
30381
fe45ce09
JM
303822012-02-22 Joseph Myers <joseph@codesourcery.com>
30383
30384 [BZ #2548]
30385 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30386 bits before adding and subtracting TWO23[sx].
30387 * math/libm-test.inc (rint_test): Add more tests.
30388 (rint_test_tonearest): Likewise.
30389 (rint_test_towardzero): Likewise.
30390 (rint_test_downward): Likewise.
30391 (rint_test_upward: Likewise.
30392
ff3b3d82
JM
303932012-02-22 Joseph Myers <joseph@codesourcery.com>
30394
30395 [BZ #10110]
30396 * include/stdc-predef.h: New file. Extracted from features.h.
30397 * include/features.h: Include stdc-predef.h.
30398 * Makefile (headers): Add stdc-predef.h.
30399 * CONFORMANCE (Compiler limitations): Update.
30400
ef0aab35
JM
304012012-02-22 Joseph Myers <joseph@codesourcery.com>
30402
30403 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30404
58639409
DM
304052012-02-21 David S. Miller <davem@davemloft.net>
30406
30407 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30408 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30409
c0e70b25
DM
304102012-02-20 David S. Miller <davem@davemloft.net>
30411
30412 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30413 using a normal save/restore sequence, rather than allocating a
30414 dummy stack frame just to store a frame pointer and restore.
30415 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30416
fb06851d
JM
304172012-02-21 Joseph Myers <joseph@codesourcery.com>
30418
30419 * manual/install.texi: Fix stray word in line-wrapped comment.
30420
7a8b71c3
DM
304212012-02-20 David S. Miller <davem@davemloft.net>
30422
d510c123
DM
30423 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30424 both binutils and gcc support GOTDATA.
30425
0722d7c2
DM
30426 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30427 "rd %pc" in the PIC register setup sequences.
30428
3d2b3019
DM
30429 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30430 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30431 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30432 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30433 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30435 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30436 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30437 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30438 (SYSCALL_ERROR_HANDLER): Likewise.
30439 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30440 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30442 (SYSCALL_ERROR_HANDLER): Likewise.
30443
c80098a9
DM
30444 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30445 (HAVE_GCC_GOTDATA): New.
30446 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30447 relocation support in both binutils and gcc.
30448 * sysdeps/sparc/elf/configure: Regenerate.
30449
3a2545a0
DM
30450 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30451 * sysdeps/sparc/sparc32/elf/configure: Delete.
30452 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30453 * sysdeps/sparc/sparc64/elf/configure: Delete.
30454 * sysdeps/sparc/elf/configure.in: New file.
30455 * sysdeps/sparc/elf/configure: Generate.
30456
7a8b71c3
DM
30457 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30458 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30459 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30460 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30461 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30462
f1e86fca
JM
304632012-02-21 Joseph Myers <joseph@codesourcery.com>
30464
30465 * manual/install.texi: Do not mention specific glibc version
30466 numbers.
30467 * manual/libc.texinfo (VERSION, UPDATED): Update.
30468 (@copying): Use @copyright{} and range of years.
30469
0e7dfaef
JM
304702012-02-21 Joseph Myers <joseph@codesourcery.com>
30471
30472 [BZ #13695]
30473 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30474 [crti.S not in sysdirs] (generated): Do not append.
30475 [crti.S not in sysdirs] (omit-deps): Likewise.
30476 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30477 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30478 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30479 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30480 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30481 Likewise.
30482 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30483 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30484 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30485 * csu/defs.awk: Remove file.
30486 * sysdeps/generic/initfini.c: Likewise.
30487 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30488 variable.
30489 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30490 Likewise.
30491
599af3ca
JM
304922012-02-20 Joseph Myers <joseph@codesourcery.com>
30493
30494 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30495 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30496 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30497 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30498 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30499 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30500 <bits/epoll.h>.
30501 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30502 (__EPOLL_PACKED): Define to empty if not defined by
30503 <bits/epoll.h>.
30504 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30505 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30506 bits/epoll.h.
30507
0e499750
JM
305082012-02-20 Joseph Myers <joseph@codesourcery.com>
30509
30510 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30511 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30512 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30513 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30514 <bits/timerfd.h>.
30515 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30517 bits/timerfd.h.
30518
5ad91f6e
JM
305192012-02-20 Joseph Myers <joseph@codesourcery.com>
30520
30521 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30522 in C locale.
30523 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30524 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30525 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30527
06b99b02
AJ
305282012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30529
30530 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30531 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30532
7638c0fd
AS
305332012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30534
30535 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30536 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30537 defined.
30538 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30539 Likewise.
30540 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30541 entry for 2.16.
30542
92221550
AJ
305432012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30544
30545 * math/w_acos.c: Use non-signaling floating-point comparisons.
30546 * math/w_acosf.c: Likewise.
30547 * math/w_acosh.c: Likewise.
30548 * math/w_acoshf.c: Likewise.
30549 * math/w_acoshl.c: Likewise.
30550 * math/w_acosl.c: Likewise.
30551 * math/w_asin.c: Likewise.
30552 * math/w_asinf.c: Likewise.
30553 * math/w_asinl.c: Likewise.
30554 * math/w_atanh.c: Likewise.
30555 * math/w_atanhf.c: Likewise.
30556 * math/w_atanhl.c: Likewise.
30557 * math/w_exp2.c: Likewise.
30558 * math/w_exp2f.c: Likewise.
30559 * math/w_exp2l.c: Likewise.
30560 * math/w_j0.c: Likewise.
30561 * math/w_j0f.c: Likewise.
30562 * math/w_j0l.c: Likewise.
30563 * math/w_j1.c: Likewise.
30564 * math/w_j1f.c: Likewise.
30565 * math/w_j1l.c: Likewise.
30566 * math/w_jn.c: Likewise.
30567 * math/w_jnf.c: Likewise.
30568 * math/w_log.c: Likewise.
30569 * math/w_log10.c: Likewise.
30570 * math/w_log10f.c: Likewise.
30571 * math/w_log10l.c: Likewise.
30572 * math/w_log2.c: Likewise.
30573 * math/w_log2f.c: Likewise.
30574 * math/w_log2l.c: Likewise.
30575 * math/w_logf.c: Likewise.
30576 * math/w_logl.c: Likewise.
30577 * math/w_sqrt.c: Likewise.
30578 * math/w_sqrtf.c: Likewise.
30579 * math/w_sqrtl.c: Likewise.
30580 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30581 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30582 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30583 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30584 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30585
ebaf36eb
JM
305862012-02-19 Joseph Myers <joseph@codesourcery.com>
30587
30588 [BZ #9739]
30589 * manual/string.texi (strnlen): Use correct parameter name in
30590 equivalent expression.
30591
71c254a6
JM
305922012-02-19 Joseph Myers <joseph@codesourcery.com>
30593
30594 [BZ #11174]
30595 * manual/users.texi (seteuid): Consistently use neweuid for
30596 argument name.
30597
16d2c631
JM
305982012-02-19 Joseph Myers <joseph@codesourcery.com>
30599
30600 [BZ #13704]
30601 * manual/nss.texi (Services in the NSS configuration): Correct
30602 list of services in example configuration file.
30603
cd837b09
NB
306042012-02-19 Nick Bowler <nbowler@draconx.ca>
30605
30606 [BZ #11322]
30607 * manual/arith.texi: Remove statements about negative zero
30608 behaving identically to zero.
30609
02c4bbad
JM
306102012-02-18 Joseph Myers <joseph@codesourcery.com>
30611
30612 [BZ #5993]
30613 * manual/install.texi: Do not document upgrading from libc5.
30614
366842e7
JM
306152012-02-18 Joseph Myers <joseph@codesourcery.com>
30616
30617 [BZ #4596]
30618 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30619
dd54084d
DM
306202012-02-18 David S. Miller <davem@davemloft.net>
30621
30622 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30623 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30624 %o7 across the call.
30625 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30626 instead.
30627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30628 SETUP_PIC_REG_LEAF.
30629 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30630 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30631 * sysdeps/sparc/crtn.S: Likewise.
30632
2bcc53a3
UD
306332012-02-17 Ulrich Drepper <drepper@gmail.com>
30634
30635 * aout/Makefile: Remove.
30636
09c093b5
RK
306372012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30638
30639 [BZ #13058]
30640 * manual/examples/argp-ex1.c (main): Format definition in GNU
30641 style.
30642 * manual/examples/argp-ex2.c (main): Likewise.
30643 * manual/examples/argp-ex3.c (main): Likewise.
30644 * manual/examples/argp-ex4.c (main): Likewise.
30645 * manual/examples/longopt.c (main): Use new-style prototype
30646 definition.
30647 * manual/examples/strncat.c (main): Specify return type and use
30648 (void) for arguments.
30649 * manual/examples/subopt.c (main): Use char **argv argument.
30650
2ee633a2
JM
306512012-02-17 Joseph Myers <joseph@codesourcery.com>
30652
30653 [BZ #5077]
30654 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30655 rounding modes.
30656
0520adde
FB
306572012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30658
30659 [BZ #6907]
30660 * manual/string.texi (strchr): Change when strchrnul is
30661 recommended.
30662
3f4081cd
DGM
306632012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30664
30665 [BZ #174]
30666 * manual/locale.texi (setlocale): Document LOCPATH.
30667
d1b10e78
JM
306682012-02-17 Joseph Myers <joseph@codesourcery.com>
30669
30670 [BZ #10210]
30671 * manual/process.texi (execle): Move @dots{} before last argument.
30672
79c6869c
PB
306732012-02-17 Paul Bolle <pebolle@tiscali.nl>
30674
30675 [BZ #12047]
30676 * manual/charset.texi (Generic Charset Conversion): Fix typo
30677 (LC_TYPE -> LC_CTYPE).
30678
cc6e48bc
NB
306792012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30680
30681 [BZ #5805]
30682 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30683 (scalbnf): Likewise.
30684 (scalbnl): Likewise.
30685 (scalbln): Likewise.
30686 (scalblnf): Likewise.
30687 (scalblnl): Likewise.
30688 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30689 (vwarnx): Likewise.
30690 (verr): Likewise.
30691 (verrx): Likewise.
30692 * manual/filesys.texi (telldir): Use braces around return type.
30693 * manual/llio.texi (mmap): Add space after comma.
30694 (mmap64): Likewise.
30695 * manual/math.texi (jn): Use @var{} on parameter names.
30696 (jnf): Likewise.
30697 (jnl): Likewise.
30698 (yn): Likewise.
30699 (ynf): Likewise.
30700 (ynl): Likewise.
30701 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30702 line.
30703 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30704 "...".
30705 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30706 (sched_get_priority_max): Likewise.
30707 * manual/signal.texi (sigvec): Add space after comma.
30708 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30709 names.
30710 (if_indextoname): Likewise.
30711 (if_freenameindex): Likewise.
30712 (sendto): Use ',' instead of '.' in prototype.
30713 * manual/startup.texi (syscall): Use @dots{} instead of literal
30714 "...".
30715 * manual/stdio.texi (__fpending): Separate initial words of
30716 paragraph from @deftypefun line.
30717 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30718 "...".
30719 (vsyslog): Use @var{} on parameter names.
30720 * manual/terminal.texi (stty): Use @var{} on parameter names.
30721 * manual/users.texi (getutmp): Use @var{} on parameter names.
30722 (getutmpx): Likewise.
30723
5b23062f
JM
307242012-02-17 Joseph Myers <joseph@codesourcery.com>
30725
30726 [BZ #6884]
30727 * manual/stdio.texi (fopen): Fix typos in description of
30728 ",ccs=STRING".
30729
8dee4833
AJ
307302012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30731
30732 [BZ #4026]
30733 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30734 get clock_id definition.
30735
9078ce93
TS
307362012-02-17 Thomas Schwinge <thomas@schwinge.name>
30737
30738 [BZ #4822]
30739 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30740 (madvise): Cast every argument to void on its own.
30741
3835c55f
JM
307422012-02-17 Joseph Myers <joseph@codesourcery.com>
30743
30744 [BZ #9902]
30745 * manual/startup.texi (Exit Status): Fix typo.
30746
35c47e37
JM
307472012-02-17 Joseph Myers <joseph@codesourcery.com>
30748
30749 [BZ #10140]
30750 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30751 * manual/examples/argp-ex2.c: Likewise.
30752 * manual/examples/argp-ex3.c: Likewise.
30753
e3b69ca7
RH
307542012-02-16 Richard Henderson <rth@redhat.com>
30755
30756 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30757 * sysdeps/s390/s390-32/initfini.c: Remove.
30758 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30759 * sysdeps/s390/s390-64/initfini.c: Remove.
30760
df83af67
KK
307612012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30762
30763 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30764 compiler output for sysdeps/generic/initfini.c.
30765 * sysdeps/sh/elf/initfini.c: Remove file.
30766
f63f3380
DM
307672012-02-16 David S. Miller <davem@davemloft.net>
30768
fb59b3a4
DM
30769 [BZ #11494]
30770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30771
f63f3380
DM
30772 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30773 * sysdeps/sparc/crti.S: New file.
30774 * sysdeps/sparc/crtn.S: New file.
30775 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30776 * sysdeps/sparc/sparc64/Makefile: Likewise.
30777
df6a4a4a
MF
307782012-02-15 Mike Frysinger <vapier@gentoo.org>
30779
6dd8f3dc 30780 [BZ #3335]
df6a4a4a
MF
30781 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30782
1cac7236
RM
307832012-02-15 Roland McGrath <roland@hack.frob.com>
30784
d2c736f8
RM
30785 [BZ #4822]
30786 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30787
1cac7236
RM
30788 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30789 (write, read, close): Likewise.
30790 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30791
8e475601
JM
307922012-02-15 Joseph Myers <joseph@codesourcery.com>
30793
30794 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30795 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30796 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30797 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30798 <bits/signalfd.h>.
30799 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30801 bits/signalfd.h.
30802
ed656b40
MP
308032012-02-14 Marek Polacek <polacek@redhat.com>
30804
30805 * sysdeps/x86_64/crti.S: New file.
30806 * sysdeps/x86_64/crtn.S: New file.
30807 * sysdeps/x86_64/elf/initfini.c: Remove file.
30808
2a979d3a
JM
308092012-02-13 Joseph Myers <joseph@codesourcery.com>
30810
30811 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30812 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30813 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30814 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30815 <bits/inotify.h>.
30816 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30818 bits/inotify.h.
30819
2a418ac3
JM
308202012-02-13 Joseph Myers <joseph@codesourcery.com>
30821
30822 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30823 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30824 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30825 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30826 <bits/eventfd.h>.
30827 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30829 bits/eventfd.h.
30830
fb779be7
TS
308312012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30832
e19e83c5
RM
30833 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30834 __feraiseexcept instead of feraiseexcept.
7c35ffed 30835
fb779be7
TS
30836 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30837 nanosleep invocations.
30838 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30839 strings, and add error checking for a nanosleep invocations.
30840
59ba27a6
PE
308412012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30842
30843 Replace FSF snail mail address with URLs, as per GNU coding standards.
30844 Most of the snail mail addresses were wrong anyway, and omitting
30845 them makes the source code easier to maintain. Almost all of the
30846 changes are to license notices and to locale LC_IDENTIFICATION
30847 addresses, except for this one:
30848 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30849 not its snail mail address.
30850
57b957eb
RH
308512012-02-09 Richard Henderson <rth@twiddle.net>
30852
af850b1c
RH
30853 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30854 of kernel-features.h.
30855
57b957eb
RH
30856 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30857
6b73181a
MP
308582012-02-08 Marek Polacek <polacek@redhat.com>
30859
30860 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30861 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30862 * sysdeps/gnu/_G_config.h: Likewise.
30863 * sysdeps/generic/_G_config.h: Likewise.
30864
26ecc33a
AS
308652012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30866
6c6dbc63
AS
30867 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30868 tests.
30869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30870
e216c012
AS
30871 * sysdeps/powerpc/powerpc32/crti.S: New file.
30872 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30873 * sysdeps/powerpc/powerpc64/crti.S: New file.
30874 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30875
26ecc33a
AS
30876 * Makeconfig (have-initfini): Don't set.
30877 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30878 * configure.in (nopic_initfini): Don't substitute.
30879 * config.h.in (HAVE_INITFINI): Don't #undef.
30880 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30881 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30882
3add8e13
JM
308832012-02-08 Joseph Myers <joseph@codesourcery.com>
30884
30885 Support crti.S and crtn.S provided directly by architectures.
30886 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30887 [crti.S in sysdirs] (omit-deps): Likewise.
30888 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30889 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30890 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30891 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30892 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30893 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30894 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30895 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30896 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30897 compiler output for sysdeps/generic/initfini.c.
30898 * sysdeps/i386/elf/Makefile: Remove file.
30899 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30900
a22f12b4
MP
309012012-02-07 Marek Polacek <polacek@redhat.com>
30902
30903 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30904 * sysdeps/gnu/_G_config.h: Likewise.
30905 * sysdeps/mach/hurd/_G_config.h: Likewise.
30906
148cf100
MP
309072012-02-07 Marek Polacek <polacek@redhat.com>
30908
30909 * math/Makefile (tests): Add tst-CMPLX2.
30910 * math/tst-CMPLX2.c: New file.
30911
cfdc0dd7
AS
309122012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30913
84ba42c4
AS
30914 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30915
cfdc0dd7
AS
30916 * math/libm-test.inc (jn_test): Add missing L suffix.
30917
622c86f4
MP
309182012-02-06 Marek Polacek <polacek@redhat.com>
30919
30920 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30921 * sysdeps/i386/fpu/e_powf.S: Likewise.
30922 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30923 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30924 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30925 * sysdeps/i386/fpu/e_pow.S: Likewise.
30926 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30927 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30928 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30929 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30930 * sysdeps/i386/fpu/e_log2.S: Likewise.
30931 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30932 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30933 * sysdeps/i386/fpu/e_powl.S: Likewise.
30934 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30935 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30936 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30937 * sysdeps/i386/fpu/e_logl.S: Likewise.
30938 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30939 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30940 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30941 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30942 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30943 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30944 * sysdeps/i386/fpu/e_log.S: Likewise.
30945 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30946 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30947 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30948 * sysdeps/i386/fpu/e_logf.S: Likewise.
30949 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30950 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30951 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30952 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30953 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30954 * sysdeps/i386/fpu/e_log10.S: Likewise.
30955 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30956 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30957 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30958 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30959 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30960 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30961 * sysdeps/i386/asm-syntax.h: Likewise.
30962 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30963 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30964 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30965 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30966 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30967 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30968 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30969 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30970 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30971 * sysdeps/powerpc/sysdep.h: Likewise.
30972 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30973 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30974
d4a54ac6
JM
309752012-02-06 Joseph Myers <joseph@codesourcery.com>
30976
30977 [BZ #411]
30978 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30979
314054ea
JM
309802012-02-06 Joseph Myers <joseph@codesourcery.com>
30981
30982 * sysdeps/i386/sysdep.h: Include <features.h>.
30983 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30984 version.
30985
d8e0ca50
JM
309862012-02-05 Joseph Myers <joseph@codesourcery.com>
30987
30988 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30989 Define.
30990 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30991 LOAD_PIC_REG_STR.
30992
b1da7dd9
JM
309932012-02-03 Joseph Myers <joseph@codesourcery.com>
30994
30995 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30996 (SETUP_PIC_REG): Use GET_PC_THUNK.
30997 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30998 macro.
30999
9a1d9254
JM
310002012-02-03 Joseph Myers <joseph@codesourcery.com>
31001
31002 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31003 for non-PIC compilation.
31004 (SETUP_PIC_REG): Add .p2align directive.
31005 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31006 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31007 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31008 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31009 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31010 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31011 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31013 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31014 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31015 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31016 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31017 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31018 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31019 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31020 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31021 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31022 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31023 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31024 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31025 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31026 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31027 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31028 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31029 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31030 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31031 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31032 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31033 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31034 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31035 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31036 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31037 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31038 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31039 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31040 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31041 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31042 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31043 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31044 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31045 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31046
65dc3b75
JM
310472012-02-03 Joseph Myers <joseph@codesourcery.com>
31048
31049 * math/tst-CMPLX.c: Include <stdio.h>.
31050
d55bf177
JM
310512012-01-31 Joseph Myers <joseph@codesourcery.com>
31052
31053 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31054 float.
31055 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31056 * sysdeps/sparc/bits/mathdef.h: Likewise.
31057
69db4f8f
MP
310582012-01-31 Marek Polacek <polacek@redhat.com>
31059
31060 * libio/libio.h: Don't define _PARAMS.
31061 * locale/programs/config.h: Don't define PARAMS.
31062 * stdlib/strtol_l.c: Likewise.
31063 (__strtol_l): Remove PARAMS from the prototype.
31064
41b81892
UD
310652012-01-31 Ulrich Drepper <drepper@gmail.com>
31066
3b49edc0
UD
31067 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31068 names. Just use the correct names. Remove unnecessary wrapper
31069 functions.
31070 * malloc/arena.c: Likewise.
31071 * malloc/hooks.c: Likewise.
31072
41b81892
UD
31073 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31074 ARENA_TEST says not to. Simplify test for creation of a new arena.
31075 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31076
27a25b6e
UD
310772012-01-30 Ulrich Drepper <drepper@gmail.com>
31078
31079 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31080 into tail calls.
31081 (update_get_addr): New function.
31082 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31083 GET_ADDR_MODULE parameter.
31084
c8a89e7d
JM
310852012-01-30 Joseph Myers <joseph@codesourcery.com>
31086
31087 * crypt/cert.c: Remove __STDC__ conditionals.
31088 * crypt/crypt-entry.c: Likewise.
31089 * crypt/crypt_util.c: Likewise.
31090 * libio/filedoalloc.c: Likewise.
31091 * libio/fileops.c: Likewise.
31092 * libio/genops.c: Likewise.
31093 * libio/iofclose.c: Likewise.
31094 * libio/iofdopen.c: Likewise.
31095 * libio/iofopen.c: Likewise.
31096 * libio/iofopen64.c: Likewise.
31097 * libio/iogetdelim.c: Likewise.
31098 * libio/iopopen.c: Likewise.
31099 * libio/obprintf.c: Likewise.
31100 * libio/oldfileops.c: Likewise.
31101 * libio/oldiofclose.c: Likewise.
31102 * libio/oldiofdopen.c: Likewise.
31103 * libio/oldiofopen.c: Likewise.
31104 * libio/oldiopopen.c: Likewise.
31105 * libio/wfiledoalloc.c: Likewise.
31106 * libio/wgenops.c: Likewise.
31107 * locale/programs/xmalloc.c: Likewise.
31108 * misc/syslog.c: Likewise.
31109 * stdio-common/xbug.c: Likewise.
31110 * string/memchr.c: Likewise.
31111 * string/memcmp.c: Likewise.
31112 * string/memrchr.c: Likewise.
31113 * string/rawmemchr.c: Likewise.
31114 * sysdeps/posix/getcwd.c: Likewise.
31115 * time/strftime_l.c: Likewise.
31116
3b100462
JM
311172012-01-30 Joseph Myers <joseph@codesourcery.com>
31118
31119 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
31120 * config.make.in (config-cflags-sse2avx): Define.
31121 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31122 Fix typo.
31123
607998af
CM
311242012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31125
31126 * scripts/config.guess: Update from upstream config git repository.
31127 * scripts/config.sub: Likewise.
31128
3601428f
CM
311292012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31130
3ac8b282
CM
31131 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31132 (EM_NUM): Update.
31133 (R_TILEPRO_*, R_TILEGX_*): New macros.
31134
e034841e
CM
31135 * scripts/firstversions.awk: Fix bug in version range handling.
31136
540d7568
CM
31137 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31138
3601428f
CM
31139 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31140
463de862
CM
31141 * include/sys/epoll.h: New file.
31142 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31143 libc_hidden_def.
31144
73139a76
UD
311452012-01-28 Ulrich Drepper <drepper@gmail.com>
31146
96bc5b45
UD
31147 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31148 Avoid unnecessary __WORDSIZE == 64 test.
31149 (fmaxf): Use VEX format if possible.
31150 (fmax): Likewise.
31151 (fminf): Likewise.
31152 (fmin): Likewise.
31153
56f6f6a2
UD
31154 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31155 * math/math_private.h: Remove libc_fegetround* and
31156 libc_fesetround*.
31157 * sysdeps/i386/configure.in: Check for -msse2avx.
31158 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31159 also if SSE2AVX is defined.
31160 Remove libc_fegetround* and libc_fesetround*.
31161 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31162 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31163 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31164 of HAS_YMM_USABLE.
31165 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31166 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31167 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31168 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31169 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31170
73139a76
UD
31171 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31172
d73f93a4
AZ
311732012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31174
31175 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31176 size is not set.
31177 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31178
6ee65ed6
UD
311792012-01-27 Ulrich Drepper <drepper@gmail.com>
31180
31181 [BZ #13618]
31182 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31183 relocation.
31184 * Makeconfig (libm): Define.
31185 * elf/Makefile: Add rules to build and run tst-relsort1.
31186 * elf/tst-relsort1.c: New file.
31187 * elf/tst-relsort1mod1.c: New file.
31188 * elf/tst-relsort1mod2.c: New file.
31189
8db21882
JM
311902012-01-27 Joseph Myers <joseph@codesourcery.com>
31191
31192 * math/s_ldexp.c: Remove __STDC__ conditionals.
31193 * math/s_ldexpf.c: Likewise.
31194 * math/s_ldexpl.c: Likewise.
31195 * math/s_nextafter.c: Likewise.
31196 * math/s_nexttowardf.c: Likewise.
31197 * math/s_significand.c: Likewise.
31198 * math/s_significandf.c: Likewise.
31199 * math/s_significandl.c: Likewise.
31200 * math/w_jnl.c: Likewise.
31201 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31202 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31203 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31204 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31205 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31206 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31207 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31208 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31209 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31210 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31211 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31212 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31213 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31214 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31215 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31216 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31217 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31218 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31219 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31220 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31221 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31222 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31223 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31224 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31225 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31226 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31227 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31228 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31229 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31230 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31231 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31232 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31233 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31234 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31235 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31236 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31237 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31238 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31239 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31240 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31241 * sysdeps/ieee754/k_standard.c: Likewise.
31242 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31246 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31249 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31251 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31254 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31257 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31260 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31261 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31262 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31263 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31264 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31265 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31266 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31267 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31268 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31269 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31271 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31272 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31273 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31274 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31275 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31276 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31277 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31278 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31279 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31280 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31281 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31282 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31283 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31284 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31285 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31286 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31287 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31288 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31289 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31290 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31291 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31292 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31295 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31296 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31297 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31298 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31299 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31300 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31301 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31302 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31303 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31304 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31305 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31306 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31307 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31308 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31309 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31310 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31311 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31312 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31313 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31314 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31315 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31316 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31317 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31318 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31319 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31320 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31321 * sysdeps/ieee754/s_matherr.c: Likewise.
31322 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31323 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31324 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31325 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31326
965a54a4
JM
313272012-01-26 Joseph Myers <joseph@codesourcery.com>
31328
31329 * crypt/md5.h: Remove __STDC__ conditionals.
31330 * libio/libioP.h: Likewise.
31331 * locale/programs/config.h: Likewise.
31332 * sysdeps/generic/sysdep.h: Likewise.
31333 * sysdeps/i386/asm-syntax.h: Likewise.
31334 * sysdeps/s390/asm-syntax.h: Likewise.
31335 * sysdeps/unix/sysdep.h: Likewise.
31336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31338
7071ad79
JM
313392012-01-26 Joseph Myers <joseph@codesourcery.com>
31340
31341 * libio/libio.h: Remove __STDC__ conditionals.
31342 * malloc/obstack.h: Likewise.
31343 * math/complex.h: Likewise.
31344 * math/math.h: Likewise.
31345 * sysdeps/generic/_G_config.h: Likewise.
31346 * sysdeps/gnu/_G_config.h: Likewise.
31347 * sysdeps/mach/hurd/_G_config.h: Likewise.
31348 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31349 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31350 * sysdeps/sparc/bits/mathdef.h: Likewise.
31351
afc5ed09
UD
313522012-01-26 Ulrich Drepper <drepper@gmail.com>
31353
31354 [BZ #13583]
31355 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31356 Clean up HAS_* macros.
afc5ed09 31357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31358 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31359 possible.
31360 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31361 HAS_AVX.
31362 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31363 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31364 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31365 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31366 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31367
bdb6de1d
JM
313682012-01-25 Joseph Myers <joseph@codesourcery.com>
31369
31370 * elf/tst-unique3.cc (gets): Remove declaration.
31371 * elf/tst-unique3lib.cc (gets): Likewise.
31372 * elf/tst-unique3lib2.cc (gets): Likewise.
31373 * elf/tst-unique4.cc (gets): Likewise.
31374
b15549e6
UD
313752012-01-24 Ulrich Drepper <drepper@gmail.com>
31376
31377 * include/stdio.h: Add C++ protection. Add gets declarations and
31378 definitions.
31379 * debug/tst-chk1.c: Don't declare gets here.
31380 * stdio-common/tst-gets.c: Likewise.
31381
a037381f
JM
313822012-01-24 Joseph Myers <joseph@codesourcery.com>
31383
31384 * posix/glob: Remove directory.
31385
f1d4aa75
JM
313862012-01-24 Joseph Myers <joseph@codesourcery.com>
31387
31388 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31389
81c0c964
PT
313902012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31391
31392 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31393 of the non-standard EPFNOSUPPORT.
31394
0ea698ae
ST
313952011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31396
31397 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31398 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31399 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31400
d220b117
UD
314012012-01-21 Ulrich Drepper <drepper@gmail.com>
31402
31403 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31404
3e1aa84e
UD
314052012-01-20 Ulrich Drepper <drepper@gmail.com>
31406
31407 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31408 transient errors.
31409 * nscd/grpcache.c (cache_addgr): Likewise.
31410 * nscd/hstcache.c (cache_addhst): Likewise.
31411 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31412 * nscd/pwdcache.c (cache_addpw): Likewise.
31413 * nscd/servicescache.c (cache_addserv): Likewise.
31414
400aa020
UD
314152012-01-16 Ulrich Drepper <drepper@gmail.com>
31416
d77e7869
UD
31417 * malloc/malloc.c: Various cleanups.
31418 * malloc/hooks.c: Likewise.
31419
400aa020
UD
31420 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31421 * stdlib/bug-fmtmsg1.c: New file.
31422
31423 * stdlib/fmtmsg.c (init): Add missing unlock.
31424 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31425
e0a309cf
MP
314262012-01-12 Marek Polacek <polacek@redhat.com>
31427
31428 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31429 and _GNU_SOURCE.
31430
929d11c7
WS
314312012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31432
31433 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31434 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31435 macro to ensure uniqueness of label name.
31436 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31437 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31438
41d0e869
UD
314392012-01-11 Ulrich Drepper <drepper@gmail.com>
31440
0cc5ed3b
UD
31441 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31442
41d0e869
UD
31443 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31444 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31445 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31446 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31447
a47a831a
UD
314482012-01-10 Ulrich Drepper <drepper@gmail.com>
31449
daa891c0
UD
31450 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31451
31452 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31453 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31454 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31455
e58ef0f2
UD
31456 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31457
a47a831a 31458 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31459 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31460 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31461 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31462
31463 * math/bits/math-finite.h: Add ldexp support.
31464
a0bfc9c7
MP
314652012-01-10 Marek Polacek <polacek@redhat.com>
31466
31467 * locale/programs/localedef.h (show_archive_content): Add noreturn
31468 attribute.
31469
d6e97a1d
UD
314702012-01-09 Ulrich Drepper <drepper@gmail.com>
31471
31472 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31473
d5835c26
UD
314742012-01-08 Ulrich Drepper <drepper@gmail.com>
31475
e5f484c6
UD
31476 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31477
d5835c26
UD
31478 * io/Makefile (headers): Add bits/poll2.h.
31479
d1f741e9
WS
314802011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31481
31482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31483 typo #include statement.
31484
ec09c1c4
UD
314852012-01-08 Ulrich Drepper <drepper@gmail.com>
31486
31487 * include/sys/cdefs.h: Define __attribute_alloc_size.
31488 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31489 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31490 * elf/pldd.c: Likewise.
31491 * iconv/iconv_charmap.c: Likewise.
31492 * iconv/iconvconfig.c: Likewise.
31493 * iconv/strtab.c: Likewise.
31494 * locale/programs/locale.c: Likewise.
31495 * locale/programs/localedef.h: Likewise.
31496 * locale/programs/simple-hash.c: Likewise.
31497 * nscd/nscd.h: Likewise.
31498 * nss/makedb.c: Likewise.
31499 * sysdeps/generic/ldconfig.h: Likewise.
31500 * locale/programs/localedef.c: Remove xmalloc prototype.
31501 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31502
20b38e03
PP
315032012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31504
31505 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31506 appropriate.
31507
a0da5fe1
UD
315082012-01-08 Ulrich Drepper <drepper@gmail.com>
31509
1d5a644a 31510 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31511 * math/tst-CMPLX.c: New file.
1d5a644a 31512
8784a6db
UD
31513 * math/complex.h (CMPLXL): Fix typo.
31514
d9a216c0
UD
31515 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31516 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31517 GLIBC_2.16.
31518 * debug/tst-chk1.c: Add poll and ppoll tests.
31519 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31520 * include/sys/poll.h: Add hidden proto for ppoll.
31521 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31522 * sysdeps/mach/hurd/ppoll.c: Likewise.
31523 * io/ppoll.c: Likewise.
31524 * debug/poll_chk.c: New file.
31525 * debug/ppoll_chk.c: New file.
31526 * include/bits/poll2.h: New file.
31527 * io/bits/poll2.h: New file.
31528
ac097f5c
UD
31529 [BZ #1350]
31530 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31531
2119dcfa
UD
31532 * configure.in: static is always set to yes. Remove.
31533 * config.make.in: Don't set build-static.
31534 * Makeconfig: Remove use of build-static.
31535 * dlfcn/Makefile: Likewise.
31536 * elf/Makefile: Likewise.
31537 * math/Makefile: Likewise.
31538 * misc/Makefile: Likewise.
31539 * nptl/Makefile: Likewise.
31540 * sysdeps/mach/hurd/Makefile: Likewise.
31541
121766a9
UD
31542 * configure.in: PWD_P is not used anymore.
31543 * config.make.in: Remove PWD_P entry.
31544
51a1d39c 31545 * configure.in: Remove last remnants of RANLIB.
8720d066 31546 No need to check for signed size_t anymore.
215f4bdc
UD
31547 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31548 and IA-64.
3857022a 31549 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31550 * aclocal.m4: Likewise.
31551
d3ed7225
UD
31552 * wcsmbs/mbrtoc16.c: Implement using towc function.
31553 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31554 * wcsmbs/wcsmbsload.c: Likewise.
31555 * iconv/gconv_simple.c: Likewise.
31556 * iconv/gconv_int.h: Likewise.
31557 * iconv/gconv_builtin.h: Likewise.
31558 * iconv/iconv_prog.c: Remove CHAR16 handling.
31559
31560 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31561
31562 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31563
a0da5fe1
UD
31564 * configure.in: Remove --with-elf and --enable-bounded options.
31565 Dont set base_machine for ia64. More non-ELF conditions removed.
31566 Remove testing and setting of leading underscore information.
31567 * config.make.in (build-bounded): Set to no.
31568 * config.h.in: Remove NO_UNDERSCORES entry.
31569 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31570 them.
31571 * csu/start.c: Remove !NO_UNDERSCORE code.
31572 * locale/localeinfo.h: Likewise.
31573 * sysdeps/generic/machine-gmon.h: Likewise.
31574 * sysdeps/generic/sysdep.h: Likewise.
31575 * sysdeps/i386/sysdep.h: Likewise.
31576 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31577 * sysdeps/mach/sysdep.h: Likewise.
31578 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31580 * sysdeps/sh/sysdep.h: Likewise.
31581 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31582 * sysdeps/unix/i386/sysdep.S: Likewise.
31583 * sysdeps/unix/sparc/start.c: Likewise.
31584 * sysdeps/unix/sparc/sysdep.S: Likewise.
31585 * sysdeps/unix/sparc/sysdep.h: Likewise.
31586 * sysdeps/unix/start.c: Likewise.
31587 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31588 * sysdeps/x86_64/sysdep.h: Likewise.
31589
df78418a
UD
315902012-01-07 Ulrich Drepper <drepper@gmail.com>
31591
a784e502
UD
31592 [BZ #13553]
31593 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31594 for non-gcc.
31595 * argp/argp-fmtstream.h: Use const instead __const.
31596 * argp/argp.h: Likewise.
31597 * assert/assert.h: Likewise.
31598 * bits/fenv.h: Likewise.
31599 * bits/sched.h: Likewise.
31600 * bits/sigset.h: Likewise.
31601 * bits/sigthread.h: Likewise.
31602 * catgets/nl_types.h: Likewise.
31603 * conform/data/pthread.h-data: Likewise.
31604 * crypt/crypt-private.h: Likewise.
31605 * crypt/crypt.h: Likewise.
31606 * crypt/crypt_util.c: Likewise.
31607 * ctype/ctype.h: Likewise.
31608 * debug/execinfo.h: Likewise.
31609 * debug/mbsnrtowcs_chk.c: Likewise.
31610 * debug/mbsrtowcs_chk.c: Likewise.
31611 * debug/wcsnrtombs_chk.c: Likewise.
31612 * debug/wcsrtombs_chk.c: Likewise.
31613 * debug/wcstombs_chk.c: Likewise.
31614 * dirent/dirent.h: Likewise.
31615 * dlfcn/dlfcn.h: Likewise.
31616 * elf/neededtest4.c: Likewise.
31617 * grp/grp.h: Likewise.
31618 * gshadow/gshadow.h: Likewise.
31619 * iconv/gconv.h: Likewise.
31620 * iconv/gconv_int.h: Likewise.
31621 * iconv/gconv_simple.c: Likewise.
31622 * iconv/iconv.h: Likewise.
31623 * iconv/loop.c: Likewise.
31624 * iconv/skeleton.c: Likewise.
31625 * include/aio.h: Likewise.
31626 * include/aliases.h: Likewise.
31627 * include/argz.h: Likewise.
31628 * include/arpa/inet.h: Likewise.
31629 * include/assert.h: Likewise.
31630 * include/dirent.h: Likewise.
31631 * include/dlfcn.h: Likewise.
31632 * include/execinfo.h: Likewise.
31633 * include/fcntl.h: Likewise.
31634 * include/fenv.h: Likewise.
31635 * include/glob.h: Likewise.
31636 * include/grp.h: Likewise.
31637 * include/libintl.h: Likewise.
31638 * include/mntent.h: Likewise.
31639 * include/netdb.h: Likewise.
31640 * include/pwd.h: Likewise.
31641 * include/rpc/netdb.h: Likewise.
31642 * include/sched.h: Likewise.
31643 * include/search.h: Likewise.
31644 * include/shadow.h: Likewise.
31645 * include/signal.h: Likewise.
31646 * include/stdio.h: Likewise.
31647 * include/stdlib.h: Likewise.
31648 * include/string.h: Likewise.
31649 * include/sys/socket.h: Likewise.
31650 * include/sys/stat.h: Likewise.
31651 * include/sys/statfs.h: Likewise.
31652 * include/sys/statvfs.h: Likewise.
31653 * include/sys/syslog.h: Likewise.
31654 * include/sys/time.h: Likewise.
31655 * include/sys/uio.h: Likewise.
31656 * include/time.h: Likewise.
31657 * include/unistd.h: Likewise.
31658 * include/utmp.h: Likewise.
31659 * include/wchar.h: Likewise.
31660 * include/wctype.h: Likewise.
31661 * inet/aliases.h: Likewise.
31662 * inet/arpa/inet.h: Likewise.
31663 * inet/netinet/ether.h: Likewise.
31664 * inet/netinet/in.h: Likewise.
31665 * intl/libintl.h: Likewise.
31666 * io/bits/fcntl2.h: Likewise.
31667 * io/fcntl.h: Likewise.
31668 * io/ftw.h: Likewise.
31669 * io/sys/poll.h: Likewise.
31670 * io/sys/stat.h: Likewise.
31671 * io/sys/statfs.h: Likewise.
31672 * io/sys/statvfs.h: Likewise.
31673 * io/utime.h: Likewise.
31674 * libio/bits/stdio.h: Likewise.
31675 * libio/bits/stdio2.h: Likewise.
31676 * libio/libio.h: Likewise.
31677 * libio/libioP.h: Likewise.
31678 * libio/stdio.h: Likewise.
31679 * locale/lc-ctype.c: Likewise.
31680 * locale/locale.h: Likewise.
31681 * login/utmp.h: Likewise.
31682 * malloc/arena.c: Likewise.
31683 * malloc/malloc.c: Likewise.
31684 * malloc/malloc.h: Likewise.
31685 * malloc/mcheck.c: Likewise.
31686 * malloc/mtrace.c: Likewise.
31687 * math/bits/mathcalls.h: Likewise.
31688 * math/fenv.h: Likewise.
31689 * math/math_private.h: Likewise.
31690 * misc/bits/error.h: Likewise.
31691 * misc/bits/syslog.h: Likewise.
31692 * misc/err.h: Likewise.
31693 * misc/error.h: Likewise.
31694 * misc/fstab.h: Likewise.
31695 * misc/mntent.h: Likewise.
31696 * misc/regexp.h: Likewise.
31697 * misc/search.h: Likewise.
31698 * misc/sgtty.h: Likewise.
31699 * misc/sys/mman.h: Likewise.
31700 * misc/sys/syslog.h: Likewise.
31701 * misc/sys/uio.h: Likewise.
31702 * misc/sys/xattr.h: Likewise.
31703 * misc/ttyent.h: Likewise.
31704 * nis/rpcsvc/ypclnt.h: Likewise.
31705 * nss/nss.h: Likewise.
31706 * posix/bits/unistd.h: Likewise.
31707 * posix/fnmatch.h: Likewise.
31708 * posix/glob.h: Likewise.
31709 * posix/sched.h: Likewise.
31710 * posix/spawn.h: Likewise.
31711 * posix/sys/wait.h: Likewise.
31712 * posix/unistd.h: Likewise.
31713 * posix/wordexp.h: Likewise.
31714 * pwd/pwd.h: Likewise.
31715 * resolv/netdb.h: Likewise.
31716 * resource/sys/resource.h: Likewise.
31717 * rt/aio.h: Likewise.
31718 * rt/bits/mqueue2.h: Likewise.
31719 * rt/mqueue.h: Likewise.
31720 * shadow/shadow.h: Likewise.
31721 * signal/signal.h: Likewise.
31722 * socket/send.c: Likewise.
31723 * socket/sendto.c: Likewise.
31724 * socket/sys/socket.h: Likewise.
31725 * stdio-common/printf.h: Likewise.
31726 * stdlib/bits/stdlib.h: Likewise.
31727 * stdlib/fmtmsg.h: Likewise.
31728 * stdlib/monetary.h: Likewise.
31729 * stdlib/stdlib.h: Likewise.
31730 * stdlib/ucontext.h: Likewise.
31731 * streams/stropts.h: Likewise.
31732 * string/argz.h: Likewise.
31733 * string/bits/string2.h: Likewise.
31734 * string/string.h: Likewise.
31735 * string/strings.h: Likewise.
31736 * sunrpc/rpc/auth.h: Likewise.
31737 * sunrpc/rpc/auth_des.h: Likewise.
31738 * sunrpc/rpc/clnt.h: Likewise.
31739 * sunrpc/rpc/netdb.h: Likewise.
31740 * sunrpc/rpc/pmap_clnt.h: Likewise.
31741 * sunrpc/rpc/xdr.h: Likewise.
31742 * sysdeps/generic/inttypes.h: Likewise.
31743 * sysdeps/generic/net/if.h: Likewise.
31744 * sysdeps/generic/sys/swap.h: Likewise.
31745 * sysdeps/gnu/net/if.h: Likewise.
31746 * sysdeps/gnu/utmpx.h: Likewise.
31747 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31748 * sysdeps/i386/i486/bits/string.h: Likewise.
31749 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31750 * sysdeps/s390/bits/string.h: Likewise.
31751 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31752 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31753 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31754 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31755 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31756 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31757 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31758 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31759 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31760 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31761 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31762 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31763 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31764 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31765 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31766 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31767 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31769 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31770 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31771 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31772 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31773 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31774 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31775 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31776 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31777 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31778 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31779 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31780 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31781 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31782 * sysvipc/sys/ipc.h: Likewise.
31783 * sysvipc/sys/msg.h: Likewise.
31784 * sysvipc/sys/sem.h: Likewise.
31785 * sysvipc/sys/shm.h: Likewise.
31786 * termios/termios.h: Likewise.
31787 * time/sys/time.h: Likewise.
31788 * time/time.h: Likewise.
31789 * wcsmbs/bits/wchar2.h: Likewise.
31790 * wcsmbs/uchar.h: Likewise.
31791 * wcsmbs/wchar.h: Likewise.
31792 * wctype/wctype.h: Likewise.
31793
0269750c
UD
31794 [BZ #13551]
31795 * Makeconfig: Remove all but ELF support including AIX support.
31796 * Makerules: Likewise.
31797 * config.h.in: Likewise.
31798 * config.make.in: Likewise.
31799 * configure: Likewise.
31800 * configure.in: Likewise.
31801 * csu/Makefile: Likewise.
31802 * csu/version.c: Likewise.
31803 * debug/Makefile: Likewise.
31804 * dlfcn/Makefile: Likewise.
31805 * elf/Makefile: Likewise.
31806 * extra-lib.mk: Likewise.
31807 * iconv/Makefile: Likewise.
31808 * include/libc-symbols.h: Likewise.
31809 * include/shlib-compat.h: Likewise.
31810 * resolv/Makefile: Likewise.
31811 * resolv/res_libc.c: Likewise.
31812 * rt/Makefile: Likewise.
31813 * sysdeps/i386/asm-syntax.h: Likewise.
31814 * sysdeps/i386/sysdep.h: Likewise.
31815 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31816 * sysdeps/mach/sysdep.h: Likewise.
31817 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31818 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31819 * sysdeps/s390/asm-syntax.h: Likewise.
31820 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31821 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31822 * sysdeps/sh/sysdep.h: Likewise.
31823 * sysdeps/unix/sparc/sysdep.h: Likewise.
31824 * sysdeps/wordsize-32/divdi3.c: Likewise.
31825 * sysdeps/x86_64/sysdep.h: Likewise.
31826
00bbd29b
UD
31827 * argp/Versions: Remove _argp_unlock_xxx.
31828
31829 [BZ #13559]
31830 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31831 * abilist/libBrokenLocale.abilist: Likewise.
31832 * abilist/libanl.abilist: Likewise.
31833 * abilist/libc.abilist: Likewise.
31834 * abilist/libcrypt.abilist: Likewise.
31835 * abilist/libdl.abilist: Likewise.
31836 * abilist/libm.abilist: Likewise.
31837 * abilist/libnsl.abilist: Likewise.
31838 * abilist/libpthread.abilist: Likewise.
31839 * abilist/libresolv.abilist: Likewise.
31840 * abilist/librt.abilist: Likewise.
31841 * abilist/libthread_db.abilist: Likewise.
31842 * abilist/libutil.abilist: Likewise.
31843 * abilist/libnss_db.abilist: New file.
31844
31845 * scripts/abilist.awk: Add support for indirect functions.
31846
a2693a0e
UD
31847 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31848
3f05895f
UD
31849 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31850
ecb6fb48
UD
31851 * shlib-versions: Remove entries for ports architectures.
31852
664f8cb9
UD
31853 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31854 files in ports.
31855 * elf/stackguard-macros.h: Remove support for IA-64.
31856 * elf/tst-auditmod1.c: Likewise.
31857 * sysdeps/generic/ldsodefs.h: Likewise.
31858
7ae81d88
UD
31859 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31860 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31861 configure files.
31862
bdeba135
UD
31863 [BZ #13552]
31864 * configure.in: Remove --enable-omitfp support.
31865 * FAQ.in: Adjust.
31866 * config.make.in: Likewise.
31867 * Makeconfig: Likewise.
31868 * manual/install.texi: Likewise.
31869
d75a0a62
UD
31870 In case anyone cares, the IA-64 architecture could move to ports.
31871 * sysdeps/ia64/*: Removed.
31872 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31873 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31874
dcc9756b
UD
31875 [BZ #13555]
31876 * configure.in: Remove entries for unsupported architectures.
31877
d3761ebc 31878 [BZ #13533]
9954432e
UD
31879 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31880 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31881 routines.
31882 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31883 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31884 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31885 fall back to using wcrtomb.
31886 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31887 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31888 renaming.
31889 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31890 * wcsmbs/tst-c16c32-1.c: New file.
31891
31892 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31893 local variable.
31894
c3a87236
UD
31895 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31896
28926a1b
UD
31897 * elf/tst-unique3.cc: Add explicit declaration of gets.
31898 * elf/tst-unique3lib.cc: Likewise.
31899 * elf/tst-unique3lib2.cc: Likewise.
31900 * elf/tst-unique4.cc: Likewise.
31901
df78418a
UD
31902 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31903
8ecd6b2a
JM
319042012-01-06 Joseph Myers <joseph@codesourcery.com>
31905
31906 [BZ #13566]
31907 * assert/assert.h (static_assert): Don't define for C++.
31908 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31909 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31910
9f115170
UD
319112012-01-03 Ulrich Drepper <drepper@gmail.com>
31912
5e0d0300
UD
31913 * iconv/loop.c (single loop): Fix assertion in storing of
31914 remaining bytes.
31915
9f115170
UD
31916 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31917
81fb02b0
UD
319182012-01-01 Ulrich Drepper <drepper@gmail.com>
31919
31920 * posix/getconf.c: Update copyright year.
31921 * nss/getent.c: Likewise.
a316c1f6 31922 * nss/makedb.c: Likewise.
81fb02b0
UD
31923 * iconv/iconvconfig.c: Likewise.
31924 * iconv/iconv_prog.c: Likewise.
31925 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31926 * elf/pldd.c: Likewise.
31927 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31928 * catgets/gencat.c: Likewise.
31929 * csu/version.c: Likewise.
31930 * elf/ldd.bash.in: Likewise.
31931 * elf/sprof.c (print_version): Likewise.
31932 * locale/programs/locale.c: Likewise.
31933 * locale/programs/localedef.c: Likewise.
a316c1f6 31934 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31935 * nscd/nscd.c (print_version): Likewise.
31936 * debug/xtrace.sh: Likewise.
31937 * malloc/memusage.sh: Likewise.
31938 * malloc/mtrace.pl: Likewise.
31939 * debug/catchsegv.sh: Likewise.
31940
2ba92745
JJ
319412011-12-30 Jakub Jelinek <jakub@redhat.com>
31942
31943 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31944 pure attribute.
31945
dadebdae
UD
319462011-12-24 Ulrich Drepper <drepper@gmail.com>
31947
d3761ebc 31948 [BZ #13533]
db6af3eb
UD
31949 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31950 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31951 transformations.
31952 * iconv/gconv_int.h: Likewise.
31953 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31954 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31955 from libc for GLIBC_2.16.
31956 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31957 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31958 * wcsmbs/uchar.h: Really define mbstate_t.
31959 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31960 * wcsmbs/c16rtomb.c: New file.
31961 * wcsmbs/mbrtoc16.c: New file.
31962 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31963 for C/POSIX locale.
31964 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31965 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31966
dadebdae
UD
31967 * wcsmbs/wchar.h: Add missing __restrict.
31968
67371b56
UD
319692011-12-23 Ulrich Drepper <drepper@gmail.com>
31970
74033a25
UD
31971 [BZ #13532]
31972 * time/Makefile (routines): Add timespec_get.
31973 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31974 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31975 timespec for ISO C11.
31976 * time/timespec_get.c: New file.
31977 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31978 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31979
380d7e87
UD
31980 [BZ #13531]
31981 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31982 * stdlib/stdlib.h: Declare aligned_alloc.
31983 * Versions.def: Add GLIBC_2.16 for libc.
31984 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31985
4e9e7a35
UD
31986 [BZ 13527]
31987 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31988 ISO C11.
31989
380d7e87 31990 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31991 code.
31992
03a71829
UD
31993 [BZ #13528]
31994 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31995
839e283e
UD
31996 [BZ #13529]
31997 * assert/assert.h (static_assert): Define.
31998
ce5294e2 31999 * version.h: Update for 2.16 development version.
90fa7312 32000
8d44e150 32001 [BZ #13526]
d7809905
UD
32002 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32003 _ISOC11_SOURCE.
32004
c0da14cd
UD
32005 * version.h (RELEASE): Bump for 2.15 release.
32006 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32007
530a3249
MP
32008 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32009 Patch by Marek Polacek <mpolacek@redhat.com>.
32010
67371b56
UD
32011 * bits/byteswap.h: Protect long long constants with __extension__.
32012 * sysdeps/i386/bits/byteswap.h: Likewise.
32013 * sysdeps/ia64/bits/byteswap.h: Likewise.
32014 * sysdeps/s390/bits/byteswap.h: Likewise.
32015 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32016
15db4de1
LD
320172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32018
32019 [BZ #13540]
bbe315ea
LD
32020 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32021 destination buffer.
15db4de1
LD
32022 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32023
2b2596b1
MP
320242011-12-23 Marek Polacek <polacek@redhat.com>
32025
32026 * elf/dl-addr.c (determine_info): Add inline keyword.
32027 * elf/tst-auditmod4b.c (check_avx): Likewise.
32028 * elf/tst-auditmod6b.c (check_avx): Likewise.
32029 * elf/tst-auditmod6c.c (check_avx): Likewise.
32030 * elf/tst-auditmod7b.c (check_avx): Likewise.
32031
70c6c246
UD
320322011-12-23 Ulrich Drepper <drepper@gmail.com>
32033
32034 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32035 !__SSE_MATH__.
32036
c044cf14
LD
320372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32038
15db4de1 32039 [BZ #13540]
c044cf14
LD
32040 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32041 processing for last bytes.
32042
6b13d9d9
BH
320432011-08-06 Bruno Haible <bruno@clisp.org>
32044
d455f537
BH
32045 [BZ #13061]
32046 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32047 U+0385, not to U+1FEE.
32048
6b13d9d9
BH
32049 [BZ #13062]
32050 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32051 entry for U+00A5 U+0301.
32052
db910efd
UD
320532011-12-22 Ulrich Drepper <drepper@gmail.com>
32054
27deeafc
UD
32055 [BZ #13166]
32056 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32057 buffer for the output is too small.
32058
aed9d171
UD
32059 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32060 optimization.
32061
db910efd
UD
32062 [BZ #13185]
32063 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32064 SSE flags if possible.
32065
2bd779ae
LD
320662011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32067
e7f9dac3 32068 [BZ #13540]
2bd779ae
LD
32069 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32070 processing for last bytes.
32071
154bfc16
JM
320722011-12-22 Joseph Myers <joseph@codesourcery.com>
32073
32074 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32075 (syscall-list-default-options, syscall-list-default-condition)
32076 (syscall-list-includes): Define.
32077 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32078 list of ABIs and options and #if conditions for each ABI. Do not
32079 handle common syscalls between ABIs specially.
32080 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32081 Remove.
32082 (syscall-list-variants, syscall-list-32bit-options)
32083 (syscall-list-32bit-condition, syscall-list-64bit-options)
32084 (syscall-list-64bit-condition): Define.
32085 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32086 (syscall-list-variants, syscall-list-32bit-options)
32087 (syscall-list-32bit-condition, syscall-list-64bit-options)
32088 (syscall-list-64bit-condition): Define.
32089 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32090 Remove.
32091 (syscall-list-variants, syscall-list-32bit-options)
32092 (syscall-list-32bit-condition, syscall-list-64bit-options)
32093 (syscall-list-64bit-condition): Define.
32094 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32095 Remove.
32096 (syscall-list-variants, syscall-list-32bit-options)
32097 (syscall-list-32bit-condition, syscall-list-64bit-options)
32098 (syscall-list-64bit-condition): Define.
32099
21eaf3a5
UD
321002011-12-22 Ulrich Drepper <drepper@gmail.com>
32101
16c6f992
UD
32102 * locale/iso-639.def: Add brx entry.
32103
41043168
UD
32104 [BZ #13328]
32105 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32106 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32107
21eaf3a5
UD
32108 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32109 __feraiseexcept_renamed.
32110
e3a851a2
UD
321112011-12-21 Ulrich Drepper <drepper@gmail.com>
32112
4920765e
UD
32113 [BZ #13538]
32114 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32115 EPOLLET with unsigned values.
32116 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32117 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32118
e3a851a2
UD
32119 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32120 to large cancellation.
32121 * math/s_cacoshf.c: Likewise.
32122 * math/s_cacoshl.c: Likewise.
32123
b27e24b8
RK
321242011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32125
32126 [BZ #13305]
aebefeee 32127 [BZ #12786]
b27e24b8
RK
32128 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32129 * math/s_cacoshf.c: Likewise.
32130 * math/s_cacoshl.c: Likewise.
32131
ee190f67
UD
321322011-12-21 Ulrich Drepper <drepper@gmail.com>
32133
32134 [BZ #13439]
32135 * iconv/gconv.h: Define __GCONV_SWAP.
32136 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32137 * iconvdata/utf-16.c: Likewise.
32138 * iconvdata/utf-32.c: Likewise.
32139
707f25df
AS
321402011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32141
32142 [BZ #13524]
32143 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32144 numerator after shifting it by one limb.
32145
d2daaa1e
RÁE
321462011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32147
32148 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32149 under [__USE_EXTERN_INLINES].
32150
a4647e72
UD
321512011-12-17 Ulrich Drepper <drepper@gmail.com>
32152
32153 [BZ #13446]
32154 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32155
f0b264f1
AZ
321562011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32157
32158 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32159 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32160 optimized code.
32161 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32162 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32163 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32164 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32165 for strncasecmp/strncasecmp_l compilation.
32166 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32167 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32168
8ef4f244
MP
321692011-12-08 Marek Polacek <mpolacek@redhat.com>
32170
32171 [BZ #13484]
32172 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32173 of __asm__.
32174
97ac2654
UD
321752011-12-17 Ulrich Drepper <drepper@gmail.com>
32176
32177 [BZ #13506]
32178 * time/tzfile.c (__tzfile_read): Check values from file header.
32179
91d2a845
WS
321802011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32181
32182 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32183 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32184 * powerpc/powerpc32/dl-start.S: Likewise.
32185 * powerpc/powerpc32/elf/start.S: Likewise.
32186 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32187 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32188 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32189 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32190 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32191 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32192 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32193 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32194 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32195 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32196 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32197 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32198 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32199 * powerpc/powerpc32/memset.S: Likewise.
32200 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32201 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32202 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32203 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32204 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32205 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32206 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32207 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32208 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32209 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32210 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32211 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32212 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32213
a1267ba1
AZ
322142011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32215
32216 * math/libm-test.inc: Added more nearbyint tests.
32217 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32218 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32219 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32220 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32221
ad8ac1bd
RL
322222011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32223
32224 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32225 FD_CLOEXEC.
32226
1d3e4b61
UD
322272011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32228
32229 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32230 Add wcscpy-ssse3 wcscpy-c.
32231 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32232 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32233 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32234 * sysdeps/x86_64/wcschr.S: New file.
32235 * sysdeps/x86_64/wcsrchr.S: New file.
32236 * string/test-strcmp.c: Remove checking of wcscmp function for
32237 wrong alignments.
32238 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32239 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32240 wcsrchr-sse2 wcsrchr-c.
32241 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32242 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32243 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32244 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32245 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32246 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32247 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32248 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32249 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32250 * wcsmbc/wcschr.c (WCSCHR): New macro.
32251
5b330a2d
UD
322522011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32253
32254 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32255 * wcsmbs/test-wcsrchr.c: New file.
32256 * string/test-strrchr.c: Add wcsrchr support.
32257 (WIDE): New macro.
32258 * wcsmbs/test-wcscpy.c: New file.
32259 * string/test-strcpy.c: Add wcscpy support.
32260 (WIDE): New macro.
26428b7c 32261
f039c043
UD
322622011-12-10 Ulrich Drepper <drepper@gmail.com>
32263
32264 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32265 the inner loop.
32266
850fb039
AS
322672011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32268
32269 [BZ #13472]
32270 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32271
4efbd5cb
UD
322722011-12-04 Ulrich Drepper <drepper@gmail.com>
32273
52ff5dd0 32274 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32275 Minor optimizations.
52ff5dd0 32276
4efbd5cb
UD
32277 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32278 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32279 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32280
8a426e12
UD
322812011-12-03 Ulrich Drepper <drepper@gmail.com>
32282
aff2453d
UD
32283 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32284 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32285 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32286 for gcc to avoid warnings.
32287 * inet/Makefile (tests): Add tst-checks.
32288 * inet/tst-checks.c: New file.
32289
32290 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32291 warning.
32292
32293 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32294 __wmemcmp_sse2.
32295
32296 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32297 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32298
8a426e12
UD
32299 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32300
9bea3473
UD
323012011-12-02 Ulrich Drepper <drepper@gmail.com>
32302
3a965496
UD
32303 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32304 problem.
32305
9bea3473
UD
32306 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32307
f101631b
UD
323082011-11-29 Joseph Myers <joseph@codesourcery.com>
32309
32310 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32311 conditional on GCC version.
32312 (__arch_compare_and_exchange_val_8_acq)
32313 (__arch_compare_and_exchange_val_16_acq)
32314 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32315 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32316 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32317
a98275aa
UD
323182011-12-02 Joseph Myers <joseph@codesourcery.com>
32319
32320 * sysdeps/sh/backtrace.c: New file.
32321
d4cc29a2
AS
323222011-12-02 Andreas Schwab <schwab@redhat.com>
32323
32324 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32325 parenthesis.
32326
6257af2d
AS
323272011-12-01 Andreas Schwab <schwab@redhat.com>
32328
32329 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32330 falling back to utime.
32331
b5f44c1a
AS
323322011-11-30 Andreas Schwab <schwab@redhat.com>
32333
32334 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32335 expectations for float.
32336
f3a6cc0a
AS
323372011-11-29 Andreas Schwab <schwab@redhat.com>
32338
32339 * locale/weight.h (findidx): Add parameter len.
32340 * locale/weightwc.h (findidx): Likewise.
32341 * posix/fnmatch_loop.c (FCT): Adjust caller.
32342 * posix/regcomp.c (build_equiv_class): Likewise.
32343 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32344 * posix/regexec.c (check_node_accept_bytes): Likewise.
32345 * string/strcoll_l.c (STRCOLL): Likewise.
32346 * string/strxfrm_l.c (STRXFRM): Likewise.
32347
9d65ea3a
UD
323482011-11-17 Ulrich Drepper <drepper@gmail.com>
32349
32350 * Makefile.in: Remove CVSOPT handling.
32351 * configure.in: Remove use of AC_REVISION.
32352 * iconvdata/Makefile (distribute): No need to filter out CVS.
32353 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32354 handling.
32355
5583a086
AS
323562011-11-16 Andreas Schwab <schwab@redhat.com>
32357
32358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32359 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32360 [USE_AS_STRNCASECMP_L]: Likewise.
32361 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32362 NO_TLS_DIRECT_SEG_REFS.
32363 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32364 Fix argument offsets for non-PIC.
32365 [USE_AS_STRNCASECMP_L]: Likewise.
32366 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32367 NO_TLS_DIRECT_SEG_REFS.
32368
d62a8200
UD
323692011-11-15 Ulrich Drepper <drepper@gmail.com>
32370
9d65ea3a 32371 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32372 O_CLOEXEC.
32373 * locale/loadlocale.c (_nl_load_locale): Likewise.
32374
09f93bd3
AS
323752011-11-15 Andreas Schwab <schwab@redhat.com>
32376
446514f9
AS
32377 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32378 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32379 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32380 (SYSCALL_GETTIME): Set errno on error.
32381
09f93bd3
AS
32382 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32383 count references to noai6ai_cached.
32384
312be3f9
UD
323852011-11-15 Ulrich Drepper <drepper@gmail.com>
32386
32387 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32388
32389 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32390 FD_CLOEXEC for /proc/self/maps.
32391
32392 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32393 FD_CLOEXEC for /proc/meminfo.
32394
32395 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32396 gai.conf.
32397
32398 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32399 FD_CLOEXEC for given file.
32400
32401 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32402
32403 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32404 FD_CLOEXEC for /etc/hosts.
32405 (_gethtent): Likewise.
32406
32407 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32408
32409 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32410 cancellation and set FD_CLOEXEC for /etc/netgroup.
32411
32412 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32413 reading /etc/publickey.
32414
32415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32416 allow cancellation when reading /etc/group.
32417
32418 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32419 cancellation.
32420 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32421
32422 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32423 when using data file.
32424
32425 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32426
32427 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32428 (write_nis_obj): Use "c" and "e" in fopen.
32429
32430 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32431
32432 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32433
32434 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32435
32436 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32437
32438 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32439 locale.alias.
32440
32441 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32442
32443 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32444
32445 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32446
32447 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32448 file parsing and set FD_CLOEXEC.
32449
82af0fa8
UD
324502011-11-14 Ulrich Drepper <drepper@gmail.com>
32451
32452 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32453
a5fb313c
AS
324542011-11-14 Andreas Schwab <schwab@redhat.com>
32455
32456 * malloc/arena.c (arena_get2): Don't call reused_arena when
32457 _int_new_arena failed.
32458
6abf3465
UD
324592011-11-14 Ulrich Drepper <drepper@gmail.com>
32460
32461 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32462 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32463 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32464 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32465 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32466 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32467 to compile strcasecmp and strncasecmp.
32468 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32469 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32470
32471 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32472
76e3966e
UD
324732011-11-13 Ulrich Drepper <drepper@gmail.com>
32474
32475 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32476 locale-defines.sym to gen-as-const-headers.
32477 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32478 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32480 to compile strcasecmp and strncasecmp.
32481 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32482 strcasecmp_l and strncasecmp_l.
32483 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32484 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32485 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32486 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32487 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32488 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32489 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32490 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32491 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32492 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32493 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32494
ab26144e
UD
324952011-11-12 Ulrich Drepper <drepper@gmail.com>
32496
7edb22ef
UD
32497 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32498 result of SYSDEP_GETTIME_CPU to retval.
32499 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32500 parameter list to macro. Remove trailing semicolon. Adjust users.
32501
9694fc44
UD
32502 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32503 variable.
32504
8ad89ef8
UD
32505 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32506 mantissa words.
32507 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32508
0c822ef9
UD
32509 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32510 from unused variable.
32511
874e0564
UD
32512 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32513 DWARF definitions.
32514 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32515 for assembling.
32516
3a2edc79
UD
32517 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32518 over namespaces.
32519
f3c2577f
UD
32520 * sunrpc/rpc_prot.c (rejected): Fix case value.
32521
294ce126
UD
32522 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32523 unsigned long long int to avoid warnings in shift.
32524
5e2b63c6
UD
32525 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32526 of use of trans.
32527 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32528 variable tmp.
32529
e7f4b08e
UD
32530 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32531 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32532 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32533
ab26144e
UD
32534 * nis/nis_table.c (nis_list): Use variable of correct type for
32535 result of __follow_path call.
32536
8a6d5255
AZ
325372011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32538
32539 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32540 of math functions ceil, trunc, floor, round, and sqrt, when
32541 avaliable on the platform.
32542 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32543 name clash.
32544 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32545 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32546 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32547
aaddc98c
MP
325482011-10-30 Marek Polacek <mpolacek@redhat.com>
32549
32550 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32551 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32552
95b7042b
RM
325532011-11-11 Roland McGrath <roland@hack.frob.com>
32554
32555 * include/unistd.h: Fix __readlink return type.
32556 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32557
57769839
UD
325582011-11-11 Ulrich Drepper <drepper@gmail.com>
32559
32560 * stdlib/ucontext.h: Undo last change for makecontext.
32561
edc5984d
AS
325622011-11-11 Andreas Schwab <schwab@redhat.com>
32563
98591e58
AS
32564 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32565
edc5984d
AS
32566 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32567 * setjmp/setjmp.h: Mark functions as non-leaf.
32568 * setjmp/bits/setjmp2.h: Likewise.
32569 * stdlib/ucontext.h: Likewise.
32570
77cdc054
AS
325712011-11-10 Andreas Schwab <schwab@redhat.com>
32572
32573 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32574 (reused_arena): Don't check arena limit.
32575 (arena_get2): Atomically check arena limit.
32576
fe72eebd
UD
325772011-11-08 Ulrich Drepper <drepper@gmail.com>
32578
5f078c32
UD
32579 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32580 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32581
fe72eebd
UD
32582 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32583 instructions.
32584
ae1bc2fa
AS
325852011-11-07 Andreas Schwab <schwab@redhat.com>
32586
7583a88d
AS
32587 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32588 handler when locking.
32589
ae1bc2fa
AS
32590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32591 Fix size of allocated buffer.
32592
10fb0bfa
AS
325932011-11-04 Andreas Schwab <schwab@redhat.com>
32594
998832a4
AS
32595 [BZ #10103]
32596 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32597 declarations for long double functions.
32598 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32599
10fb0bfa
AS
32600 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32601
3d7ba52b
AS
326022011-11-03 Andreas Schwab <schwab@redhat.com>
32603
a9ae54a1
AS
32604 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32605 installed.
32606
3d7ba52b
AS
32607 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32608 is disabled.
32609
bc8db248
ST
326102011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32611
32612 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32613
45b96dd6
AS
326142011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32615
647776f6
AS
32616 * include/alloca.h (stackinfo_alloca_round): Define.
32617 (extend_alloca): Use it.
32618 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32619 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32620 here.
32621
d91a8b93
AS
32622 * scripts/check-local-headers.sh: Ignore libaudit.h.
32623
45b96dd6
AS
32624 * nscd/Makefile (extra-objs): Make recursively expanded.
32625
432d41ce
UD
326262011-11-01 Ulrich Drepper <drepper@gmail.com>
32627
34372fc6
UD
32628 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32629 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32630
fadb59f8
UD
32631 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32632 * posix/tst-rfc3484-2.c: Likewise.
32633 * posix/tst-rfc3484-3.c: Likewise.
32634
78239589
UD
32635 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32636 process_vm_writev.
32637 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32638 process_vm_writev.
32639 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32640 process_vm_writev from libc using GLIBC_2.15 version.
32641
432d41ce
UD
32642 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32643
02f9c6cf
PP
326442011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32645
32646 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32647 stack usage.
32648
3a2c0242
UD
326492011-10-31 Ulrich Drepper <drepper@gmail.com>
32650
f4ec4833
UD
32651 [BZ #13367]
32652 * nss/getent.c (initgroups_keys): Show error message in case no group
32653 names are given.
32654
3a2c0242
UD
32655 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32656 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32657 __bump_nl_timestamp.
32658 * nscd/connections (nscd_init): When host database is served open
32659 netlink socket and request notification about configuration changes.
32660 (main_loop_poll): Track netlink file descriptor and bump timestamp
32661 in case data becomes available.
32662 (main_loop_epoll): Likewise.
32663 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32664 (database_pers_head): Add extra_data fileds.
32665 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32666 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32667 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32668 Adjust caller.
32669 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32670 in6ai data, call __free_in6ai.
32671 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32672 Add -DHAVE_NETLINK.
32673 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32674 interface information. Reuse previous data if netlink timestamp
32675 is not changed.
32676 (__bump_nl_timestamp): New function.
32677 (__free_in6ai): New function.
32678
636064eb
UD
326792011-10-30 Ulrich Drepper <drepper@gmail.com>
32680
32681 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32682 close_not_cancel_no_status here.
32683 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32684
9beb2334
UD
326852011-10-29 Ulrich Drepper <drepper@gmail.com>
32686
6ef76f3b
UD
32687 [BZ #13276]
32688 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32689 return value.
32690
0ffc4f3e 32691 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32692 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32693 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32694
cb95113e
UD
326952011-07-03 Andreas Jaeger <aj@suse.de>
32696
32697 [BZ #10709]
32698 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32699 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32700 * math/libm-test.inc (sin_test): Add test case.
32701
a1b560ff
UD
327022011-10-29 Ulrich Drepper <drepper@gmail.com>
32703
c9aaface
UD
32704 [BZ #13337]
32705 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32706 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32707
d272e7f1
UD
32708 * elf/chroot_canon.c (chroot_canon): Cleanups.
32709
1bc33071
UD
32710 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32711
1760874d
TJ
32712 [BZ #13335]
32713 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32714 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32715
51d91b18
UD
32716 * string/test-strchr.c: Make usable for strchrnul testing.
32717 * string/test-strchrnul.c: New file.
32718 * string/Makefile (strop-tests): Add strchrnul.
32719
a1b560ff 32720 * po/it.po: Update from translation team.
b611fb81 32721 * po/es.po: Likewise.
a1b560ff 32722
a5b81e1f
UD
327232011-10-28 Ulrich Drepper <drepper@gmail.com>
32724
fd52bc6d
UD
32725 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32726 the three constants needed as parameters. Drop the others.
32727 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32728 __m128i_strloadu_tolower.
52e4b9eb
UD
32729 Create and initialize variable zero and use it in all the places
32730 where _mm_setzero_si128 was used.
fd52bc6d 32731
a5b81e1f
UD
32732 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32733 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32734 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32735 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32736 anymore.
32737 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32738 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32739 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32740 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32741 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32742 __mpranred, __mptan.
32743 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32744 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32745 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32746 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32747 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32748 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32749 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32750 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32751 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32752
b4343346
AS
327532011-10-28 Andreas Schwab <schwab@redhat.com>
32754
0c92d8a8
AS
32755 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32756 redefine if SHARED.
32757 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32758
b4343346
AS
32759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32760 wide char related routines to wcsmbs subdir.
32761
3871f58f
AS
327622011-10-27 Andreas Schwab <schwab@redhat.com>
32763
32764 [BZ #13344]
32765 * misc/sys/cdefs.h (__THROWNL): Define.
32766 * posix/unistd.h: Use __THREADNL instead of __THREAD
32767 for memory synchronization functions.
32768
94d44d9f
RM
327692011-10-26 Roland McGrath <roland@hack.frob.com>
32770
21b64b15 32771 [BZ #13349]
94d44d9f
RM
32772 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32773 doesn't exist.
32774 * manual/stdio.texi (Obstack Streams): Node removed.
32775
f6ce9294
AS
327762011-10-26 Andreas Schwab <schwab@redhat.com>
32777
80479147
AS
32778 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32779 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32780 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32781
f6ce9294
AS
32782 * math/math_private.h (math_force_eval): Allow non-addressable
32783 arguments.
32784 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32785
618280a1
UD
327862011-10-25 Ulrich Drepper <drepper@gmail.com>
32787
e0016b11
UD
32788 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32789 file is not needed.
32790
32791 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32792 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32793 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32794 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32795 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32796 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32797 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32798 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32799 Add AVX variants.
32800 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32801 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32802 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32803 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32804 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32805 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32806 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32807 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32808 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32809 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32810 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32811 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32812 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32813 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32814 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32815 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32816 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32817 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32818 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32819
32820 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32821 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32822
618280a1
UD
32823 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32824 place. Use VEX encoding when compiling for AVX.
32825
37822576
AS
328262011-10-25 Andreas Schwab <schwab@redhat.com>
32827
1f1e1947
AS
32828 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32829 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32830
37822576
AS
32831 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32832
31ea014d
UD
328332011-10-25 Ulrich Drepper <drepper@gmail.com>
32834
d7826aa1 32835 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32836 useless if() expression.
d7826aa1
UD
32837 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32838 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32839 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32840 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32841 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32842 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32843 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32845 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32846 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32847 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32848 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32849 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32850 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32851 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32852 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32853 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32854 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32855 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32856
31ea014d
UD
32857 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32858
16437fec
AS
328592011-10-25 Andreas Schwab <schwab@redhat.com>
32860
32861 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32862 condition.
32863 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32864
31d3cc00
UD
328652011-10-25 Ulrich Drepper <drepper@gmail.com>
32866
32867 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32868 .text section. Avoid duplicate constants.
32869 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32870 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32871 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32873 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32877 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32878 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32879 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32880 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32881 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32882 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32883 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32884 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32885 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32886 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32888 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32889 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32890 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32891 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32892 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32893 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32894 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32895 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32896 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32897 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32898 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32899 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32900 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32901 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32902 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32903 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32904 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32905 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32906 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32907 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32908 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32909 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32910 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32911 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32912 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32913 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32914
58985aa9
UD
329152011-10-24 Ulrich Drepper <drepper@gmail.com>
32916
202c9deb
UD
32917 * sysdeps/x86_64/dla.h: Move to ...
32918 * sysdeps/x86_64/fpu/dla.h: ...here.
32919 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32920 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32921
af968f62
UD
32922 * config.make.in: Add have-mfma4 entry.
32923 * configure.in: Substitute libc_cv_cc_fma4.
32924 * math/Makefile (dbl-only-routines): Add sincostab.
32925 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32926 Use __sincostab not sincos.
32927 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32928 name is a macro.
32929 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32930 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32931 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32933 using __copysign.
32934 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32935 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32936 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32937 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32938 and __inv.
32939 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32940 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32941 __copysign.
32942 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32943 define aliases when function name is a macro.
32944 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32945 sysdeps/ieee754/dbl-64/sincos.tbl.
32946 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32947 fma4-enabled routines.
32948 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32949 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32950 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32951 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32952 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32953 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32954 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32955 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32956 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32957 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32958 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32959 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32960 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32961 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32963 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32964 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32965 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32966 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32967 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32968 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32969 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32970 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32971 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32973 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32974 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32975 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32976 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32977 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32978
58985aa9
UD
32979 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32980 rename.
32981 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32983 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32984 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32986 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32988 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32989
a201fbcf
AS
329902011-10-24 Andreas Schwab <schwab@redhat.com>
32991
32992 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32993
fc2ee42a
LD
329942011-10-23 Ulrich Drepper <drepper@gmail.com>
32995
bb3129bd
UD
32996 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32997
0275fff8
UD
32998 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32999 prediction.
33000 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33001
2fa2ae85
UD
33002 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33003 Remove unused variable magic_bits.
33004 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33005
fc2ee42a
LD
33006 * string/strnlen.c: Define and use STRNLEN macro.
33007 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33008 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33009 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33010 * wcsmbs/wcslen.c: Define and use WCSLEN.
33011 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33012 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33013 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33014 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33015 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33016 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33017 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33018
ce7dd29f
LD
330192011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33020
33021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33022 strnlen-sse2-no-bsf.
33023 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33024 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33025 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33026 Add strnlen support.
33027 (USE_AS_STRNLEN): New macro.
33028 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33029 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33030 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33031 * sysdeps/x86_64/wcslen.S: New file.
33032
979c70a3
MZ
330332011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33034
33035 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33036 XMM-moves are used for copying on small sizes.
33037
2d09f82f
LD
330382011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33039
33040 * wcsmbs/Makefile (strop-tests): Add wcschr.
33041 * wcsmbs/test-wcschr.c: New file.
33042 * string/test-strchr.c: Update.
33043 Add wcschr support.
33044 (WIDE): New macro.
33045
619fccca
LD
330462011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33047
2d09f82f 33048 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
33049 * wcsmbs/test-wcslen.c: New file.
33050 * string/test-strlen.c: Update.
33051 Add wcslen support.
33052 (WIDE): New macro.
33053
09f699ea
UD
330542011-10-23 Ulrich Drepper <drepper@gmail.com>
33055
33056 * po/it.po: Update from translation team.
33057
95584d3b
LD
330582011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33059
33060 * sysdeps/x86_64/wcscmp.S: Update.
33061 Fix wrong comparison semantics.
33062 wcscmp shall use signed comparison not unsigned.
33063 Don't use substraction to avoid overflow bug.
33064 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33065 * wcsmbc/wcscmp.c: Likewise.
33066 * string/test-strcmp.c: Likewise.
33067 Add new tests to check cases with negative values.
33068
c8b3296b
UD
330692011-10-23 Ulrich Drepper <drepper@gmail.com>
33070
33071 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33072 * sysdeps/x86_64/dla.h: ...here. New file.
33073 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33078 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33081 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33082
246ad57a
AS
330832011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33084
33085 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33086 __ynl_finite aliases.
33087
a1a87169
UD
330882011-10-22 Ulrich Drepper <drepper@gmail.com>
33089
0d355eb7
UD
33090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33091
a1a87169
UD
33092 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33093 define DLA_FMA.
33094 [DLA_FMA] (EMULV): Use DLA_FMA.
33095 [DLA_FMA] (MUL12): Use EMULV.
33096 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33097 that are not needed.
33098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33102 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33103 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33104 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33105
ee2aafe0
AS
331062011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33107
33108 * math/s_nan.c: Undef __nan.
33109 * math/s_nanf.c: Undef __nanf.
33110 * math/s_nanl.c: Undef __nanl.
33111 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33112 "math_private.h".
33113
bc62c2fb
UD
331142011-10-22 Ulrich Drepper <drepper@gmail.com>
33115
77425c63
UD
33116 * math/s_catan.c: Add branch predictions.
33117 * math/s_catanf.c: Likewise.
33118 * math/s_catanh.c: Likewise.
33119 * math/s_catanhf.c: Likewise.
33120 * math/s_catanhl.c: Likewise.
33121 * math/s_catanl.c: Likewise.
33122 * math/s_cexp.c: Likewise.
33123 * math/s_cexpf.c: Likewise.
33124 * math/s_cexpl.c: Likewise.
33125 * math/s_clog.c: Likewise.
33126 * math/s_clog10.c: Likewise.
33127 * math/s_clog10f.c: Likewise.
33128 * math/s_clog10l.c: Likewise.
33129 * math/s_clogf.c: Likewise.
33130 * math/s_clogl.c: Likewise.
33131 * math/s_csqrt.c: Likewise.
33132 * math/s_csqrtf.c: Likewise.
33133 * math/s_csqrtl.c: Likewise.
33134 * math/s_ctanf.c: Likewise.
33135 * math/s_ctanh.c: Likewise.
33136 * math/s_ctanhf.c: Likewise.
33137 * math/s_ctanhl.c: Likewise.
33138 * math/s_ctanl.c: Likewise.
33139
bc62c2fb
UD
33140 * math/math_private.h: Define __nan, __nanf, __nanl.
33141 * math/s_cacosh.c: Include <math_private.h>.
33142 * math/s_cacoshl.c: Likewise.
33143 * math/s_casinh.c: Likewise.
33144 * math/s_casinhf.c: Likewise.
33145 * math/s_casinhl.c: Likewise.
33146 * math/s_ccos.c: Rely entire on ccosh.
33147 * math/s_ccosf.c: Rely entire on ccoshf.
33148 * math/s_ccosl.c: Rely entirely on ccoshl.
33149 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33150 Remove tests for FE_INVALID.
33151 * math/s_ccoshf.c: Likewise.
33152 * math/s_ccoshl.c: Likewise.
33153 * math/s_csin.c: Likewise.
33154 * math/s_csinf.c: Likewise.
33155 * math/s_csinh.c Likewise.
33156 * math/s_csinhf.c: Likewise.
33157 * math/s_csinhl.c: Likewise.
33158 * math/s_csinl.c: Likewise.
33159 * math/s_ctan.c: Likewise.
33160 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33161 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33162 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33163
8ec250a4
UD
331642011-10-21 Ulrich Drepper <drepper@gmail.com>
33165
c196fed8
UD
33166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33167 compilation problems.
33168
8ec250a4
UD
33169 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33170 __builtin_expect.
33171
8d4f46c6
UD
331722011-10-20 Ulrich Drepper <drepper@gmail.com>
33173
ed72b654
UD
33174 * sysdeps/i386/configure.in: Test for -mfma4 option.
33175 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33176 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33177 COMMON_CPUID_INDEX_80000001.
33178 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33179 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33180 use it if FMA3 is not supported.
33181 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33182
8d4f46c6
UD
33183 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33184 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33185
d45c60c2
AS
331862011-10-20 Andreas Schwab <schwab@redhat.com>
33187
33188 [BZ #12892]
33189 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33190 it would create a cycle with a link time dependency.
33191
d9a4d2ab
UD
331922011-10-19 Ulrich Drepper <drepper@gmail.com>
33193
855d1560
UD
33194 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33195 instruction.
33196 * string/Makefile (strop-tests): Add rawmemchr.
33197 * string/test-rawmemchr.c: New file.
33198
d9a4d2ab
UD
33199 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33201 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33202 when compiling str{,n}casecmp and when AVX is available. Hook up
33203 new optimized code in initializers.
33204
8f3b1ffe
AS
332052011-10-19 Andreas Schwab <schwab@redhat.com>
33206
33207 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33208 __feraiseexcept instead of feraiseexcept.
33209
d38f1dba
UD
332102011-10-18 Ulrich Drepper <drepper@gmail.com>
33211
d9a8d0ab
UD
33212 * math/math_private.h: Define defaults for libc_fetestexcept and
33213 libc_feupdateenv.
33214 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33215 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33216 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33217 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33218 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33219 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33220 libc_fetestexcept and libc_feupdateenv.
33221
4855e3dd
UD
33222 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33223 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33224 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33225 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33226 libc_feholdexcept_setround.
33227
581d30e3
UD
33228 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33229 Add s_nearbyint-c and s_nearbyintf-c.
33230 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33231 nearbyintf inlines.
33232 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33233 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33234 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33235 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33236
d38f1dba
UD
33237 * math/math_private.h: Define defaults for libc_fegetround,
33238 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33239 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33240 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33241 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33242 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33243 standard functions.
33244 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33245 Remove comments and hacks for old compiler versions.
33246 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33247 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33248 libc_feholdexceptl.
33249
caa6c9d8
AS
332502011-10-18 Andreas Schwab <schwab@redhat.com>
33251
33252 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33253 (__feraiseexcept_renamed): Add __NTH.
33254 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33255 namespace violations.
33256
97c066e6
UD
332572011-10-17 Ulrich Drepper <drepper@gmail.com>
33258
99ce7b04
UD
33259 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33260
1004d182
UD
33261 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33262
228a984d
UD
33263 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33264 recently added interfaces.
33265 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33266
c8553a6a
UD
33267 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33268 about macro parameter expansion.
33269
ed22dcf6
UD
33270 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33271 __NO_MATH_INLINES is defined. Cleanups.
33272
33273 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33274 and __floorf is target has SSE4.1.
33275 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33276 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33277 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33278 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33279
b171c137
UD
33280 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33281 name.
33282 (floorf): Likewise.
33283
97c066e6
UD
33284 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33285
629f62ef
AS
332862011-10-17 Andreas Schwab <schwab@redhat.com>
33287
49a43d80
AS
33288 * misc/sys/cdefs.h: Fix last change.
33289
629f62ef
AS
33290 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33291 database lookup.
33292
e453f6cd
UD
332932011-10-16 Ulrich Drepper <drepper@gmail.com>
33294
aa78043a
UD
33295 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33296
ad0f5cad
UD
33297 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33298 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33299 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33300 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33301 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33302 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33303 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33304 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33305 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33306 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33307 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33308 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33309 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33310 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33311 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33312 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33313 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33314 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33315 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33316 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33317 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33318 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33319
33320 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33321 ceil, ceilf, floor, floorf.
33322
33323 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33324 Perform IRELATIVE relocations last.
33325
e453f6cd
UD
33326 * elf/do-rel.h: Add another parameter nrelative, replacing the
33327 local variable with the same name. Change name of the function
33328 to end in Rel or Rela (uppercase).
33329 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33330 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33331 elf_dynamic_do_##reloc function.
33332
fd5bdc09
UD
333332011-10-15 Ulrich Drepper <drepper@gmail.com>
33334
79b195b5
UD
33335 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33336 is sufficient, at least on modern CPUs.
33337
d4a28569
UD
33338 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33339
b61099b5
UD
33340 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33341 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33342
bcf01e6d
UD
33343 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33344 __expl_finite.
33345 * math/bits/math-finite.h: Add entries for exp.
33346 * math/e_expl.c: Add __*_finite alias.
33347 * sysdeps/i386/fpu/e_exp.S: Likewise.
33348 * sysdeps/i386/fpu/e_expf.S: Likewise.
33349 * sysdeps/i386/fpu/e_expl.c: Likewise.
33350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33351 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33352 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33353 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33354 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33355 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33356 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33357
ba1a0d59
UD
33358 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33359 is sufficient, at least on modern CPUs.
33360
fd5bdc09
UD
33361 * ctype/ctype-info.c (__ctype_init): Define.
33362 * include/ctype.h (__ctype_init): Declare.
33363 (__ctype_b_loc): The variable is always initialized.
33364 (__ctype_toupper_loc): Likewise.
33365 (__ctype_tolower_loc): Likewise.
33366 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33367 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33368
7872cfb0
AS
333692011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33370
b468825a
AS
33371 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33372
7872cfb0
AS
33373 * configure.in: Also look in $cxxmachine/include for C++ system
33374 headers.
33375
be13f7bf
LD
333762011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33377
33378 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33379 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33380 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33381 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33382 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33383 (USE_AS_WMEMCMP): New macro.
33384 Fixing indents.
33385 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33386 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33387 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33388 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33390 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33391 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33392 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33393 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33394 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33395 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33396 (USE_AS_WMEMCMP): New macro.
33397 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33398 * sysdeps/string/test-memcmp.c: Update.
33399 Fix simple_wmemcmp.
33400 Add new tests.
33401 * wcsmbs/wmemcmp.c: Update.
33402 (WMEMCMP): New macro.
33403 Fix overflow bug.
33404
556a2007
AJ
334052011-10-12 Andreas Jaeger <aj@suse.de>
33406
33407 [BZ #13268]
33408 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33409
538faaa7
UD
334102011-10-15 Ulrich Drepper <drepper@gmail.com>
33411
ab6737ff
UD
33412 * libio/iofwide.c (do_length): Avoid warning.
33413
538faaa7
UD
33414 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33415
396a21b1
UD
334162011-10-14 Ulrich Drepper <drepper@gmail.com>
33417
cdf2901f
UD
33418 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33419
38ad40ce
UD
33420 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33421 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33422 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33423 * sysdeps/i386/i686/fpu/e_log.S: New file.
33424 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33425 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33426
396a21b1
UD
33427 * ctype/ctype.h: Add support for inlined isXXX functions when
33428 compiling C++ code.
33429
6b1f68c9
AS
334302011-10-14 Andreas Schwab <schwab@redhat.com>
33431
349290c0
AS
33432 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33433
6b1f68c9
AS
33434 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33435
f2282d42
RM
334362011-10-13 Roland McGrath <roland@hack.frob.com>
33437
33438 [BZ #13291]
33439 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33440
5298ffa8
AS
334412011-10-13 Andreas Schwab <schwab@redhat.com>
33442
714fad23
AS
33443 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33444 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33445 feraiseexcept.
33446
81dcc7fb
AS
33447 * sysdeps/x86_64/memrchr.S: Check for zero size.
33448
5298ffa8
AS
33449 * string/stratcliff.c: Add memrchr tests.
33450
951fbcec
LD
334512011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33452
33453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33454 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33455 rawmemchr-sse2 rawmemchr-sse2-bsf.
33456 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33457 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33458 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33459 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33460 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33461 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33462 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33463 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33464 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33465 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33466 * string/memrchr.c (MEMRCHR): New macro.
33467
0ac5ae23
UD
334682011-10-12 Ulrich Drepper <drepper@gmail.com>
33469
33470 Add integration with gcc's -ffinite-math-only and optimize wrapper
33471 functions in libm.
33472 * Versions.def: Define GLIBC_2.15 version for libm.
33473 * math/Makefile (headers): Add bits/math-finite.h.
33474 * math/bits/math-finite.h: New file.
33475 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33476 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33477 * math/e_acoshl.c: Add __*_finite alias.
33478 * math/e_acosl.c: Likewise.
33479 * math/e_asinl.c: Likewise.
33480 * math/e_atan2l.c: Likewise.
33481 * math/e_atanhl.c: Likewise.
33482 * math/e_coshl.c: Likewise.
33483 * math/e_exp10.c: Likewise.
33484 * math/e_exp10f.c: Likewise.
33485 * math/e_exp10l.c: Likewise.
33486 * math/e_exp2l.c: Likewise.
33487 * math/e_fmodl.c: Likewise.
33488 * math/e_gammal_r.c: Likewise.
33489 * math/e_hypotl.c: Likewise.
33490 * math/e_j0l.c: Likewise.
33491 * math/e_j1l.c: Likewise.
33492 * math/e_jnl.c: Likewise.
33493 * math/e_lgammal_r.c: Likewise.
33494 * math/e_log10l.c: Likewise.
33495 * math/e_log2l.c: Likewise.
33496 * math/e_logl.c: Likewise.
33497 * math/e_powl.c: Likewise.
33498 * math/e_sinhl.c: Likewise.
33499 * math/e_sqrtl.c: Likewise.
33500 * math/e_scalb.c: Completely rewritten and optimized.
33501 * math/e_scalbf.c: Likewise.
33502 * math/e_scalbl.c: Likewise.
33503 * math/w_acos.c: Likewise.
33504 * math/w_acosf.c: Likewise.
33505 * math/w_acosl.c: Likewise.
33506 * math/w_acosh.c: Likewise.
33507 * math/w_acoshf.c: Likewise.
33508 * math/w_acoshl.c: Likewise.
33509 * math/w_asin.c: Likewise.
33510 * math/w_asinf.c: Likewise.
33511 * math/w_asinl.c: Likewise.
33512 * math/w_atan2.c: Likewise.
33513 * math/w_atan2f.c: Likewise.
33514 * math/w_atan2l.c: Likewise.
33515 * math/w_atanh.c: Likewise.
33516 * math/w_atanhf.c: Likewise.
33517 * math/w_atanhl.c: Likewise.
33518 * math/w_exp10.c: Likewise.
33519 * math/w_exp10f.c: Likewise.
33520 * math/w_exp10l.c: Likewise.
33521 * math/w_fmod.c: Likewise.
33522 * math/w_fmodf.c: Likewise.
33523 * math/w_fmodl.c: Likewise.
33524 * math/w_j0.c: Likewise.
33525 * math/w_j0f.c: Likewise.
33526 * math/w_j0l.c: Likewise.
33527 * math/w_j1.c: Likewise.
33528 * math/w_j1f.c: Likewise.
33529 * math/w_j1l.c: Likewise.
33530 * math/w_jn.c: Likewise.
33531 * math/w_jnf.c: Likewise.
33532 * math/w_log.c: Likewise.
33533 * math/w_logf.c: Likewise.
33534 * math/w_logl.c: Likewise.
33535 * math/w_log10.c: Likewise.
33536 * math/w_log10f.c: Likewise.
33537 * math/w_log10l.c: Likewise.
33538 * math/w_log2.c: Likewise.
33539 * math/w_log2f.c: Likewise.
33540 * math/w_log2l.c: Likewise.
33541 * math/w_pow.c: Likewise.
33542 * math/w_powf.c: Likewise.
33543 * math/w_powl.c: Likewise.
33544 * math/w_remainder.c: Likewise.
33545 * math/w_remainderf.c: Likewise.
33546 * math/w_remainderl.c: Likewise.
33547 * math/w_scalb.c: Likewise.
33548 * math/w_scalbf.c: Likewise.
33549 * math/w_scalbl.c: Likewise.
33550 * math/w_sqrt.c: Likewise.
33551 * math/w_sqrtf.c: Likewise.
33552 * math/w_sqrtl.c: Likewise.
33553 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33554 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33555 used.
33556 * math/math_private.h: Declare __kernel_standard_f.
33557 * math/w_cosh.c: Remove cruft and optimize a bit.
33558 * math/w_coshf.c: Likewise.
33559 * math/w_coshl.c: Likewise.
33560 * math/w_exp2.c: Likewise.
33561 * math/w_exp2f.c: Likewise.
33562 * math/w_exp2l.c: Likewise.
33563 * math/w_hypot.c: Likewise.
33564 * math/w_hypotf.c: Likewise.
33565 * math/w_hypotl.c: Likewise.
33566 * math/w_lgamma.c: Likewise.
33567 * math/w_lgamma_r.c: Likewise.
33568 * math/w_lgammaf.c: Likewise.
33569 * math/w_lgammaf_r.c: Likewise.
33570 * math/w_lgammal.c: Likewise.
33571 * math/w_lgammal_r.c: Likewise.
33572 * math/w_sinh.c: Likewise.
33573 * math/w_sinhf.c: Likewise.
33574 * math/w_sinhl.c: Likewise.
33575 * math/w_tgamma.c: Likewise.
33576 * math/w_tgammaf.c: Likewise.
33577 * math/w_tgammal.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33579 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33580 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33581 Minor optimizations. Pretty printing. Remove cruft.
33582 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33583 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33584 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33585 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33586 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33587 * sysdeps/i386/fpu/e_asin.S: Likewise.
33588 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33589 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33590 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33591 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33592 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33593 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33594 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33595 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33596 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33597 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33598 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33599 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33600 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33601 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33602 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33603 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33604 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33605 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33606 * sysdeps/i386/fpu/e_log.S: Likewise.
33607 * sysdeps/i386/fpu/e_log10.S: Likewise.
33608 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33609 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33610 * sysdeps/i386/fpu/e_log2.S: Likewise.
33611 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33612 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33613 * sysdeps/i386/fpu/e_logf.S: Likewise.
33614 * sysdeps/i386/fpu/e_logl.S: Likewise.
33615 * sysdeps/i386/fpu/e_pow.S: Likewise.
33616 * sysdeps/i386/fpu/e_powf.S: Likewise.
33617 * sysdeps/i386/fpu/e_powl.S: Likewise.
33618 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33619 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33620 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33621 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33622 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33623 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33624 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33625 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33626 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33627 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33628 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33630 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33631 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33632 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33633 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33634 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33635 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33636 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33637 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33638 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33639 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33640 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33641 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33643 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33644 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33645 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33648 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33649 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33650 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33651 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33652 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33653 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33654 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33655 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33656 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33657 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33658 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33659 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33660 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33661 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33662 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33663 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33664 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33665 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33666 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33667 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33668 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33707 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33709 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33710 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33712 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33713 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33715 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33718 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33719 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33720 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33721 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33722 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33723 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33724 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33725 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33726 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33727 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33728 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33729 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33730 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33731 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33732 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33733 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33734 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33735 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33736 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33737 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33738 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33739 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33740 (__isnanf): Likewise.
33741 (__isinf_ns): Likewise.
33742 (__isinf_nsf): Likewise.
33743 (__finite): Likewise.
33744 (__finitef): Likewise.
33745 (__ieee754_sqrt): Define as macro.
33746 (__ieee754_sqrtf): Define as macro.
33747 (__ieee754_sqrtl): Define as macro.
33748 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33749 inlined copy.
33750 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33751 __FINITE_MATH_ONLY__ consistent.
33752 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33753
12cc2fcd
AS
337542011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33755
a843a204
AS
33756 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33757 of rawmemchr.
33758
12cc2fcd
AS
33759 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33760
c853acd5
UD
337612011-10-09 Ulrich Drepper <drepper@gmail.com>
33762
33763 * po/ja.po: Update from translation team.
33764
c658d255
RM
337652011-10-08 Roland McGrath <roland@hack.frob.com>
33766
110946e4
RM
33767 * locale/programs/locarchive.c (prepare_address_space): New function.
33768 (create_archive, enlarge_archive, open_archive): Use it.
33769
50604220
RM
33770 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33771 inside [SHARED], where it is used.
33772
c658d255
RM
33773 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33774
33775 * nss/getent.c (netgroup_keys): Remove unused variable.
33776 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33777
6a621eb7
UD
337782011-10-08 Ulrich Drepper <drepper@gmail.com>
33779
7edb55ce
UD
33780 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33781 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33782 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33783 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33784 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33785 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33786 * math/Makefile (libm-calls): Add s_isinf_ns.
33787 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33788 * math/multc3.c: Likewise.
33789 * math/s_casin.c: Likewise.
33790 * math/s_casinf.c: Likewise.
33791 * math/s_casinl.c: Likewise.
33792 * math/s_ccos.c: Likewise.
33793 * math/s_ccosf.c: Likewise.
33794 * math/s_ccosl.c: Likewise.
33795 * math/s_ctan.c: Likewise.
33796 * math/s_ctanf.c: Likewise.
33797 * math/s_ctanh.c: Likewise.
33798 * math/s_ctanhf.c: Likewise.
33799 * math/s_ctanhl.c: Likewise.
33800 * math/s_ctanl.c: Likewise.
33801 * math/w_fmod.c: Likewise.
33802 * math/w_fmodf.c: Likewise.
33803 * math/w_fmodl.c: Likewise.
33804 * math/w_remainder.c: Likewise.
33805 * math/w_remainderf.c: Likewise.
33806 * math/w_remainderl.c: Likewise.
33807 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33808 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33809 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33811 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33812 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33813 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33814 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33815
187da0ae
UD
33816 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33817 of the number.
33818 * stdio-common/printf_fphex.c: Likewise.
33819 * stdio-common/printf_size.c: Likewise.
33820
9277c064
UD
33821 * math/e_exp10.c: Include math_private.h using <...> not "...".
33822 * math/e_exp10f.c: Likewise.
33823 * math/e_exp10l.c: Likewise.
33824 * math/e_exp2l.c: Likewise.
33825 * math/e_j0l.c: Likewise.
33826 * math/e_j1l.c: Likewise.
33827 * math/e_jnl.c: Likewise.
33828 * math/e_lgammal_r.c: Likewise.
33829 * math/e_rem_pio2l.c: Likewise.
33830 * math/e_scalb.c: Likewise.
33831 * math/e_scalbf.c: Likewise.
33832 * math/e_scalbl.c: Likewise.
33833 * math/k_cosl.c: Likewise.
33834 * math/k_sinl.c: Likewise.
33835 * math/k_tanl.c: Likewise.
33836 * math/s_cacoshf.c: Likewise.
33837 * math/s_catan.c: Likewise.
33838 * math/s_catanf.c: Likewise.
33839 * math/s_catanh.c: Likewise.
33840 * math/s_catanhf.c: Likewise.
33841 * math/s_catanhl.c: Likewise.
33842 * math/s_catanl.c: Likewise.
33843 * math/s_ccosh.c: Likewise.
33844 * math/s_ccoshf.c: Likewise.
33845 * math/s_ccoshl.c: Likewise.
33846 * math/s_cexp.c: Likewise.
33847 * math/s_cexpf.c: Likewise.
33848 * math/s_cexpl.c: Likewise.
33849 * math/s_clog.c: Likewise.
33850 * math/s_clog10.c: Likewise.
33851 * math/s_clog10f.c: Likewise.
33852 * math/s_clog10l.c: Likewise.
33853 * math/s_clogf.c: Likewise.
33854 * math/s_clogl.c: Likewise.
33855 * math/s_csin.c: Likewise.
33856 * math/s_csinf.c: Likewise.
33857 * math/s_csinh.c: Likewise.
33858 * math/s_csinhf.c: Likewise.
33859 * math/s_csinhl.c: Likewise.
33860 * math/s_csinl.c: Likewise.
33861 * math/s_csqrt.c: Likewise.
33862 * math/s_csqrtf.c: Likewise.
33863 * math/s_csqrtl.c: Likewise.
33864 * math/s_ctan.c: Likewise.
33865 * math/s_ctanf.c: Likewise.
33866 * math/s_ctanh.c: Likewise.
33867 * math/s_ctanhf.c: Likewise.
33868 * math/s_ctanhl.c: Likewise.
33869 * math/s_ctanl.c: Likewise.
33870 * math/s_ldexp.c: Likewise.
33871 * math/s_ldexpf.c: Likewise.
33872 * math/s_ldexpl.c: Likewise.
33873 * math/s_significand.c: Likewise.
33874 * math/s_significandf.c: Likewise.
33875 * math/s_significandl.c: Likewise.
33876 * math/w_acos.c: Likewise.
33877 * math/w_acosf.c: Likewise.
33878 * math/w_acosh.c: Likewise.
33879 * math/w_acoshf.c: Likewise.
33880 * math/w_acoshl.c: Likewise.
33881 * math/w_acosl.c: Likewise.
33882 * math/w_asin.c: Likewise.
33883 * math/w_asinf.c: Likewise.
33884 * math/w_asinl.c: Likewise.
33885 * math/w_atan2.c: Likewise.
33886 * math/w_atan2f.c: Likewise.
33887 * math/w_atan2l.c: Likewise.
33888 * math/w_atanh.c: Likewise.
33889 * math/w_atanhf.c: Likewise.
33890 * math/w_atanhl.c: Likewise.
33891 * math/w_cosh.c: Likewise.
33892 * math/w_coshf.c: Likewise.
33893 * math/w_coshl.c: Likewise.
33894 * math/w_dremf.c: Likewise.
33895 * math/w_exp10.c: Likewise.
33896 * math/w_exp10f.c: Likewise.
33897 * math/w_exp10l.c: Likewise.
33898 * math/w_exp2.c: Likewise.
33899 * math/w_exp2f.c: Likewise.
33900 * math/w_fmod.c: Likewise.
33901 * math/w_fmodf.c: Likewise.
33902 * math/w_fmodl.c: Likewise.
33903 * math/w_hypot.c: Likewise.
33904 * math/w_hypotf.c: Likewise.
33905 * math/w_hypotl.c: Likewise.
33906 * math/w_j0.c: Likewise.
33907 * math/w_j0f.c: Likewise.
33908 * math/w_j0l.c: Likewise.
33909 * math/w_j1.c: Likewise.
33910 * math/w_j1f.c: Likewise.
33911 * math/w_j1l.c: Likewise.
33912 * math/w_jn.c: Likewise.
33913 * math/w_jnf.c: Likewise.
33914 * math/w_jnl.c: Likewise.
33915 * math/w_lgamma.c: Likewise.
33916 * math/w_lgamma_r.c: Likewise.
33917 * math/w_lgammaf.c: Likewise.
33918 * math/w_lgammaf_r.c: Likewise.
33919 * math/w_lgammal.c: Likewise.
33920 * math/w_lgammal_r.c: Likewise.
33921 * math/w_log.c: Likewise.
33922 * math/w_log10.c: Likewise.
33923 * math/w_log10f.c: Likewise.
33924 * math/w_log10l.c: Likewise.
33925 * math/w_log2.c: Likewise.
33926 * math/w_log2f.c: Likewise.
33927 * math/w_log2l.c: Likewise.
33928 * math/w_logf.c: Likewise.
33929 * math/w_logl.c: Likewise.
33930 * math/w_pow.c: Likewise.
33931 * math/w_powf.c: Likewise.
33932 * math/w_powl.c: Likewise.
33933 * math/w_remainder.c: Likewise.
33934 * math/w_remainderf.c: Likewise.
33935 * math/w_remainderl.c: Likewise.
33936 * math/w_scalb.c: Likewise.
33937 * math/w_scalbf.c: Likewise.
33938 * math/w_scalbl.c: Likewise.
33939 * math/w_sinh.c: Likewise.
33940 * math/w_sinhf.c: Likewise.
33941 * math/w_sinhl.c: Likewise.
33942 * math/w_sqrt.c: Likewise.
33943 * math/w_sqrtf.c: Likewise.
33944 * math/w_sqrtl.c: Likewise.
33945 * math/w_tgamma.c: Likewise.
33946 * math/w_tgammaf.c: Likewise.
33947 * math/w_tgammal.c: Likewise.
33948
6a621eb7
UD
33949 * po/ja.po: Update from translation team.
33950
bf582445
AJ
339512011-09-29 Andreas Jaeger <aj@suse.de>
33952
f9efbf3a
AJ
33953 [BZ #13179]
33954 * sunrpc/netname.c (netname2host): Fix logic.
33955
bf582445
AJ
33956 [BZ #6779]
33957 [BZ #6783]
33958 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33959 correctly.
33960 * math/w_remainder.c (__remainder): Likewise.
33961 * math/w_remainderf.c (__remainderf): Likewise.
33962 * math/libm-test.inc (remainder_test): Add test cases.
33963
48693bea
AK
339642011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33965
33966 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33967 sdiv_qrnnd.
33968
42622229
LD
339692011-10-07 Ulrich Drepper <drepper@gmail.com>
33970
33971 * string/test-memcmp.c: Avoid unncessary #defines.
33972 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33973
093ecf92
LD
339742011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33975
33976 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33977 Use new sse2 version for core i3 - i7 as it's faster
33978 than sse42 version.
33979 (bit_Prefer_PMINUB_for_stringop): New.
33980 * sysdeps/x86_64/rawmemchr.S: Update.
33981 Replace with faster SSE2 version.
33982 * sysdeps/x86_64/memrchr.S: New file.
33983 * sysdeps/x86_64/memchr.S: Update.
33984 Replace with faster SSE2 version.
33985
fde56e5c
MP
339862011-09-12 Marek Polacek <mpolacek@redhat.com>
33987
33988 * elf/dl-load.c (lose): Add cast to avoid warning.
33989
21fd49a9
UD
339902011-10-07 Ulrich Drepper <drepper@gmail.com>
33991
5a06e643
UD
33992 * po/ca.po: Update from translation team.
33993
684ae515
UD
33994 * inet/getnetgrent_r.c: Hook up nscd.
33995 * nscd/Makefile (routines): Add nscd_netgroup.
33996 (nscd-modules): Add netgroupcache.
33997 (CFLAGS-netgroupcache.c): Define.
33998 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33999 (cache_search): Add const to second parameter.
34000 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34001 INNETGR.
34002 (dbs): Add netgrdb entry.
34003 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34004 (verify_persistent_db): Handle netgrdb.
34005 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34006 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34007 GETFDNETGR.
34008 (netgroup_response_header): Define.
34009 (innetgroup_response_header): Define.
34010 (datahead): Add netgroup_response_header and innetgroup_response_header
34011 elements.
34012 * nscd/nscd.conf: Add entries for netgroup cache.
34013 * nscd/nscd.h (dbtype): Add netgrdb.
34014 (_PATH_NSCD_NETGROUP_DB): Define.
34015 (netgroup_iov_disabled): Declare.
34016 (xmalloc, xcalloc, xrealloc): Move declarations here.
34017 (cache_search): Adjust prototype.
34018 Add netgroup-related prototypes.
34019 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34020 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34021 (__nscd_innetgr): Declare.
34022 * nscd/selinux.c (perms): Use access_vector_t as element type and
34023 add netgroup-related initializers.
34024 * nscd/netgroupcache.c: New file.
34025 * nscd/nscd_netgroup.c: New file.
34026 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34027 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34028 For four parameters use innetgr.
34029 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34030 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34031 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34032 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34033
21fd49a9
UD
34034 * nscd/connections.c (register_traced_file): Don't register file
34035 for disabled databases.
34036
054c0457
UD
340372011-10-06 Ulrich Drepper <drepper@gmail.com>
34038
32b63198
UD
34039 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34040
054c0457
UD
34041 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34042 from tree and freeing node.
34043
64031225
JO
340442011-09-25 Jiri Olsa <jolsa@redhat.com>
34045
34046 * nss/nsswitch.c (__nss_database_lookup): Handle
34047 nss_parse_service_list out of memory case.
34048
0490345c
JO
340492011-09-15 Jiri Olsa <jolsa@redhat.com>
34050
34051 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34052 out of memory case.
34053
3a62d00d
AS
340542011-10-04 Andreas Schwab <schwab@redhat.com>
34055
34056 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34057 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34058 pass it down.
34059 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34060 elf_machine_rela, elf_machine_lazy_rel.
34061 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34062 (ELF_DYNAMIC_DO_REL): Likewise.
34063 (ELF_DYNAMIC_DO_RELA): Likewise.
34064 (ELF_DYNAMIC_RELOCATE): Likewise.
34065 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34066 to ELF_DYNAMIC_DO_REL.
34067 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34068 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34069 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34070 elf_machine_rela.
34071 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34072 skip_ifunc, don't call ifunc function if non-zero.
34073 (elf_machine_rela): Likewise.
34074 (elf_machine_lazy_rel): Likewise.
34075 (elf_machine_lazy_rela): Likewise.
34076 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34077 (elf_machine_lazy_rel): Likewise.
34078 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34079 Likewise.
34080 (elf_machine_lazy_rel): Likewise.
34081 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34082 Likewise.
34083 (elf_machine_lazy_rel): Likewise.
34084 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34085 (elf_machine_lazy_rel): Likewise.
34086 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34087 (elf_machine_lazy_rel): Likewise.
34088 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34089 (elf_machine_lazy_rel): Likewise.
34090 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34091 (elf_machine_lazy_rel): Likewise.
34092 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34093 (elf_machine_lazy_rel): Likewise.
34094 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34095 (elf_machine_lazy_rel): Likewise.
34096
68577918
UD
340972011-09-28 Ulrich Drepper <drepper@gmail.com>
34098
34099 * nss/nss_files/files-init.c (_nss_files_init): Use static
34100 initialization for all the *_traced_file variables.
34101
68822d74
AS
341022011-09-28 Andreas Schwab <schwab@redhat.com>
34103
34104 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34105
2056100b
RM
341062011-09-27 Roland McGrath <roland@hack.frob.com>
34107
34108 [BZ #13226]
34109 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34110
32c76b63
AS
341112011-09-27 Andreas Schwab <schwab@redhat.com>
34112
34113 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34114 Reread the line before reparsing it.
34115
bf972c9d
AS
341162011-09-26 Andreas Schwab <schwab@redhat.com>
34117
34118 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34119
e057a1b5
JM
341202011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34121 Maxim Kuvyrkov <maxim@codesourcery.com>
34122 Joseph Myers <joseph@codesourcery.com>
34123
34124 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34125 if needed for __stack_chk_guard.
34126
bc7e1c36
RM
341272011-09-19 Roland McGrath <roland@hack.frob.com>
34128
ecb1482f
RM
34129 * sysdeps/posix/spawni.c (script_execute): Always define it.
34130 It will be optimized away if unused.
34131 (maybe_script_execute): New function.
34132 (__spawni): Call it.
34133
bc7e1c36
RM
34134 * Makerules: Don't include tls.make.
34135 (config-tls): Always set to thread.
34136 * tls.make.c: File removed.
34137
1c3b002b
MF
341382011-09-19 Mike Frysinger <vapier@gentoo.org>
34139
34140 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34141 * config.make.in (CPPFLAGS-config): New substituted variable.
34142
2840865d
UD
341432011-09-15 Ulrich Drepper <drepper@gmail.com>
34144
88738eb6
UD
34145 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34146
cbf645a6 34147 [BZ #13192]
2840865d
UD
34148 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34149 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34150
b402e91a
RM
341512011-09-15 Roland McGrath <roland@hack.frob.com>
34152
34153 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34154 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34156 (CALL_FAIL): Likewise.
34157 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34158 (CALL_FAIL): Macro removed.
34159 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34160
4c1a1f71
UD
341612011-09-15 Ulrich Drepper <drepper@gmail.com>
34162
34163 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34164 for __FINITE_MATH_ONLY__ == 1.
34165
edc121be
AS
341662011-09-15 Andreas Schwab <schwab@redhat.com>
34167
34168 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34169 __ieee754_sqrt instead of sqrt.
34170 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34171 __ieee754_sqrtf instead of sqrtf.
34172 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34173 __floorf instead of floorf.
34174 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34175 __floorf, __truncf instead of floorf, truncf.
34176
cd205654
UD
341772011-09-14 Ulrich Drepper <drepper@gmail.com>
34178
ee4d0315
UD
34179 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34180
cd205654
UD
34181 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34182 __extern_always_inline.
34183 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34184 32-bit.
34185
48b67d71
AS
341862011-09-14 Andreas Schwab <schwab@redhat.com>
34187
34188 * elf/rtld.c (dl_main): Also relocate in dependency order when
34189 doing symbol dependency testing.
34190
1ae12c75
AS
341912011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34192
34193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34194 Always define `refsym'.
34195
995a80df
AS
341962011-09-13 Andreas Schwab <schwab@redhat.com>
34197
e529793b
AS
34198 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34199 (__FD_ELT): Renamed from __FDELT.
34200 * misc/bits/select2.h (__FD_ELT): Likewise.
34201 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34202 __FD_MASK instead of __FDELT, __FDMASK.
34203 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34204 Likewise.
34205 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34206 Likewise.
34207
52d4fef8
AS
34208 * elf/Makefile (gen-ldd): Fix pattern.
34209
995a80df
AS
34210 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34211 (init_tls): Likewise.
34212
8682f8b0
UD
342132011-09-12 Ulrich Drepper <drepper@gmail.com>
34214
34215 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34216
de82006d
AS
342172011-09-12 Andreas Schwab <schwab@redhat.com>
34218
a7c8e6a1
AS
34219 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34220 `struct cmsghdr *' instead of `void *'.
34221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34222 Likewise.
34223
0f31fe77
AS
342242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34225
34226 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34227 if non-absolute.
34228 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34229 ldd_rewrite_script.
0f31fe77 34230
32b4c839
UD
342312011-09-11 Ulrich Drepper <drepper@gmail.com>
34232
83cd1420
UD
34233 * configure.in: Remove --with-tls option.
34234 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34235 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34236 out in case it is missing.
34237 * sysdeps/ia64/elf/configure.in: Likewise.
34238 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34239 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34240 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34241 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34242 * sysdeps/sh/elf/configure.in: Likewise.
34243 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34244 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34245 * sysdeps/x86_64/elf/configure.in: Likewise.
34246 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34247 * sysdeps/mach/hurd/tls.h: Likewise.
34248
633f745d
UD
34249 [BZ #13067]
34250 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34251
f318beb8
UD
34252 [BZ #13090]
34253 * configure.in: Fix use of AC_INIT.
34254
32b4c839
UD
34255 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34256
3ce1f295
UD
342572011-09-10 Ulrich Drepper <drepper@gmail.com>
34258
bb016596
UD
34259 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34260 __set_errno.
8e58439c
UD
34261 * malloc/hooks.c: Likewise.
34262
aebae053 34263 [BZ #11929]
02d46fc4
UD
34264 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34265 variables statically.
34266 (narenas): Initialize.
34267 (list_lock): Initialize.
bb016596
UD
34268 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34269 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34270 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34271 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34272 Add initializers to main_arena and mp_.
34273 (malloc_state): Remove pagesize member. Change all users to use
34274 GLRO(dl_pagesize).
34275
34276 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34277 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34278 is always initialized.
34279
22a89187
UD
34280 * malloc/malloc.c: Removed unused configurations and dead code.
34281 * malloc/arena.c: Likewise.
34282 * malloc/hooks.c: Likewise.
02d46fc4 34283 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34284
d063d164
UD
34285 * include/tls.h: Removed. USE___THREAD must always be defined.
34286 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34287 * elf/dl-libc.c: Likewise.
34288 * elf/dl-tsd.c: Likewise.
34289 * include/errno.h: Likewise.
34290 * include/netdb.h: Likewise.
34291 * include/resolv.h: Likewise.
34292 * inet/herrno-loc.c: Likewise.
34293 * inet/herrno.c: Likewise.
34294 * malloc/arena.c: Likewise.
34295 * malloc/hooks.c: Likewise.
34296 * malloc/malloc.c: Likewise.
34297 * resolv/res-state.c: Likewise.
34298 * resolv/res_libc.c: Likewise.
34299 * sysdeps/i386/dl-machine.h: Likewise.
34300 * sysdeps/ia64/dl-machine.h: Likewise.
34301 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34302 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34303 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34304 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34305 * sysdeps/sh/dl-machine.h: Likewise.
34306 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34307 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34308 * sysdeps/unix/i386/sysdep.S: Likewise.
34309 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34310 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34311 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34313 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34314 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34315 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34316 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34317 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34319 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34320 * sysdeps/x86_64/dl-machine.h: Likewise.
34321 * tls.make.c: Likewise.
34322
3ce1f295
UD
34323 * configure.in: Remove --with-__thread option. Make tests for
34324 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34325 tls_model attribute fail if no support is available. Remove
34326 USE_IN_LIBIO.
34327 * Makeconfig: Adjust for dropped configure option. All features are
34328 now mandatory.
34329 * Makerules: Likewise.
34330 * Versions.def: Likewise.
34331 * argp/argp-fmtstream.c: Likewise.
34332 * argp/argp-fmtstream.h: Likewise.
34333 * argp/argp-help.c: Likewise.
34334 * assert/assert.c: Likewise.
34335 * config.h.in: Likewise.
34336 * config.make.in: Likewise.
34337 * configure: Likewise.
34338 * configure.in: Likewise.
34339 * csu/Versions: Likewise.
34340 * csu/init.c: Likewise.
34341 * elf/tst-audit2.c: Likewise.
34342 * elf/tst-tls10.c: Likewise.
34343 * elf/tst-tls10.h: Likewise.
34344 * elf/tst-tls11.c: Likewise.
34345 * elf/tst-tls12.c: Likewise.
34346 * elf/tst-tls14.c: Likewise.
34347 * elf/tst-tlsmod11.c: Likewise.
34348 * elf/tst-tlsmod12.c: Likewise.
34349 * elf/tst-tlsmod13.c: Likewise.
34350 * elf/tst-tlsmod13a.c: Likewise.
34351 * elf/tst-tlsmod14a.c: Likewise.
34352 * elf/tst-tlsmod15b.c: Likewise.
34353 * elf/tst-tlsmod16a.c: Likewise.
34354 * elf/tst-tlsmod16b.c: Likewise.
34355 * elf/tst-tlsmod7.c: Likewise.
34356 * elf/tst-tlsmod8.c: Likewise.
34357 * elf/tst-tlsmod9.c: Likewise.
34358 * gmon/gmon.c: Likewise.
34359 * grp/fgetgrent_r.c: Likewise.
34360 * grp/putgrent.c: Likewise.
34361 * hurd/fopenport.c: Likewise.
34362 * include/libc-symbols.h: Likewise.
34363 * include/tls.h: Likewise.
34364 * intl/gettextP.h: Likewise.
34365 * intl/loadinfo.h: Likewise.
34366 * locale/global-locale.c: Likewise.
34367 * locale/localeinfo.h: Likewise.
34368 * mach/devstream.c: Likewise.
34369 * malloc/arena.c: Likewise.
34370 * malloc/set-freeres.c: Likewise.
34371 * misc/err.c: Likewise.
34372 * misc/getttyent.c: Likewise.
34373 * misc/mntent_r.c: Likewise.
34374 * posix/getopt.c: Likewise.
34375 * posix/wordexp.c: Likewise.
34376 * pwd/fgetpwent_r.c: Likewise.
34377 * resolv/Versions: Likewise.
34378 * resolv/res_hconf.c: Likewise.
34379 * shadow/fgetspent_r.c: Likewise.
34380 * shadow/putspent.c: Likewise.
34381 * stdio-common/printf_fphex.c: Likewise.
34382 * stdio-common/tmpfile.c: Likewise.
34383 * stdlib/abort.c: Likewise.
34384 * stdlib/fmtmsg.c: Likewise.
34385 * sunrpc/auth_unix.c: Likewise.
34386 * sunrpc/clnt_perr.c: Likewise.
34387 * sunrpc/clnt_tcp.c: Likewise.
34388 * sunrpc/clnt_udp.c: Likewise.
34389 * sunrpc/clnt_unix.c: Likewise.
34390 * sunrpc/openchild.c: Likewise.
34391 * sunrpc/svc_simple.c: Likewise.
34392 * sunrpc/svc_tcp.c: Likewise.
34393 * sunrpc/svc_udp.c: Likewise.
34394 * sunrpc/svc_unix.c: Likewise.
34395 * sunrpc/xdr.c: Likewise.
34396 * sunrpc/xdr_array.c: Likewise.
34397 * sunrpc/xdr_rec.c: Likewise.
34398 * sunrpc/xdr_ref.c: Likewise.
34399 * sunrpc/xdr_stdio.c: Likewise.
34400
1248c1c4
PB
344012011-09-09 Ulrich Drepper <drepper@gmail.com>
34402
34403 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34404
344052011-07-03 Andreas Jaeger <aj@suse.de>
34406
34407 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34408 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34409 regenerate with gen-libm-tests.pl.
34410
344112010-05-12 Petr Baudis <pasky@suse.cz>
34412
34413 [BZ #11589]
34414 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34415 around j0() zero points by switching to j1().
34416 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34417 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34418 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34419 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34420
f22e1074
UD
344212011-09-09 Ulrich Drepper <drepper@gmail.com>
34422
f19009c1
UD
34423 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34424 instead of 0.
34425 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34426 instead of 0.
f19009c1
UD
34427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34428 Patch in part by Pavel Roskin <proski@gnu.org>.
34429
3f8cc204
UD
34430 [BZ #13138]
34431 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34432 realloc.
34433 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34434 Free memory block if necessary.
34435
f22e1074
UD
34436 [BZ #12847]
34437 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34438 be NULL. Don't lock in this case.
34439
0a2349f9
RM
344402011-09-09 Roland McGrath <roland@hack.frob.com>
34441
34442 * elf/elf.h (ELFOSABI_GNU): New macro.
34443 (ELFOSABI_LINUX): Define to that.
34444
f3cdd467
DZ
344452011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34446
34447 * string/strncat.c (strncat): Undef the symbol in case it has been
34448 defined in bits/string.h.
34449
74718d13
UD
344502011-09-09 Ulrich Drepper <drepper@gmail.com>
34451
633e9e0f
UD
34452 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34453
0a2349f9 34454 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34455 link map.
34456
f9924780
AJ
344572011-08-17 Andreas Jaeger <aj@suse.de>
34458
34459 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34460
7f5517aa
PP
344612011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34462 Ian Lance Taylor <iant@google.com>
34463
34464 * math/libm-test.inc (lround_test): New testcase.
34465 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34466
762011fe
UD
344672011-09-08 Ulrich Drepper <drepper@gmail.com>
34468
92963737
UD
34469 * Makefile: Remove support for automatic cvs check-ins.
34470 * Makerules: Likewise.
34471 * config.make.in: Likewise.
34472 * configure.in: Likewise.
34473 * intl/Makefile: Likewise.
34474 * locale/Makefile: Likewise.
34475 * po/Makefile: Likewise.
34476 * posix/Makefile: Likewise.
34477 * sysdeps/gnu/Makefile: Likewise.
34478 * sysdeps/mach/hurd/Makefile: Likewise.
34479 * sysdeps/sparc/sparc32/Makefile: Likewise.
34480
b0727fd8
JS
34481 [BZ #13118]
34482 * posix/Makefile (bug-regex32-ENV): Define.
34483 Patch by John Stanley <jpsinthemix@verizon.net>.
34484
a0f33f99
UD
34485 * misc/Makefile (headers): Add bits/select2.h.
34486 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34487 * misc/bits/select2.h: New file.
34488 * include/bits/select2.h: New file.
34489 * debug/Makefile (routines): Add fdelt_chk.
34490 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34491 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34492 FD_ISSET.
34493 * debug/fdelt_chk.c: New file.
34494
762011fe
UD
34495 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34496 * wcsmbs/test-wmemcmp.c: Likewise.
34497 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34498 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34499
345002011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34501
34502 * string/Makefile (strop-tests): Add memcmp.
34503 * string/test-wmemcmp.c: New file.
34504 * string/test-memcmp.c: Add wmemcmp support.
34505
7f513ec8
RM
345062011-09-08 Roland McGrath <roland@hack.frob.com>
34507
0442afb4
RM
34508 [BZ #13153]
34509 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34510 2011-07-19 change.
34511
7f513ec8
RM
34512 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34513 garbage value in a __mach_port_mod_refs call in the cases of the
34514 task-self and thread-self ports.
34515
a12b2239
ST
345162011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34517
34518 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34519
610f9ab4
AS
345202011-09-08 Andreas Schwab <schwab@redhat.com>
34521
7f513ec8 34522 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34523
48882a1a
LD
345242011-09-07 Ulrich Drepper <drepper@gmail.com>
34525
b49865be
UD
34526 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34527
fdc86bc9
UD
34528 * elf/dl-libc.c (dlerror_run): Pass back error code from
34529 dl_catch_error.
34530
c966526a
UD
34531 [BZ #13123]
34532 * elf/dl-load.c (lose): Free l_origin if it is valid.
34533
48882a1a
LD
34534 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34535 names.
34536 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34537 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34538 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34539 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34540 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34541 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34542
77a2a8b4
AZ
345432011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34544
34545 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34546 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34547 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34548 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34549 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34550 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34551 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34552 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34553 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34554 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34555
24f579d8
AM
345562011-08-15 Alan Modra <amodra@gmail.com>
34557
34558 [BZ #13092]
34559 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34560 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34561 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34562 ppc_mcount to static-only-routines.
34563 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34564 __mcount_internal.
34565 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34566 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34567
3d4837df
UD
345682011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34569
34570 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34571 for finite and infinity parameters.
34572
22700377
WS
345732011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34574
34575 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34576 and add nop instructions for throughput optimization.
34577 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34578
5025581e
WS
345792011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34580
34581 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34582 aligned copy for power7 with vector-scalar instructions.
34583 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34584
08a300c9
L
345852011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34586
34587 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34588 AVX check.
34589
59178ef9
AS
345902011-09-07 Andreas Schwab <schwab@redhat.com>
34591
34592 [BZ #13144]
34593 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34594 last change.
34595
e38ba7ab
UD
345962011-09-07 Ulrich Drepper <drepper@gmail.com>
34597
34598 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34599 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34600 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34601 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34602 clock_gettime.
34603
d53a73ac
UD
346042011-09-06 Ulrich Drepper <drepper@gmail.com>
34605
fc8bffcc
UD
34606 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34607 Forgot to demangle the pointer.
34608
ceaa0c5d
UD
34609 * sysdeps/i386/sysdep.h: Define atom_text_section.
34610 * sysdeps/x86_64/sysdep.h: Likewise.
34611 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34612 section with atom_text_section.
34613 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34614 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34615 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34616 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34617 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34618
a77d3c17
UD
34619 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34621 already be defined. Change to take two parameters and don't assign
34622 result to variable. Adjust all users.
34623 Define INTERNAL_GETTIME if not already defined.
34624 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34625 call.
34626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34627 HAVE_CLOCK_GETTIME_VSYSCALL.
34628 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34629
d53a73ac
UD
34630 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34631 gettimeofday vsyscall, just use time.
34632
a8f84144
AS
346332011-09-06 Andreas Schwab <schwab@redhat.com>
34634
34635 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34636 <errno.h>.
34637
ef606249
UD
346382011-09-06 Ulrich Drepper <drepper@gmail.com>
34639
34640 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34641 syscall on x86-64.
34642 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34643 syscall.
34644 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34645 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34646 syscall if possible.
34647
6585cb60
UD
346482011-09-05 Ulrich Drepper <drepper@gmail.com>
34649
34650 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34651 e_ident. Don't pass to find_mapsXX.
34652 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34653
a5f524e4
LD
346542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34655
34656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34657 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34658 * sysdeps/x86_64/multiarch/strchr.S: Update.
34659 Check bit_slow_BSF bit.
34660 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34661 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34662 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34663
554881ef
UD
346642011-09-05 Ulrich Drepper <drepper@gmail.com>
34665
d96de963
UD
34666 [BZ #13134]
34667 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34668 before glibc 2.15.
34669 (tryshell): Define.
34670 (__spawni): Change last parameter to be flag. Test
34671 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34672 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34673 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34674 * posix/spawni.c: Likewise.
34675 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34676 * posix/spawnp.c: Likewise. Change normal version to use
34677 SPAWN_XFLAGS_USE_PATH.
34678 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34679 SPAWN_XFLAGS_TRY_SHELL.
34680
d48e5868
UD
34681 [BZ #13150]
34682 * posix/glob.h: Remove gcc 1.x support.
34683
554881ef
UD
34684 [BZ #13068]
34685 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34686
693fb948
LD
346872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34688
34689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34690 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34691 strrchr-sse2-bsf
34692 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34693 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34694 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34695 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34696 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34697 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34698
1b48c537
UD
346992011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34700
49d42c37
UD
34701 * sysdeps/x86_64/wcscmp.S: New file.
34702
1b48c537
UD
34703 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34704 wcscmp-c wcscmp-sse2
34705 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34706 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34707 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34708 * wcsmbs/wcscmp.c: Allow renaming.
34709
15c95c5d
DM
347102011-09-05 David S. Miller <davem@davemloft.net>
34711
34712 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34713 stack slot, rather than the struct return pointer slot.
34714 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34715 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34717 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34718
2f0ad8f3
UD
347192011-09-05 Ulrich Drepper <drepper@gmail.com>
34720
d88ae418
UD
34721 * po/ja.po: Update from translation team.
34722
2f0ad8f3
UD
34723 [BZ #13144]
34724 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34725 kernel in 64-bit binaries.
34726
5f4318d1
DM
347272011-09-01 David S. Miller <davem@davemloft.net>
34728
34729 * elf/elf.h (HWCAP_SPARC_*): Move to..
34730 * sysdeps/sparc/sysdep.h: this new file and add new values.
34731 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34732 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34733 _DL_HWCAP_COUNT to 24.
34734 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34735 entries.
34736 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34737 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34738 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34739 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34740 instead of magic constants.
34741 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34742
3ba57516
DM
347432011-08-31 David S. Miller <davem@davemloft.net>
34744
34745 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34747 Reimplement to do errno handling inline.
34748 (SYSCALL_ERROR_HANDLER): New macro.
34749 (__SYSCALL_STRING): Do not do errno handling in asm.
34750 (__CLONE_SYSCALL_STRING): Delete.
34751 (__INTERNAL_SYSCALL_STRING): Delete.
34752 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34753 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34754 (PSEUDO): Reimplement to do errno handling inline.
34755 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34756 (SYSCALL_ERROR_HANDLER): New macro.
34757 (__SYSCALL_STRING): Do not do errno handling in asm.
34758 (__CLONE_SYSCALL_STRING): Delete.
34759 (__INTERNAL_SYSCALL_STRING): Delete.
34760 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34761 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34762 i386.
34763 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34764 (inline_syscall*): Add 'err' argument.
34765 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34766 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34767 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34768 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34769
34770 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34771 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34772
2bc17433
AS
347732011-08-30 Andreas Schwab <schwab@redhat.com>
34774
34775 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34776
fbeb5f4d
JO
347772011-08-29 Jiri Olsa <jolsa@redhat.com>
34778
34779 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34780 directive.
34781
ad69cc26
DM
347822011-08-24 David S. Miller <davem@davemloft.net>
34783
34784 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34785
39dd69df
AS
347862011-08-24 Andreas Schwab <schwab@redhat.com>
34787
34788 * elf/Makefile: Add rules to build and run unload8 test.
34789 * elf/unload8.c: New file.
34790 * elf/unload8mod1.c: New file.
34791 * elf/unload8mod1x.c: New file.
34792 * elf/unload8mod2.c: New file.
34793 * elf/unload8mod3.c: New file.
34794
34795 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34796 it wasn't used.
34797
2c0b250a
DM
347982011-08-23 David S. Miller <davem@davemloft.net>
34799
34800 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34801 subtract stack bias.
34802 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34803 %sp not %fp in calculations.
34804 (_JMPBUF_UNWINDS_ADJ): Likewise.
34805
22044b48
DM
34806 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34807 (aio_suspend): Call it to force an exception region around the
34808 AIO_MISC_WAIT() invocation.
34809
2cae4995
AS
348102011-08-23 Andreas Schwab <schwab@redhat.com>
34811
34812 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34813 backslash.
34814
873a772e
AJ
348152011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34816
34817 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34818 protection macro.
34819 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34820 and <dl-machine.h>.
34821 (Elf64_FuncDesc): Remove.
34822
25ad0df1
DM
348232011-08-22 David S. Miller <davem@davemloft.net>
34824
34825 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34826 sigaltstack check, add missing cfi directives.
34827 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34828 missing cfi directives, and sigaltstack handling.
34829
e888bcbe
AS
348302011-08-16 Andreas Schwab <schwab@redhat.com>
34831
34832 [BZ #11724]
34833 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34834 object is seen twice.
34835 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34836
34837 * elf/Makefile (distribute): Add tst-initorder2.c.
34838 (tests): Add tst-initorder2.
34839 (modules-names): Add tst-initorder2a tst-initorder2b
34840 tst-initorder2c tst-initorder2d. Add rules to build them.
34841 ($(objpfx)tst-initorder2.out): New rule.
34842 * elf/tst-initorder2.c: New file.
34843 * elf/tst-initorder2.exp: New file.
34844
87162f46
AS
348452011-08-22 Andreas Schwab <schwab@redhat.com>
34846
70538b7f
AS
34847 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34848
f55ffe58
AS
34849 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34850 dependencies back to end of function.
34851
87162f46
AS
34852 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34853 $(elfobjdir)/ld.so.
34854
91b392a4
UD
348552011-08-21 Ulrich Drepper <drepper@gmail.com>
34856
34857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34858 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34859 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34860 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34861 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34862 of __vdso_gettimeofday.
34863 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34864 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34865 attribute_hidden.
34866 (_libc_vdso_platform_setup): Remove initialization of
34867 __vdso_gettimeofday and __vdso_time.
34868
5c43483f
UD
348692011-08-20 Ulrich Drepper <drepper@gmail.com>
34870
775a77e7
UD
34871 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34872 and fgetc_unlocked.
34873 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34874 getc_unlocked.
89f447ed 34875
49c74ba9
UD
34876 * elf/dl-open.c (add_to_global): Report additions to the global scope
34877 for LD_DEBUG=scopes.
34878 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34879 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34880
5c43483f
UD
34881 [BZ #13114]
34882 * stdio-common/Makefile (tests): Add bug24.
34883 * stdio-common/bug24.c: New file.
34884
a101b025
AJ
348852011-08-19 Andreas Jaeger <aj@suse.de>
34886
34887 [BZ #13114]
34888 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34889 non-existant file when using close-on-exec mode.
34890
c88f1766
UD
348912011-08-20 Ulrich Drepper <drepper@gmail.com>
34892
0276a718
UD
34893 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34894 the very first instruction.
34895
c88f1766
UD
34896 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34897 the CFI state in the end.
34898 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34899 inclusion of dl-trampoline.h.
34900 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34901
51ccffa0
AS
349022011-08-19 Andreas Schwab <schwab@redhat.com>
34903
94d7165f
AS
34904 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34905 expectations for long double.
34906
51ccffa0
AS
34907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34908 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34909
fd708658 349102011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34911
34912 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34913 artificual limit depends upon the system page size.
34914
44f0a71e
UD
349152011-08-17 Ulrich Drepper <drepper@gmail.com>
34916
34917 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34918 * resolv/Makefile: Define CFLAGS-libresolv.
34919
8de79a24
AS
349202011-08-17 Andreas Schwab <schwab@redhat.com>
34921
34922 * nss/makedb.c (compute_tables): Make variables used in nested
34923 function static.
34924
27724598
UD
349252011-08-17 Ulrich Drepper <drepper@gmail.com>
34926
c5305d88
UD
34927 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34928 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34929 if buffer was too small.
34930
27724598
UD
34931 * elf/pldd.c (main): Attach to all threads in the process.
34932 Rewrite /proc handling to use *at functions.
34933
076fe015
UD
349342011-08-16 Ulrich Drepper <drepper@gmail.com>
34935
174baab3
UD
34936 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34937 specifies first scope to show.
34938 (dl_open_worker): Update callers. Move printing scope of new
34939 object to before the relocation.
44f0a71e 34940 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34941 * sysdeps/generic/ldsodefs.h: Update declaration.
34942
076fe015
UD
34943 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34944 string for the scope number.
34945
a60df2c3
UD
349462011-08-14 Ulrich Drepper <drepper@gmail.com>
34947
34948 * nscd/servicescache.c (cache_addserv): Make sure written is always
34949 initialized.
34950
5e4287d1
RM
349512011-08-14 Roland McGrath <roland@hack.frob.com>
34952
85ae0589
RM
34953 * sysdeps/i386/i486/bits/atomic.h
34954 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34955 statement expression, so as to suppress "set but not used" warning.
34956 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34957
69f63097
RM
34958 * string/strncat.c (STRNCAT): Use prototype definition.
34959
675456ef
RM
34960 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34961 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34962 -Iprograms here.
34963 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34964 (localedef-modules): Add localedef.
34965 (locale-modules): Add locale.
34966
5e4287d1
RM
34967 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34968 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34969 to avoid a warning.
34970
9c96ff23
DM
349712011-08-14 David S. Miller <davem@davemloft.net>
34972
34973 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34974 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34975
f9ddf089
UD
349762011-08-13 Ulrich Drepper <drepper@gmail.com>
34977
44f0a71e 34978 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34979 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34980 * elf/rtld.c (dl_main): Set l_name of vDSO.
34981 Call _dl_show_scope when DL_DEBUG_SCOPES.
34982 (process_dl_debug): Recognize scopes flag and also set it for all.
34983 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34984 Declare _dl_show_scope.
34985
1dc27704
UD
34986 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34987 (do_dlopen): Pass caller_dlopen to dl_open.
34988 (__libc_dlopen_mode): Initialize caller_dlopen.
34989
f9ddf089
UD
34990 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34991 of libc. Make tolower call locale-independent. Optimize a bit by
34992 using isdigit instead of isalnum.
34993 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34994
9ac533d3
UD
349952011-08-12 Ulrich Drepper <drepper@gmail.com>
34996
34997 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34998 was a dependency or dynamically loaded.
34999
89edf2e9
UD
350002011-08-11 Ulrich Drepper <drepper@gmail.com>
35001
8e999d29
UD
35002 * intl/l10nflist.c: Allow architecture-specific pop function.
35003 * sysdeps/x86_64/l10nflist.c: New file.
35004
89edf2e9
UD
35005 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35006 classification.
35007
14d96785
AS
350082011-08-10 Andreas Schwab <schwab@redhat.com>
35009
35010 * include/dirent.h: Add libc_hidden_proto for scandirat and
35011 scandirat64. Don't declare __scandirat64.
35012 * dirent/scandirat.c: Add libc_hidden_def.
35013 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35014 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35015
6761ac04
DM
350162011-08-10 David S. Miller <davem@davemloft.net>
35017
35018 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35019 enum.
35020 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35021 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35022 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35023
c55fbd1e
UD
350242011-08-09 Ulrich Drepper <drepper@gmail.com>
35025
35026 * Versions.def [libc]: Add GLIBC_2.15.
35027 * dirent/Makefile (routines): Add scandirat and scandirat64.
35028 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35029 GLIBC_2.15.
35030 * dirent/dirent.h: Declare scandirat and scandirat64.
35031 * dirent/scandirat.c: New file.
35032 * dirent/scandirat64.c: New file.
35033 * sysdeps/wordsize-64/scandirat.c: New file.
35034 * sysdeps/wordsize-64/scandirat64.c: New file.
35035 * dirent/opendir.c: Define opendirat.
35036 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35037 using scandirat.
35038 * dirent/scandir64.c: Adjust for scandir.c change.
35039 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35040 __scandirat64, and __scandir_cancel_handler.
35041 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35042 additional parameter and use openat instead of open (outside of ld.so).
35043 Add new __opendir as wrapper around __opendirat.
35044 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35045 here without requiring old scandirat implementation.
35046
879165f2
UD
350472011-08-08 Ulrich Drepper <drepper@gmail.com>
35048
35049 * dirent/scandir.c (cancel_handler): Renamed to
35050 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35051 defined. Adjust users.
35052 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35053 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35054
cb7e923b
UD
350552011-08-04 Ulrich Drepper <drepper@gmail.com>
35056
16292edd
UD
35057 * string/test-string.h (IMPL): Use __STRING to expand name and then
35058 stringify it.
35059
cb7e923b
UD
35060 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35061 of cleanups.
35062
cff82933
LD
350632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35064
35065 * string/Makefile: Update.
35066 (strop-tests): Append strncat.
35067 * string/test-wcscmp.c: New file.
35068 New comprehensive test for wcscmp.
35069 * string/test-strcmp.c: Update.
35070 (WIDE): New define.
35071
9be9bfcc
AS
350722011-07-22 Andreas Schwab <schwab@redhat.com>
35073
35074 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35075 line.
35076
2e96f1c7
AS
350772011-07-26 Andreas Schwab <schwab@redhat.com>
35078
35079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35080 encoding to ACE if AI_IDN.
35081
85188888
JJ
350822011-08-01 Jakub Jelinek <jakub@redhat.com>
35083
35084 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35085 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35086
5fa16e9b
LD
350872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35088
35089 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35090 Fix overflow bug in strncat.
35091 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35092
35093 * string/test-strncat.c: Update.
35094 Add new tests for checking overflow bugs.
35095
350962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35097
35098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35099 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35100 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35101 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35102 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35103 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35104 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35105 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35106 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35107
35108 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35109 (USE_AS_STRCAT): Define.
35110 Add strcat and strncat support.
35111 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35112
8c1a459f
AS
351132011-07-25 Andreas Schwab <schwab@redhat.com>
35114
35115 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35116 __n bigger than INT_MAX+1.
35117 (__strncmp_g): Likewise.
35118
bba33c28
UD
351192011-07-23 Ulrich Drepper <drepper@gmail.com>
35120
798be72d
UD
35121 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35122 * libio/stido.h: Likewise.
35123
8accd4dc
UD
35124 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35125 (AF_NFC): Define.
35126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35127 (AF_NFC): Define.
35128
cbff0d96
UD
35129 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35130 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35131 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35132 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35133 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35134
9191c04a
UD
35135 [BZ #13021]
35136 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35137 installed.
35138
bba33c28
UD
35139 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35140 typo.
35141 (_dl_x86_64_save_sse): Likewise.
35142
90f139dd
UD
351432011-07-22 Ulrich Drepper <drepper@gmail.com>
35144
1aae088a
UD
35145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35146 OSXSAVE.
35147 (_dl_x86_64_save_sse): Likewise.
35148
8e2045f5
UD
35149 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35150
90f139dd
UD
35151 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35152
1d002f25
AS
351532011-07-21 Andreas Schwab <schwab@redhat.com>
35154
35155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35156 change.
35157 (_dl_x86_64_save_sse): Use correct AVX check.
35158
21137f89
UD
351592011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35160
35161 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35162 bug in strncpy/strncat.
35163 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35164
a65c0b7a
UD
351652011-07-21 Ulrich Drepper <drepper@gmail.com>
35166
35167 * string/tester.c (test_strcat): Add tests for different alignments
35168 of source and destination.
35169 (test_strncat): Likewise.
35170
6986b98a
UD
351712011-07-20 Ulrich Drepper <drepper@gmail.com>
35172
90bb2039
UD
35173 [BZ #12852]
35174 * posix/glob.c (glob): Check passed in values before using them in
35175 expressions to avoid some overflows.
35176 (glob_in_dir): Likewise.
35177
5644ef54
UD
35178 [BZ #13007]
35179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35180 check for AVX enablement so that we don't crash with old kernels and
35181 new hardware.
35182 * elf/tst-audit4.c: Add same checks here.
35183 * elf/tst-audit6.c: Likewise.
35184
35185 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 35186
bfc9dc9b
AS
351872011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35188
35189 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35190
702e64bb
UD
351912011-07-20 Ulrich Drepper <drepper@gmail.com>
35192
35193 * po/cs.po: Update from translation team.
35194 * po/bg.po: Likewise.
35195
295e904f
MP
351962011-07-12 Marek Polacek <mpolacek@redhat.com>
35197
35198 * misc/sys/cdefs.h: Add support for const attribute.
35199 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35200 to gnu_dev_{major,minor,makedev} functions.
35201
3ff94596
MP
352022011-07-20 Marek Polacek <mpolacek@redhat.com>
35203
35204 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35205
28b59fca
AS
352062011-07-20 Andreas Schwab <schwab@redhat.com>
35207
35208 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35209 strlen results.
35210
19df733e
AK
352112011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35212
35213 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35214 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35215 register in order to avoid conflicts with the soft frame pointer
35216 being held in r11 when necessary.
35217 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35218 (INTERNAL_VSYSCALL_NCS): Likewise.
35219
c8835729
MP
352202011-07-14 Marek Polacek <mpolacek@redhat.com>
35221
35222 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35223 * elf/dl-fini.c (_dl_fini): Adjust caller.
35224 * elf/dl-close.c (_dl_close_worker): Likewise.
35225 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35226
b902330c
MP
352272011-07-15 Marek Polacek <mpolacek@redhat.com>
35228
8991e135
MP
35229 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35230 "aux_cache->nlibs < 0".
35231
b902330c
MP
35232 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35233 in the reload-count case.
35234
99710781
LD
352352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35236
35237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35238 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35239 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35240 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35241 * sysdeps/x86_64/multiarch/strcat.S: New file.
35242 * sysdeps/x86_64/multiarch/strncat.S: New file.
35243 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35244 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35245 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35246 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35247 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35248 (USE_AS_STRCAT): Define.
35249 Add strcat and strncat support.
35250 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35251 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35252 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35253 * string/strncat.c: Update.
35254 (USE_AS_STRNCAT): Define.
35255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35256 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35257 and i7.
35258 * sysdeps/x86_64/multiarch/init-arch.h
35259 (bit_Prefer_PMINUB_for_stringop): New.
35260 (index_Prefer_PMINUB_for_stringop): Likewise.
35261 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35262 bit_Prefer_PMINUB_for_stringop.
35263
7dc6bd90
UD
352642011-07-19 Ulrich Drepper <drepper@gmail.com>
35265
35266 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35267 buffer64.
35268 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35269 of casting of buffer.
35270 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35271 buffer32 and buffer64.
35272 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35273 writes instead of casting of buffer.
35274 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35275 buffer32.
35276 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35277 casting of buffer.
35278
e0e72284
AS
352792011-07-19 Andreas Schwab <schwab@redhat.com>
35280
35281 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35282
feb1eb0b
UD
352832011-07-19 Ulrich Drepper <drepper@gmail.com>
35284
35285 * nscd/nscd.c (termination_handler): Don't do anything for a database
35286 if it has not yet been initialized.
35287
298711ff
UD
352882011-07-18 Ulrich Drepper <drepper@gmail.com>
35289
35290 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35291
352922011-07-15 Marek Polacek <mpolacek@redhat.com>
35293
35294 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35295
f9d68389
UD
352962011-07-18 Ulrich Drepper <drepper@gmail.com>
35297
35298 * po/nl.po: Update from translation team.
35299 * po/sv.po: Likewise.
35300
db290cf5
RM
353012011-07-16 Roland McGrath <roland@hack.frob.com>
35302
35303 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35304 now disallowed by GCC.
5c550700 35305
fd5e21c7
RM
35306 * configure.in (use-default-link): Default to yes if a test -shared
35307 link meets our qualifications.
35308 * configure: Regenerated.
35309
5c550700
RM
35310 * config.make.in (output-format): New variable.
35311 * configure.in: Check for ld --print-output-format support.
35312 * configure: Regenerated.
35313 * Makerules ($(common-objpfx)format.lds)
35314 [$(output-format) != unknown]: Just use $(output-format),
35315 instead of the linker-script munging.
35316
9fa2c032
RM
353172011-07-14 Roland McGrath <roland@hack.frob.com>
35318
a6928d51
RM
35319 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35320 of $(common-objpfx)shlib.lds.
35321 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35322
661607b3
RM
35323 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35324 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35325
9fa2c032
RM
35326 * configure.in (-z relro check): Adjust test code to add a large
35327 writable data section after it.
35328 * configure: Regenerated.
35329
defe9061
RM
353302011-07-11 Roland McGrath <roland@hack.frob.com>
35331
35332 * configure.in (-z relro check): Fix test code to make the variable
35333 truly const.
35334 * configure: Regenerated.
35335
319b9ad4
UD
353362011-07-11 Ulrich Drepper <drepper@gmail.com>
35337
35338 * nscd/nscd.h (struct traced_file): Define.
35339 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35340 elements. Add traced_files.
35341 (inotify_fd): Declare.
35342 (register_traced_file): Declare.
35343 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35344 (inotify_fd): Export.
35345 (resolv_conf_descr): Remove.
35346 (nscd_init): Move inotify descriptor creation to main.
35347 Don't register files for notification here.
35348 (register_traced_file): New function.
35349 (invalidate_cache): Don't use reset_res to determine whether to call
35350 res_init, go through the list of registered files.
35351 (main_loop_poll): The inotify descriptors are now stored in the
35352 structures for the traced files.
35353 (main_loop_epoll): Likewise
35354 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35355 to __nss_disable_nscd.
35356 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35357 for a database anymore. Check the records for all the registered
35358 files instead.
35359 * nss/Makefile (libnss_files-routines): Add files-init.
35360 (libnss_db-routines): Add db-init.
35361 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35362 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35363 * nss/nss_db/db-init.c: New file.
35364 * nss/nss_files/files-init.c: New file.
35365 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35366 __nss_lookup_function.
35367 (__nss_lookup_function): Call nss_load_library.
35368 (nss_load_all_libraries): New function.
35369 (__nss_disable_nscd): Take parameter with callback function for files
35370 to register. Set is_nscd. Load all the DSOs for the NSS modules
35371 used for the cached services.
35372 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35373 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35374 options for features to all the files in nscd.
35375
35376 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35377
23bee3e8
RM
353782011-07-10 Roland McGrath <roland@hack.frob.com>
35379
35380 * csu/elf-init.c (__libc_csu_init): Comment typo.
35381
46a5b7f0
UD
353822011-07-09 Ulrich Drepper <drepper@gmail.com>
35383
35384 * po/pl.po: Update from translation team.
35385 * po/ja.po: Likewise.
35386 * po/ru.po: Likewise.
35387 * po/ko.po: Likewise.
35388 * po/fr.po: Likewise.
35389
d30cf5bb
RM
353902011-07-09 Roland McGrath <roland@hack.frob.com>
35391
113ddea4
RM
35392 * configure.in (.ctors/.dtors header and trailer check):
35393 Use an empirical test on a built program.
35394 * configure: Regenerated.
35395
574920b4
RM
35396 * configure.in (-z relro check): Use an empirical test on a built DSO.
35397 Detect, but do not require, on ia64.
35398 * configure: Regenerated.
35399
d30cf5bb
RM
35400 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35401 Update tests that use readelf to use $READELF instead.
35402 * configure: Regenerated.
35403
8538fdb3
UD
354042011-07-08 Ulrich Drepper <drepper@gmail.com>
35405
35406 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35407 if the result is not used.
35408
04d08991
AJ
354092011-07-05 Andreas Jaeger <aj@suse.de>
35410
35411 [BZ#9696]
35412 * stdlib/tst-strtod.c: Add testcase.
35413
de283087
AD
354142011-07-07 Ulrich Drepper <drepper@gmail.com>
35415
4e5f31c8 35416 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35417 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35418 The latter has a higher limit. Take additional parameter to pass to
35419 the new function.
35420 (__pathconf): Pass file to __statfs_link_max.
35421 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35422 __statfs_link_max.
35423 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35424 __statfs_link_max.
35425
de283087
AD
35426 [BZ #12868]
35427 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35428 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35429 Handle Lustre.
35430 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35431 (__statfs_filesize_max): Likewise.
35432 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35433
c75fa153
AJ
354342011-07-05 Andreas Jaeger <aj@suse.de>
35435
35436 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35437
1a544854
UD
354382011-07-06 Marek Polacek <mpolacek@redhat.com>
35439
35440 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35441 `status' variable.
35442 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35443 Likewise.
35444
6f0eec67
UD
354452011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35446
35447 * Makefile (strop-tests): Add strncat.
35448 * string/test-strncat.c: New file.
35449
aae30307
UD
354502011-06-30 Marek Polacek <mpolacek@redhat.com>
35451
35452 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35453
c0cfb5eb
UD
354542011-06-21 Andreas Jaeger <aj@suse.de>
35455
35456 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35457 Copy rule from iconvdata/Makefile.
35458
01636b21
UD
354592011-07-06 Ulrich Drepper <drepper@gmail.com>
35460
35461 [BZ #12922]
35462 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35463 but no long options are defined, just return 'W'.
35464
9895c8bc
UD
354652011-06-22 Marek Polacek <mpolacek@redhat.com>
35466
35467 [BZ #9696]
35468 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35469
5d4cf042
UD
354702011-07-06 Ulrich Drepper <drepper@gmail.com>
35471
35472 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35473 netgroups to read.
960e5535 35474 (innetgr): Likewise.
5d4cf042 35475
751eb97e
RM
354762011-07-05 Roland McGrath <roland@hack.frob.com>
35477
35478 * config.make.in (install_root): Default to $(DESTDIR).
35479
f15f1e45
UD
354802011-07-05 Ulrich Drepper <drepper@gmail.com>
35481
35482 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35483
4e34ac6a
RM
354842011-07-02 Roland McGrath <roland@hack.frob.com>
35485
5e9b6af4
RM
35486 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35487
84f9ea0f
RM
35488 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35489 containing directory rather than embedding absolute directory names.
35490
ea5ee9f7
RM
35491 * scripts/check-local-headers.sh: Rewritten using awk.
35492 Match by word, not by line. Print error messages for matches.
35493 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35494
1b74661a
RM
35495 * Makerules [shlib-lds-flags empty]:
35496 ($(common-objpfx)libc_pic.opts): New target.
35497 ($(common-objpfx)libc_pic.os.clean): New target.
35498 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35499
35500 * config.make.in (OBJCOPY): New variable.
35501 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35502 * configure: Regenerated.
35503
f781ef40
RM
35504 * config.make.in (use-default-link): New variable.
35505 * configure.in (use_default_link): Grok --with-default-link to set it.
35506 * configure: Regenerated.
35507 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35508 (shlib-lds, shlib-lds-flags): Define to empty.
35509
2d4fa81e
RM
35510 * Makerules (shlib-lds): New variable.
35511 (shlib-lds-flags): New variable.
35512 (build-shlib, build-moduile, build-module-asneeded): Use it.
35513 ($(common-objpfx)libc.so): Use $(shlib-lds).
35514 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35515 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35516
31fffa6b
RM
35517 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35518 DT_FLAGS/DT_FLAGS_1 with zero flags.
35519
4e34ac6a
RM
35520 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35521 linker script munging.
35522
fcfc776b
UD
355232011-07-02 Ulrich Drepper <drepper@gmail.com>
35524
35525 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35526 as 128-bit value.
35527 * crypt/sha512.c (sha512_process_block): Perform total addition using
35528 128-bit if possible.
35529 (__sha512_finish_ctx): Likewise.
35530 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35531 as 64-bit value.
35532 * crypt/sha256.c (SWAP64): Define.
35533 (sha256_process_block): Perform total addition using 64-bit if
35534 possible.
35535 (__sha256_finish_ctx): Likewise.
35536
99231d9a
UD
355372011-07-01 Ulrich Drepper <drepper@gmail.com>
35538
35539 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35540 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35541 * nscd/hstcache.c (cache_addhst): Likewise.
35542 * nscd/grpcache.c (cache_addgr): Likewise.
35543 * nscd/aicache.c (addhstaiX): Likewise
35544 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35545
445b4a53
TK
355462011-07-01 Thorsten Kukuk <kukuk@suse.de>
35547
35548 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35549 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35550 * nscd/hstcache.c (cache_addhst): Likewise.
35551 * nscd/grpcache.c (cache_addgr): Likewise.
35552 * nscd/aicache.c (addhstaiX): Likewise
35553
6d4d8e8e
AS
355542011-07-01 Andreas Schwab <schwab@redhat.com>
35555
35556 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35557 domain only when needed.
35558
89f654c5
AS
355592011-06-30 Andreas Schwab <schwab@redhat.com>
35560
35561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35562 is always restored.
35563
cf3b23ff
UD
355642011-06-29 Ulrich Drepper <drepper@gmail.com>
35565
35566 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35567 are re-adding the entry.
35568 * nscd/servicescache.c (cache_addserv): Likewise.
35569
751626f9
AJ
355702011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35571
35572 * sysdeps/generic/dl-irel.h: fix protection against multiple
35573 inclusions.
35574 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35575
9113ea1f
UD
355762011-06-28 Ulrich Drepper <drepper@gmail.com>
35577
5c0b8d90
UD
35578 [BZ #12935]
35579 * malloc/memusage.sh: Fix quoting in message.
35580 * debug/xtrace.sh: Likewise.
35581
9113ea1f
UD
35582 * configure.in: Remove support for --experimental-malloc option, make
35583 it the default.
35584 * config.make.in: Likewise.
35585 * malloc/Makefile: Likewise.
35586
a4172181
AS
355872011-06-27 Andreas Schwab <schwab@redhat.com>
35588
35589 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35590 two-byte characters.
35591
78a7eee7
RM
355922011-06-27 Roland McGrath <roland@hack.frob.com>
35593
62bede13
RM
35594 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35595 AC_CACHE_CHECK invocation.
35596 * configure: Regenerated.
35597
78a7eee7
RM
35598 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35599
5ce33a62
UD
356002011-06-27 Ulrich Drepper <drepper@gmail.com>
35601
034807a9
UD
35602 [BZ #12350]
35603 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35604 bit from old_res_options.
35605
4902da17
UD
35606 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35607
5ce33a62
UD
35608 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35609 value type for setfct.
35610
c2344f56
L
356112011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35612
35613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35614 __gettimeofday instead of gettimeofday.
35615
68468076
UD
356162011-06-26 Ulrich Drepper <drepper@gmail.com>
35617
35618 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35619
acb0d739
L
356202011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35621
35622 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35623
35624 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35625 info.
35626
8912479f
L
356272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35628
35629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35630 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35631 strcpy-sse2-unaligned strncpy-sse2-unaligned
35632 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35633 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35634 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35635 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35636 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35637 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35638 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35639 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35640 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35641 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35642 (STRCPY): Support SSE2 and SSSE3 versions.
35643
d5495a11
UD
356442011-06-24 Ulrich Drepper <drepper@gmail.com>
35645
35646 [BZ #12874]
35647 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35648 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35649 kernels which artificially limit size of requests.
35650
0b1cbaae
L
356512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35652
35653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35654 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35655 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35656 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35657 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35658 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35659 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35660 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35661 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35662 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35663 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35664 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35665 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35666 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35667 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35669 Enable unaligned load optimization for Intel Core i3, i5 and i7
35670 processors.
35671 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35672 Define.
35673 (index_Fast_Unaligned_Load): Define.
35674 (HAS_FAST_UNALIGNED_LOAD): Define.
35675
07f494a0
MP
356762011-06-23 Marek Polacek <mpolacek@redhat.com>
35677
35678 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35679
fa3fc0fe
UD
356802011-06-22 Ulrich Drepper <drepper@gmail.com>
35681
35682 [BZ #12907]
35683 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35684 until it is clear that the information is realy needed.
35685 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35686
e12df166
AS
356872011-06-22 Andreas Schwab <schwab@redhat.com>
35688
35689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35690
852eb34d
UD
356912011-06-22 Ulrich Drepper <drepper@gmail.com>
35692
84e2a551
UD
35693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35694 /sys/devices/system/cpu/online if it is usable.
35695
852eb34d
UD
35696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35697 reading the information from the /proc filesystem to once a second.
35698
6e502e19
UD
356992011-06-21 Andreas Jaeger <aj@suse.de>
35700
35701 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35702 NULL after inclusion of kernel headers.
35703
75d39ff2
UD
357042011-06-21 Ulrich Drepper <drepper@gmail.com>
35705
51f9aa6a
UD
35706 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35707 calls to internal_setent.
35708
c0244a9d
UD
35709 [BZ #12885]
35710 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35711 addresses using gethostbyname4_r ignore IPv4 addresses.
35712
c5e3c2ae
UD
35713 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35714 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35715
75d39ff2
UD
35716 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35717
42675c6f
DM
357182011-06-20 David S. Miller <davem@davemloft.net>
35719
35720 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35721 inclusions.
35722 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35723
35724 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35725 (elf_irel): Use it.
35726 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35727 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35728 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35729 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35730 * sysdeps/x86_64/dl-irel.h: Likewise.
35731
35732 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35733 * elf/dl-sym.c: Likewise.
35734
57912a71
UD
357352011-06-15 Ulrich Drepper <drepper@gmail.com>
35736
35737 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35738 need to dereference resplen2.
35739
ee22793d
AS
357402011-06-14 Andreas Schwab <schwab@redhat.com>
35741
35742 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35743
a9e836b0
UD
357442011-06-15 Ulrich Drepper <drepper@gmail.com>
35745
77fb9117
UD
35746 * Makeconfig: Define vardbdir and inst_vardbdir.
35747 * nss/Makefile: Add rules to install db-Makefile.
35748
40c1b22c
UD
35749 * nss/nss_db/db-XXX.c: Cleanup.
35750
9f2da732
UD
35751 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35752 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35753 GLIBC_PRIVATE.
35754 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35755 * nss/makedb.c: Implement -g option to specify that value strings
35756 are generated and should not be added to table iterated over for
35757 get*ent calls.
35758 * nss/nss_db/db-initgroups.c: New file.
35759
82e9a1f7
UD
35760 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35761 interface.
35762
c41af17e
UD
35763 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35764 (internal_getgrouplist): Adjust to name change.
35765 Update use_initgroups_entry if this is not the first call.
35766 * nss/databases.def: Add initgroups entry.
35767
a9e836b0
UD
35768 * nss/makedb.c (compute_tables): Check result of multiple hash table
35769 sizes to minimize maximum chain length.
35770
2666d441
UD
357712011-06-14 Ulrich Drepper <drepper@gmail.com>
35772
35773 * Versions.def: Add entry for libnss_db.
35774 * shlib-versions: Likewise.
35775 * nss/Makefile: Add rules to build libnss_db.
35776 * nss/Versions: Add libnss_db information. Organize libnss_files
35777 entries better.
35778 * nss/db-Makefile: Add gshadow support. Change rules for the new
35779 makedb progra. Some minor improvements to generate smaller files.
35780 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35781 here from...
35782 * nss/makedb.c: ...here.
35783 Improve database format to be smaller and require less memory at
35784 runtime.
35785 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35786 db anymore.
35787 * nss/nss_db/db-netgrp.c: Likewise.
35788 * nss/nss_db/db-open.c: Likewise.
35789 * nss/nss_files/flies-XXX.x: Adjust comments.
35790 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35791 * nss/nss_files/files-grp.c: Likewise.
35792 * nss/nss_files/files-hosts.c: Likewise.
35793 * nss/nss_files/files-network.c: Likewise.
35794 * nss/nss_files/files-proto.c: Likewise.
35795 * nss/nss_files/files-pwd.c: Likewise.
35796 * nss/nss_files/files-rpc.c: Likewise.
35797 * nss/nss_files/files-service.c: Likewise.
35798 * nss/nss_files/files-sgrp.c: Likewise.
35799 * nss/nss_files/files-spwd.c: Likewise.
35800 * nss/nss_db/db-alias.c: Removed.
35801 * nss/nss_db/dummy-db.h: Removed.
35802
9ee76b5a
UD
358032011-06-02 Ulrich Drepper <drepper@gmail.com>
35804
35805 * nss/makedb.c: Rewritten to not use database library.
35806 * nss/Makefile: Update to build new makedb program.
35807
c71ca1f8
AJ
358082011-06-14 Andreas Jaeger <aj@suse.de>
35809
35810 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35811 memset declaration.
35812
3154bfb8
UD
358132011-06-10 Andreas Schwab <schwab@redhat.com>
35814
35815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35816 tmpbuf.
35817
b350afab
RM
358182011-06-10 Roland McGrath <roland@hack.frob.com>
35819
decd4e50
RM
35820 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35821 * elf/Makefile ($(objpfx)ld.so): Likewise.
35822
5615eaf2
RM
35823 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35824 Don't list ld.so twice in dependencies.
35825
35826 * posix/bug-regex31.c: Include <stdlib.h>.
35827
35828 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35829
35830 * nis/nss_compat/compat-spwd.c
35831 (getspent_next_nss_netgr): Remove unused variable.
35832 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35833
35834 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35835 nonmembers" output to use the right array.
35836
35837 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35838
35839 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35840
35841 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35842 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35843 * catgets/gencat.c (read_input_file): Likewise.
35844 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35845
35846 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35847 variable definition inside #if's controlling its use.
35848
35849 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35850
35851 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35852
35853 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35854
35855 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35856 unreachable code.
35857
35858 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35859
b68e08db
RM
35860 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35861 * configure: Regenerated.
35862
b350afab
RM
35863 * Makerules: Revert last change.
35864 * elf/Makefile: Likewise.
35865
28368601
RM
358662011-06-09 Roland McGrath <roland@hack.frob.com>
35867
35868 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35869 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35870 (reloc-link): Likewise.
35871
11988f8f
UD
358722011-06-09 Ulrich Drepper <drepper@gmail.com>
35873
35874 * elf/Makefile: Add rules to build pldd.
35875 * elf/pldd.c: New file.
35876 * elf/pldd-xx.c: New file.
35877
e80fab37
UD
358782011-06-07 Ulrich Drepper <drepper@gmail.com>
35879
35880 * version.h: Update for 2.15 development version.
35881
9b849836
DM
358822011-06-07 David S. Miller <davem@davemloft.net>
35883
35884 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35885 ifuncs.
35886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35887 elf_machine_lazy_rel): Likewise.
35888 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35889 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35890 elf_machine_lazy_rel): Likewise.
35891 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35892 dl_hwcap via passed in argument.
35893 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35894 Likewise.
35895
5a31b283
AK
358962011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35897
35898 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35899
069e52f8
RM
359002011-06-06 Roland McGrath <roland@hack.frob.com>
35901
35902 [BZ #12849]
35903 * manual/fdl-1.1.texi: New file, verbatim from:
35904 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35905 * manual/lgpl-2.1.texi: New file, verbatim from:
35906 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35907 * manual/Makefile (licenses): New variable, list those new file names.
35908 (texis): Use it.
35909 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35910
35911 * manual/fdl.texi: File removed.
35912 * manual/lesser.texi: File removed.
35913 * manual/libc.texinfo (Copying, Documentation License):
35914 Use new @include file names, put @appendix directive before @include.
35915
f16846a5
JJ
359162011-06-04 Jakub Jelinek <jakub@redhat.com>
35917
35918 [BZ #12841]
35919 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35920 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35921 (mq_open): Add __NTH.
35922
3d29045b
L
359232011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35924
35925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35926 Assume Intel Core i3/i5/i7 processor if AVX is available.
35927
8c297311
UD
359282011-05-31 Ulrich Drepper <drepper@gmail.com>
35929
35930 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35931 typo.
35932
c8fc0c91
UD
359332011-05-31 Andreas Schwab <schwab@redhat.com>
35934
35935 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35936 memory. Use alloca_account. Fix memory leak when retrying.
35937
5b27a807
UD
359382011-05-31 Ulrich Drepper <drepper@gmail.com>
35939
356f8bc6
UD
35940 * version.h (RELEASE): Bump for 2.14 release.
35941 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35942
5b27a807
UD
35943 * config.make.in (RANLIB): Remove entry.
35944
01f16ab0
UD
359452011-05-30 Ulrich Drepper <drepper@gmail.com>
35946
41fce8bd
UD
35947 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35948 (libc.pot): Work around missing support for .ksh extension in xgettext.
35949
4769ae77
UD
35950 [BZ #12684]
35951 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35952 if both request failed.
35953 (send_dg): In case of server errors clear resplen or *resplen2.
35954
6b1e7d19
UD
35955 [BZ #12454]
35956 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35957 when there are multiple maps.
35958 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35959 (_dl_fini): Remove test here.
35960
01f16ab0
UD
35961 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35962
b1ebd700
UD
359632011-05-29 Ulrich Drepper <drepper@gmail.com>
35964
7ae22829
UD
35965 [BZ #12350]
35966 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35967 bit from old_res_options.
35968 (gaih_inet): Likewise.
35969
553149f6 35970 [BZ #11099]
18a84741 35971 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35972 as signed.
35973
652ffab1
UD
35974 * resolv/res_init.c (res_setoptions): Make the code more compact.
35975
16985fd0
UD
35976 [BZ #11558]
35977 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35978 set RES_USEVC.
35979
0464f746
UD
35980 [BZ #11634]
35981 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35982
7d17596c
UD
35983 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35984
cf6bbbd7
UD
35985 [BZ #11781]
35986 * malloc/malloc.h: Declare malloc hook variables as volatile.
35987
13f1ab36
UD
35988 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35989 in last patch.
35990
b1ebd700
UD
35991 [BZ #11799]
35992 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35993 raise in the comment.
80e2212d
UD
35994 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35995 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35996 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35997
ce67228d
UD
359982011-05-28 Ulrich Drepper <drepper@gmail.com>
35999
8887a920
UD
36000 [BZ #12811]
36001 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36002 grow the buffers more if it already has to be sufficient.
36003 (build_wcs_upper_buffer): Likewise.
36004 * posix/regexec.c (check_matching): Likewise.
36005 (clean_state_log_if_needed): Likewise.
36006 (extend_buffers): Don't enlarge buffers beyond size of the input
36007 buffer.
36008 Patches mostly by Emil Wojak <emil@wojak.eu>.
36009 * posix/bug-regex32.c: New file.
36010 * posix/Makefile (tests): Add bug-regex32.
36011
4f031072
UD
36012 * locale/findlocale.c (_nl_find_locale): Return right away if
36013 _nl_explode_name failed.
36014 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36015
d0478f0c
UD
36016 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36017
de81b246
UD
36018 * debug/xtrace.sh: Unify messages.
36019 * malloc/memusage.sh: Likewise.
36020
c738465a
UD
36021 [BZ #12813]
36022 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36023 time symbol from vDSO. Substitute with vsyscall if not available.
36024 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36025 __vdso_time.
36026
f1f929d7
UD
36027 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36028 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36029 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36030 Add sendmmsg and internal_sendmmsg.
36031 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36032 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36033 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36034
ce67228d
UD
36035 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36036 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36037 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36038
e57420c6
UD
360392011-05-27 Ulrich Drepper <drepper@gmail.com>
36040
a8509ca5
UD
36041 [BZ #12813]
36042 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36043 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36044 available.
36045 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36046 __vdso_getcpu.
36047
e57420c6
UD
36048 [BZ #12814]
36049 * iconvdata/Makefile (tests): Add bug-iconv9.
36050 * iconvdata/bug-iconv9.c: New file.
36051
4d07db15
AS
360522011-05-27 Andreas Schwab <schwab@redhat.com>
36053
36054 [BZ #12814]
36055 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36056
ea486f69
JJ
360572011-05-25 Jakub Jelinek <jakub@redhat.com>
36058
36059 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36060 (struct user_regs_struct): Change intcs field back to cs.
36061
6f038433
UD
360622011-05-25 Ulrich Drepper <drepper@gmail.com>
36063
36064 * po/ja.po: Update from translation team.
36065
67f86a25
UD
360662011-05-23 Ulrich Drepper <drepper@gmail.com>
36067
36068 [BZ #12795]
36069 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36070 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36071
def7fbd6
AS
360722011-05-20 Andreas Schwab <schwab@redhat.com>
36073
36074 * stdlib/longlong.h: Update from GCC.
36075
f50ef8f1
AS
360762011-05-23 Andreas Schwab <schwab@redhat.com>
36077
36078 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36079 parameter name.
36080 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36081 Add parameter name.
36082 (__sysconf): Pass it down.
36083
de7ce8f1
UD
360842011-05-22 Ulrich Drepper <drepper@gmail.com>
36085
f2962a71
UD
36086 [BZ #12671]
36087 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36088 some situations.
36089 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36090 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36091 add in in __libc_use_alloca calls. Adjust callers.
36092 (glob): Use malloc in some situations.
36093
de7ce8f1
UD
36094 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36095 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36096 pltexit.
36097
aec84f53
UD
360982011-05-21 Ulrich Drepper <drepper@gmail.com>
36099
05bb4a68
UD
36100 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36101 and CLOCK_BOOTTIME_ALARM.
36102
7ea72f99
UD
36103 [BZ #12782]
36104 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36105 is returned.
36106
7e4afad5
UD
36107 * string/_strerror.c (__strerror_r): Print negative errors as signed
36108 numbers.
36109
8e211fec
UD
36110 [BZ #12777]
36111 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36112 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36113 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36114
f7d82dc9
UD
36115 * configure.in: Fix typo in redirection and correct removal of test
36116 files in two cases.
36117
cc9e536d
UD
36118 [BZ #12788]
36119 * locale/setlocale.c (new_composite_name): Fix test to check for
36120 identical name of all categories.
36121
aec84f53
UD
36122 [BZ #12792]
36123 * libio/filedoalloc.c (local_isatty): New function.
36124 (_IO_file_doallocate): Use local_isatty.
36125 * stdio-common/perror.c (perror): In case a new stream is used
36126 forward the stream error.
36127 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36128 error flag.
36129
78e64fdc
RT
361302011-05-20 Ulrich Drepper <drepper@gmail.com>
36131
34a9094f
UD
36132 [BZ #11869]
36133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36134 alloca.
36135 * include/alloca.h (extend_alloca_account): Define.
36136
78e64fdc
RT
36137 [BZ #11857]
36138 * posix/regex.h: Fix comments with documentation of user-accessible
36139 fields after compilation and describe correct free'ing of pattern
36140 after re_compile_pattern.
36141 Patch by Reuben Thomas <rrt@sc3d.org>.
36142
457bddfc
RA
361432011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36144
36145 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36146 and -mno-altivec to prevent the compiler from using Altivec and/or
36147 VSX instructions when the corresponding registers are not available.
36148
a4527b51
AS
361492011-05-19 Andreas Schwab <schwab@redhat.com>
36150
36151 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36152
ed690b2f
UD
361532011-05-19 Ulrich Drepper <drepper@gmail.com>
36154
36155 * libio/freopen.c (freopen): Use __dup2, not dup2.
36156 * libio/freopen64.c (freopen64): Likewise.
36157
8db73634
L
361582011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36159
36160 [BZ #12775]
36161 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36162 * math/Makefile (tests): Add test-powl.
36163 (CFLAGS-test-powl.c): Define.
36164 * math/test-powl.c: New file.
36165
0a197a9d
L
361662011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36167
36168 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36169
ee30c380
UD
361702011-05-17 Ulrich Drepper <drepper@gmail.com>
36171
36172 [BZ #11837]
36173 * iconvdata/gb18030.c: Update to GB18020-2005.
36174
6ce75379
UD
361752011-05-16 Ulrich Drepper <drepper@gmail.com>
36176
a4b89fd8
AR
36177 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36178 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36179 Patch by Aharon Robbins <arnold@skeeve.com>.
36180
ea389b12
UD
36181 [BZ #11892]
36182 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36183 on the stack.
36184
68a3f91f
UD
36185 [BZ #11895]
36186 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36187 through underflows.
36188
15cc7dd1
UD
36189 [BZ #12766]
36190 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36191 point to strings before performing equality test for error_one_per_line
36192 mode.
36193
f3799213
UD
36194 [BZ #11697]
36195 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36196
d79a9c94
UD
36197 [BZ #11820]
36198 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36199 (struct user_fpregs_struct): Avoid __uint*_t types.
36200
56e5eb46
UD
36201 [BZ #6420]
36202 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36203 symbol info. Use it instead of calling _dl_addr locally.
36204 (lock_and_info): New function.
36205 (tr_freehook): Call lock_and_info and pass symbol info as additional
36206 parameter to tr_where.
36207 (tr_mallochook): Likewise.
36208 (tr_reallochook): Likewise.
36209 (tr_memalignhook): Likewise.
36210
6ce75379
UD
36211 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36212 used and couldn't be at all thread-safe.
36213
f8a3b5bf
UD
362142011-05-15 Ulrich Drepper <drepper@gmail.com>
36215
94b7cc37
UD
36216 * libio/freopen.c (freopen): Don't close old file descriptor
36217 before the new one is opened. Instead dup the new file descriptor
36218 to the old one after the new stream is created.
36219 * libio/freopen64.c (freopen64): Likewise.
36220 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36221 * libio/fileops.c (_IO_new_file_close_it): Handle new
36222 _IO_FLAGS2_NOCLOSE flag.
36223 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36224 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36225 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36226 _IO_FLAGS2_NOCLOSE flag.
36227 * include/unistd.h: Add hidden_proto for dup3.
36228 Define __have_dup3.
36229 * io/dup3.c: Define hidden symbol.
36230 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36231
bd25564e
UD
36232 [BZ #7101]
36233 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36234 when an incomplete long option is used.
36235 * posix/tst-getopt_long1.c: New file.
36236 * posix/Makefile (tests): Add tst-getopt_long1.
36237
c84cfef4
UD
36238 [BZ #10138]
36239 * scripts/config.guess: Update from autoconf-2.68.
36240 * scripts/config.sub: Likewise.
36241
3b85df27
UD
36242 [BZ #10157]
36243 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36244 tests into ...
36245 (has_cpuclock): ...this. New function.
36246 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36247 macro here based on has_cpuclock code.
36248
15a856b1
UD
36249 [BZ #10149]
36250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36251 First byte (not low byte) is now always NUL.
36252 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36253
05f399e6
UD
36254 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36255 Use non-cancelable interfaces.
36256
10a52685 36257 [BZ #9809]
94ecc67d
UD
36258 * locale/iso-639.def: Add entry for Sorani.
36259
f8a3b5bf
UD
36260 [BZ #11901]
36261 * include/stdlib.h: Move include protection to the right place.
36262 Define abort_msg_s. Declare __abort_msg with it.
36263 * stdlib/abort.c (__abort_msg): Adjust type.
36264 * assert/assert.c (__assert_fail_base): New function. Majority
36265 of code from __assert_fail. Allocate memory for __abort_msg with
36266 mmap.
36267 (__assert_fail): Now call __assert_fail_base.
36268 * assert/assert-perr.c: Remove bulk of implementation. Use
36269 __assert_fail_base.
36270 * include/assert.hL Declare __assert_fail_base.
36271 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36272 mmap.
36273 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36274
1af4e298
UD
362752011-05-14 Ulrich Drepper <drepper@gmail.com>
36276
f8a3b5bf 36277 [BZ #11952]
d26dfc60
MG
36278 [BZ #12453]
36279 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36280 until all modules are registered in the DTV.
36281 * elf/Makefile: Add rules to build and run tst-tls19.
36282 * elf/tst-tls19.c: New file.
36283 * elf/tst-tls19mod1.c: New file.
36284 * elf/tst-tls19mod2.c: New file.
36285 * elf/tst-tls19mod3.c: New file.
36286 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36287
2fc54d6f
UD
36288 [BZ #12083]
36289 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36290 correctly.
36291
98d76b46
UD
36292 [BZ #12601]
36293 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36294 two-byte sequence errors.
36295 * iconvdata/Makefile (tests): Add bug-iconv8.
36296 * iconvdata/bug-iconv8.c: New file.
36297
da3c19ef
UD
36298 [BZ #12626]
36299 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36300 buf2 definition.
36301
ca408c15
UD
36302 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36303
d6f67f7d
UD
36304 [BZ #12432]
36305 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36306 (dummy_getcfa): New function.
36307 (init): Get _Unwind_GetCFA address, use dummy if not found.
36308 (backtrace_helper): In recursion check, also check whether CFA changes.
36309 (__backtrace): Completely initialize arg.
36310
1af4e298 36311 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36312 storing incomplete byte sequence in state object. Avoid testing for
36313 guaranteed too small input if we know there is enough data available.
1af4e298 36314
da62f81b
AS
363152011-05-11 Andreas Schwab <schwab@redhat.com>
36316
36317 * Makeconfig (+link-pie): Indent.
36318 * Rules (binaries-pie): Define if $(have-fpie) and
36319 $(build-shared).
36320 (binaries-shared): Also filter out $(binaries-pie).
36321 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36322 * nscd/Makefile (others-pie): Add nscd.
36323 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36324 ($(objpfx)nscd): Remove command override.
36325 * login/Makefile (others-pie): Add pt_chown.
36326 ($(objpfx)pt_chown): Remove command override.
36327 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36328 remove command overrides.
36329
fcabc0f8
UD
363302011-05-13 Ulrich Drepper <drepper@gmail.com>
36331
20030ae6
UD
36332 * libio/tst_putwc.c: Fix error messages.
36333
fcabc0f8
UD
36334 [BZ #12724]
36335 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36336 currently writing and seek to current position when not.
36337 * libio/Makefile (tests): Add bug-fclose1.
36338 * libio/bug-fclose1.c: New file.
36339
320a5dc0
PB
363402011-05-12 Ulrich Drepper <drepper@gmail.com>
36341
36342 [BZ #12511]
36343 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36344 don't set DF_1_NODELETE here.
36345 (do_lookup_x): When entering new entry test for copy relocation
36346 and if necessary set DF_1_NODELETE flag.
36347 * elf/tst-unique4.cc: New file.
36348 * elf/tst-unique4.h: New file.
36349 * elf/tst-unique4lib.cc: New file.
36350 * elf/Makefile: Add rules to build and run tst-unique4.
36351 Patch by Piotr Bury <pbury@goahead.com>.
36352
22836f52
UD
363532011-05-11 Ulrich Drepper <drepper@gmail.com>
36354
f574184a
UD
36355 [BZ #12052]
36356 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36357
e1fb097f
UD
36358 [BZ #12625]
36359 * misc/mntent_r.c (addmntent): Flush the stream after the output
36360
22836f52
UD
36361 [BZ #12393]
36362 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36363 (is_trusted_path_normalize): Skip initial colon. Append slash
36364 to empty buffer. Duplicate is_trusted_path code but allow
36365 constructed patch to be prefix.
36366 (is_dst): Allow $ORIGIN followed by /.
36367 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36368 Correct testing of result of is_trusted_path_normalize
36369 (decompose_rpath): Fix warning.
36370
7b3b0b2a
UD
363712011-05-10 Ulrich Drepper <drepper@gmail.com>
36372
36373 [BZ #11257]
36374 * grp/initgroups.c (internal_getgrouplist): When we found the service
36375 list through the initgroups entry in nsswitch.conf do not always
36376 continue on a successful lookup. Don't always use the
eac80ce2 36377 __nss_group_database value if it is set.
7b3b0b2a
UD
36378 * nss/nsswitch.conf (initgroups): Change action for successful db
36379 lookup to continue for compatibility.
36380
2a81eaa5
UD
363812011-05-09 Ulrich Drepper <drepper@gmail.com>
36382
be97a69e
UD
36383 [BZ #11532]
36384 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36385 and CP774 modules.
36386 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36387 and CP774 modules.
36388 * iconvdata/tst-tables.sh: Likewise.
36389 * iconvdata/cp770.c: New file.
36390 * iconvdata/cp771.c: New file.
36391 * iconvdata/cp772.c: New file.
36392 * iconvdata/cp773.c: New file.
36393 * iconvdata/cp774.c: New file.
36394 * iconvdata/testdata/CP770: New file.
36395 * iconvdata/testdata/CP770..UTF8: New file.
36396 * iconvdata/testdata/CP771: New file.
36397 * iconvdata/testdata/CP771..UTF8: New file.
36398 * iconvdata/testdata/CP772: New file.
36399 * iconvdata/testdata/CP772..UTF8: New file.
36400 * iconvdata/testdata/CP773: New file.
36401 * iconvdata/testdata/CP773..UTF8: New file.
36402 * iconvdata/testdata/CP774: New file.
36403 * iconvdata/testdata/CP774..UTF8: New file.
36404
36405 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36406 END CHARMAP line.
36407 * iconvdata/gen-8bit-gap.sh: Likewise.
36408 * iconvdata/gen-8bit.sh: Likewise.
36409
c1e9e399
UD
36410 * locale/iso-639.def: Add ary entry.
36411
24c55fb3 36412 [BZ #11258]
96b4b1b0
UD
36413 * locale/C-translit.h.in: Add U20A1 transliteration.
36414
bdc2f971
KB
36415 [BZ #12178]
36416 * locale/iso-639.def: Add wae entry.
36417 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36418
2952b117
UD
36419 [BZ #12545]
36420 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36421 for n.
36422
2a81eaa5
UD
36423 [BZ #12711]
36424 * locale/C-translit.h.in: Add entry for U20B9.
36425 Patch by pravin.d.s@gmail.com.
36426
28377d1b
UD
364272011-05-08 Ulrich Drepper <drepper@gmail.com>
36428
7fb90fb8
UD
36429 [BZ #12713]
36430 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36431 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36432 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36433 in rtld. Use *stat64.
7fb90fb8 36434 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36435 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36436 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36437 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36438 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36439 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36440 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36441 __fstatat64 macros.
7fb90fb8
UD
36442 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36443 * dirent/rewinddir.c: Add libc_hidden_def.
36444 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36445 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36446
28377d1b
UD
36447 * include/dirent.h (__alloc_dir): Add flags parameter.
36448 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36449 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36450 __alloc_dir.
36451 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36452 from fdopendir if O_CLOEXEC is already set.
36453
66bdbaa4
AM
364542011-03-15 Alan Modra <amodra@gmail.com>
36455
36456 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36457 l_tls_firstbyte_offset non-zero. Save padding offset in
36458 l_tls_firstbyte_offset for later use.
36459 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36460 freeing static tls block.
36461
95721191
JN
364622011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36463
36464 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36465 where #ifdef was intended. The intent is to prevent ARG_MAX from
36466 being defined by the kernel headers.
36467
f87dfb1f
UD
364682011-05-07 Ulrich Drepper <drepper@gmail.com>
36469
36470 [BZ #12734]
36471 * resolv/resolv.h: Define RES_NOTLDQUERY.
36472 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36473 no-tld-query and set RES_NOTLDQUERY.
36474 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36475 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36476 modern BIND to search name as TLD unless forbidden.
36477
47c3cd7a
UD
364782011-05-07 Petr Baudis <pasky@suse.cz>
36479 Ulrich Drepper <drepper@gmail.com>
36480
36481 [BZ #12393]
36482 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36483 (is_trusted_path): ...to here.
c1e9ea35 36484 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36485 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36486 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36487
8a35c912
PP
364882011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36489
36490 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36491 __BEGIN/__END_DECLS.
36492
acd41f47
UD
364932011-05-06 Ulrich Drepper <drepper@gmail.com>
36494
36495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36496 NSS_STATUS_NOTFOUND if no record was found.
36497
597df647
AS
364982011-05-05 Andreas Schwab <schwab@redhat.com>
36499
36500 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36501 (headers-not-in-tirpc): Remove rpc/netdb.h
36502 * resolv/netdb.h: Revert last change.
36503
b9af1301
PP
365042011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36505
36506 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36507 circular dependency between libgcc.a and libc.a.
36508
4e34d5f5
AS
365092011-05-05 Andreas Schwab <schwab@redhat.com>
36510
36511 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36512 * nis/Makefile: Don't install rpcsvc/*.
36513 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36514 instead of <rpc/types.h>.
36515 (MAXHOSTNAMELEN): Define.
36516
00ee369c
AS
365172011-05-03 Andreas Schwab <schwab@redhat.com>
36518
36519 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36520
0b592a30
MB
365212011-04-28 Maciej Babinski <mbabinski@google.com>
36522
36523 [BZ #12714]
36524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36525 gethostbyname4_r when IPv6 results are possible.
36526
6e04cbbe
UD
365272011-05-02 Ulrich Drepper <drepper@gmail.com>
36528
36529 [BZ #12723]
36530 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36531 _PC_PIPE_BUF handling.
36532
e4ecafe0
BH
365332011-04-30 Bruno Haible <bruno@clisp.org>
36534
36535 [BZ #12717]
36536 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36537 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36538 to 'int'.
36539 * inet/getnameinfo.c (getnameinfo): Likewise.
36540
125ee683
UD
365412011-04-29 Ulrich Drepper <drepper@gmail.com>
36542
36543 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36544 to groups setting in database lookup.
36545 * nss/nsswitch.conf: Add initgroups entry.
36546
b722481a
EB
365472011-04-22 Ulrich Drepper <drepper@gmail.com>
36548
36549 [BZ #12685]
36550 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36551 mode string.
36552 Patch by Eric Blake <eblake@redhat.com>.
36553
4df46dbd
L
365542011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36555
36556 * sunrpc/Makefile (need-export-routines): Add svc_run.
36557 (routines): Remove svc_run.
36558 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36559 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36560 * sunrpc/svc_run.c (svc_run): Likewise.
36561 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36562
e84142d2
UD
365632011-04-21 Ulrich Drepper <drepper@gmail.com>
36564
36565 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36566 problem in reallocation in last patch.
36567
877175d8
UD
365682011-04-20 Ulrich Drepper <drepper@gmail.com>
36569
36570 * sunrpc/Makefile: Move inclusion of Rules.
36571
ab8eed78
UD
365722011-04-19 Ulrich Drepper <drepper@gmail.com>
36573
36574 * nss/nss_files/files-initgroups.c: New file.
36575 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36576 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36577 _nss_files_initgroups_dyn.
36578
e3d8f584
RS
365792011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36580
36581 * elf/elf.h (R_ARM_IRELATIVE): Define.
36582
af190f45
UD
365832011-04-19 Ulrich Drepper <drepper@gmail.com>
36584
36585 * po/ru.po: Update from translation team.
36586
53cf59ef
UD
365872011-04-17 Ulrich Drepper <drepper@gmail.com>
36588
36589 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36590 dependencies.
36591
4c559bcd
MF
365922011-02-06 Mike Frysinger <vapier@gentoo.org>
36593
36594 [BZ #12653]
36595 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36596 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36597 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36598 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36599 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36600
4420675c
AS
366012011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36602
36603 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36604 differing bytes.
36605 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36606 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36607 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36608
75ea32ab
UD
366092011-04-17 Ulrich Drepper <drepper@gmail.com>
36610
36611 [BZ #12420]
36612 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36613 storing it.
36614 * stdlib/bug-getcontext.c: New file.
36615 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36616
27390476
AK
366172011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36618
36619 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36620 instructions into .machine "z9-109".
36621 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36622 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36623
10442705
AK
366242011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36625
36626 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36627 between environment variables and auxiliary vector.
36628
7b57bfe5
UD
366292011-04-16 Ulrich Drepper <drepper@gmail.com>
36630
36631 * Makefile: Add rules to build linkobj/libc.so.
36632 * include/libc-symbols.h: Define libc_hidden_nolink.
36633 * include/rpc/auth.h: Mark functions which are to be hidden.
36634 * include/rpc/auth_des.h: Likewise.
36635 * include/rpc/auth_unix.h: Likewise.
36636 * include/rpc/clnt.h: Likewise.
36637 * include/rpc/des_crypt.h: Likewise.
36638 * include/rpc/key_prot.h: Likewise.
36639 * include/rpc/pmap_clnt.h: Likewise.
36640 * include/rpc/pmap_prot.h: Likewise.
36641 * include/rpc/pmap_rmt.h: Likewise.
36642 * include/rpc/rpc_msg.h: Likewise.
36643 * include/rpc/svc.h: Likewise.
36644 * include/rpc/svc_auth.h: Likewise.
36645 * include/rpc/xdr.h: Likewise.
36646 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36647 * nss/Makefile: Likewise.
36648 * sunrpc/Makefile: Don't install headers. Build library with normal
36649 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36650 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36651 for the compat linking library. Remove use of INTDEF/INTUSE.
36652 * sunrpc/auth_none.c: Likewise.
36653 * sunrpc/auth_unix.c: Likewise.
36654 * sunrpc/authdes_prot.c: Likewise.
36655 * sunrpc/authuxprot.c: Likewise.
36656 * sunrpc/clnt_gen.c: Likewise.
36657 * sunrpc/clnt_perr.c: Likewise.
36658 * sunrpc/clnt_raw.c: Likewise.
36659 * sunrpc/clnt_simp.c: Likewise.
36660 * sunrpc/clnt_tcp.c: Likewise.
36661 * sunrpc/clnt_udp.c: Likewise.
36662 * sunrpc/clnt_unix.c: Likewise.
36663 * sunrpc/des_crypt.c: Likewise.
36664 * sunrpc/des_soft.c: Likewise.
36665 * sunrpc/get_myaddr.c: Likewise.
36666 * sunrpc/key_call.c: Likewise.
36667 * sunrpc/key_prot.c: Likewise.
36668 * sunrpc/netname.c: Likewise.
36669 * sunrpc/pm_getmaps.c: Likewise.
36670 * sunrpc/pm_getport.c: Likewise.
36671 * sunrpc/pmap_clnt.c: Likewise.
36672 * sunrpc/pmap_prot.c: Likewise.
36673 * sunrpc/pmap_prot2.c: Likewise.
36674 * sunrpc/pmap_rmt.c: Likewise.
36675 * sunrpc/publickey.c: Likewise.
36676 * sunrpc/rpc_cmsg.c: Likewise.
36677 * sunrpc/rpc_common.c: Likewise.
36678 * sunrpc/rpc_dtable.c: Likewise.
36679 * sunrpc/rpc_prot.c: Likewise.
36680 * sunrpc/rpc_thread.c: Likewise.
36681 * sunrpc/rtime.c: Likewise.
36682 * sunrpc/svc.c: Likewise.
36683 * sunrpc/svc_auth.c: Likewise.
36684 * sunrpc/svc_authux.c: Likewise.
36685 * sunrpc/svc_raw.c: Likewise.
36686 * sunrpc/svc_run.c: Likewise.
36687 * sunrpc/svc_simple.c: Likewise.
36688 * sunrpc/svc_tcp.c: Likewise.
36689 * sunrpc/svc_udp.c: Likewise.
36690 * sunrpc/svc_unix.c: Likewise.
36691 * sunrpc/svcauth_des.c: Likewise.
36692 * sunrpc/xcrypt.c: Likewise.
36693 * sunrpc/xdr.c: Likewise.
36694 * sunrpc/xdr_array.c: Likewise.
36695 * sunrpc/xdr_float.c: Likewise.
36696 * sunrpc/xdr_intXX_t.c: Likewise.
36697 * sunrpc/xdr_mem.c: Likewise.
36698 * sunrpc/xdr_rec.c: Likewise.
36699 * sunrpc/xdr_ref.c: Likewise.
36700 * sunrpc/xdr_sizeof.c: Likewise.
36701 * sunrpc/xdr_stdio.c: Likewise.
36702
e6c61494
UD
367032011-04-10 Ulrich Drepper <drepper@gmail.com>
36704
36705 [BZ #12650]
36706 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36707 * sysdeps/ia64/dl-tls.h: Likewise.
36708 * sysdeps/powerpc/dl-tls.h: Likewise.
36709 * sysdeps/s390/dl-tls.h: Likewise.
36710 * sysdeps/sh/dl-tls.h: Likewise.
36711 * sysdeps/sparc/dl-tls.h: Likewise.
36712 * sysdeps/x86_64/dl-tls.h: Likewise.
36713 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36714
34fe483e
AS
367152011-03-14 Andreas Schwab <schwab@redhat.com>
36716
36717 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36718 rpath element also skip the following colon.
36719 (expand_dynamic_string_token): Add is_path parameter and pass
36720 down to DL_DST_REQUIRED and _dl_dst_substitute.
36721 (decompose_rpath): Call expand_dynamic_string_token with
36722 non-zero is_path. Ignore empty rpaths.
36723 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36724 with zero is_path.
36725
f12a32e6
AS
367262011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36727
36728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36729 Make cancelable.
36730
38a7d692
UD
367312011-04-09 Ulrich Drepper <drepper@gmail.com>
36732
36733 [BZ #12655]
36734 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36735 Patch by Filipe David Manana <fdmanana@apache.org>.
36736
e451d22b
AS
367372011-04-07 Andreas Schwab <schwab@redhat.com>
36738
36739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36740 Maintain aligned stack.
36741 (CHECK_RSP): Remove unused macro.
36742
dedc7c7b
UD
367432011-04-03 Ulrich Drepper <drepper@gmail.com>
36744
36745 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36746 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36747
94521213
UD
367482011-04-02 Ulrich Drepper <drepper@gmail.com>
36749
36750 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36751
8cb700c0 36752 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36753
0354e355
L
367542011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36755
36756 [BZ #12518]
36757 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36758 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36759 * sysdeps/x86_64/memmove.c: New file.
36760 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36761 (memcpy): Renamed to ...
36762 (__new_memcpy): This.
36763 (memcpy): Provide GLIBC_2_14 memcpy.
36764 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36765 (memcpy): Provide GLIBC_2_2_5 memcpy.
36766
8593482f
UD
367672011-04-01 Ulrich Drepper <drepper@gmail.com>
36768
36769 [BZ #12631]
36770 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36771
81a5726b
AS
367722011-03-30 Andreas Schwab <schwab@redhat.com>
36773
36774 * misc/syncfs.c: New file.
36775 * misc/Makefile (routines): Add syncfs.
36776 * posix/unistd.h: Declare syncfs.
36777 * sysdeps/unix/syscalls.list: Add syncfs.
36778
00e5419f
AS
367792011-04-01 Andreas Schwab <schwab@redhat.com>
36780
36781 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36782 open_by_handle_at.
36783 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36784 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36785 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36786 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36788 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36789 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36790
748876bf
UD
367912011-04-01 Ulrich Drepper <drepper@gmail.com>
36792
658e451d
UD
36793 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36794 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36795 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36797 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36799 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36800
748876bf
UD
36801 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36802 sync_file_range.c with -fexceptions.
36803 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36804 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36805 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36806 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36807 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36808 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36809 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36810 sync_file_range as cancellation point
36811 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36812 now a wrapper around __call_sync_file_range with cancellation handling.
36813 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36814 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36815 function name to __call_sync_file_range.
36816 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36817 Add call_sync_file_range.
748876bf 36818
6e63d5e1
AS
368192011-04-01 Andreas Schwab <schwab@redhat.com>
36820
36821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36822 bits/timex.h.
6e63d5e1 36823
46998f74
UD
368242011-04-01 Ulrich Drepper <drepper@gmail.com>
36825
4c1423ed
UD
36826 * iconv/iconv.h: Fix typo in comment.
36827 * io/fcntl.h: Likewise.
36828 * libio/stdio.h: Likewise.
36829 * posix/spawn.h: Likewise.
36830 * posix/unistd.h: Likewise.
36831 * stdlib/stdlib.h: Likewise.
36832 * time/time.h: Likewise.
36833 * wcsmbs/wchar.h: Likewise.
36834
158648c0
UD
36835 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36836 open_by_handle): Add.
36837 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36838 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36839 Augment a few comments.
36840 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36841 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36842 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36843 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36845 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36846 open_by_handle.
36847
46998f74
UD
36848 * io/fcntl.h (AT_EMPTY_PATH): Define.
36849
83fe108b
UD
368502011-03-30 Ulrich Drepper <drepper@gmail.com>
36851
36852 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36853 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36854 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36855 to...
36856 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36857 * Versions.def: Add GLIBC_2.14.
36858 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36859 Export.
83fe108b 36860
bb242059
UD
368612011-03-22 Ulrich Drepper <drepper@gmail.com>
36862
36863 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36864 round counter.
36865 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36866
c97a1282
L
368672011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36868
36869 [BZ #12597]
36870 * string/test-strncmp.c (do_page_test): New function.
36871 (check2): Likewise.
36872 (test_main): Call check2.
36873 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36874
2a115601
UD
368752011-03-20 Ulrich Drepper <drepper@gmail.com>
36876
36877 [BZ #12587]
36878 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36879 Handle cache information in CPU leaf 4.
36880 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36881
8126d904
UD
368822011-03-18 Ulrich Drepper <drepper@gmail.com>
36883
042c49c6 36884 [BZ #12583]
8126d904
UD
36885 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36886 character representation.
36887 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36888
ccfe366e
RA
368892011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36890
36891 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36892 END(__isnan) to END(__isnanf) to match function entry point/label
36893 EALIGN(__isnanf,...).
36894
c6e13027
JJ
368952011-03-10 Jakub Jelinek <jakub@redhat.com>
36896
36897 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36898
33f85a3f
UD
368992011-03-10 Ulrich Drepper <drepper@gmail.com>
36900
028478fa
UD
36901 [BZ #12510]
36902 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36903 copy from the symbol referenced in the relocation to initialize the
36904 used variable.
36905 Patch by Piotr Bury <pbury@goahead.com>.
36906 * elf/Makefile: Add rules to build and tst-unique3.
36907 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36908 * elf/tst-unique3.cc: New file.
36909 * elf/tst-unique3.h: New file.
36910 * elf/tst-unique3lib.cc: New file.
36911 * elf/tst-unique3lib2.cc: New file.
36912
33f85a3f
UD
36913 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36914
03592fc7
MF
369152011-03-10 Mike Frysinger <vapier@gentoo.org>
36916
36917 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36918 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36919 to _start.
03592fc7 36920
6a5ee102
UD
369212011-03-06 Ulrich Drepper <drepper@gmail.com>
36922
36923 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36924 to-be-loaded object along a path to loader is ld.so.
36925
7e4ba49c
HJ
369262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36927 Ulrich Drepper <drepper@gmail.com>
36928
36929 * sysdeps/x86_64/memset.S: After aligning destination, code
36930 branches to different locations depending on the value of
36931 misalignment, when multiarch is enabled. Fix this.
36932
369332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36934
36935 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36936 Set _x86_64_preferred_memory_instruction for AMD processsors.
36937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36938 Set bit_Prefer_SSE_for_memop for AMD processors.
36939
13a804de
UD
369402011-03-04 Ulrich Drepper <drepper@gmail.com>
36941
36942 * libio/fmemopen.c (fmemopen): Optimize a bit.
36943
9d25c392
AS
369442011-03-03 Andreas Schwab <schwab@redhat.com>
36945
36946 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36947
a5543c6a
RM
369482011-03-03 Roland McGrath <roland@redhat.com>
36949
36950 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36951
012d35f7
DM
369522011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36953
7e4ba49c 36954 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36955 __bzero_ultra1 instead of __memset_ultra1.
36956
4bff6e01
AS
369572011-02-23 Andreas Schwab <schwab@redhat.com>
36958 Ulrich Drepper <drepper@gmail.com>
36959
36960 [BZ #12509]
36961 * include/link.h (struct link_map): Add l_orig_initfini.
36962 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36963 returning unsuccessfully.
36964 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36965 close of a file loaded at startup, restore the original l_initfini
36966 list.
36967 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36968 list, store the pointer.
36969 * elf/Makefile ($(objpfx)noload-mem): New rule.
36970 (noload-ENV): Define.
36971 (tests): Add $(objpfx)noload-mem.
36972 * elf/noload.c: Include <memcheck.h>.
36973 (main): Call mtrace. Close all opened handles.
36974
f2092faf
AS
369752011-02-17 Andreas Schwab <schwab@redhat.com>
36976
36977 [BZ #12454]
36978 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36979 dependencies are missing.
36980
6c8a2e88
ST
369812011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36982
f2092faf 36983 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36984 Hurd needs munmap.
36985 * sysdeps/mach/hurd/ifreq.h: New file.
36986
84a42118
PB
369872011-01-27 Petr Baudis <pasky@suse.cz>
36988 Ulrich Drepper <drepper@gmail.com>
36989
071f805e 36990 [BZ 12445]#
84a42118
PB
36991 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36992 to extend_alloca().
36993 * stdio-common/bug23.c: New file.
36994 * stdio-common/Makefile (tests): Add bug23.
36995
e23fe25b
AS
369962010-09-28 Andreas Schwab <schwab@redhat.com>
36997 Ulrich Drepper <drepper@gmail.com>
36998
36999 [BZ #12489]
37000 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37001 before performing relro protection. At old place add assertion
37002 to make sure nothing changed.
37003
d3f02e10
NS
370042011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37005 Glauber de Oliveira Costa <glommer@gmail.com>
37006
37007 * elf/elf.h: Add new ARM TLS relocs.
37008
d55fd7a5
RA
370092011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37010
37011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37012 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37013 cast from r3.
37014 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37015 'tests' variable.
37016 * sysdeps/wordsize-64/tst-writev.c: New file.
37017
2206397e
RA
370182011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37019
37020 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37021 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37022 insns in _dl_start to prevent a TOC reference before relocs are
37023 resolved.
37024
e9433893
UD
370252011-02-15 Ulrich Drepper <drepper@gmail.com>
37026
37027 [BZ #12469]
37028 * Makeconfig: Remove RANLIB definition.
37029 * Makerules: Don't use RANLIB.
37030 * aclocal.m4: Remove ranlib test.
37031 * configure.in: No need to check for ranlib.
37032 * elf/rtld-Rules: Don't use RANLIB.
37033
f75286c6
ST
370342011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37035
8e31c82d
ST
37036 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37037 protection macro.
37038 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37039 inclusion protection macro.
37040
f75286c6
ST
37041 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37042 SIGRTMIN and SIGRTMAX and print information in that case only when
37043 SIGRTMIN is defined.
37044
c1d0e639
JJ
370452011-02-11 Jakub Jelinek <jakub@redhat.com>
37046
37047 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37048 arginfo fn returning -1.
37049
37050 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37051 and thousands string is zero terminated.
37052
edf9294e
AS
370532011-02-03 Andreas Schwab <schwab@redhat.com>
37054
37055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37056 sysdeps/unix/sysv/linux/bits/socket.h.
37057
2b7e92df
ST
370582011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37059
edf9294e
AS
37060 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37061 (__CPU_COUNT): Remove old macros.
37062 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37063 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37064 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
37065 (__sched_cpualloc, __sched_cpufree): Add declarations.
37066
a4c7ea7b
UD
370672011-02-05 Ulrich Drepper <drepper@gmail.com>
37068
37069 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37070 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37071 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37072 (readdhstai): Return value of addhstaiX call.
37073 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37074 (addgrbyX): Return value returned by cache_addgr.
37075 (readdgrbyname): Return value returned by addgrbyX.
37076 (readdgrbygid): Likewise.
37077 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37078 (addpwbyX): Return value returned by cache_addpw.
37079 (readdpwbyname): Return value returned by addhstbyX.
37080 (readdpwbyuid): Likewise.
37081 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37082 (addservbyX): Return value returned by cache_addserv.
37083 (readdservbyname): Return value returned by addservbyX:
37084 (readdservbyport): Likewise.
37085 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37086 (addhstbyX): Return value returned by cache_addhst.
37087 (readdhstbyname): Return value returned by addhstbyX.
37088 (readdhstbyaddr): Likewise.
37089 (readdhstbynamev6): Likewise.
37090 (readdhstbyaddrv6): Likewise.
37091 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37092 (readdinitgroups): Return value returned by addinitgroupsX.
37093 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37094 (prune_cache): Keep track of timeout value of re-added entries.
37095 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37096 * nscd/nscd.h: Adjust prototypes of readd* functions.
37097
a0bf67cc
RM
370982011-02-04 Roland McGrath <roland@redhat.com>
37099
37100 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37101 (nis_stats): Likewise.
37102 * nis/nis_modify.c (nis_modify): Likewise.
37103 * nis/nis_remove.c (nis_remove): Likewise.
37104 * nis/nis_add.c (nis_add): Likewise.
37105
37106 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37107
37108 * posix/fnmatch_loop.c: Add some consts.
37109
37110 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37111
435b95eb
L
371122011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37113
37114 [BZ #12460]
37115 * config.make.in (config-cflags-novzeroupper): Define.
37116 * configure.in: Substitute libc_cv_cc_novzeroupper.
37117 * elf/Makefile (AVX-CFLAGS): Define.
37118 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37119 (CFLAGS-tst-auditmod4a.c): Likewise.
37120 (CFLAGS-tst-auditmod4b.c): Likewise.
37121 (CFLAGS-tst-auditmod6b.c): Likewise.
37122 (CFLAGS-tst-auditmod6c.c): Likewise.
37123 (CFLAGS-tst-auditmod7b.c): Likewise.
37124 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37125
8517b15e
UD
371262011-02-02 Ulrich Drepper <drepper@gmail.com>
37127
37128 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37129 function to the callback.
37130 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37131
10a656fe
AS
371322011-02-02 Andreas Schwab <schwab@redhat.com>
37133
37134 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37135 of errno.
37136
968dad0a
UD
371372011-01-19 Ulrich Drepper <drepper@gmail.com>
37138
9f94d2ea 37139 [BZ #11724]
968dad0a
UD
37140 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37141 of constructors.
37142 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37143 of destructors.
37144 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37145
37146 [BZ #11724]
37147 * elf/Makefile: Add rules to build and run new test.
37148 * elf/tst-initorder.c: New file.
37149 * elf/tst-initorder.exp: New file.
37150 * elf/tst-initordera1.c: New file.
37151 * elf/tst-initordera2.c: New file.
37152 * elf/tst-initordera3.c: New file.
37153 * elf/tst-initordera4.c: New file.
37154 * elf/tst-initorderb1.c: New file.
37155 * elf/tst-initorderb2.c: New file.
37156 * elf/tst-order-a1.c: New file.
37157 * elf/tst-order-a2.c: New file.
37158 * elf/tst-order-a3.c: New file.
37159 * elf/tst-order-a4.c: New file.
37160 * elf/tst-order-b1.c: New file.
37161 * elf/tst-order-b2.c: New file.
37162 * elf/tst-order-main.c: New file.
37163 New test case by George Gensure <werkt0@gmail.com>.
37164
86e92359
UD
371652010-10-01 Andreas Schwab <schwab@redhat.com>
37166
37167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37168 decoding ACE if AI_CANONIDN.
37169
5d5732b0
UD
371702011-01-18 Ulrich Drepper <drepper@gmail.com>
37171
37172 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37173
a77e8cbc
UD
371742011-01-17 Ulrich Drepper <drepper@gmail.com>
37175
6392473f
UD
37176 * version.h (RELEASE): Bump for 2.13 release.
37177 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37178
620a0529
UD
37179 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37180
18ba70a5
UD
37181 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37182 MADV_NOHUGEPAGE.
32465c3e
UD
37183 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37184 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37185 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37186 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37187 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37188 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37189
c0dafcf1
UD
37190 * posix/getconf.c: Update copyright year.
37191 * catgets/gencat.c: Likewise.
37192 * csu/version.c: Likewise.
37193 * debug/catchsegv.sh: Likewise.
37194 * debug/xtrace.sh: Likewise.
37195 * elf/ldconfig.c: Likewise.
37196 * elf/ldd.bash.in: Likewise.
37197 * elf/sprof.c (print_version): Likewise.
37198 * iconv/iconv_prog.c: Likewise.
37199 * iconv/iconvconfig.c: Likewise.
37200 * locale/programs/locale.c: Likewise.
37201 * locale/programs/localedef.c: Likewise.
37202 * malloc/memusage.sh: Likewise.
37203 * malloc/mtrace.pl: Likewise.
37204 * nscd/nscd.c (print_version): Likewise.
37205 * nss/getent.c: Likewise.
37206
a77e8cbc
UD
37207 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37208 PF_CAIF, and PF_ALG.
37209 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37210
77e8bddf
AS
372112011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37212
1f20b93a
AS
37213 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37214 (modules-names): Use them.
37215 (ifunc-test-modules, ifunc-pie-tests): Define.
37216 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37217 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37218 (test-extras): Likewise.
37219 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37220 $(compile-command.c).
37221 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37222 (all-built-dso): Define.
37223 (check-textrel.out, check-execstack.out): Depend on it.
37224
77e8bddf
AS
37225 * configure.in: Don't override --enable-multi-arch.
37226
bc425b33
UD
372272011-01-15 Ulrich Drepper <drepper@gmail.com>
37228
37229 [BZ #6812]
37230 * nscd/hstcache.c (tryagain): Define.
37231 (cache_addhst): Return tryagain not notfound for temporary errors.
37232 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37233 failed.
37234
794c3ad3
UD
372352011-01-14 Ulrich Drepper <drepper@gmail.com>
37236
70181fdd
UD
37237 [BZ #10563]
37238 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37239 to make the syscall.
37240 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37241
794c3ad3
UD
37242 [BZ #12378]
37243 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37244 and fall back to matching as normal character if the string ends before
37245 the matching ']' is found. This is what POSIX requires.
37246 * posix/testfnm.c: Adjust test result.
37247 * posix/globtest.sh: Adjust test result. Add new test.
37248 * posix/tst-fnmatch.input: Likewise.
37249 * posix/tst-fnmatch2.c: Add new test.
37250
68dc9497
AS
372512010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37252
37253 * elf/Makefile (check-execstack): Revert last change. Depend on
37254 check-execstack.h.
37255 (check-execstack.h): New target.
37256 (generated): Add check-execstack.h.
37257 * elf/check-execstack.c: Include "check-execstack.h".
37258 (main): Revert last change.
37259 (handle_file): Return zero if GNU_STACK is absent and
37260 DEFAULT_STACK_PERMS doesn't include PF_X.
37261
451f001b
UD
372622011-01-13 Ulrich Drepper <drepper@gmail.com>
37263
cfa28e56
UD
37264 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37265 in child fails because the descriptor is already closed.
8cf8ce17
UD
37266 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37267 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37268 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37269
1086d70d
UD
37270 [BZ #12397]
37271 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37272 syscall.
37273
451f001b
UD
37274 [BZ #10484]
37275 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37276 temporary buffer used to handle multi lookups locally.
a85b5cb4 37277 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37278
08769175
UD
372792011-01-12 Ulrich Drepper <drepper@gmail.com>
37280
37281 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37282 loader is ld.so.
37283
5e49c52e
UD
372842011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37285
37286 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37287 alignment for SSE2.
37288
60522a5f
UD
372892011-01-12 Ulrich Drepper <drepper@gmail.com>
37290
37291 [BZ #12394]
37292 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37293 characters. When rounding increased number of integer digits recompute
37294 number of groups.
37295 * stdio-common/tst-grouping.c: New file.
37296 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37297
f257bbd7
UD
372982011-01-09 Ulrich Drepper <drepper@gmail.com>
37299
37300 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37301 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37302
37303 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37304 void.
37305 * bits/select.h: Likewise.
37306
fa9c15cb
UD
373072011-01-08 Ulrich Drepper <drepper@gmail.com>
37308
37309 * po/ja.po: Update from translation team.
37310
16c2895f
DM
373112011-01-04 David S. Miller <davem@sunset.davemloft.net>
37312
37313 [BZ #11155]
37314 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37315 implementation just like for lxstat, fxstatat, et al.
37316
2543fef2
JM
373172010-12-27 Jim Meyering <meyering@redhat.com>
37318
37319 [BZ #12348]
37320 * posix/regexec.c (build_trtable): Return failure indication upon
37321 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37322
98727dbe
UD
373232010-12-25 Ulrich Drepper <drepper@gmail.com>
37324
5bd6dc5c
UD
37325 [BZ #12201]
37326 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37327 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37328 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37329 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37330
97983464
UD
37331 [BZ #12207]
37332 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37333
98727dbe
UD
37334 [BZ #12204]
37335 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37336 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37337
4a531bb0
L
373382010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37339
37340 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37341 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37342 script has SORT_BY_INIT_PRIORITY.
37343 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37344 NO_CTORS_DTORS_SECTIONS is defined.
37345 * elf/soinit.c: Likewise.
37346 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37347 NO_CTORS_DTORS_SECTIONS is defined.
37348 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37349 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37350 * sysdeps/sh/init-first.c: Likewise.
37351 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37352
07eb4b71
UD
373532010-12-24 Ulrich Drepper <drepper@gmail.com>
37354
37355 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37356 always use the slow path.
37357
30950a5f
RA
373582010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37359
37360 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37361 similar rule which adds the sysdep directories to the header search in
37362 order to pick up the correct platform stackinfo.h.
37363 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37364 perform test if it is, otherwise return successfully without testing.
37365 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37366 DEFAULT_STACK_PERMS define in stackinfo.h.
37367 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37368 defined in stackinfo.h.
37369 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37370 DEFAULT_STACK_PERMS defined in stackinfo.h.
37371 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37372 * sysdeps/ia64/stackinfo.h: Likewise.
37373 * sysdeps/s390/stackinfo.h: Likewise.
37374 * sysdeps/sh/stackinfo.h: Likewise.
37375 * sysdeps/sparc/stackinfo.h: Likewise.
37376 * sysdeps/x86_64/stackinfo.h: Likewise.
37377 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37378 PF_X for powerpc64. Retain PF_X for powerpc32.
37379
db753e2c
UD
373802010-12-19 Ulrich Drepper <drepper@gmail.com>
37381
14b697f7
UD
37382 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37383 accurately.
db753e2c
UD
37384 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37385 GETDENTS_64BIT_ALIGNED.
37386
28300719
UD
373872010-12-14 Ulrich Drepper <dreper@gmail.com>
37388
14b697f7 37389 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37390
4f197237
AS
373912010-12-10 Andreas Schwab <schwab@redhat.com>
37392
dbb0472f
AS
37393 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37394 _GNU_SOURCE.
37395
4f197237
AS
37396 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37397 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37398 Remove __restrict.
37399 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37400 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37401
fb88ac72
UD
374022010-12-09 Ulrich Drepper <drepper@gmail.com>
37403
37404 [BZ #11655]
37405 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37406 are initialized.
37407
42acbb92
JJ
374082010-12-09 Jakub Jelinek <jakub@redhat.com>
37409
37410 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37411
c038d98d
UD
374122010-12-03 Ulrich Drepper <drepper@gmail.com>
37413
37414 * po/it.po: Update from translation team.
37415
3a4a2499
L
374162010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37417
37418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37419 unused codes.
37420
1e24cf6e
UD
374212010-11-30 Ulrich Drepper <drepper@gmail.com>
37422
37423 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37424
a7690819
AS
374252010-11-24 Andreas Schwab <schwab@redhat.com>
37426
37427 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37428 specially.
37429 (gaih_getanswer_slice): Likewise.
37430
3bf8d1b1
JJ
374312010-10-20 Jakub Jelinek <jakub@redhat.com>
37432
37433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37434
6db52fbb
PB
374352010-05-31 Petr Baudis <pasky@suse.cz>
37436
37437 [BZ #11149]
37438 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37439 silently even in the chroot mode.
37440
eaca7569
UD
374412010-11-22 Ulrich Drepper <drepper@gmail.com>
37442
37443 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37444 last patch a bit. Pretty printing
37445
3056dcdb
UD
374462010-05-31 Petr Baudis <pasky@suse.cz>
37447
37448 [BZ #10085]
37449 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37450 initialization of skip_initgroups_dyn.
37451
cf7c9078
UD
374522010-11-19 Ulrich Drepper <drepper@gmail.com>
37453
37454 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37455 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37456
a1fb5e3e
UD
374572010-11-16 Ulrich Drepper <drepper@gmail.com>
37458
37459 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37460
3540d66b
AS
374612010-11-11 Andreas Schwab <schwab@redhat.com>
37462
37463 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37464 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37465 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37466 ($(objpfx)tst-fnmatch-mem): New rule.
37467 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37468 * posix/tst-fnmatch.c (main): Call mtrace.
37469
13b69574
L
374702010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37471
37472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37473 Support Intel processor model 6 and model 0x2c.
37474
da93d214
LM
374752010-11-10 Luis Machado <luisgpm@br.ibm.com>
37476
37477 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37478 signed comparison.
37479
8ca52c6e
L
374802010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37481
37482 [BZ #12205]
37483 * string/test-strncasecmp.c (check_result): New function.
37484 (do_one_test): Use it.
37485 (check1): New function.
37486 (test_main): Use it.
37487 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37488 Support strcasecmp and strncasecmp.
37489
69da074d
UD
374902010-11-08 Ulrich Drepper <drepper@gmail.com>
37491
37492 [BZ #12194]
37493 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37494 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37495
ff02d528
L
374962010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37497
37498 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37499 IFUNC support.
37500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37501 memset-x86-64.
37502 * sysdeps/x86_64/multiarch/bzero.S: New file.
37503 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37504 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37505 * sysdeps/x86_64/multiarch/memset.S: New file.
37506 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37508 Set bit_Prefer_SSE_for_memop for Intel processors.
37509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37510 Define.
37511 (index_Prefer_SSE_for_memop): Define.
37512 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37513
344d0b54
LM
375142010-11-04 Luis Machado <luisgpm@br.ibm.com>
37515
37516 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37517 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37518
c0dde15b
UD
375192010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37520
37521 [BZ #12191]
37522 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37523 (__x86_64_raw_data_cache_size_half): Likewise.
37524 (__x86_64_raw_shared_cache_size): Likewise.
37525 (__x86_64_raw_shared_cache_size_half): Likewise.
37526
37527 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37528 (__x86_64_raw_data_cache_size_half): Likewise.
37529 (__x86_64_raw_shared_cache_size): Likewise.
37530 (__x86_64_raw_shared_cache_size_half): Likewise.
37531 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37532 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37533 and __x86_64_raw_shared_cache_size_half. Round
37534 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37535 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37536 to multiple of 256 bytes.
37537
0e516e0e
MS
375382010-11-03 Ulrich Drepper <drepper@gmail.com>
37539
37540 [BZ #12167]
37541 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37542 of inacessible symlinks. Verify result of symlink before returning it.
37543 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37544 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37545
0e012e87
ER
375462010-10-28 Erich Ritz <erichritz@gmail.com>
37547
37548 * math/math.h (isinf): Fix typo in comment.
37549
de0ff7bc
UD
375502010-11-01 Ulrich Drepper <drepper@gmail.com>
37551
37552 * po/da.po: Update from translation team.
37553
fa41c84d
UD
375542010-10-26 Ulrich Drepper <drepper@gmail.com>
37555
37556 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37557 is added to the list.
37558
f0967738
AK
375592010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37560 Ulrich Drepper <drepper@gmail.com>
37561
37562 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37563 the global list here. Move code to...
37564 (_dl_add_to_namespace_list): ...here. New function.
37565 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37566 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37567 * elf/dl-load.c (lose): Don't remove the element from the list.
37568 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37569 (_dl_map_object): Likewise.
37570
375712010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37572
37573 [BZ #12159]
37574 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37575 into all bytes of SSE register.
37576 Patch by Richard Li <richardpku@gmail.com>.
37577
f0967738 375782010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37579
37580 [BZ #12140]
37581 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37582 perturbing.
37583
d0b9e94f
MB
375842010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37585
37586 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37587 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37588 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37589 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37591 submachine.
37592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37593
8e9f92e9
AS
375942010-10-22 Andreas Schwab <schwab@redhat.com>
37595
37596 * include/dlfcn.h (__RTLD_SECURE): Define.
37597 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37598 mode & __RTLD_SECURE instead.
37599 (open_path): Rename preloaded parameter to secure.
37600 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37601 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37602 * elf/dl-deps.c (openaux): Likewise.
37603 * elf/rtld.c (struct map_args): Remove is_preloaded.
37604 (map_doit): Don't use it.
37605 (dl_main): Likewise.
37606 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37607 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37608
bc96fbda
AS
376092010-09-09 Andreas Schwab <schwab@redhat.com>
37610
37611 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37612 (sysd-rules-targets): Remove duplicates.
37613 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37614 rtld-%.$o dependency.
37615
22cd1c9b
AS
376162010-10-18 Andreas Schwab <schwab@redhat.com>
37617
37618 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37619 _dl_map_object do it.
37620
18edac48
UD
376212010-10-19 Ulrich Drepper <drepper@gmail.com>
37622
37623 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37624 fast fma builtins, define the macros in the C99 standard.
37625 (FP_FAST_FMAF): Likewise.
37626 (FP_FAST_FMAL): Likewise.
37627 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37628
37629 * bits/mathdef.h: Update copyright year.
37630 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37631
d2050124
MM
376322010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37633
37634 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37635 builtins, define the macros in the C99 standard.
37636 (FP_FAST_FMAF): Likewise.
37637 (FP_FAST_FMAL): Likewise.
37638 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37639 multiply/add.
37640 (FP_FAST_FMAF): Likewise.
37641
475facd1
JJ
376422010-10-15 Jakub Jelinek <jakub@redhat.com>
37643
37644 [BZ #3268]
37645 * math/libm-test.inc (fma_test): Some new testcases.
37646 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37647 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37648 y and infinite z. Do multiplication by C already in long double.
37649 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37651 y and infinite z. Do bitwise or of inexact bit into u.d.
37652 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37653 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37654 * sysdeps/i386/fpu/s_fma.S: Removed.
37655 * sysdeps/i386/fpu/s_fmal.S: Removed.
37656
7c08a05c
JJ
376572010-10-16 Jakub Jelinek <jakub@redhat.com>
37658
37659 [BZ #3268]
37660 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37662 computation is not scheduled after fetestexcept. Fix value
37663 of minimum denormal long double.
37664
f3f7372d
JJ
376652010-10-14 Jakub Jelinek <jakub@redhat.com>
37666
37667 [BZ #3268]
37668 * math/libm-test.inc (fma_test): Add some more tests.
37669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37670 correctly.
37671
14d43591
AS
376722010-10-15 Andreas Schwab <schwab@redhat.com>
37673
37674 * scripts/data/localplt-s390-linux-gnu.data: New file.
37675 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37676
5e908464
JJ
376772010-10-13 Jakub Jelinek <jakub@redhat.com>
37678
37679 [BZ #3268]
37680 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37681 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37682 instead of dbl-64.
37683 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37684 inlines.
37685 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37687 if one of x and y is very large and the other is subnormal.
37688 * sysdeps/s390/fpu/s_fmaf.c: New file.
37689 * sysdeps/s390/fpu/s_fma.c: New file.
37690 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37691 * sysdeps/powerpc/fpu/s_fma.S: New file.
37692 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37693 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37694 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37695
376962010-10-12 Jakub Jelinek <jakub@redhat.com>
37697
37698 [BZ #3268]
37699 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37700 fma tests.
37701 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37702 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37703 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37704 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37705 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37706 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37707 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37708
b833d51f
UD
377092010-10-12 Ulrich Drepper <drepper@redhat.com>
37710
37711 [BZ #12078]
37712 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37713 * posix/bug-regex31.input: Add test case.
37714
1751705d
UD
377152010-10-11 Ulrich Drepper <drepper@gmail.com>
37716
e9b9cbf5
UD
37717 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37718 * posix/bug-regex31.input: New file.
37719
37720 [BZ #12078]
37721 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37722 (parse_sub_exp): Fix last change, use postorder.
37723
ef06edbe
UD
37724 * posix/bug-regex31.c: New file.
37725 * posix/Makefile: Add rules to build and run bug-regex31.
37726
a129c80d
UD
37727 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37728
37729 [BZ #12078]
37730 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37731
b76b818e
UD
37732 [BZ #12108]
37733 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37734 to have entries in sys_siglist.
37735
1751705d
UD
37736 [BZ #12093]
37737 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37738 be NULL.
37739
9ff8d36f
JJ
377402010-10-07 Jakub Jelinek <jakub@redhat.com>
37741
37742 [BZ #3268]
37743 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37744 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37745 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37746 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37747 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37748 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37749 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37750 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37751 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37752 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37753 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37754 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37755 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37756 * math/ftestexcept.c (fetestexcept): Likewise.
37757 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37758 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37759 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37760 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37761 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37762 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37763 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37764
af325969
UD
377652010-10-11 Ulrich Drepper <drepper@gmail.com>
37766
c579b202 37767 [BZ #12107]
af325969
UD
37768 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37769 newline.
37770
67a67b95
UD
377712010-10-06 Ulrich Drepper <drepper@gmail.com>
37772
37773 * string/bug-strstr1.c: New file.
37774 * string/Makefile: Add rules to build and run bug-strstr1.
37775
5fb308bc
EB
377762010-10-05 Eric Blake <eblake@redhat.com>
37777
37778 [BZ #12092]
37779 * string/str-two-way.h (two_way_long_needle): Always clear memory
37780 when skipping input due to the shift table.
37781
45db99c7
UD
377822010-10-03 Ulrich Drepper <drepper@gmail.com>
37783
3b111893
UD
37784 [BZ #12005]
37785 * malloc/mcheck.c: Handle large requests.
37786
45db99c7
UD
37787 [BZ #12077]
37788 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37789 for strncmp and strncasecmp.
37790 * string/stratcliff.c: Add tests for strcmp and strncmp.
37791 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37792
cf7a1eb8
NI
377932010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37794
37795 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37796 __set_fpscr.
37797
6484ba5e
AJ
377982010-09-30 Andreas Jaeger <aj@suse.de>
37799
37800 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37801 (CGROUP_SUPER_MAGIC): Define.
37802 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37803 Handle btrfs and cgroup file systems.
37804 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37805 Likewise.
37806
91c42559
LM
378072010-09-27 Luis Machado <luisgpm@br.ibm.com>
37808
37809 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37810 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37811
87a97932
AK
378122010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37813
37814 [BZ #12067]
37815 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37816 trying to locate the ELF header.
37817
c21cc9bc
AS
378182010-09-27 Andreas Schwab <schwab@redhat.com>
37819
37820 [BZ #11611]
37821 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37822 Mask out sign-bit copies when constructing f_fsid.
37823
315970f6
PB
378242010-09-24 Petr Baudis <pasky@suse.cz>
37825
37826 * debug/stack_chk_fail_local.c: Add missing licence exception.
37827 * debug/warning-nop.c: Likewise.
37828
1ac7a2c7
JM
378292010-09-15 Joseph Myers <joseph@codesourcery.com>
37830
37831 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37832 implementing getdents64 using getdents syscall, set d_type if
37833 __ASSUME_GETDENTS32_D_TYPE.
37834
56801c50
AS
378352010-09-16 Andreas Schwab <schwab@redhat.com>
37836
37837 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37838 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37839
dda51327
UD
378402010-09-21 Ulrich Drepper <drepper@redhat.com>
37841
37842 [BZ #12037]
37843 * posix/unistd.h: Undo change of feature selection for ftruncate from
37844 2010-01-11.
37845
8ffcee4a
UD
378462010-09-20 Ulrich Drepper <drepper@redhat.com>
37847
a545ecd9 37848 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37849 detection.
37850
e24f0a8b
AS
378512010-09-20 Andreas Schwab <schwab@redhat.com>
37852
37853 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37854 fanotify_mark.
37855 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37856
7291c56f
AS
378572010-09-14 Andreas Schwab <schwab@redhat.com>
37858
37859 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37860 variables after CHECK_SP call.
37861 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37862
bc5fb037
AS
378632010-09-13 Andreas Schwab <schwab@redhat.com>
37864 Ulrich Drepper <drepper@redhat.com>
37865
37866 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37867 re-relocationg ld.so.
37868 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37869 _dl_init_paths call.
37870 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37871 here anymore.
37872
e66e7419
UD
378732010-09-14 Ulrich Drepper <drepper@redhat.com>
37874
37875 * resolv/res_init.c (__res_vinit): Count the default server we added.
37876
c044aa75
CLT
378772010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37878 Ulrich Drepper <drepper@redhat.com>
37879
37880 [BZ #11968]
37881 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37882 (____longjmp_chk): Use %ebx for saving value across system call.
37883 Add unwind info.
37884
32cf4069
AS
378852010-09-06 Andreas Schwab <schwab@redhat.com>
37886
37887 * manual/Makefile: Don't mix pattern rules with normal rules.
37888
817328ee
AS
378892010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37890
37891 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37892 operation.
37893 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37894 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37895 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37896 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37897 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37898 Likewise.
37899
29fddf61
UD
379002010-09-04 Ulrich Drepper <drepper@redhat.com>
37901
37902 [BZ #11979]
37903 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37904 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37905
0959ffc9
UD
379062010-09-02 Ulrich Drepper <drepper@redhat.com>
37907
37908 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37909 * sysdeps/x86_64/addmul_1.S: Likewise.
37910 * sysdeps/x86_64/lshift.S: Likewise.
37911 * sysdeps/x86_64/mul_1.S: Likewise.
37912 * sysdeps/x86_64/rshift.S: Likewise.
37913 * sysdeps/x86_64/sub_n.S: Likewise.
37914 * sysdeps/x86_64/submul_1.S: Likewise.
37915
ece29840
ST
379162010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37917
0959ffc9
UD
37918 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37919 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37920 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37921 * bits/sched.h [__need_schedparam]
ece29840 37922 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37923 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37924 (__defined_schedparam): Define to 1.
ece29840
ST
37925 (__sched_param): New structure, identical to sched_param.
37926 (__need_schedparam): Undefine.
37927
e53a31fe
MF
379282010-08-31 Mike Frysinger <vapier@gentoo.org>
37929
fdc0c10d
MF
37930 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37931 (epoll_create1): Declare.
37932
e53a31fe
MF
37933 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37934
a726d796
AS
379352010-08-31 Andreas Schwab <schwab@redhat.com>
37936
37937 [BZ #7066]
37938 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37939 shifting retval into place.
37940
2f3e3dc7
UD
379412010-09-01 Ulrich Drepper <drepper@redhat.com>
37942
f2933da9
UD
37943 * nis/rpcsvc/nis.h: Update copyright notice.
37944 * nis/rpcsvc/nis.x: Likewise.
37945 * nis/rpcsvc/nis_callback.h: Likewise.
37946 * nis/rpcsvc/nis_callback.x: Likewise.
37947 * nis/rpcsvc/nis_object.x: Likewise.
37948 * nis/rpcsvc/nis_tags.h: Likewise.
37949 * nis/rpcsvc/yp.h: Likewise.
37950 * nis/rpcsvc/yp.x: Likewise.
37951 * nis/rpcsvc/ypupd.h: Likewise.
37952 * nis/yp_xdr.c: Likewise.
37953 * nis/ypupdate_xdr.c: Likewise.
37954
2f3e3dc7
UD
37955 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37956 mainly the body of pmap_getport. Add parameters to specify timeouts.
37957 (pmap_getport): Use __libc_rpc_getport.
37958 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37959 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37960 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37961
f3dcc2f9
AS
379622010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37963
37964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37965 fanotify_mark.
37966
6d34eb5b
RM
379672010-08-27 Roland McGrath <roland@redhat.com>
37968
37969 * sysdeps/i386/i686/multiarch/Makefile
37970 (CFLAGS-varshift.c): New variable.
37971
9ea3de11
UD
379722010-08-27 Ulrich Drepper <drepper@redhat.com>
37973
c96d23fc
UD
37974 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37975 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37976
9ea3de11
UD
37977 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37978
37979 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37980
623aac7f
L
379812010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37982
37983 * sysdeps/x86_64/strlen.S: Unroll the loop.
37984 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37985 strlen-sse2 strlen-sse2-bsf.
37986 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37987 __strlen_no_bsf if bit_Slow_BSF is set.
37988 (__strlen_sse42): Removed.
37989 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37990 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37991
8b2b7715
RM
379922010-08-25 Roland McGrath <roland@redhat.com>
37993
37994 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37995 * sysdeps/x86_64/multiarch/varshift.c: New file.
37996 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37997 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37998 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37999 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38000
e73015f2
L
380012010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38002
38003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38004 strlen-sse2 strlen-sse2-bsf.
38005 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38006 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38007 (__strlen_sse2): Removed.
38008 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38009 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38011 bit_Slow_BSF for Atom.
38012 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38013 (index_Slow_BSF): Define.
38014 (HAS_SLOW_BSF): Define.
38015
df24a73e
UD
380162010-08-25 Ulrich Drepper <drepper@redhat.com>
38017
38018 [BZ #10851]
38019 * resolv/res_init.c (__res_vinit): When no server address at all
38020 is given default to loopback.
38021
f2ac4868
RM
380222010-08-24 Roland McGrath <roland@redhat.com>
38023
09055553
RM
38024 * configure.in: Remove config-name.h generation.
38025 * configure: Regenerated.
38026 * config-name.in: File removed.
38027 * scripts/config-uname.sh: New file.
38028 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38029 ($(objdir)config-name.h): New target.
38030
f2ac4868
RM
38031 * sunrpc/rpc_parse.h: Avoid nested comment.
38032
73f27d5e
RH
380332010-08-24 Richard Henderson <rth@redhat.com>
38034 Ulrich Drepper <drepper@redhat.com>
38035 H.J. Lu <hongjiu.lu@intel.com>
38036
38037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38039 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38040 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38041 _mm_alignr_epi8 with _mm_loadu_si128.
38042 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38043 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38044 (__m128i_shift_right): Removed.
38045 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38046 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38047 * sysdeps/x86_64/multiarch/varshift.h: New file.
38048 * sysdeps/x86_64/multiarch/varshift.S: New file.
38049
84b9230c
MF
380502010-08-21 Mike Frysinger <vapier@gentoo.org>
38051
38052 * configure.in: Move assembler checks to before sysdep dir checking.
38053
9bbd0ddc
PB
380542010-08-20 Petr Baudis <pasky@suse.cz>
38055
38056 * LICENSES: Sync the sunrpc license.
38057
9da4bb31
UD
380582010-08-19 Ulrich Drepper <drepper@redhat.com>
38059
a7ab6ec8
UD
38060 * sunrpc/auth_des.c: Update copyright notice once again.
38061 * sunrpc/auth_none.c: Likewise.
38062 * sunrpc/auth_unix.c: Likewise.
38063 * sunrpc/authdes_prot.c: Likewise.
38064 * sunrpc/authuxprot.c: Likewise.
38065 * sunrpc/bindrsvprt.c: Likewise.
38066 * sunrpc/clnt_gen.c: Likewise.
38067 * sunrpc/clnt_perr.c: Likewise.
38068 * sunrpc/clnt_raw.c: Likewise.
38069 * sunrpc/clnt_simp.c: Likewise.
38070 * sunrpc/clnt_tcp.c: Likewise.
38071 * sunrpc/clnt_udp.c: Likewise.
38072 * sunrpc/clnt_unix.c: Likewise.
38073 * sunrpc/des_crypt.c: Likewise.
38074 * sunrpc/des_soft.c: Likewise.
38075 * sunrpc/get_myaddr.c: Likewise.
38076 * sunrpc/getrpcport.c: Likewise.
38077 * sunrpc/key_call.c: Likewise.
38078 * sunrpc/key_prot.c: Likewise.
38079 * sunrpc/openchild.c: Likewise.
38080 * sunrpc/pm_getmaps.c: Likewise.
38081 * sunrpc/pm_getport.c: Likewise.
38082 * sunrpc/pmap_clnt.c: Likewise.
38083 * sunrpc/pmap_prot.c: Likewise.
38084 * sunrpc/pmap_prot2.c: Likewise.
38085 * sunrpc/pmap_rmt.c: Likewise.
38086 * sunrpc/rpc/auth.h: Likewise.
38087 * sunrpc/rpc/auth_unix.h: Likewise.
38088 * sunrpc/rpc/clnt.h: Likewise.
38089 * sunrpc/rpc/des_crypt.h: Likewise.
38090 * sunrpc/rpc/key_prot.h: Likewise.
38091 * sunrpc/rpc/netdb.h: Likewise.
38092 * sunrpc/rpc/pmap_clnt.h: Likewise.
38093 * sunrpc/rpc/pmap_prot.h: Likewise.
38094 * sunrpc/rpc/pmap_rmt.h: Likewise.
38095 * sunrpc/rpc/rpc.h: Likewise.
38096 * sunrpc/rpc/rpc_des.h: Likewise.
38097 * sunrpc/rpc/rpc_msg.h: Likewise.
38098 * sunrpc/rpc/svc.h: Likewise.
38099 * sunrpc/rpc/svc_auth.h: Likewise.
38100 * sunrpc/rpc/types.h: Likewise.
38101 * sunrpc/rpc/xdr.h: Likewise.
38102 * sunrpc/rpc_clntout.c: Likewise.
38103 * sunrpc/rpc_cmsg.c: Likewise.
38104 * sunrpc/rpc_common.c: Likewise.
38105 * sunrpc/rpc_cout.c: Likewise.
38106 * sunrpc/rpc_dtable.c: Likewise.
38107 * sunrpc/rpc_hout.c: Likewise.
38108 * sunrpc/rpc_main.c: Likewise.
38109 * sunrpc/rpc_parse.c: Likewise.
38110 * sunrpc/rpc_parse.h: Likewise.
38111 * sunrpc/rpc_prot.c: Likewise.
38112 * sunrpc/rpc_sample.c: Likewise.
38113 * sunrpc/rpc_scan.c: Likewise.
38114 * sunrpc/rpc_scan.h: Likewise.
38115 * sunrpc/rpc_svcout.c: Likewise.
38116 * sunrpc/rpc_tblout.c: Likewise.
38117 * sunrpc/rpc_util.c: Likewise.
38118 * sunrpc/rpc_util.h: Likewise.
38119 * sunrpc/rpcinfo.c: Likewise.
38120 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38121 * sunrpc/rpcsvc/key_prot.x: Likewise.
38122 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38123 * sunrpc/rpcsvc/mount.x: Likewise.
38124 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38125 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38126 * sunrpc/rpcsvc/rex.x: Likewise.
38127 * sunrpc/rpcsvc/rstat.x: Likewise.
38128 * sunrpc/rpcsvc/rusers.x: Likewise.
38129 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38130 * sunrpc/rpcsvc/spray.x: Likewise.
38131 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38132 * sunrpc/rtime.c: Likewise.
38133 * sunrpc/svc.c: Likewise.
38134 * sunrpc/svc_auth.c: Likewise.
38135 * sunrpc/svc_authux.c: Likewise.
38136 * sunrpc/svc_raw.c: Likewise.
38137 * sunrpc/svc_run.c: Likewise.
38138 * sunrpc/svc_simple.c: Likewise.
38139 * sunrpc/svc_tcp.c: Likewise.
38140 * sunrpc/svc_udp.c: Likewise.
38141 * sunrpc/svc_unix.c: Likewise.
38142 * sunrpc/svcauth_des.c: Likewise.
38143 * sunrpc/xcrypt.c: Likewise.
38144 * sunrpc/xdr.c: Likewise.
38145 * sunrpc/xdr_array.c: Likewise.
38146 * sunrpc/xdr_float.c: Likewise.
38147 * sunrpc/xdr_mem.c: Likewise.
38148 * sunrpc/xdr_rec.c: Likewise.
38149 * sunrpc/xdr_ref.c: Likewise.
38150 * sunrpc/xdr_sizeof.c: Likewise.
38151 * sunrpc/xdr_stdio.c: Likewise.
38152
9da4bb31
UD
38153 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38154 handling.
38155
bdaa77bc
AS
381562010-08-19 Andreas Schwab <schwab@redhat.com>
38157
38158 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38159
fe2f79db
LM
381602010-08-19 Luis Machado <luisgpm@br.ibm.com>
38161
38162 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38163 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38164 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38165 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38166 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38167 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38168 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38169 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38170 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38171 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38172 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38173 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38174 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38175 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38176
b9b42ee0
AB
381772010-07-26 Anton Blanchard <anton@samba.org>
38178
38179 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38180 * malloc/arena.c (heap_trim): Likewise.
38181
1c06ba31
UD
381822010-08-16 Ulrich Drepper <drepper@redhat.com>
38183
38184 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38185 here. Not...
38186 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38187 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38188
f8392f40
L
381892010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38190
38191 * sysdeps/i386/elf/Makefile: New file.
38192
3162f12e
AS
381932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38194
38195 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38196 from fanotify_init.
38197 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38199
28c90b2c
UD
382002010-08-15 Ulrich Drepper <drepper@redhat.com>
38201
38202 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38203 of strncasecmp_l.
1feccb6c 38204 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38205
ca6bb004
UD
382062010-08-14 Ulrich Drepper <drepper@redhat.com>
38207
e9f82e0d
UD
38208 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38209 strncase_l-nonascii.
38210 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38211 Add strncase_l-ssse3.
38212 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38213 * sysdeps/x86_64/strcmp.S: Likewise.
38214 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38215 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38216 * sysdeps/x86_64/strncase.S: New file.
38217 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38218 * sysdeps/x86_64/strncase_l.S: New file.
38219 * string/Makefile (strop-tests): Add strncasecmp.
38220 * string/test-strncasecmp.c: New file.
38221
38222 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38223 warning.
38224
ca6bb004
UD
38225 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38226 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38227
052fa7b3
AS
382282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38229
38230 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38231
962dba78
UD
382322010-08-12 Ulrich Drepper <drepper@redhat.com>
38233
38234 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38235 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38236 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38237
bebff237
AM
382382010-05-01 Alan Modra <amodra@gmail.com>
38239
38240 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38241 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38242 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38243 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38244 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38245 tidying. Don't tail-call __sigjmp_save for static lib.
38246 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38247 save location.
38248 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38249 (CALL_MCOUNT): Add eh info, and nop after bl.
38250 (TAIL_CALL_SYSCALL_ERROR): New macro.
38251 (PSEUDO_RET): Use it.
38252 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38253 Correct save location of integer regs and cr.
38254 (_dl_profile_resolve): Correct cr save location. Delete nops
38255 after bl when SHARED. Reduce cfi size a little by better
38256 placement of cfi directives.
38257 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38258 make a stack frame. Instead use parm save area as a temp.
38259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38260 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38262 Don't make a stack frame for parent, use parm save area.
38263 Increase child stack frame to 112 bytes. Don't save unused reg,
38264 and adjust reg usage. Set up cfi on error recovery and
38265 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38267 (__makecontext): Add dummy nop after jump to exit.
38268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38269 Use correct parm save area and cr save, reduce stack frame.
38270 Correct cfi for possible PSEUDO_RET frame setup.
38271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38272 Branch to local label emitted by PSEUDO_RET rather than
38273 __syscall_error.
38274
02637374
AS
382752010-08-12 Andreas Schwab <schwab@redhat.com>
38276
38277 [BZ #11904]
38278 * locale/programs/locale.c (print_assignment): New function.
38279 (show_locale_vars): Use it.
38280
c3e2f19b
UD
382812010-08-11 Ulrich Drepper <drepper@redhat.com>
38282
3cdaa6ad
UD
38283 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38284 field.
38285 (struct statfs64): Likewise.
38286 (_STATFS_F_FLAGS): Define.
38287 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38288 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38289 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38290 (ST_VALID): Define locally.
38291 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38292 __statvfs_getflags, use the provided value.
38293 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38294 __ASSUME_STATFS_F_FLAGS.
38295
754f7da3
UD
38296 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38297
10b3bedc
UD
38298 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38299 Add sys/fanotify.h.
38300 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38301 fanotify_mask for GLIBC_2.13.
38302 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38303 fanotify_init and fanotify_mark.
38304 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38305 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38306
c08fb0d7
UD
38307 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38308 Add prlimit.
38309 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38310 prlimit64 for GLIBC_2.13.
38311 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38312 prlimit64.
38313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38314 syscall.
38315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38316 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38317 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38318 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38320 add prlimit alias.
38321 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38322
15bac72b
UD
38323 [BZ #11903]
38324 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38325 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38326
c3e2f19b
UD
38327 * nss/Makefile: Add rules to build and run tst-nss-test1.
38328 * shlib-versions: Add entry for libnss_test1.
38329 * nss/nss_test1.c: New file.
38330 * nss/tst-nss-test1.c: New file.
38331
38332 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38333 (__nss_configure_lookup): Set appropriate entry in
38334 __nss_configure_lookup to true.
38335 * nss/nsswitch.h: Define enum with indeces of databases in
38336 databases and __nss_database_custom arrays. Declare
38337 __nss_database_custom.
38338 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38339 to avoid using nscd when custom rules are installed.
38340 * nss/getXXbyYY_r.c: Likewise.
38341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38342
38343 * nss/nss_files/files-parse.c: Whitespace fixes.
38344
f15ce4d8
UD
383452010-08-09 Ulrich Drepper <drepper@redhat.com>
38346
38347 [BZ #11883]
38348 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38349 * posix/fnmatch_loop.c: Likewise.
38350
d22e4cc9
AK
383512010-07-17 Andi Kleen <ak@linux.intel.com>
38352
38353 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38354 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38355 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38356 * Versions.def [GLIBC_2.13]: Add.
38357
805bc17d
UD
383582010-08-06 Ulrich Drepper <drepper@redhat.com>
38359
38360 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38361 Also fail if tpwd after pwuid call is NULL.
38362
5a42321d
ST
383632010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38364
38365 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38366 when converting to ms.
38367
fd3ebeda
ST
383682010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38369
38370 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38371 EOPNOTSUPP errors with ENOTTY.
38372 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38373 EOPNOTSUPP errors with ENOTTY.
38374
73507d3a
UD
383752010-07-31 Ulrich Drepper <drepper@redhat.com>
38376
38377 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38378 Add strcasecmp_l-ssse3.
38379 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38380 strcasecmp.
38381 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38382 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38383 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38384
fe36dd02
UD
383852010-07-30 Ulrich Drepper <drepper@redhat.com>
38386
66f6765a
UD
38387 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38388
42e08a54
UD
38389 * string/Makefile (strop-tests): Add strcasecmp.
38390 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38391 strcasecmp_l-nonascii.
38392 (gen-as-const-headers): Add locale-defines.sym.
38393 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38394 * sysdeps/x86_64/strcasecmp.S: New file.
38395 * sysdeps/x86_64/strcasecmp_l.S: New file.
38396 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38397 * sysdeps/x86_64/locale-defines.sym: New file.
38398 * string/test-strcasecmp.c: New file.
38399
fe36dd02
UD
38400 * string/test-strcasestr.c: Test both ends of the range of characters.
38401 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38402
48cbc0d6
RM
384032010-07-29 Roland McGrath <roland@redhat.com>
38404
76e6d6bc 38405 [BZ #11856]
48cbc0d6
RM
38406 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38407
880113d9
UD
384082010-07-27 Ulrich Drepper <drepper@redhat.com>
38409
38410 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38411 for ld.so.
38412
deb9cabb
AS
384132010-07-27 Andreas Schwab <schwab@redhat.com>
38414
38415 * manual/memory.texi (Malloc Tunable Parameters): Document
38416 M_PERTURB.
38417
1c7570ff
RM
384182010-07-26 Roland McGrath <roland@redhat.com>
38419
38420 [BZ #11840]
38421 * configure.in (-fgnu89-inline check): Set and substitute
38422 gnu89_inline, not libc_cv_gnu89_inline.
38423 * configure: Regenerated.
38424 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38425
24fb0f88
UD
384262010-07-26 Ulrich Drepper <drepper@redhat.com>
38427
38428 * string/test-strnlen.c: New file.
38429 * string/Makefile (strop-tests): Add strnlen.
38430 * string/tester.c (test_strnlen): Add a few more test cases.
38431 * string/tst-strlen.c: Better error reporting.
38432
38433 * sysdeps/x86_64/strnlen.S: New file.
38434
8e96b93a
UD
384352010-07-24 Ulrich Drepper <drepper@redhat.com>
38436
38437 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38438 lower-latency instructions.
38439
dbc676d4
UD
384402010-07-23 Ulrich Drepper <drepper@redhat.com>
38441
38442 * string/test-strcasestr.c: New file.
38443 * string/test-strstr.c: New file.
38444 * string/Makefile (strop-tests): Add strstr and strcasestr.
38445 * string/str-two-way.h: Don't undefine MAX.
38446 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38447
f6a31e0e
AS
384482010-07-21 Andreas Schwab <schwab@redhat.com>
38449
38450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38451 strcasestr-nonascii.
38452 (CFLAGS-strcasestr-nonascii.c): Define.
38453 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38454 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38455 Remove unused attribute.
38456
5dbc3b6c
RM
384572010-07-20 Roland McGrath <roland@redhat.com>
38458
38459 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38460 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38461 ld.so.cache was broken. With it, there is no way to disable dsocaps
38462 like LD_HWCAP_MASK can disable hwcaps.
38463
23d101d8
EPM
384642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38465
38466 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38467
cc9f2e47
UD
384682010-07-16 Ulrich Drepper <drepper@redhat.com>
38469
38470 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38471 call in strcasestr.
38472 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38473 __strcasestr_sse42_nonascii.
38474 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38475 strcasestr-nonascii.c.
38476 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38477
77c1b069
LM
384782010-06-15 Luis Machado <luisgpm@br.ibm.com>
38479
38480 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38481 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38482 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38483 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38484
440566c3
UD
384852010-07-09 Ulrich Drepper <drepper@redhat.com>
38486
38487 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38488 fcntl.
38489
5be9d05d
AS
384902010-07-06 Andreas Schwab <schwab@redhat.com>
38491
c30b7ee2 38492 [BZ #11577]
5be9d05d
AS
38493 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38494 dl_signal_cerror.
38495
8a492a67
UD
384962010-07-06 Ulrich Drepper <drepper@redhat.com>
38497
38498 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38499 _PC_PIPE_BUF using F_GETPIPE_SZ.
38500
713df3d5
RM
385012010-07-05 Roland McGrath <roland@redhat.com>
38502
38503 * manual/arith.texi (Rounding Functions): Fix rint description
38504 implicit in round description.
38505
702e8f14
UD
385062010-07-02 Ulrich Drepper <drepper@redhat.com>
38507
38508 * elf/Makefile: Fix linking for a few tests to make recent linker
38509 happy.
38510
52ed8be9
AS
385112010-06-30 Andreas Schwab <schwab@redhat.com>
38512
38513 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38514 $(common-objpfx)libc_nonshared.a.
38515
f47c9a11
LM
385162010-06-21 Luis Machado <luisgpm@br.ibm.com>
38517
38518 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38519 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38520 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38521 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38522 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38523 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38524 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38525 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38540 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38541 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38542 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38543 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38544 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38545 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38546 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38547 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38548 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38549 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38550 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38551 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38566
6fb8cbcb
L
385672010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38568
38569 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38570 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38571 * string/memmove.c (memmove): Renamed to ...
38572 (MEMMOVE): ...this. Default to memmove.
38573 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38574 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38575 (END_CHK): Define.
38576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38577 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38578 mempcpy-ssse3-back memmove-ssse3-back.
38579 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38580 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38581 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38582 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38583 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38584 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38585 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38586 * sysdeps/x86_64/multiarch/memmove.c: New file.
38587 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38588 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38589 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38590 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38591 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38592 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38593 Define.
38594 (index_Fast_Copy_Backward): Define.
38595 (HAS_ARCH_FEATURE): Define.
38596 (HAS_FAST_REP_STRING): Define.
38597 (HAS_FAST_COPY_BACKWARD): Define.
38598
4e733bac 385992010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38600
38601 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38602 Restore proper fallback handling.
38603
63c4ed22
UD
386042010-06-19 Ulrich Drepper <drepper@redhat.com>
38605
ac2b484c
UD
38606 [BZ #11701]
38607 * posix/group_member.c (__group_member): Correct checking loop.
38608
63c4ed22
UD
38609 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38610 OOM in getpwuid_r correctly. Return error number when the caller
38611 should return, otherwise -1.
38612 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38613 call returning > 0 value.
38614 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38615
765ade4b
AS
386162010-06-07 Andreas Schwab <schwab@redhat.com>
38617
38618 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38619 libc_nonshared.a from targets in modules-names.
38620
80da2e09
KS
386212010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38622
38623 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38624 requires it.
38625
158db122
LM
386262010-06-10 Luis Machado <luisgpm@br.ibm.com>
38627
38628 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38629 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38630 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38632
caa78cf8
AS
386332010-06-02 Andreas Schwab <schwab@redhat.com>
38634
38635 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38636
b2ef2c01
UD
386372010-06-14 Ulrich Drepper <drepper@redhat.com>
38638
38639 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38640 and F_GETPIPE_SZ.
38641 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38642 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38645 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38646 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38647
fbd643b6
RM
386482010-06-14 Roland McGrath <roland@redhat.com>
38649
38650 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38651
f32f2869
JJ
386522010-06-07 Jakub Jelinek <jakub@redhat.com>
38653
38654 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38655 __REDIRECT followed by __THROW.
38656 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38657 * posix/getopt.h (getopt): Likewise.
38658
2a50c078
EPM
386592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38660
38661 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38662 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38663 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38664 in AT_FLAGS.
38665 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38666 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38667
eb5ad2eb
LM
386682010-05-28 Luis Machado <luisgpm@br.ibm.com>
38669
38670 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38671
3c88fe1e
L
386722010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38673
38674 [BZ #11640]
38675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38676 Properly check family and model.
38677
d2f73151
TY
386782010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38679
38680 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38681
ebd2e13d
LM
386822010-05-24 Luis Machado <luisgpm@br.ibm.com>
38683
38684 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38685
b32b8b45
UD
386862010-05-21 Ulrich Drepper <drepper@redhat.com>
38687
38688 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38689 symbol reference.
38690
9acbe24d
AS
386912010-05-19 Andreas Schwab <schwab@redhat.com>
38692
38693 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38694 symbol reference.
38695
f0ccf6ea
AS
386962010-05-21 Andreas Schwab <schwab@redhat.com>
38697
3d04ff3a
AS
38698 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38699 and internal_recvmmsg.
38700 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38701 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38702 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38703 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38704
f0ccf6ea
AS
38705 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38706 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38707 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38708
5b08ac57
AS
387092010-05-20 Andreas Schwab <schwab@redhat.com>
38710
38711 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38712
4828935d
LM
387132010-05-17 Luis Machado <luisgpm@br.ibm.com>
38714
38715 POWER7 optimizations.
38716 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38717 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38718
373d545e
UD
387192010-05-19 Ulrich Drepper <drepper@redhat.com>
38720
38721 * version.h: Update for 2.13 development version.
38722
21a2b1ae
AS
387232010-05-12 Andrew Stubbs <ams@codesourcery.com>
38724
38725 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38726 exceptions. Return 0.
38727
3f7dcb2b
RM
387282010-05-07 Roland McGrath <roland@redhat.com>
38729
38730 * elf/ldconfig.c (main): Add a const.
38731
5f24d53a 387322010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38733
a160f8d8
UD
38734 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38735 (args_options): Add no-idn option.
38736 (ahosts_keys_int): Add idn_flags to ai_flags.
38737 (parse_option): Handle 'i' option to clear idn_flags.
38738
5f24d53a
UD
38739 * malloc/malloc.c (_int_free): Possible race in the most recently
38740 added check. Only act on the data if no current modification
38741 happened.
265bb1ce
UD
38742
38743See ChangeLog.17 for earlier changes.