]> sourceware.org Git - glibc.git/blame - ChangeLog
Update x86_64 ULPs (AMD family 21, model 2)
[glibc.git] / ChangeLog
CommitLineData
6c0ce4b4
EW
12014-02-04 Eric Wong <normalperson@yhbt.net>
2
3 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4
dc98b8f5
EW
52014-02-04 Eric Wong <normalperson@yhbt.net>
6
7 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8
481e3524
CD
92014-02-03 Carlos O'Donell <carlos@redhat.com>
10
11 * manual/startup.texi: Add next, previous, and top entries for
12 the `Program Arguments' and `Environment Variables' nodes.
13
375592d3
AO
142014-02-03 Alexandre Oliva <aoliva@redhat.com>
15
16 * manual/macros.texi: Add comments before MTASC-safety macros.
17
f54838ba
AO
18 * manual/users.texi: Document MTASC-safety properties.
19
909e12ad
AO
20 * manual/threads.texi (pthread_key_create, pthread_key_delete,
21 pthread_getspecific, pthread_setspecific): Format with
22 @deftypefun, and add @safety note.
23 * manual/signal.texi: Move comments that analyze the above
24 functions to their home place.
25
fd3daba4
AM
262014-02-03 Allan McRae <allan@archlinux.org>
27
28 * po/sl.po: Update Slovenian translation from translation project.
29
597636d7
AO
302014-02-02 Alexandre Oliva <aoliva@redhat.com>
31
32 * manual/time.texi (timegm): Add missing blank after @c.
33 Reported by Joseph Myers <joseph@codesourcery.com>.
34
ee196e3c
AO
352014-02-01 Alexandre Oliva <aoliva@redhat.com>
36
37 * manual/check-safety.sh: New.
38 * manual/Makefile ($(objpfx)stamp-summary): Run it.
39
f8d529d5
AO
40 * manual/terminal.texi: Document MTASC-safety properties.
41
de55fdf4
AO
42 * manual/filesys.texi: Document MTASC-safety properties.
43
c3299c08
AO
44 * manual/errno.texi: Document MTASC-safety properties.
45
06e90b14
AO
46 * manual/intro.texi: Document safety identifiers and
47 conditionals.
48
1acd4371
AO
49 * manual/string.texi (wcstok): Fix prototype.
50 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51
23e5b8cb
AO
52 * manual/time.texi: Document MTASC-safety properties.
53
11087373
AO
54 * manual/string.texi: Document MTASC-safety properties.
55
5da2c93d
AO
56 * manual/threads.texi: Document MTASC-safety properties.
57
171e9210
AO
58 * manual/stdio.texi: Document MTASC-safety properties.
59
d9e02532
AO
60 * manual/syslog.texi: Document MTASC-safety properties.
61
6af8bab7
AO
62 * manual/sysinfo.texi: Document MTASC-safety properties.
63
663b02d7
AO
64 * manual/startup.texi: Document MTASC-safety properties.
65
973f180b
AO
66 * manual/socket.texi: Document MTASC-safety properties.
67
8f3c25c8
AO
68 * manual/signal.texi: Document MTASC-safety properties.
69
542210fb
AO
702014-01-31 Alexandre Oliva <aoliva@redhat.com>
71
72 * manual/setjmp.texi: Document MTASC-safety properties.
73
433c45a2
AO
74 * manual/search.texi: Document MTASC-safety properties.
75
c8ce789c
AO
76 * manual/resource.texi: Document MTASC-safety properties.
77
19f5d29c
AO
78 * manual/process.texi: Document MTASC-safety properties.
79
e2dfb7f4
AO
80 * manual/platform.texi: Document MTASC-safety properties.
81
8c1413f5
AO
82 * manual/pipe.texi: Document MTASC-safety properties.
83
03483ada
AO
84 * manual/pattern.texi: Document MTASC-safety properties.
85
29e7e2df
AO
86 * manual/message.texi: Document MTASC-safety properties.
87
9f529d7c
AO
88 [BZ #12751]
89 * manual/memory.texi: Document MTASC-safety properties.
90
27aaa791
AO
91 * manual/math.texi: Document MTASC-safety properties.
92
f2d58726
AO
93 * manual/locale.texi: Document MTASC-safety properties.
94
2cc3615c
AO
95 * manual/llio.texi: Document MTASC-safety properties.
96
d9f0ec97
AO
97 * manual/libdl.texi: New.
98
e7c4409a
AO
99 * manual/lang.texi: Document MTASC-safety properties.
100
27bdc63c
AO
101 * manual/job.texi: Document MTASC-safety properties.
102
a7b90ea9
AO
103 * manual/getopt.texi: Document MTASC-safety properties.
104
c49130e3
AO
105 * manual/ctype.texi: Document MTASC-safety properties.
106
0d23a5c1
MR
1072014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
108
109 [BZ #16046]
110 * csu/libc-tls.c (static_map): Remove variable.
111 (__libc_setup_tls): Use main executable's link map for TLS data.
112 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
113 casing for LM_ID_BASE and GL(dl_nns).
114 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
115 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
116 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
117 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
118 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
119 member.
120 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
121 l_phnum members.
122
0037bb60
AO
1232014-01-30 Alexandre Oliva <aoliva@redhat.com>
124
125 * manual/debug.texi: Document MTASC-safety properties.
126
409e00bd
L
1272014-01-29 H.J. Lu <hongjiu.lu@intel.com>
128
129 [BZ #16510]
130 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
131 of __x86_64__ when disabling x87 inline functions.
132
86e60666
AO
1332014-01-29 Alexandre Oliva <aoliva@redhat.com>
134
135 * manual/charset.texi: Document MTASC-safety properties.
136
76167637
AO
137 * manual/crypt.texi: Document MTASC-safety properties.
138
e567f2a0
AO
139 * manual/conf.texi: Document MTASC-safety properties.
140
b719dafd
AO
141 * manual/arith.texi: Document MTASC-safety properties.
142
4a16c662
AO
143 * manual/argp.texi: Document MTASC-safety properties.
144
0a57b83e
AO
145 * manual/macros.texi: Introduce macros to document multi
146 thread, asynchronous signal and asynchronous cancellation
147 safety properties.
148 * manual/intro.texi: Introduce the properties themselves.
149
feab2397
KK
1502014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
151
152 * sysdeps/sh/sh4/Makefile: New file.
153
1c0d11bc
AS
1542014-01-27 Andreas Schwab <schwab@linux-m68k.org>
155
156 * math/gen-libm-test.pl ($srcdir): New variable.
157 ($auto_input): Use it.
158
af37a8a3
SP
1592014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
160
d7b00f98
SP
161 [BZ #16506]
162 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
163 access beyond array bounds when parsing netgroups file.
164
af37a8a3
SP
165 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
166 the old buffer before realloc.
167
0c00f062
AM
1682014-01-27 Allan McRae <allan@archlinux.org>
169
170 * po/fr.po: Update French translation from translation project.
171
7d69a1b0
KK
1722014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
173
174 * sysdeps/sh/libm-test-ulps: Regenerate.
175
6e697ff7
DM
1762014-01-24 David S. Miller <davem@davemloft.net>
177
178 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
179
9cadb35c
KK
1802014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
181
182 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
183 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
184
5d41dadf
SP
1852013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
186
187 [BZ #16474]
188 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
189 string pointers after reallocation.
190
0bad441c
KK
1912014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
192
193 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
194 __SH4A__ instead of __SH_FPU_ANY__.
195
7007c661
KK
1962014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
197
198 * sysdeps/sh/fpu_control.h: New file.
199 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
200 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
201 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
202 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
203 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
204 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
205 * sysdeps/sh/sys/ucontext.h: Remove.
206 * sysdeps/sh/sys: Remove directory.
207
0f0c35e4
AK
2082014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
209
210 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
211 s390/sys/ucontext.h.
212 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
213 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
214
4959e284
L
2152014-01-20 H.J. Lu <hongjiu.lu@intel.com>
216
217 [BZ #15605]
218 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
219
d98720e0
AZ
2202014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
221
222 [BZ#16431]
223 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
224 Adjust the vDSO correctly for internal calls.
225 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
226
91cbd0bc
AM
2272014-01-20 Allan McRae <allan@archlinux.org>
228
229 * po/ca.po: Update Catalan translation from translation project.
230
7a02cfad
MF
2312014-01-16 Mike Frysinger <vapier@gentoo.org>
232
233 * sysdeps/s390/sotruss-lib.c: New file.
234
736c304a
AZ
2352014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
236
237 [BZ#16430]
6e077ee5 238 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
239 (__GI___gettimeofday): Alias for a different internal symbol to avoid
240 local calls issues by not having a PLT stub required for IFUNC calls.
241 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
242
94d0cea0
JM
2432014-01-16 Joseph Myers <joseph@codesourcery.com>
244
245 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
246 * math/test-fpucw-static.c: Likewise.
247
980cb518
SP
2482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
249
250 [BZ #16453]
251 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
252
2393fc01
AZ
2532014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
254
255 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
256 implementation for powerpc.
257
d359bcc2
OB
2582014-01-15 Ondřej Bílka <neleai@seznam.cz>
259
260 [BZ #14782]
261 * sysdeps/posix/system.c (__libc_system): Do not enable
262 asynchronous cancellation.
263
7beb48cb
AK
2642014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
265
266 [BZ #16427]
267 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
268 handling only for numbers special also in the IEEE case.
269
c20d5bf5
AK
2702014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
271
272 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
273
e83bd4ee
AM
2742014-01-11 Allan McRae <allan@archlinux.org>
275
76d0ea69
AM
276 * po/bg.po: Update Bulgarian translation from translation project.
277
e83bd4ee
AM
278 * po/de.po: Update German translation from translation project.
279
bc2ba20a
RM
2802014-01-10 Roland McGrath <roland@hack.frob.com>
281
282 * sysdeps/generic/gcc-compat.h: New file.
283
649ecea2
SP
2842014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
285
286 * benchtests/asin-inputs: Correct slow inputs.
287 * benchtests/acos-inputs: Likewise.
288
1b19c006
AM
2892014-01-10 Allan McRae <allan@archlinux.org>
290
a46dab08
AM
291 * po:sv.po: Update Swedish translation from translation project.
292
421df74a
AM
293 * po/vi.po: Update Vietnamese translation from translation project.
294
d61c51a7
AM
295 * po/eo.po: Update Esperanto translation from translation project.
296
0339a319
AM
297 * po/cs.po: Update Czech translation from translation project.
298
94ad3e99
AM
299 * po/nl.po: Update Dutch translation from translation project.
300
e349ca71
AM
301 * po/pl.po: Update Polish translation from translation project.
302
ddf930c1
AM
303 * po/ru.po: Update Russian translation from translation project.
304
1b19c006
AM
305 * po/uk.po: Update Ukrainian translation from translation project.
306
9f236c49
BM
3072014-01-08 Brooks Moses <bmoses@google.com>
308
309 * elf/dl-load.c: Fix comment typo.
310
cd6701cf
CD
3112014-01-08 Carlos O'Donell <carlos@redhat.com>
312
313 * po/header.pot: Rename to...
314 * po/pot.header: ... this.
315 * po/Makefile: Use pot.header.
316
66671c84
YK
3172014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
318 Maxim Kuvyrkov <maxim@kugelworks.com>
319
320 [BZ #16394]
cd6701cf
CD
321 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
322 SRC and DEST against LEN.
66671c84 323
38f34581
AZ
3242014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
325
326 [BZ #16414]
327 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
328 implementation.
329 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
330
3312014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
332
333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
334
4c327f2a
JM
3352014-01-08 Joseph Myers <joseph@codesourcery.com>
336
337 [BZ #16408]
338 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
339 for large positive arguments.
340
b821f414
JM
3412014-01-07 Joseph Myers <joseph@codesourcery.com>
342
1f0f2067
JM
343 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
344
a5a326f6
JM
345 * math/auto-libm-test-in: Mark various tests with
346 xfail-rounding:ldbl-128ibm.
347 * math/auto-libm-test-out: Regenerated.
348
b821f414
JM
349 [BZ #16407]
350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
351 Increase overflow threshold.
352
94c8a4bc
OB
3532014-01-07 Ondřej Bílka <neleai@seznam.cz>
354
355 [BZ #14286]
356 * stdio-common/vfprintf.c: Check for integer overflow.
357
87ded0c3
AK
3582014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
359
360 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
361 the first argument and return value of __tls_get_addr_internal.
362
c5eebdd0
AK
3632014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
364
365 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
366 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
367
05d138ef
AK
3682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
369
370 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
371 * sysdeps/s390/rtld-global-offsets.sym: New file.
372 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
373 GLIBC_2.19 symbol.
374 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
375 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
376 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
377 ... this.
378 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
379 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
380 ... this.
381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
382 Regenerate.
383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
384 Regenerate.
385 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
386 halfs of GPRs for high_gprs contexts.
387 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
388 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
389 field.
390 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
391 uc_flags field.
392 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
393 64 bit versions:
394 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
395 for high GPRs (uc_high_gprs) and for future extensions
396 (__reserved).
397 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
398 for future extensions (__reserved).
399 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
400 64 bit versions:
401 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
402 SC_HIGHGPRS offset definition.
403 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
404 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
405
93a45ff1
AK
4062014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
407
408 * Versions.def: Add GLIBC_2.19 for libpthread.
409 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
410 siglongjmp for libpthread with GLIBC_2.19 symver.
411 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
412 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
413 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
414 * sysdeps/s390/__longjmp.c: New file.
415 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
416 * sysdeps/s390/longjmp.c: New file.
417 * sysdeps/s390/setjmp.S: New file.
418 * sysdeps/s390/sigjmp.S: New file.
419 * sysdeps/s390/v1-longjmp.c: New file.
420 * sysdeps/s390/v1-setjmp.h: New file.
421 * sysdeps/s390/v1-sigjmp.c: New file.
422 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
423 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
424 GLIBC_2.19 version.
425 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
426 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
427 versioned symbols for ____longjmp_chk.
428 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
429 Likewise.
430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
431 Regenerate.
432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
433 Regenerate.
434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
435 Regenerate.
436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
437 Regenerate.
438 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
439 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
440 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
441 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
442 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
443 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
444 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
445 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
446 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
447 * sysdeps/s390/rtld-__longjmp.c: New file.
448 * sysdeps/s390/rtld-setjmp.S: New file.
449
eb3fc44b
JM
4502014-01-06 Joseph Myers <joseph@codesourcery.com>
451
452 [BZ #16400]
453 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
454 Return -__logl (x) for small positive arguments without evaluating
455 a polynomial.
456
9341dde4
MF
4572014-01-06 Mike Frysinger <vapier@gentoo.org>
458
459 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
460 Rename to ...
461 (__ptrace_peeksiginfo_args): ... this.
462 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
463 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
464 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
465
4cff0293
AM
4662014-01-06 Allan McRae <allan@archlinux.org>
467
468 * inet/netinet/in.h: Fix typo in comment.
469
75595dcf
AJ
4702014-01-05 Andreas Jaeger <aj@suse.de>
471
472 * sysdeps/i386/fpu/libm-test-ulps: Update.
473
79c1e109
AM
4742014-01-05 Allan McRae <allan@archlinux.org>
475
dd804818
AM
476 * po/libc.pot: Regenerated.
477
79c1e109
AM
478 * malloc/memusagestat.c: Fix gettext call formatting.
479
0c813d1f
SK
4802014-01-04 Sami Kerola <kerolasa@iki.fi>
481
482 * nscd/nscd.c: Improve usage() output.
483
20f4a8d9
MF
4842014-01-04 Mike Frysinger <vapier@gentoo.org>
485
486 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
487 * sysdeps/unix/sysv/linux/configure: Regenerated.
488 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
489 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
490
22562bb2
JM
4912014-01-03 Joseph Myers <joseph@codesourcery.com>
492
493 [BZ #16390]
494 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
495 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
496
d7ad2d9b
AZ
4972014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
498
499 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
500 extra tokens at end of #undef directive.
501 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
502 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
504
7f507ee1
AH
5052014-01-03 Andrew Hunter <ahh@google.com>
506
0da43124 507 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
508 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
509 atomic_compare_and_exchange_bool_acq
510 (_dl_allocate_static_tls): Block signals.
511 * elf/dl-tls.c (allocate_and_init): Return void.
512 (_dl_update_slotinfo): Block signals, use atomic update.
513
7dd009d8
JM
5142014-01-03 Joseph Myers <joseph@codesourcery.com>
515
24db925a
JM
516 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
517
7dd009d8
JM
518 * math/auto-libm-test-in: Mark various tests with
519 xfail-rounding:ldbl-128ibm.
520 * math/auto-libm-test-out: Regenerated.
521
396e3ecf
JM
5222014-01-02 Joseph Myers <joseph@codesourcery.com>
523
819e5d50
JM
524 [BZ #16386]
525 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
526 numbers with subnormal high part when calculating exponent.
527
90b6a1e5
JM
528 [BZ #16385]
529 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
530 fabs.
531
396e3ecf
JM
532 [BZ #16384]
533 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
534 M_LN2l.
535 (__ieee754_acoshl): Use __log1pl not __log1p.
536
6c8dbf00
OB
5372013-01-02 Ondřej Bílka <neleai@seznam.cz>
538
539 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
540 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
541 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
542 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
543 Convert to GNU style.
544 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
545 mem2mem_check, mem2chunk_check, top_check, realloc_check,
546 memalign_check, __malloc_set_state): Likewise.
547 * malloc/mallocbug.c (main): Likewise.
548 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
549 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
550 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
551 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
552 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
553 * malloc/malloc.h: Likewise.
554 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
555 memalignhook, reallochook, mabort): Likewise.
556 * malloc/mcheck.h: Likewise.
557 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
558 mmap64, mremap, munmap, dest): Likewise.
559 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
560 * malloc/morecore.c (__default_morecore): Likewise.
561 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
562 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
563 _obstack_allocated_p, obstack_free, _obstack_memory_used,
564 print_and_abort): Likewise.
565 * malloc/obstack.h: Likewise.
566 * malloc/set-freeres.c (__libc_freeres): Likewise.
567 * malloc/tst-mallocstate.c (main): Likewise.
568 * malloc/tst-mtrace.c (main): Likewise.
569 * malloc/tst-realloc.c (do_test): Likewise.
570
d4124212
SP
5712013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
572
9a3c6a6f
SP
573 [BZ #16366]
574 * nscd/netgroupcache.c (do_notfound): New function.
575 (addgetnetgrentX): Use it.
576
d4124212
SP
577 [BZ # 16365]
578 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
579 NSS_STATUS_NOTFOUND.
580
97b9a009
JM
5812014-01-01 Joseph Myers <joseph@codesourcery.com>
582
583 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
585
d4697bc9
AM
5862014-01-01 Allan McRae <allan@archlinux.org>
587
ddb3687f
AM
588 * scripts/update-copyrights: Update configure input file suffix.
589
88726d48
AM
590 * NEWS: Update copyright year.
591 * catgets/gencat.c: Likewise.
592 * csu/version.c: Likewise.
593 * debug/catchsegv.sh: Likewise.
594 * debug/pcprofiledump.c: Likewise.
595 * debug/xtrace.sh: Likewise.
596 * elf/ldconfig.c: Likewise.
597 * elf/ldd.bash.in: Likewise.
598 * elf/pldd.c: Likewise.
599 * elf/sotruss.ksh: Likewise.
600 * elf/sprof.c: Likewise.
601 * iconv/iconv_prog.c: Likewise.
602 * iconv/iconvconfig.c: Likewise.
603 * locale/programs/locale.c: Likewise.
604 * locale/programs/localedef.c: Likewise.
605 * login/programs/pt_chown.c: Likewise.
606 * malloc/memusage.sh: Likewise.
607 * malloc/memusagestat.c: Likewise.
608 * malloc/mtrace.pl: Likewise.
609 * manual/libc.texinfo: Likewise.
610 * nscd/nscd.c: Likewise.
611 * nss/getent.c: Likewise.
612 * nss/makedb.c: Likewise.
613 * posix/getconf.c: Likewise.
614 * scripts/test-installation.pl: Likewise.
615
d4697bc9
AM
616 * All files with FSF copyright notices: Update copyright dates
617 using scripts/update-copyrights.
618 * intl/plural.c: Regenerated.
619 * locale/programs/charmap-kw.h: Likewise.
620 * locale/programs/locfile-kw.h: Likewise.
621
c8590f9d
MF
6222013-12-31 Mike Frysinger <vapier@gentoo.org>
623
624 * sysdeps/unix/sysv/linux/configure: Regenerated.
625 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
626 the linux/fanotify.h header.
627 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
628 HAVE_LINUX_FANOTIFY_H is defined.
629
b19221b9
SP
6302013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
631
dd1d85e5
SP
632 * benchtests/cos-inputs: New inputs.
633 * benchtests/sin-inputs: Likewise.
634
1acbb90f
SP
635 * benchtests/atan-inputs: New inputs. Fix name of multiple
636 precision fallback inputs.
637
4c012ed3
SP
638 * benchtests/atanh-inputs: New inputs.
639 * benchtests/tanh-inputs: Likewise.
640
eff98324
SP
641 * benchtests/acosh-inputs: New inputs.
642 * benchtests/asinh-inputs: Likewise.
643
ce641152
SP
644 * benchtests/cosh-inputs: New inputs.
645 * benchtests/sinh-inputs: Likewise.
646
b19221b9
SP
647 * benchtests/acos-inputs: Add more inputs.
648 * benchtests/asin-inputs: Likewise.
649
030a4976 6502013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 651
030a4976 652 [BZ #16375]
9dcc8f11
VS
653 * manual/arith.texi: Fix spelling.
654 * manual/charset.texi: Likewise.
655 * manual/errno.texi: Likewise.
656 * manual/filesys.texi: Likewise.
657 * manual/lang.texi: Likewise.
658 * manual/llio.texi: Likewise.
659 * manual/locale.texi: Likewise.
660 * manual/message.texi: Likewise.
661 * manual/resource.texi: Likewise.
662 * manual/search.texi: Likewise.
663 * manual/setjmp.texi: Likewise.
664 * manual/stdio.texi: Likewise.
665 * manual/string.texi: Likewise.
666 * manual/sysinfo.texi: Likewise.
667 * manual/time.texi: Likewise.
668
11520a57
CD
6692013-12-27 Carlos O'Donell <carlos@redhat.com>
670
671 * po/sl.po: New file.
672
471103ae
MF
6732013-12-27 Mike Frysinger <vapier@gentoo.org>
674
675 * .gitignore: Add core/.gdbinit/.gdb_history.
676
6c9642ed
AM
6772013-12-27 Allan McRae <allan@archlinux.org>
678
679 [BZ #16369]
680 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
681 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
682
3f637079
BM
6832013-12-24 Brooks Moses <bmoses@google.com>
684
685 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
686 all compilers that claim C++98 compliance, not just GCC.
687 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
688 Likewise.
689
abc26e99
MK
6902013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
691
692 * NEWS: Restore accidentally deleted bug-fix entries.
693
362b47fe
MK
6942013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
695 Ondřej Bílka <neleai@seznam.cz>
696
697 [BZ #15073]
698 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 699 have_lock.
362b47fe 700
b9bcbbcb
OB
7012013-12-23 Ondřej Bílka <neleai@seznam.cz>
702
703 [BZ #12986]
704 * manual/stdio.texi (String Input Conversions): Clarify that character
705 classes are not supported.
706
fb55fcd2
AZ
7072013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
708
709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
710
ef7344f0
JM
7112013-12-22 Joseph Myers <joseph@codesourcery.com>
712
4f40e4b3
JM
713 [BZ #16337]
714 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
715 Calculate results for small negative arguments directly rather
716 than using reflection formula with special underflow handling.
717
ef7344f0
JM
718 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
719 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
720 sysdeps/unix/bsd/bsd4.4/syscalls.list.
721 (fchflags): Likewise.
722 (revoke): Likewise.
723 (setlogin): Likewise.
724 (sigaltstack): Likewise.
725 (wait4): Likewise.
726 (sigblock): Remove.
727 (sigsetmask): Likewise.
728 (wait3): Likewise.
729 (waitpid): Likewise.
730 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
731 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
732 file.
733 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
734 * sysdeps/unix/bsd/Makefile: ... here.
735 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
736 * sysdeps/unix/bsd/Versions: ... here.
737 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
738 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
739 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
740 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
741 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
742 * sysdeps/unix/bsd/sigblock.c: ... here.
743 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
744 * sysdeps/unix/bsd/sigsetmask.c: ... here.
745 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
746 * sysdeps/unix/bsd/sigvec.c: ... here.
747 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
748 * sysdeps/unix/bsd/tcdrain.c: ... here.
749 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
750 * sysdeps/unix/bsd/tcgetattr.c: ... here.
751 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
752 * sysdeps/unix/bsd/tcsetattr.c: ... here.
753 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
754 * sysdeps/unix/bsd/wait.c: ... here.
755 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
756 * sysdeps/unix/bsd/wait3.c: ... here.
757 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
758 * sysdeps/unix/bsd/waitpid.c: ... here.
759
5b0626b9
JM
7602013-12-21 Joseph Myers <joseph@codesourcery.com>
761
762 [BZ #16356]
763 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
764 round-to-nearest for [!USE_AS_EXPM1L].
765 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
766 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
767 more tests of exp and exp10. Expect some exp10 tests to miss
768 exceptions or fail in directed rounding modes.
769 * math/auto-libm-test-out: Regenerated.
770 * math/libm-test.inc (exp10_tonearest_test_data): New array.
771 (exp10_test_tonearest): New function.
772 (exp10_towardzero_test_data): New array.
773 (exp10_test_towardzero): New function.
774 (exp10_downward_test_data): New array.
775 (exp10_test_downward): New function.
776 (exp10_upward_test_data): New array.
777 (exp10_test_upward): New function.
778 (main): Call the new functions.
779 * sysdeps/i386/fpu/libm-test-ulps: Update.
780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
781
7fda5682
JM
7822013-12-20 Joseph Myers <joseph@codesourcery.com>
783
31e3a405
JM
784 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
785 asinh, atan, atan2, atanh, cbrt, cos and cosh.
786 * math/auto-libm-test-out: Regenerated.
787 * math/libm-test.inc (acosh_test_data): Add more tests.
788 (atanh_test_data): Likewise.
789 (ceil_test_data): Likewise.
790 (copysign_test_data): Likewise.
791 * sysdeps/i386/fpu/libm-test-ulps: Update.
792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
793
85bff96a
JM
794 * timezone/checktab.awk: Update from tzcode 2013i.
795 * timezone/private.h: Likewise.
796 * timezone/scheck.c: Likewise.
797 * timezone/tzfile.h: Likewise.
798 * timezone/tzselect.ksh: Likewise.
799 * timezone/zdump.c: Likewise.
800 * timezone/zic.c: Likewise.
801
b7867a3b
JM
802 * math/auto-libm-test-in: Add tests of cpow.
803 * math/auto-libm-test-out: Regenerated.
804 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
805 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
806 mpc_cc_c.
807 (func_calc_desc): Add mpc_cc_c union field.
808 (test_functions): Add cpow.
809 (special_fill_2pi): New function.
810 (special_real_inputs): Add 2pi.
811 (calc_generic_results): Handle mpc_cc_c.
812 * sysdeps/i386/fpu/libm-test-ulps: Update.
813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
814
7fda5682
JM
815 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
816 csqrt, ctan and ctanh.
817 * math/auto-libm-test-out: Regenerated.
818 * math/libm-test.inc (TEST_COND_x86_64): New macro.
819 (TEST_COND_x86): Likewise.
820 (ccos_test_data): Use AUTO_TESTS_c_c.
821 (ccosh_test_data): Likewise.
822 (cexp_test_data): Likewise.
823 (clog_test_data): Likewise.
824 (csqrt_test_data): Likewise.
825 (ctan_test_data): Likewise.
826 (ctan_tonearest_test_data): Likewise.
827 (ctan_towardzero_test_data): Likewise.
828 (ctan_downward_test_data): Likewise.
829 (ctan_upward_test_data): Likewise.
830 (ctanh_test_data): Likewise.
831 (ctanh_tonearest_test_data): Likewise.
832 (ctanh_towardzero_test_data): Likewise.
833 (ctanh_downward_test_data): Likewise.
834 (ctanh_upward_test_data): Likewise.
835 * math/gen-auto-libm-tests.c (func_calc_method): Add value
836 mpc_c_c.
837 (func_calc_desc): Add mpc_c_c union field.
838 (FUNC_mpc_c_c): New macro.
839 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
840 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
841 ctanh.
842 (special_fill_min_subnorm_p120): New function.
843 (special_real_inputs): Add min_subnorm_p120.
844 (calc_generic_results): Handle mpc_c_c.
845 * sysdeps/i386/fpu/libm-test-ulps: Update.
846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
847
5ff8d60e
SP
8482013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
849
392dd2de
SP
850 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
851 do_sin_slow): New functions.
852 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
853 cslow2, csloww1, csloww2): Use the new functions.
854
84ba214c
SP
855 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
856 Use M to change sign of result instead of X. Assume X is
857 positive.
858 (csloww1): Likewise.
859 (__sin): Adjust.
860 (__cos): Adjust.
861
975195e4
SP
862 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
863 arguments A and DA.
864 (__sin): Adjust.
865 (__cos): Likewise.
866
5ff8d60e
SP
867 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
868 (__cos): Likewise.
869 (sloww1): Don't adjust sign of DX.
870 (csloww1): Likewise.
871 (sloww2): Use X directly and don't adjust sign of DX.
872 (csloww2): Likewise.
873
eb983568
JM
8742013-12-19 Joseph Myers <joseph@codesourcery.com>
875
64a17f1a
JM
876 * math/auto-libm-test-in: Add tests of cabs and carg.
877 * math/auto-libm-test-out: Regenerated.
878 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
879 (carg_test_data): Likewise.
880 * math/gen-auto-libm-tests.c (func_calc_method): Add value
881 mpc_c_f.
882 (func_calc_desc): Add mpc_c_f union field.
883 (test_functions): Add cabs and carg.
884 (calc_generic_results): Handle mpc_c_f.
885
eb983568
JM
886 * sysdeps/powerpc/powerpc32/libgcc-compat.S
887 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
888 as a macro and a compat symbol.
889 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
890 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
891 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
892 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
893 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
894 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
895 not use .hidden.
896 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
897 Likewise.
898 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
899 Likewise.
900 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
901 Likewise.
902 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
903 Likewise.
904 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
905 Likewise.
906 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
907 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
908 from GLIBC_2.3.2.
909
6eeb678a
AZ
9102013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
911
912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
913
063b2acb
PP
9142013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
915
916 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
917 (__signal_safe_memalign, __signal_safe_free): Use it.
918 (__signal_safe_realloc): Likewise.
919
6f6fc482
JM
9202013-12-19 Joseph Myers <joseph@codesourcery.com>
921
21fea2e2
JM
922 * manual/texinfo.tex: Update to version 2013-11-26.10 with
923 trailing whitespace removed.
924 * scripts/config.guess: Update to version 2013-11-29.
925 * scripts/config.sub: Update to version 2013-10-01.
926
6f6fc482
JM
927 * math/auto-libm-test-in: Add tests of sincos.
928 * math/auto-libm-test-out: Regenerated.
929 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
930 * math/gen-auto-libm-tests.c (func_calc_method): Add value
931 mpfr_f_11.
932 (func_calc_desc): Add mpfr_f_11 union field.
933 (test_functions): Add sincos.
934 (calc_generic_results): Handle mpfr_f_11.
935 * sysdeps/i386/fpu/libm-test-ulps: Update.
936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
937
83f5c32d
AS
9382013-12-19 Andreas Schwab <schwab@suse.de>
939
940 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
941 CALL_MCOUNT.
942 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
943 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
944 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
945
c688b419
JM
9462013-12-19 Joseph Myers <joseph@codesourcery.com>
947
335ee092
JM
948 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
949 * sysdeps/i386/fpu/libm-test-ulps: Update.
950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
951
f88acd39
JM
952 [BZ #16293]
953 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
954 round-to-nearest mode when using frndint.
955 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
956 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
957 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
958 Likewise.
959 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
960 sinh test to fail.
961 * math/auto-libm-test-out: Regenerated.
962 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
963 (TEST_COND_x86): Likewise.
964 (expm1_tonearest_test_data): New array.
965 (expm1_test_tonearest): New function.
966 (expm1_towardzero_test_data): New array.
967 (expm1_test_towardzero): New function.
968 (expm1_downward_test_data): New array.
969 (expm1_test_downward): New function.
970 (expm1_upward_test_data): New array.
971 (expm1_test_upward): New function.
972 (main): Run the new test functions.
973 * sysdeps/i386/fpu/libm-test-ulps: Update.
974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
975
c688b419
JM
976 * include/features.h: Update comment documenting feature test
977 macros. Mention _DEFAULT_SOURCE in comment.
978 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
979 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
980 _BSD_SOURCE and _SVID_SOURCE.
981 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
982 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
983 !_SVID_SOURCE]: Likewise.
984 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
985 (__USE_POSIX_IMPLICITLY): Define.
986 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
987 (_POSIX_SOURCE): Undefine and redefine.
988 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
989 (_POSIX_C_SOURCE): Likewise.
990 * manual/creature.texi (_DEFAULT_SOURCE): Document.
991 (Feature Test Macros): Update documentation of default features.
992
9f6e964c
RS
9932013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
994
995 * benchtests/Makefile: Add bench-strtok.
996 * benchtests/bench-strtok.c: New file: strtok benchtest.
997
ee0a148a
AM
9982013-12-19 Allan McRae <allan@archlinux.org>
999
1000 * manual/install.texi: Suppress menu for plain text output.
1001 * INSTALL: Regenerated.
1002
1f33d36a
PP
10032013-12-18 Andrew Hunter <ahh@google.com>
1004
1005 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
1006 (__signal_safe_malloc, __signal_safe_free): Likewise.
1007 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
1008 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
1009 (__signal_safe_memalign, __signal_safe_malloc): New function.
1010 (__signal_safe_free, __signal_safe_realloc): Likewise.
1011 (__signal_safe_calloc): Likewise.
1012 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
1013 functions.
1014 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
1015
35e8f7ab
PP
10162013-12-18 Andrew Hunter <ahh@google.com>
1017
1018 * elf/Versions (ld): Add _dl_clear_dtv.
1019 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
1020 * elf/dl-tls.c (_dl_clear_dtv): New function.
1021 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
1022
69a17d9d
PP
10232013-12-18 Andrew Hunter <ahh@google.com>
1024
1025 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
1026 (_dl_unmask_signals): Likewise.
1027 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
1028 (_dl_unmask_all_signals): Likewise.
1029 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
1030 (_dl_unmask_all_signals): Likewise.
1031 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
1032 (_dl_unmask_signals): Likewise.
1033
b9ab448f
BM
10342013-12-18 Brooks Moses <bmoses@google.com>
1035
1036 [BZ #15846]
1037 * misc/getauxval.c: Include errno.h.
1038 (__getauxval): Set errno to ENOENT if the requested type is not
1039 found.
1040 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1041 don't declare with __attribute_const__.
1042 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1043 * manual/startup.texi: Document that getauxval sets errno.
1044
23776487
JM
10452013-12-18 Joseph Myers <joseph@codesourcery.com>
1046
f889953b
JM
1047 * math/auto-libm-test-in: Add tests of jn and yn.
1048 * math/auto-libm-test-out: Regenerated.
1049 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1050 (yn_test_data): Likewise.
1051 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1052 mpfr_if_f.
1053 (func_calc_desc): Add mpfr_if_f union field.
1054 (FUNC_mpfr_if_f): New macro.
1055 (test_functions): Add jn and yn.
1056 (calc_generic_results): Assert type of second input for
1057 mpfr_ff_f. Handle mpfr_if_f.
1058 (output_for_one_input_case): Disable all checking for arguments
1059 fitting floating-point types in case of an integer argument.
1060 * sysdeps/i386/fpu/libm-test-ulps: Update.
1061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1062
23776487
JM
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1064 Don't expect fegetround reference in libm.so.
1065
cb756c6d
MS
10662013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1067
1068 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1069 $(config-cflags-nofma).
1070
2dec468f
JM
10712013-12-18 Joseph Myers <joseph@codesourcery.com>
1072
5953eb3a
JM
1073 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1074 * math/auto-libm-test-out: Regenerated.
1075
2dec468f
JM
1076 [BZ #16338]
1077 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1078 to determine exponent and adjust argument to have exponent of -1.
1079 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1080 log2.
1081 * math/auto-libm-test-out: Regenerated.
1082 * sysdeps/i386/fpu/libm-test-ulps: Update.
1083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1084
4d84e6ad
OB
10852013-12-18 Ondřej Bílka <neleai@seznam.cz>
1086
1087 * manual/probes.texi: Remove cases when per-thread arenas are
1088 disabled.
1089
1818483b
AS
10902013-12-18 Andreas Schwab <schwab@suse.de>
1091
1092 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1093 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1094 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1095 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1096 * sysdeps/i386/i686/multiarch/Makefile: Update.
1097 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1098
25de95bf
JM
10992013-12-17 Joseph Myers <joseph@codesourcery.com>
1100
1101 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1102 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1103
674762d9
PE
11042013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1105
0748546f
PE
1106 Support TZ transition times < 00:00:00.
1107 This is needed for version-3 tz-format files; it supports time
1108 stamps past 2037 for America/Godthab (the only entry in the tz
1109 database for which this change is relevant).
1110 * manual/time.texi (TZ Variable): Document transition times
1111 from -167:59:59 through -00:00:01.
1112 * time/tzset.c (tz_rule): Time of day is now signed.
1113 (__tzset_parse_tz): Parse negative time of day.
1114
4480e934
PE
1115 Document TZ transition times >= 25:00:00.
1116 * manual/time.texi (TZ Variable): Document transition times from
1117 25:00:00 through 167:59:59. These are already supported, and this
1118 support will help with version-3 tz-format files.
1119
69947401
PE
1120 * manual/time.texi (TZ Variable): Modernize North America example
1121 to reflect current (i.e., 2007-and-later) daylight saving rules.
1122
674762d9
PE
1123 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1124
7011c262
JM
11252013-12-17 Joseph Myers <joseph@codesourcery.com>
1126
2fc6557e
JM
1127 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1128 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1129 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1131 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1132 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1133 * sysdeps/unix/bsd/clock.c: Likewise.
1134 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1135 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1136 * sysdeps/unix/bsd/init-posix.c: Likewise.
1137 * sysdeps/unix/bsd/poll.c: Likewise.
1138 * sysdeps/unix/bsd/ptsname.c: Likewise.
1139 * sysdeps/unix/bsd/seekdir.c: Likewise.
1140 * sysdeps/unix/bsd/setegid.c: Likewise.
1141 * sysdeps/unix/bsd/seteuid.c: Likewise.
1142 * sysdeps/unix/bsd/setgid.c: Likewise.
1143 * sysdeps/unix/bsd/setrgid.c: Likewise.
1144 * sysdeps/unix/bsd/setruid.c: Likewise.
1145 * sysdeps/unix/bsd/setsid.c: Likewise.
1146 * sysdeps/unix/bsd/setuid.c: Likewise.
1147 * sysdeps/unix/bsd/sigaction.c: Likewise.
1148 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1149 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1150 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1151 * sysdeps/unix/bsd/telldir.c: Likewise.
1152 * sysdeps/unix/bsd/times.c: Likewise.
1153 * sysdeps/unix/bsd/usleep.c: Likewise.
1154
029c7b25
JM
1155 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1156 ($(objpfx)libbsd-compat.a): Remove rule.
1157
7011c262
JM
1158 * include/features.h (__FAVOR_BSD): Do not define.
1159 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1160 features conflicting with POSIX.
1161 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1162 (_BSD_SOURCE): Remove description of not being a subset of other
1163 feature test macros.
1164 * manual/job.texi (getpgrp): Do not document BSD version.
1165 (getpgid): Do not document by reference to BSD getpgrp.
1166 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1167 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1168 * signal/signal.h [__FAVOR_BSD]: Likewise.
1169 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1170 instead of making contents conditional on [__FAVOR_BSD].
1171 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1172
affb6f78
AZ
11732013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1174
1175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1176
c88769dd
JM
11772013-12-17 Joseph Myers <joseph@codesourcery.com>
1178
6432a540
JM
1179 [BZ #16314]
1180 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1181 values below 2**-450, not 2**-500.
1182 * math/auto-libm-test-in: Don't allow spurious underflow from
1183 hypot.
1184 * math/auto-libm-test-out: Regenerated.
1185
c88769dd
JM
1186 [BZ #16316]
1187 [BZ #16330]
1188 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1189 values of ha and hb and sort them after adjusting subnormal
1190 arguments.
1191 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1192 Likewise.
1193 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1194 values of ea and eb and sort them after adjusting subnormal
1195 arguments.
1196 * math/auto-libm-test-in: Do not expect some hypot tests of
1197 subnormals to fail. Add more hypot tests.
1198 * math/auto-libm-test-out: Regenerated.
1199
29618f6b
KK
12002013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1201
1202 [BZ #13304]
1203 * sysdeps/sh/s_fma.c: New file.
1204 * sysdeps/sh/s_fmaf.c: New file.
1205 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1206 version.
1207 * sysdeps/sh/Implies: Add sh/soft-fp.
1208
eacfdfbf
RM
12092013-12-16 Roland McGrath <roland@hack.frob.com>
1210
1211 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1212 level of indirection to members `objname', `errstring', `malloced'.
1213 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1214 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1215 it as the __longjmp argument (just pass 1 instead).
1216 (_dl_catch_error): Initialize C with argument pointers and address of
1217 volatile local ERRCODE rather than copying values out of C at return.
1218
ff362e5b
JM
12192013-12-16 Joseph Myers <joseph@codesourcery.com>
1220
1221 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1222 * math/auto-libm-test-out: Regenerated.
1223 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1224 (hypot_test_data): Likewise.
1225 (pow_test_data): Likewise.
1226 (pow_tonearest_test_data): Likewise.
1227 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1228 mpfr_ff_f.
1229 (func_calc_desc): Add mpfr_ff_f union field.
1230 (FUNC_mpfr_ff_f): New macro.
1231 (test_functions): Add atan2, hypot and pow.
1232 (special_fill_min): New function.
1233 (special_fill_minus_min): Likewise.
1234 (special_fill_min_subnorm): Likewise.
1235 (special_fill_minus_min_subnorm): Likewise.
1236 (special_real_inputs): Add min, -min, min_subnorm and
1237 -min_subnorm.
1238 (calc_generic_results): Handle mpfr_ff_f.
1239 * sysdeps/i386/fpu/libm-test-ulps: Update.
1240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1241
5764c27f
WN
12422013-12-16 Will Newton <will.newton@linaro.org>
1243
1244 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1245 (Aligned Memory Blocks): Add documentation for aligned_alloc
1246 and suggest it as an alternative to posix_memalign.
1247 (Hooks for Malloc): Document __memalign_hook is also called
1248 for aligned_alloc. (Summary of Malloc): Add summary for
1249 aligned alloc. Document __memalign_hook is also called
1250 for aligned_alloc.
1251
0a096e44
WN
12522013-12-16 Will Newton <will.newton@linaro.org>
1253
1254 * manual/memory.texi (Malloc Examples): Clarify default
1255 alignment documentation. Suggest posix_memalign rather
1256 than memalign or valloc.
1257 (Aligned Memory Blocks): Remove suggestion to use memalign
1258 or valloc. Remove obsolete comment about BSD.
1259 Document memalign errno values and mark the function obsolete.
1260 Document posix_memalign returned error codes. Mark valloc
1261 as obsolete. (Hooks for Malloc): __memalign_hook is also
1262 called for posix_memalign and valloc.
1263 (Summary of Malloc): Add posix_memalign to function summary.
1264 __memalign_hook is also called for posix_memalign and valloc.
1265
8d561986
SP
12662013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1267
1268 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1269 TAYLOR_SIN.
1270 (__sin): Adjust.
1271 (__cos): Likewise.
1272 (sloww): Use mynumber union. Expand ternary operator into
1273 if-else statements.
1274 (cslow): use mynumber union.
1275
73616a74
AM
12762013-12-16 Allan McRae <allan@archlinux.org>
1277
9e8ac24b
AM
1278 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1279 * configure: Regenerated.
1280
6f8e37eb
AM
1281 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1282
8894bad3
AM
1283 [BZ #14120]
1284 * configure.ac: Added --enable-maintainer-mode. Check for
1285 autoconf when enabled.
1286 * configure: Regenerated.
1287
73616a74
AM
1288 * nscd/nscd.service: New file.
1289 * nscd/nscd.tmpfiles: New file.
1290
584b18eb
OB
12912013-12-14 Ondřej Bílka <neleai@seznam.cz>
1292
1293 [BZ #12100]
1294 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1295 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1296 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1297 (strstr): Add __strstr_sse2_unaligned ifunc.
1298 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1299 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1300 (strcasestr): Remove __strcasestr_sse42 ifunc.
1301 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1304
8a5c7897
KK
13052013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1306
1307 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1308 * sysdeps/sh/bits/fenv.h: ... here.
1309 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1310
fd712ef3
AZ
13112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1312
1313 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1314
42fcb46c
AZ
13152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1316
1317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1318 hypotf multiarch implementations.
1319 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1320 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1321 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1322 multiarch hypot for PPC64.
1323 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1324 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1325 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1326 multiarch hypotf for PPC64.
1327
83efded4
AZ
13282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1329
1330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1331 modff multiarch implementations.
1332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1335 multiarch modf for PPC64.
1336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1339 multiarch modff for PPC64.
1340
43e246d2
AZ
13412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342
1343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1344 and logl multiarch implementations.
1345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1348 multiarch logb for PPC64.
1349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1352 multiarch logb for PPC64.
1353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1356 multiarch logb for PPC64.
1357
8fdad123
AZ
13582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1359
1360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1361 isinff multiarch implementation.
1362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1363 file.
1364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1366 multiarch isinf for PPC64.
1367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1368 file.
1369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1370 multiarch isinff for PPC64.
1371
1481d706
AZ
13722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1373
1374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1375 finitef multiarch implementation.
1376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1377 file.
1378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1380 multiarch finite for PPC64.
1381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1382 file.
1383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1384 multiarch finitef for PPC64.
1385
5ccd5fc8
AZ
13862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1387
1388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1389 lrint multiarch implementation.
1390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1391 file.
1392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1394 multiarch llrint for PPC64.
1395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1396 multiarch lrint for PPC64.
1397
2568f3fa
AZ
13982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1399
1400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1401 copysignf multiarch implementation.
1402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1403 file.
1404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1405 file.
1406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1407 multiarch copysign for PPC64.
1408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1409 multiarch copysignf for PPC64.
1410
1cb341fd
AZ
14112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1412
1413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1414 multiarch implementation.
1415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1416 file.
1417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1418 file.
1419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1420 file.
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1422 file.
1423 multiarch llround for PPC64.
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1425 multiarch trunc for PPC64.
1426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1427 multiarch truncf for PPC64.
1428
59a3e194
AZ
14292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1430
1431 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1432 multiarch implementation.
1433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1434 file.
1435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1436 file.
1437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1438 file.
1439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1440 file.
1441 multiarch llround for PPC64.
1442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1443 multiarch round for PPC64.
1444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1445 multiarch roundf for PPC64.
1446
357fd3b4
AZ
14472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1448
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1450 multiarch implementation.
1451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1452 file.
1453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1454 file.
1455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1456 file.
1457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1458 file.
1459 multiarch llround for PPC64.
1460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1461 multiarch floor for PPC64.
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1463 multiarch floorf for PPC64.
1464
96770f12
AZ
14652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1466
1467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1468 multiarch implementation.
1469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1470 file.
1471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1472 file.
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1474 file.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1476 file.
1477 multiarch llround for PPC64.
1478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1479 multiarch ceil for PPC64.
1480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1481 multiarch ceilf for PPC64.
1482
c3627f6e
AZ
14832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1484
1485 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1486 multiarch implementation.
1487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1488 file.
1489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1490 file.
1491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1492 file.
1493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1494 multiarch llround for PPC64.
1495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1496 multiarch lround for PPC64.
1497
b2284ad7
AZ
14982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1499
1500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1501 multiarch implementation.
1502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1505 file.
1506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1509 multiarch isnan for PPC64.
1510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1511 multiarch isnanf for PPC64.
1512
69bbc63d
AZ
15132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1514
1515 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1516 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1517 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1518 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1519 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1521
c24517c9
AZ
15222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1523
1524 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1525 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1527 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1528
a52374e8
AZ
15292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1530
1531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1532 multiarch implementations.
1533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1534 (__libc_ifunc_impl_list): Likewise.
1535 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1536 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1537 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1538 multiarch stpcpy for PPC64.
1539
7f5ec113
AZ
15402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541
1542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1543 multiarch implementations.
1544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1545 (__libc_ifunc_impl_list): Likewise.
1546 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1547 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1548 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1549 multiarch strcpy for PPC64.
1550
e28bcd42
AZ
15512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1552
1553 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1554 redefine function name.
1555 (_wordcopy_fwd_dest_aligned): Likewise.
1556 (_wordcopy_bwd_aligned): Likewise.
1557 (_wordcopy_bwd_dest_aligned): Likewise.
1558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1559 multiarch implementations.
1560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1561 (__libc_ifunc_impl_list): Likewise.
1562 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1563 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1564 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1565 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1566 multiarch wcscpy for PPC64.
1567
92cacfce
AZ
15682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1569
1570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1571 multiarch implementations.
1572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1573 (__libc_ifunc_impl_list): Likewise.
1574 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1575 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1576 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1577 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1578 multiarch wcscpy for PPC64.
1579
7b714620
AZ
15802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581
1582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1583 multiarch implementations.
1584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1585 (__libc_ifunc_impl_list): Likewise.
1586 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1587 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1588 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1589 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1590 multiarch wcsrchr for PPC64.
1591
16fd2ae3
AZ
15922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1593
1594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1595 multiarch implementations.
1596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1597 (__libc_ifunc_impl_list): Likewise.
1598 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1599 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1600 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1601 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1602 multiarch wcschr for PPC64.
1603
9ee2969b
AZ
16042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1605
1606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1607 multiarch implementations.
1608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1609 (__libc_ifunc_impl_list): Likewise.
1610 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1611 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1612 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1613 multiarch strchrnul for PPC64.
1614
372dc060
AZ
16152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1616
1617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1618 implementations.
1619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1620 (__libc_ifunc_impl_list): Likewise.
1621 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1622 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1623 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1624 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1625 strchr for PPC64.
1626
24c2c3b9
AZ
16272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1628
1629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1630 implementations.
1631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1632 (__libc_ifunc_impl_list): Likewise.
1633 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1634 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1635 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1636 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1637 strncmp for PPC64.
1638
1c92d9a0
AZ
16392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1640
1641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1642 multiarch implementations.
1643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1644 (__libc_ifunc_impl_list): Likewise.
1645 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1646 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1647 strncasecmp for PPC64.
1648 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1649 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1650 multiarch strncasecmp_l for PPC64.
1651
17de3ee3
AZ
16522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1653
1654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1655 multiarch implementations.
1656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1657 (__libc_ifunc_impl_list): Likewise.
1658 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1659 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1660 multiarch strcasecmp for PPC64.
1661 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1662 file.
1663 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1664 multiarch strcasecmp_l for PPC64.
1665
62982bf9
AZ
16662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1667
1668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1669 implementations.
1670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1671 (__libc_ifunc_impl_list): Likewise.
1672 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1673 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1674 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1675 strnlen for PPC64.
1676
a65f4904
AZ
16772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1678
1679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1680 implementations.
1681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1682 (__libc_ifunc_impl_list): Likewise.
1683 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1684 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1685 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1686 strlen for PPC64.
1687
1fd005ad
AZ
16882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1689
1690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1691 implementations.
1692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1693 (__libc_ifunc_impl_list): Likewise.
1694 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1695 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1696 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1697 rawmemrchr for PPC64.
1698
cd05ba91
AZ
16992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1700
1701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1702 implementation.
1703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1704 (__libc_ifunc_impl_list): Likewise.
1705 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1706 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1707 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1708 memrchr for PPC64.
1709
870f8676
AZ
17102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1711
1712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1713 implementation.
1714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1715 (__libc_ifunc_impl_list): Likewise.
1716 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1717 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1718 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1719 memchr for PPC64.
1720
f00be62b
AZ
17212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1722
1723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1724 implementation.
1725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1726 (__libc_ifunc_impl_list): Likewise.
1727 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1728 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1729 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1730 mempcpy for PPC64.
1731
8a29a3d0
AZ
17322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1733
1734 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1735 avoid cretion of __bzero symbol.
1736 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1737 Likewise.
1738 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1739 Likewise.
1740 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1741 Likewise.
1742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1743 multiarch implementations.
1744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1745 (__libc_ifunc_impl_list): Likewise.
1746 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1747 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1748 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1749 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1750 bzero for PPC32.
1751 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1752 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1753 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1754 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1755 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1756 memset for PPC64.
1757 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1758
07253fcf
AZ
17592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1760
1761 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1763 implementations.
1764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1765 (__libc_ifunc_impl_list): Likewise.
1766 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1767 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1768 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1769 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1770 memcmp for PPC64.
1771
b5beafbc
AZ
17722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1773
1774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1775 multiarch for POWER/PPC64.
1776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1777 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1778 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1779 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1780 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1781 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1782 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1783 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1784 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1785 memcpy for PPC64.
1786
5e6a4d4b
AZ
17872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1788
1789 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1790 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1791 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1792 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1793 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1794 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1795 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1796 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1797 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1798 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1799 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1800 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1801 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1802 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1803 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1811
ddfab6dc
KK
18122013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1813
1814 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1815
19b5525e
SP
18162013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1817
1818 * benchtests/Makefile (bench): Add exp2 and log2.
1819 (LDLIBS-bench-exp2): Add -lm.
1820 (LDLIBS-bench-log2): Likewise.
1821 * benchtests/exp2-inputs: New inputs file.
1822 * benchtests/log2-inputs: New inputs file.
1823 * benchtests/log-inputs: Add new inputs.
1824 * benchtests/tan-inputs: Likewise.
1825
196f7f5d
SP
18262013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1827
7a74607f
SP
1828 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1829 definition...
1830 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1831 csloww1, csloww2): ... from here.
1832
196f7f5d
SP
1833 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1834 instead of structures.
1835 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1836 (POLYNOMIAL): Likewise.
1837 (TAYLOR_SLOW): Likewise.
1838 (__sin): Likewise.
1839 (__cos): Likewise.
1840 (slow1): Likewise.
1841 (slow2): Likewise.
1842 (sloww): Likewise.
1843 (sloww1); Likewise.
1844 (sloww2): Likewise.
1845 (bsloww1): Likewise.
1846 (bsloww2): Likewise.
1847 (cslow2): Likewise.
1848 (csloww): Likewise.
1849 (csloww1): Likewise.
1850 (csloww2): Likewise.
1851
0dfa665c
OB
18522013-12-10 Ondřej Bílka <neleai@seznam.cz>
1853
1854 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1855 (__malloc_assert, __libc_realloc, __libc_calloc,
1856 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1857 memcpy and memset.
1858 * malloc/hooks.c (realloc_check): Likewise.
1859
5782a80f
OB
18602013-12-10 Ondřej Bílka <neleai@seznam.cz>
1861
1862 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1863 * malloc/arena.c: Remove PER_THREAD conditional.
1864 [!PER_THREAD]: Remove code.
1865 (ptmalloc_unlock_all2): Likewise.
1866 (ptmalloc_init): Likewise.
1867 (_int_new_arena): Likewise.
1868 (arena_get2): Likewise.
1869 * malloc/hooks.c (__malloc_get_state): Likewise.
1870 (__malloc_set_state): Likewise.
1871 * malloc/malloc.c: Likewise.
1872 (struct malloc_state): Likewise.
1873 (struct malloc_par): Likewise.
1874 (__libc_realloc): Likewise.
1875 (__libc_mallopt): Likewise.
1876
aeb95445
AZ
18772013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1878
1879 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1880
e8349efd
OB
18812013-12-09 Ondřej Bílka <neleai@seznam.cz>
1882
1883 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1884 macro to a function. Check for zero perturb_byte.
1885 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1886
f3eeb3fc
OB
18872013-12-09 Ondřej Bílka <neleai@seznam.cz>
1888
1889 * malloc/malloc.c: (force_reg): Remove.
1890 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1891 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1892 force_reg by atomic_forced_read.
1893 * malloc/arena.c (ptmalloc_init): Likewise.
1894 * malloc/hooks.c (top_check): Likewise.
1895
be2f9009
AZ
18962013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1897
1898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1899
e7b914bd
MT
19002013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1901
1902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1903
9f0be4f8
JM
19042013-12-08 Joseph Myers <joseph@codesourcery.com>
1905
1906 * math/auto-libm-test-in: Add tests of lgamma.
1907 * math/auto-libm-test-out: Regenerated.
1908 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1909 (M_LOG_2_SQRT_PIl): Likewise.
1910 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1911 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1912 mpfr_f_f1.
1913 (func_calc_desc): Add mpfr_f_f1 union field.
1914 (ARGS1): New macro.
1915 (ARGS2): Likewise.
1916 (ARGS3): Likewise.
1917 (ARGS4): Likewise.
1918 (RET1): Likewise.
1919 (RET2): Likewise.
1920 (CALC): Likewise.
1921 (FUNC): Likewise.
1922 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1923 (test_functions): Add lgamma.
1924 (calc_generic_results): Handle mpfr_f_f1.
1925 * sysdeps/i386/fpu/libm-test-ulps: Update.
1926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1927
24eeafdb
AZ
19282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1929
1930 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1931 __mpn_add_n for PowerPC64/POWER7.
1932 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1933 __mpn_sub_n for PowerPC64/POWER7.
1934
4a2c0fd4
AZ
19352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1936
1937 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1938 __mpn_addmul_1 for PowerPC64.
1939 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1940 __mpn_submul_1 for PowerPC64.
1941 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1942 for PowerPC64.
1943 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1944 for PowerPC64.
1945
4b5b548c
FS
19462013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1947
1948 [BZ #15089]
1949 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1950
0a3ac0aa
AZ
19512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1952
1953 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1954
ccdc8438
AZ
19552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1956
1957 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1958 add multiarch folders.
1959 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1960 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1961 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1962 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1963 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1964 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1965 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1966 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1967 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1968 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1969 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1976
2e973d99
AZ
19772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1978
1979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1980 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1982 New file.
1983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1984 New file.
1985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1986 multiarch __ieee754_hypot for PowerPC32.
1987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1988 New file.
1989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1990 New file.
1991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1992 multiarch __ieee754_hypotf for PowerPC32.
1993
2d9470b2
AZ
19942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1995
1996 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1997 long_double_symbol only if __logbl is defined.
1998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1999 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2001 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2002 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2003 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2004 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2005 path for implementation.
2006 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2007 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2009 logb, and logbl multiarch implementations for PowerPC32.
2010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2011 file.
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2013 file.
2014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2015 multiarch logb for PowerPC32.
2016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2017 file.
2018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2019 file.
2020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2021 multiarch logbf for PowerPC32.
2022 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2024 file.
2025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2026 multiarch logbl implementation for PowerPC32.
2027
5212ffce
AZ
20282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2029
2030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2031 and modff multiarch implementations.
2032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2033 New file.
2034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2035 New file.
2036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2037 multiarch modf for PowerPC32.
2038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2039 New file.
2040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2041 New file.
2042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2043 multiarch modff for PowerPC32.
2044
79dccf31
AZ
20452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2046
2047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2048 and lrintf multiarch implementations.
2049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2050 New file.
2051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2052 New file.
2053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2054 multiarch lrint for PowerPC32.
2055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2056 file: multiarch lrintf for PowerPC32.
2057
deb66480
AZ
20582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2059
2060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2061 and lroundf multiarch implementations.
2062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2063 New file.
2064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2065 New file.
2066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2067 New file.
2068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2069 multiarch lround for PowerPC32.
2070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2071 file: multiarch lroundf for PowerPC32.
2072
264b036b
AZ
20732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074
2075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2076 copysign and copysignf multiarch implementations.
2077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2078 New file.
2079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2080 New file.
2081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2082 file: multiarch copysign for PowerPC32.
2083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2084 file: multiarch copysignf for PowerPC32.
2085
d47db6c9
AZ
20862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2087
2088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2089 and truncf multiarch implementations.
2090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2091 New file.
2092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2093 file.
2094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2095 multiarch trunc for PowerPC32.
2096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2097 New file.
2098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2099 New file.
2100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2101 multiarch truncf for PowerPC32.
2102
ddb60b5a
AZ
21032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2104
2105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2106 and roundf multiarch implementations.
2107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2108 New file.
2109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2110 file.
2111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2112 multiarch round for PowerPC32.
2113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2114 New file.
2115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2116 New file.
2117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2118 multiarch roundf for PowerPC32.
2119
bedcf49b
AZ
21202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2121
2122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2123 and floorf multiarch implementations.
2124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2125 New file.
2126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2127 file.
2128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2129 multiarch floor for PowerPC32.
2130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2131 New file.
2132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2133 New file.
2134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2135 multiarch floorf for PowerPC32.
2136
35ae5b40
AZ
21372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2138
2139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2140 and ceilf multiarch implementations.
2141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2142 New file.
2143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2144 file.
2145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2146 multiarch ceil for PowerPC32.
2147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2148 New file.
2149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2150 file.
2151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2152 multiarch ceilf for PowerPC32.
2153
ae1a4cd9
AZ
21542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2155
2156 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2157 is defined.
2158 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2159 FINITEF is defined.
2160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2161 and finitef multiarch implementations.
2162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2163 New file.
2164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2165 file.
2166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2167 multiarch finite for PowerPC32.
2168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2169 New file.
2170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2171 file: multiarch finitef for PowerPC32.
2172
64fffd65
AZ
21732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2174
2175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2176 and isinff multiarch implementations.
2177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2178 file.
2179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2180 file.
2181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2182 multiarch isinf for PowerPC32.
2183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2184 New file.
2185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2186 multiarch isinff for PowerPC32.
2187
8e4e7ba2
AZ
21882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2189
2190 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2191 alias when __isnan is defined.
2192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2193 and isnanf multiarch implementations.
2194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2195 file.
2196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2197 file.
2198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2199 file.
2200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2201 file.
2202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2203 multiarch isnan for PowerPC32.
2204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2205 New file.
2206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2207 New file.
2208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2209 multiarch isnanf for PowerPC32.
2210
ddba588e
AZ
22112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2212
2213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2214 and sqrtf multiarch implementations.
2215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2216 file.
2217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2218 file.
2219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2220 multiarch sqrt for PowerPC32.
2221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2222 file.
2223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2224 file.
2225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2226 multiarch sqrtf for PowerPC32.
2227
0f96a2f0
AZ
22282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2229
2230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2231 and llroundf multiarch implementations.
2232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2233 New file.
2234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2235 New file.
2236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2237 New file.
2238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2239 file: multiarch llround for PowerPC32.
2240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2241 file: multiarch llroundf for PowerPC32.
2242
c9b5d79e
AZ
22432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2244
2245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2246 multiarch PowerPC32 fpu implementations.
2247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2248 New file.
2249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2250 New file.
2251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2252 multiarch llrint for PowerPC32.
2253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2254 New file.
2255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2256 New file.
2257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2258 file.
2259
9cbb3aab
AZ
22602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2261
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2263
ea5a72f8
AZ
22642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2265
2266 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2267 file.
2268 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2269 file.
2270 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2271 file.
2272 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2273 multiarch wordcopy for PPC32.
2274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2275 wordcopy objects.
2276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2277 (__libc_ifunc_impl_list): Likewise.
2278 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2279 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2280 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2281 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2282 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2283 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2284
93be09e7
AZ
22852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2286
2287 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2289 file.
2290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2291 file.
2292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2293 file.
2294 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2295 multiarch wcscpy for PPC32.
2296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2297 multiarch objects.
2298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2299 (__libc_ifunc_impl_list): Likewise.
2300 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2301 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2302 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2303 sysdeps/powerpc/power6/wcscpy.c.
2304
bb04e529
AZ
23052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2306
2307 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2309 file.
2310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2311 file.
2312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2313 file.
2314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2315 multiarch wcsrchr for PPC32.
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2317 multiarch objects.
2318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2319 (__libc_ifunc_impl_list): Likewise.
2320 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2321 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2322 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2323 sysdeps/powerpc/power6/wcsrchr.c.
2324
05b5cd1c
AZ
23252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2326
2327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2328 file.
2329 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2330 file.
2331 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2333 multiarch wcschr for PPc32.
2334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2335 multiarch objects.
2336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2337 (__libc_ifunc_impl_list): Likewise.
2338 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2339 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2340 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2341 sysdeps/powerpc/power6/wcschr.c.
2342
ba964147
AZ
23432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2344
2345 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2346 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2347 file.
2348 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2349 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2350 file: multiarch strchr for PPC32.
2351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2352 multiarch objects.
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2354 (__libc_ifunc_impl_list): Likewise.
2355
31c81aaa
AZ
23562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2357
2358 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2359 name.
2360 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2361 file.
2362 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2363 file.
2364 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2365 multiarch strchrnul for PPC32.
2366 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2367 multiarch objects.
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2369 (__libc_ifunc_impl_list): Likewise.
2370
0d0607d9
AZ
23712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2372
2373 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2374 file.
2375 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2376 multiarch strncasecmp for PPC32.
2377 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2378 file.
2379 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2380 multiarch strncasecmp_l for PPC32.
2381 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2382 strncasecmp multiarch objects.
2383 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2384 (__libc_ifunc_impl_list): Likewise.
2385
4dfd5c86
AZ
23862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2387
2388 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2389 file.
2390 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2391 multiarch strncasecmp for PPC32.
2392 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2393 New file.
2394 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2395 multiarch strcasecmp_l for PPC32.
2396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2397 multiarch objects.
2398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2399 (__libc_ifunc_impl_list): Likewise.
2400
a19e01a3
AZ
24012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2402
2403 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2404 file.
2405 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2406 file.
2407 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2408 multiarch strncmp for PPC32.
2409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2410 multiarch objects.
2411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2412 (__libc_ifunc_impl_list): Likewise.
2413
ae9cf7a2
AZ
24142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2415
2416 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2417 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2418 file.
2419 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2420 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2421 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2422 multiarch objects.
2423 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2424 (__libc_ifunc_impl_list): Likewise.
2425
3148bb7d
AZ
24262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2427
2428 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2429 file.
2430 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2431 file.
2432 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2434 multiarch objects.
2435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2436 (__libc_ifunc_impl_list): Likewise.
2437
7af8b946
AZ
24382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2439
2440 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2441 file.
2442 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2443 file.
2444 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2445 multiarch rawmemchr for PPC32.
2446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2447 multiarch objects.
2448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2449 (__libc_ifunc_impl_list): Likewise.
2450
03a6aa6a
AZ
24512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2452
2453 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2454 file.
2455 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2456 file.
2457 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2458 file: memrchr multiarch for PPC32.
2459 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2460 multiarch objects.
2461 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2462 (__libc_ifunc_impl_list): Likewise.
2463
1c62e6d9
AZ
24642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2465
2466 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2467 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2468 file.
2469 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2470 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2471 multiarch memchr for PPC32.
2472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2473 multiarch objects.
2474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2475 (__libc_ifunc_impl_list): Likewise.
2476
87da8bdb
AZ
24772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2478
2479 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2480 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2481 file.
2482 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2483 file.
2484 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2485 file: multiarch mempcpy for PPC32.
2486 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2487 multiarch objects.
2488 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2489 (__libc_ifunc_impl_list): Likewise.
2490
20ed4714
AZ
24912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2492
2493 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2494 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2495 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2496 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2497 multiarch bzero for PPC32.
2498 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2499 file.
2500 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2501 file.
2502 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2503 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2504 file: multiarch memset for PPC32.
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2507 memset multiarch objects.
2508 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2509 (__libc_ifunc_impl_list): Likewise.
2510
ab3e3a46
AZ
25112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2512
2513 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2514 file.
2515 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2516 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2517 memcmp for PPC32.
2518 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2520 multiarch objects.
2521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2522 (__libc_ifunc_impl_list): Likewise.
2523
930de6f0
AZ
25242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2525
2526 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2527 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2528 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2529 file.
2530 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2531 file.
2532 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2533 file.
2534 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2535 multiarch memcpy for PPC32.
2536 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2537 multiarch objects.
2538 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2539 (__libc_ifunc_impl_list): Likewise.
2540
4c628e00
AZ
25412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2542
2543 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2544 support multiarch for POWER/PPC32.
2545 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2546 Likewise.
2547 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2549 Implies file to make multiarch folder appers before the fpu and
2550 default folder for power4 configuration.
2551
f4479220
SP
25522013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2553
2554 * scripts/bench.pl: Append volatile keyword to type.
2555
8517800f
KK
25562013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2557
2558 * sysdeps/sh/sotruss-lib.c: New file.
2559 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2560
180138f1
AZ
25612013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2562
2563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2564
bbf37bdc
JM
25652013-12-05 Joseph Myers <joseph@codesourcery.com>
2566
e47cc4e0
JM
2567 [BZ #6810]
2568 * math/w_tgamma.c: Include <errno.h>.
2569 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2570 * math/w_tgammaf.c: Include <errno.h>.
2571 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2572 * math/w_tgammal.c: Include <errno.h>.
2573 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2574 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2575 underflow. Add more tgamma tests.
2576 * math/auto-libm-test-out: Regenerated.
2577 * sysdeps/i386/fpu/libm-test-ulps: Update.
2578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2579
bbf37bdc
JM
2580 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2581 sin, sinh, tan, tanh, tgamma, y0 and y1.
2582 * math/auto-libm-test-out: Regenerated.
2583 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2584 (TEST_COND_x86): Likewise.
2585 (M_E2l): Remove macro.
2586 (M_E3l): Likewise.
2587 (M_2_SQRT_PIl): Likewise.
2588 (M_SQRT_PIl): Likewise.
2589 (M_1_DIV_El): Likewise.
2590 (log_test_data): Use AUTO_TESTS_f_f.
2591 (log10_test_data): Likewise.
2592 (log1p_test_data): Likewise.
2593 (log2_test_data): Likewise.
2594 (sin_test_data): Likewise.
2595 (sin_tonearest_test_data): Likewise.
2596 (sin_towardzero_test_data): Likewise.
2597 (sin_downward_test_data): Likewise.
2598 (sin_upward_test_data): Likewise.
2599 (sinh_test_data): Likewise.
2600 (sinh_tonearest_test_data): Likewise.
2601 (sinh_towardzero_test_data): Likewise.
2602 (sinh_downward_test_data): Likewise.
2603 (sinh_upward_test_data): Likewise.
2604 (tan_test_data): Likewise.
2605 (tan_tonearest_test_data): Likewise.
2606 (tan_towardzero_test_data): Likewise.
2607 (tan_downward_test_data): Likewise.
2608 (tan_upward_test_data): Likewise.
2609 (tanh_test_data): Likewise.
2610 (tgamma_test_data): Likewise.
2611 (y0_test_data): Likewise.
2612 (y1_test_data): Likewise.
2613 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2614 (special_real_inputs): Add pi/4.
2615 * sysdeps/i386/fpu/libm-test-ulps: Update.
2616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2617
eb5ad6b9
AZ
26182013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2619
2620 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2621 "longjmp_target" static probes.
2622 (__longjmp): Rename to __longjmp_symbol.
2623 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2624 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2625 on which longjmp to generate.
2626 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2627 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2628 probe.
2629 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2630 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2631 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2632 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2633 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2634 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2636 __longjmp_symbol based on which __longjmp to generate.
2637 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2638 probe.
2639 (setjmp): Rename to setjmp_symbol.
2640 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2641 (_setjmp): Rename to _setjmp_symbol.
2642 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2643 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2644 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2645 which setjmp to generate.
2646 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2647 "longjmp_target" static probes.
2648
d136c6dc
SP
26492013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2650
9298ecba
SP
2651 * benchtests/README: Add note about output arguments.
2652 * benchtests/bench-sincos.c: Remove file.
2653 * benchtests/sincos-inputs: New file.
2654 * scripts/bench.pl: Identify output arguments and define
2655 static variables for them.
2656
232983e9
SP
2657 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2658
d136c6dc
SP
2659 [BZ #15941]
2660 * Makefile (INSTALL): Add install-plain.texi as the primary
2661 dependency.
2662 * manual/install-plain.texi: New file.
2663 * manual/install.texi: Include node directive only for
2664 non-plaintext output.
2665
699ff837
JM
26662013-12-04 Joseph Myers <joseph@codesourcery.com>
2667
ab07cea8
JM
2668 * stdlib/longlong.h: Update from GCC.
2669
699ff837
JM
2670 [BZ #6807]
2671 [BZ #15901]
2672 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2673 * math/w_j0f.c (y0f): Likewise.
2674 * math/w_j0l.c (__y0l): Likewise.
2675 * math/w_j1.c (y1): Likewise.
2676 * math/w_j1f.c (y1f): Likewise.
2677 * math/w_j1l.c (__y1l): Likewise
2678 * math/w_jn.c (yn): Likewise.
2679 * math/w_jnf.c (ynf): Likewise.
2680 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2681 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2682 value for Bessel function domain errors outside _SVID_ mode.
2683 Adjust sign of return value for yn (negative integer, 0).
2684 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2685 by zero in return for negative x and set sign appropriately for
2686 negative n.
2687 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2688 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2689 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2690 expectations in error cases.
2691 (y1_test_data): Likewise.
2692 (yn_test_data): Likewise.
2693 * sysdeps/i386/fpu/libm-test-ulps: Update.
2694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2695
5b118558
UW
26962013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2697
2698 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2699 "64" to "64-v1". Add "64-v2".
2700 (abi-64-options): Rename to ...
2701 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2702 (abi-64-condition): Rename to ...
2703 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2704 (abi-64-ld-soname): Rename to ...
2705 (abi-64-v1-ld-soname): ... this.
2706 (abi-64-v2-options): Define.
2707 (abi-64-v2-condition): Likewise.
2708 (abi-64-v2-ld-soname): Likewise.
2709 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2710 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2714
61cd8fe4
UW
27152013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2716 Alan Modra <amodra@gmail.com>
2717
2718 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2719 New versions for use with the ELFv2 ABI.
2720 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2721 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2722 declaration.
2723 (struct La_ppc64v2_retval): Likewise.
2724 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2725 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2726 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2727 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2728 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2730 Do not save or restore CR.
2731 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2732 (_dl_profile_resolve): Do no save or restore CR. Support extended
2733 return values for ELFv2 ABI. Fix location of FPR return registers.
2734 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2735 updated values for _CALL_ELF == 2.
2736 (La_regs, La_retval, int_retval): Likewise.
2737
8b8a692c
UW
27382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2739
2740 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2741 (FRAME_MIN_SIZE_PARM): Likewise.
2742 (FRAME_BACKCHAIN): Likewise.
2743 (FRAME_CR_SAVE): Likewise.
2744 (FRAME_LR_SAVE): Likewise.
2745 (FRAME_TOC_SAVE): Likewise.
2746 (FRAME_PARM_SAVE): Likewise.
2747 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2748 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2749 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2750 (call_mcount_parm_offset): New macro.
2751 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2752 (PROF): Use symbolic stack frame offsets.
2753 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2755 Redefine in terms of FRAME_MIN_SIZE.
2756 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2757 (_dl_profile_resolve): Likewise. Update comment.
2758 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2759 symbols stack frame offsets.
2760 (__sigsetjmp): Likewise.
2761 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2762 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2763 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2764 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2765
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2767 (FRAME_BACKCHAIN): Remove.
2768 (FRAME_CR_SAVE): Likewise.
2769 (FRAME_LR_SAVE): Likewise.
2770 (FRAME_COMPILER_DW): Likewise.
2771 (FRAME_LINKER_DW): Likewise.
2772 (FRAME_TOC_SAVE): Likewise.
2773 (FRAME_PARM_SAVE): Likewise.
2774 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2775 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2776 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2778 (CHECK_SP): Use symbolic stack frame offsets.
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2780 zone" instead of caller's parameter save area for temp storage.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2782 Likewise. Also, use symbolic stack frame offsets.
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2784 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2785 our own stack frame instead of the caller's.
2786 (__socket): Use symbolic stack frame offsets.
2787
122b66de
UW
27882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2789 Alan Modra <amodra@gmail.com>
2790
2791 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2792 Define.
2793 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2794 PPC64_LOCAL_ENTRY_OFFSET): Define.
2795 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2796 New function.
2797 (elf_machine_fixup_plt): Call it.
2798 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2799 reloc arguments.
2800 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2801 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2802 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2803 r2 before calling target.
2804
696caf1d
UW
28052013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2806 Alan Modra <amodra@gmail.com>
2807
2808 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2809 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2810 versions of macros to support ELFv2 ABI.
2811 (LOCALENTRY): New macro.
2812 (ENTRY, EALIGN): Use it.
2813 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2814 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2815 fall through into ENTRY entry point.
2816 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2817 Only define if _CALL_ELF != 2.
2818
2819 (elf_machine_matches_host): Verify ABI version matches.
2820 (RTLD_START): Use LOCALENTRY.
2821 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2822 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2823 (PLT_ENTRY_WORDS): New macro.
2824 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2825 (elf_machine_runtime_setup): Support ELFv2 ABI.
2826 (elf_machine_fixup_plt): Likewise.
2827 (elf_machine_plt_conflict): Likewise.
2828 (resolve_ifunc): Likewise.
2829 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2830 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2831 Likewise.
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2833 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2835 (makecontext): Support ELFv2 ABI.
2836 * elf/elf.h (EF_PPC64_ABI): Define.
2837
d31beafa
UW
28382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2839
2840 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2841 New assembler macro.
2842 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2843 [ASSEMBLER] (ENTRY): ... but instead here ...
2844 [ASSEMBLER] (EALIGN): ... and here.
2845 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2846 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2847 [!ASSEMBLER] (ENTRY_2): Use it.
2848 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2849 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2850 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2851 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2852 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2854 Use PPC64_LOAD_FUNCPTR.
2855
b525166b
UW
28562013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2857
2858 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2859
7ec07d9a
AM
28602013-12-04 Alan Modra <amodra@gmail.com>
2861
2862 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2863 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2864 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2865 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2866
2867 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2868 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2869 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2870 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2871 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2872 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2873
5162e7dd
UW
28742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2875
2876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2877 (__makecontext): Fix incorrect CFI when backtracing out of
2878 context created via makecontext.
2879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2880 (__setcontext): Fix incorrect CFI during switch to new context.
2881 (__novec_setcontext): Likewise.
2882
19e3372b
OB
28832013-12-04 Ondřej Bílka <neleai@seznam.cz>
2884
2885 [BZ #4772]
2886 * time/strptime_l.c (__strptime_internal): Allow modifiers
2887 in strptime.
2888 * time/tst-strptime.c (day_tests): Add testcase.
2889
2890
ecaf142d
SP
28912013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2892
2893 * scripts/bench.pl: Skip over blank lines.
2894
fbf964ae
PE
28952013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2896
2897 [BZ #926]
2898 * manual/time.texi (Calendar Time): Clarify what timezone functions
2899 use.
2900
fa60a674
AZ
29012013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2902
2903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2904
d674f0ef
OB
29052013-12-04 Ondřej Bílka <neleai@seznam.cz>
2906
2907 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2908 implementation.
2909 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2910 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2911 * debug/memset_chk.c (__memset_chk): Likewise.
2912 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2913 * debug/strncpy_chk.c: Likewise.
2914
17dea188
JM
29152013-12-03 Joseph Myers <joseph@codesourcery.com>
2916
749008ff
JM
2917 [BZ #15268]
2918 [BZ #15425]
2919 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2920 (__ieee754_exp): For possibly underflowing results, check size of
2921 result and force underflow exception if required.
2922 * math/auto-libm-test-in: Add more tests of exp.
2923 * math/auto-libm-test-out: Regenerated.
2924 * sysdeps/i386/fpu/libm-test-ulps: Update.
2925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2926
17dea188
JM
2927 [BZ #16283]
2928 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2929 * math/w_exp2f.c (__exp2f): Likewise.
2930 * math/w_exp2l.c (__exp2l): Likewise.
2931 * math/auto-libm-test-in: Do not allow missing errno on exp2
2932 underflow.
2933 * math/auto-libm-test-out: Regenerated.
2934
b20de2c3
OB
29352013-12-03 Ondřej Bílka <neleai@seznam.cz>
2936
2937 [BZ #16274]
2938 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2939 handle filename validation.
2940 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2941 (do_open): Delete.
2942
d8e2dbe3
JM
29432013-12-03 Joseph Myers <joseph@codesourcery.com>
2944
34e16df5
JM
2945 [BZ #6786]
2946 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2947 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2948 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2949 <float.h>.
2950 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2951 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2952 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2953 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2954 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2955 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2956 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2957 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2958 Add more erfc tests.
2959 * math/auto-libm-test-out: Regenerated.
2960 * sysdeps/i386/fpu/libm-test-ulps: Update.
2961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2962
d8e2dbe3
JM
2963 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2964 exp2, expm1, j0 and j1.
2965 * math/auto-libm-test-out: Regenerated.
2966 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2967 (erfc_test_data): Likewise.
2968 (exp_test_data): Likewise.
2969 (exp_tonearest_test_data): Likewise.
2970 (exp_towardzero_test_data): Likewise.
2971 (exp_downward_test_data): Likewise.
2972 (exp_upward_test_data): Likewise.
2973 (exp10_test_data): Likewise.
2974 (exp2_test_data): Likewise.
2975 (expm1_test_data): Likewise.
2976 (j0_test_data): Likewise.
2977 (j1_test_data): Likewise.
2978 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2979 (input_flag_type): Add flag_xfail_rounding.
2980 (input_flags): Add xfail-rounding.
2981 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2982 (output_for_one_input_case): Handle flag_xfail_rounding.
2983 * sysdeps/i386/fpu/libm-test-ulps: Update.
2984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2985
18d14251
AJ
29862013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2987
3d2e6075 2988 [BZ #16289]
18d14251
AJ
2989 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2990 division by 0.
2991
520d437b
SP
29922013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2993
2994 [BZ #16195]
2995 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2996 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2997 (STAP_PROBE0): New macro.
2998 (STAP_PROBE1): Likewise.
2999 (STAP_PROBE2): Likewise.
3000 (STAP_PROBE3): Likewise.
3001 (STAP_PROBE4): Likewise.
3002
416e0145
OB
30032013-12-02 Ondřej Bílka <neleai@seznam.cz>
3004
3005 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3006
9d17796a
SE
30072013-12-02 Steve Ellcey <sellcey@mips.com>
3008
3009 * benchtests/Makefile (bench): Add sqrt.
3010 (LDLIBS-bench-sqrt): New.
3011 * benchtests/sqrt-input: New.
3012
f524d6a8
PS
30132013-12-02 Pavel Simerda <psimerda@redhat.com>
3014
639a0ef8
PS
3015 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3016 (GAIH_EAI): Likewise.
3017 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3018 (gaih_inet): Likewise.
3019 (getaddrinfo): Don't use GAIH_EAI.
3020
f524d6a8
PS
3021 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3022 (struct gaih): Remove definition.
3023
df3aedaf
SP
30242013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3025
3026 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3027 Use HERRNOP directly.
3028
1ab19dec
AZ
30292013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3030
b42ad38d 3031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 3032
176b0c79
JM
30332013-11-30 Joseph Myers <joseph@codesourcery.com>
3034
3035 * math/gen-auto-libm-tests.c (test_functions): Add more
3036 single-argument functions.
3037 (special_fill_pi_2): New function.
3038 (special_fill_minus_pi_2): Likewise.
3039 (special_fill_pi_6): Likewise.
3040 (special_fill_minus_pi_6): Likewise.
3041 (special_fill_pi_3): Likewise.
3042 (special_fill_2pi_3): Likewise.
3043 (special_fill_e): Likewise.
3044 (special_fill_1_e): Likewise.
3045 (special_fill_e_minus_1): Likewise.
3046 (special_real_inputs): Add more special inputs.
3047 (output_for_one_input_case): Do not require ERANGE on underflow to
3048 zero if round-to-nearest result does not underflow to zero, unless
3049 exact results required.
3050 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3051 atan, atanh, cbrt, cos and cosh.
3052 * math/auto-libm-test-out: Regenerated.
3053 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3054 (acos_tonearest_test_data): Likewise.
3055 (acos_towardzero_test_data): Likewise.
3056 (acos_downward_test_data): Likewise.
3057 (acos_upward_test_data): Likewise.
3058 (acosh_test_data): Likewise.
3059 (asin_test_data): Likewise.
3060 (asin_tonearest_test_data): Likewise.
3061 (asin_towardzero_test_data): Likewise.
3062 (asin_upward_test_data): Likewise.
3063 (asinh_test_data): Likewise.
3064 (atan_test_data): Likewise.
3065 (atanh_test_data): Likewise.
3066 (cbrt_test_data): Likewise.
3067 (cos_test_data): Likewise.
3068 (cos_tonearest_test_data): Likewise.
3069 (cos_towardzero_test_data): Likewise.
3070 (cos_downward_test_data): Likewise.
3071 (cos_upward_test_data): Likewise.
3072 (cosh_test_data): Likewise.
3073 (cosh_tonearest_test_data): Likewise.
3074 (cosh_towardzero_test_data): Likewise.
3075 (cosh_downward_test_data): Likewise.
3076 (cosh_upward_test_data): Likewise.
3077 * sysdeps/i386/fpu/libm-test-ulps: Update.
3078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3079
ffb536d0
JM
30802013-11-29 Joseph Myers <joseph@codesourcery.com>
3081
2a77a467
JM
3082 [BZ #6787]
3083 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3084 * math/w_exp10f.c (__exp10f): Likewise.
3085 * math/w_exp10l.c (__exp10l): Likewise.
3086 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3087 errno settings in existing tests.
3088
ea3bc4e8
JM
3089 [BZ #14032]
3090 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3091 precision control set to double precision.
3092 * sysdeps/i386/fpu/w_sqrt.c: New file.
3093 * math/auto-libm-test-in: Add more tests.
3094 * math/auto-libm-test-out: Update.
3095
0712c9d8
JM
3096 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3097 (sqrt_test_tonearest): New function.
3098 (sqrt_towardzero_test_data): New variable.
3099 (sqrt_test_towardzero): New function.
3100 (sqrt_downward_test_data): New variable.
3101 (sqrt_test_downward): New function.
3102 (sqrt_upward_test_data): New variable.
3103 (sqrt_test_upward): New function.
3104 (main): Call the new functions.
3105
ffb536d0
JM
3106 * math/gen-auto-libm-tests.c: New file.
3107 * math/auto-libm-test-in: Likewise.
3108 * math/auto-libm-test-out: New generated file.
3109 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3110 variables.
3111 (%beautify): Add generated representations of zero.
3112 (top level): Set $auto_input and call parse_auto_input.
3113 (beautify): Remove trailing "f" from hex float constants.
3114 (parse_args): Handle XFAIL_TEST.
3115 (convert_condition): New function.
3116 (or_value): Likewise.
3117 (or_cond_value): Likewise.
3118 (generate_testfile): Handle AUTO_TESTS_* lines.
3119 (parse_auto_input): New function.
3120 * math/libm-test.inc (XFAIL_TEST): New macro.
3121 (ERRNO_UNCHANGED): Update value.
3122 (ERRNO_EDOM): Likewise.
3123 (ERRNO_ERANGE): Likewise.
3124 (IGNORE_RESULT): Likewise.
3125 (TEST_COND_flt_32): New macro.
3126 (TEST_COND_dbl_64): Likewise.
3127 (TEST_COND_ldbl_96_intel): Likewise.
3128 (TEST_COND_ldbl_96_m68k): Likewise.
3129 (TEST_COND_ldbl_128): Likewise.
3130 (TEST_COND_ldbl_128ibm): Likewise.
3131 (TEST_COND_long32): Likewise.
3132 (TEST_COND_long64): Likewise.
3133 (TEST_COND_before_rounding): Likewise.
3134 (TEST_COND_after_rounding): Likewise.
3135 (enable_test): Handle XFAIL_TEST flag.
3136 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3137 with finite results.
3138 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3139 auto-libm-test-out.
3140
acd98a8e
AK
31412013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3142 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3143
3144 [BZ #16214]
3145 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3146 __tls_get_addr_internal instead of __tls_get_offset in order to
3147 avoid GOT pointer dependency. Make rtld export
3148 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3149 __tls_get_addr since we are a __tls_get_offset platform.
3150 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3151 GOT pointer being set up before.
3152 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3153
3c1c46a6
JM
31542013-11-28 Joseph Myers <joseph@codesourcery.com>
3155
7475aef5
JM
3156 * manual/math.texi (Errors in Math Functions): Document accuracy
3157 goals.
3158
8bca7cd8
JM
3159 [BZ #15004]
3160 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3161 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3162 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3163 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3164 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3165 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3166 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3167 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3168 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3169 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3170 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3172 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3173 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3176
91a1f3fe
JM
3177 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3178 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3179 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3180 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3181 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3182 Likewise.
3183 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3184 Likewise.
3185 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3186 Likewise.
3187 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3188 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3189 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3190 atomic-feupdateenv and flt-rounds.
3191 * sysdeps/powerpc/nofpu/Versions (libc): Add
3192 __atomic_feholdexcept, __atomic_feclearexcept,
3193 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3194 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3195 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3196 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3197 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3198 here.
3199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3200 Update.
3201
c5df7609
JM
3202 * manual/arith.texi (FP Exceptions): Document that exceptions may
3203 not be raised when matherr is used.
3204 (Math Error Reporting): Document overflow in directed rounding
3205 modes. Document that errno may not be set when finite values are
3206 returned on overflow. Document intent to set errno on underflow
3207 only for underflow to zero.
3208
3c1c46a6
JM
3209 [BZ #16271]
3210 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3211 round-to-nearest then adjust result for other rounding modes.
3212 * include/fenv.h (fegetround): Use libm_hidden_proto.
3213 * math/fegetround.c (fegetround): Use libm_hidden_def.
3214 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3215 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3216 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3217 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3218 Likewise.
3219 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3220 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3221 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3222 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3223
5a4c6d53
SP
32242013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3225
3226 [BZ #16077]
3227 * nss/Versions (libnss_files): Add
3228 _nss_files_gethostbyname3_r.
3229 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3230 New function.
3231 (HOST_DB_LOOKUP): Remove macro.
3232 (_nss_files_gethostbyname_r): Implement function without the
3233 HOST_DB_LOOKUP macro.
3234 (_nss_files_gethostbyname2_r): Likewise.
3235
897b98ba
OB
32362013-11-28 Ondřej Bílka <neleai@seznam.cz>
3237
3238 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3239
6f476861
UB
32402013-11-26 Uros Bizjak <ubizjak@gmail.com>
3241
3242 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3243 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3244 warning.
3245
bd12ab55
AZ
32462013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3247
3248 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3249 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3250 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3251 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3252 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3253 __fe_nomask_env_priv and attribute_hidden.
3254 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3255 (libc_feupdateenv_test_ppc): Likewise.
3256 (libc_feresetround_ppc): Likewise.
3257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3258 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3259 compat_symbol macro.
3260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3261 (__fe_nomask_env): Likewise.
3262 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3263
52bb6543
OB
32642013-11-26 Ondřej Bílka <neleai@seznam.cz>
3265
3266 * string/Makefile: Remove ifunc tests.
3267 * string/test-string.h: Define TEST_IFUNC.
3268 * string/test-bcopy-ifunc.c: Remove.
3269 * string/test-bzero-ifunc.c: Likewise.
3270 * string/test-memccpy-ifunc.c: Likewise.
3271 * string/test-memchr-ifunc.c: Likewise.
3272 * string/test-memcmp-ifunc.c: Likewise.
3273 * string/test-memcpy-ifunc.c: Likewise.
3274 * string/test-memmem-ifunc.c: Likewise.
3275 * string/test-memmove-ifunc.c: Likewise.
3276 * string/test-mempcpy-ifunc.c: Likewise.
3277 * string/test-memrchr-ifunc.c: Likewise.
3278 * string/test-memset-ifunc.c: Likewise.
3279 * string/test-rawmemchr-ifunc.c: Likewise.
3280 * string/test-stpcpy-ifunc.c: Likewise.
3281 * string/test-stpncpy-ifunc.c: Likewise.
3282 * string/test-strcasecmp-ifunc.c: Likewise.
3283 * string/test-strcasestr-ifunc.c: Likewise.
3284 * string/test-strcat-ifunc.c: Likewise.
3285 * string/test-strchr-ifunc.c: Likewise.
3286 * string/test-strchrnul-ifunc.c: Likewise.
3287 * string/test-strcmp-ifunc.c: Likewise.
3288 * string/test-strcpy-ifunc.c: Likewise.
3289 * string/test-strcspn-ifunc.c: Likewise.
3290 * string/test-strlen-ifunc.c: Likewise.
3291 * string/test-strncasecmp-ifunc.c: Likewise.
3292 * string/test-strncat-ifunc.c: Likewise.
3293 * string/test-strncmp-ifunc.c: Likewise.
3294 * string/test-strncpy-ifunc.c: Likewise.
3295 * string/test-strnlen-ifunc.c: Likewise.
3296 * string/test-strpbrk-ifunc.c: Likewise.
3297 * string/test-strrchr-ifunc.c: Likewise.
3298 * string/test-strspn-ifunc.c: Likewise.
3299 * string/test-strstr-ifunc.c: Likewise.
3300
ab260039 33012013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3302
3303 * benchtests/Makefile: Remove ifunc tests.
3304 * benchtests/bench-string.h: Define TEST_IFUNC.
3305 * benchtests/bench-bcopy-ifunc.c: Remove.
3306 * benchtests/bench-bzero-ifunc.c: Likewise.
3307 * benchtests/bench-memccpy-ifunc.c: Likewise.
3308 * benchtests/bench-memchr-ifunc.c: Likewise.
3309 * benchtests/bench-memcmp-ifunc.c: Likewise.
3310 * benchtests/bench-memcpy-ifunc.c: Likewise.
3311 * benchtests/bench-memmem-ifunc.c: Likewise.
3312 * benchtests/bench-memmove-ifunc.c: Likewise.
3313 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3314 * benchtests/bench-memrchr-ifunc.c: Likewise.
3315 * benchtests/bench-memset-ifunc.c: Likewise.
3316 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3317 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3318 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3319 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3320 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3321 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3322 * benchtests/bench-strcat-ifunc.c: Likewise.
3323 * benchtests/bench-strchr-ifunc.c: Likewise.
3324 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3325 * benchtests/bench-strcmp-ifunc.c: Likewise.
3326 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3327 * benchtests/bench-strcpy-ifunc.c: Likewise.
3328 * benchtests/bench-strcspn-ifunc.c: Likewise.
3329 * benchtests/bench-strlen-ifunc.c: Likewise.
3330 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3331 * benchtests/bench-strncat-ifunc.c: Likewise.
3332 * benchtests/bench-strncmp-ifunc.c: Likewise.
3333 * benchtests/bench-strncpy-ifunc.c: Likewise.
3334 * benchtests/bench-strnlen-ifunc.c: Likewise.
3335 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3336 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3337 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3338 * benchtests/bench-strspn-ifunc.c: Likewise.
3339 * benchtests/bench-strstr-ifunc.c: Likewise.
3340
33412013-11-26 Ondřej Bílka <neleai@seznam.cz>
3342
ab260039
OB
3343 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3344
d1d9eaf4 33452013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3346
d1d9eaf4
OB
3347 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3348 * rt/aio.h: Likewise.
3349 * sysdeps/gnu/bits/utmp.h: Likewise.
3350 * sysdeps/gnu/bits/utmpx.h: Likewise.
3351 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3352 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3353 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3354 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3355 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3356 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3357 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3358 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3359 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3360 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3361 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3362 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3363 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3365 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3366 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3367 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3368 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3369 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3370 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3371 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3372 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3373 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3374 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3375 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3377 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3378 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3379 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3380 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3381 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3382 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3383 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3384 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3385 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3386 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3387 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3388 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3389 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3390 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3391 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3392 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3393
a7624ed9
CD
33942013-11-25 Carlos O'Donell <carlos@redhat.com>
3395
3396 [BZ #16245]
3397 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3398 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3399
63cfe52b
JM
34002013-11-25 Joseph Myers <joseph@codesourcery.com>
3401
3402 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3403 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3404 Likewise.
3405
41e8926a
AZ
34062013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3407
3408 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3409 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3410 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3411 (__fesetround): Remove define.
3412 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3413 rounding and exceptions handling.
3414 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3415 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3416 (__fe_nomask_env): Likewise.
3417 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3418 __fegetround instead of fegetround.
3419 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3420 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3421
6851bd4d
RM
34222013-11-21 Roland McGrath <roland@hack.frob.com>
3423
070906ff
RM
3424 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3425 it's there.
3426
6851bd4d
RM
3427 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3428
84ae135d
MI
34292013-11-21 Meador Inge <meadori@codesourcery.com>
3430
3431 [BZ #11157]
3432 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3433 (encrypt_r): Likewise.
3434 * malloc/obstack.h (obstack_free): Likewise.
3435 * posix/unistd.h (encrypt): Likewise.
3436
daf75146
GM
34372013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3438
3439 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3440 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3441 DL_CALL_DT_FINI() that call the functions directly.
3442 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3443 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3444 * elf/dl-fini.c: Likewise.
3445
10ad46bc
OB
34462013-11-20 Ondřej Bílka <neleai@seznam.cz>
3447
3448 * malloc/hooks.c (memalign_check): Add alignment rounding.
3449 * malloc/malloc.c (_mid_memalign): New function.
3450 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3451 Implement by calling _mid_memalign.
3452 * manual/probes.texi (Memory Allocation Probes): Remove
3453 memory_valloc_retry and memory_pvalloc_retry.
3454
f3fd2628
SP
34552013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3456
4712799f
SP
3457 * locale/programs/locarchive.c (open_archive): Add const
3458 qualifier to ARCHIVEFNAME and copy default fname to
3459 DEFAULT_FNAME.
3460
0417b20f
SP
3461 [BZ #15601]
3462 * libio/tst-widetext.input: Rename Oriya to Odia.
3463 * locale/iso-639.def: Likewise.
3464
f3fd2628
SP
3465 * manual/probes.texi (Mathematical Function Probes): Add
3466 documentation for sin, cos, asin and acos probes.
3467 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3468 (__sin32): Add slowasin probe.
3469 (__cos32): Add slowacos probe.
3470 (__mpsin): Add slowsin probe.
3471 (__mpcos): Add slowcos probe.
3472
73c1ce4f
JM
34732013-11-19 Joseph Myers <joseph@codesourcery.com>
3474
3475 [BZ #15483]
3476 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3477 thread-local __sim_exceptions_thread and global
3478 __sim_exceptions_global.
3479 (__sim_disabled_exceptions): Change to thread-local
3480 __sim_disabled_exceptions_thread and global
3481 __sim_disabled_exceptions_global.
3482 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3483 and global __sim_round_mode_global.
3484 (__simulate_exceptions): Use thread-local floating-point state and
3485 set global state from it as needed.
3486 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3487 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3488 __sim_round_mode_thread.
3489 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3490 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3491 and global __sim_exceptions_global.
3492 (__sim_disabled_exceptions): Change to thread-local
3493 __sim_disabled_exceptions_thread and global
3494 __sim_disabled_exceptions_global.
3495 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3496 and global __sim_round_mode_global.
3497 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3498 (SIM_SET_GLOBAL): Likewise.
3499 * sysdeps/powerpc/soft-fp/sfp-machine.h
3500 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3501 __sim_round_mode_thread.
3502 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3503 __sim_disabled_exceptions_thread.
3504 (__sim_exceptions): Change to __sim_exceptions_thread.
3505 (__sim_disabled_exceptions): Change to
3506 __sim_disabled_exceptions_thread.
3507 (__sim_round_mode): Change to __sim_round_mode_thread.
3508 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3509 thread-local floating-point state and set global state from it as
3510 needed.
3511 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3512 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3513 (__sim_disabled_exceptions): Remove extern declaration.
3514 (feenableexcept): Use thread-local floating-point state and set
3515 global state from it as needed.
3516 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3517 extern declaration.
3518 (__sim_disabled_exceptions): Likewise.
3519 (__sim_round_mode): Likewise.
3520 (__fegetenv): Use thread-local floating-point state.
3521 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3522 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3523 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3524 floating-point state and set global state from it as needed.
3525 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3526 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3527 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3528 Likewise.
3529 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3530 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3531 Likewise.
3532 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3533 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3534 Use __sim_round_mode_thread.
3535 * math/test-fenv-tls.c: New file.
3536 * math/Makefile (tests): Add test-fenv-tls.
3537 ($(objpfx)test-fenv-tls): Depend on
3538 $(common-objpfx)nptl/libpthread.so.
3539
b5449b12
AS
35402013-11-19 Andreas Schwab <schwab@suse.de>
3541
3542 * locale/programs/locale.c (show_info): Decode wordarray elements.
3543 * locale/categories.def (LC_MONETARY): Add element for
3544 _NL_MONETARY_CRNCYSTR.
3545 * locale/C-monetary.c (conversion_rate): New variable.
3546 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3547 element.
3548
e186536b
CM
35492013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3550
3551 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3552 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3553
5c349950
PP
35542013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3555
3556 * elf/Makefile (tst-auxv): New test.
3557 * elf/tst-auxv.c: New
3558 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3559
699df45b
JM
35602013-11-18 Joseph Myers <joseph@codesourcery.com>
3561
3562 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3563 (hidden_proto): Caller changed.
3564 (hidden_tls_proto): New macro.
3565 (libc_hidden_tls_proto): Likewise.
3566 (rtld_hidden_tls_proto): Likewise.
3567 (libm_hidden_tls_proto): Likewise.
3568 (libresolv_hidden_tls_proto): Likewise.
3569 (librt_hidden_tls_proto): Likewise.
3570 (libdl_hidden_tls_proto): Likewise.
3571 (libnss_files_hidden_tls_proto): Likewise.
3572 (libnsl_hidden_tls_proto): Likewise.
3573 (libnss_nisplus_hidden_tls_proto): Likewise.
3574 (libutil_hidden_tls_proto): Likewise.
3575
b7589107
OB
35762013-11-18 Ondřej Bílka <neleai@seznam.cz>
3577
3578 [BZ #10253]
3579 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3580 (decompose_rpath): Defer expansion to fillin_rpath.
3581 (_dl_init_paths): Pass linkmap to fillin_rpath.
3582
250c23bd
RS
35832013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3584
3585 * benchtests/Makefile: Add strsep.
3586 * benchtests/bench-strsep.c: New file: strsep benchtest.
3587 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3588
a7931fcf
AS
35892013-11-18 Andreas Schwab <schwab@suse.de>
3590
3591 * locale/programs/locale.c (show_info) [case byte]: Check for
3592 '\377' instead of '\177'.
3593 * locale/C-monetary.c (not_available): Always use "\377".
3594 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3595 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3596 detect unavailable sign_posn locale elements.
3597 * locale/localeconv.c (__localeconv): For grouping and
3598 mon_grouping handle "\177" and "\377" like no grouping.
3599 (INT_ELEM): New macro. Use it to set all numeric members.
3600 * locale/programs/ld-monetary.c (monetary_read)
3601 <tok_mon_grouping>: Normalize single -1 to the empty string.
3602 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3603 Likewise.
3604
728dab0e
OB
36052013-11-07 Ondřej Bílka <neleai@seznam.cz>
3606
3607 [BZ #16055]
3608 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3609 when we match (nil).
3610 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3611
66294491
JM
36122013-11-16 Joseph Myers <joseph@codesourcery.com>
3613
ce665817
JM
3614 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3615 (NO_TEST_INLINE): Update value.
3616 (ERRNO_UNCHANGED): Likewise.
3617 (ERRNO_EDOM): Likewise.
3618 (ERRNO_ERANGE): Likewise.
3619 (IGNORE_RESULT): Likewise.
3620 (check_float_internal): Check signs of NaN results if
3621 TEST_NAN_SIGN used.
3622 (check_complex): Pass TEST_NAN_SIGN flag through to second
3623 check_float_internal call.
3624 (copysign_test_data): Add tests with quiet NaNs as second
3625 argument. Use TEST_NAN_SIGN.
3626 (fabs_test_data): Add test of negative quiet NaN argument. Use
3627 TEST_NAN_SIGN.
3628 (signbit_test_data): Add tests of quiet NaN argument.
3629 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3630
ee1466a9
JM
3631 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3632 $ignore_result.
3633 (parse_args): Handle function results specified as IGNORE.
3634 * math/libm-test.inc (IGNORE_RESULT): New macro.
3635 (check_float_internal): Do not check numerical result if flag
3636 IGNORE_RESULT set.
3637 (check_complex): Pass through IGNORE_RESULT to second
3638 check_float_internal call.
3639 (check_int): Do not check numerical result if flag IGNORE_RESULT
3640 set.
3641 (check_long): Likewise.
3642 (check_bool): Likewise.
3643 (check_longlong): Likewise.
3644 (lrint_test_data): Add tests of infinite and NaN arguments.
3645 (lrint_tonearest_test_data): Likewise.
3646 (lrint_towardzero_test_data): Likewise.
3647 (lrint_downward_test_data): Likewise.
3648 (lrint_upward_test_data): Likewise.
3649 (llrint_test_data): Likewise.
3650 (llrint_tonearest_test_data): Likewise.
3651 (llrint_towardzero_test_data): Likewise.
3652 (llrint_downward_test_data): Likewise.
3653 (llrint_upward_test_data): Likewise.
3654 (lround_test_data): Likewise.
3655 (llround_test_data): Likewise.
3656
14407b7e
JM
3657 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3658 (ERRNO_UNCHANGED): Update value.
3659 (ERRNO_EDOM): Likewise.
3660 (ERRNO_ERANGE): Likewise.
3661 (NO_TEST_INLINE_FLOAT): New macro.
3662 (NO_TEST_INLINE_DOUBLE): Likewise.
3663 (enable_test): New function.
3664 (RUN_TEST_f_f): Check enable_test before running test.
3665 (RUN_TEST_2_f): Likewise.
3666 (RUN_TEST_fff_f): Likewise.
3667 (RUN_TEST_c_f): Likewise.
3668 (RUN_TEST_f_f1): Likewise.
3669 (RUN_TEST_fF_f1): Likewise.
3670 (RUN_TEST_fI_f1): Likewise.
3671 (RUN_TEST_ffI_f1): Likewise.
3672 (RUN_TEST_c_c): Likewise.
3673 (RUN_TEST_cc_c): Likewise.
3674 (RUN_TEST_f_i): Likewise.
3675 (RUN_TEST_f_i_tg): Likewise.
3676 (RUN_TEST_ff_i_tg): Likewise.
3677 (RUN_TEST_f_b): Likewise.
3678 (RUN_TEST_f_b_tg): Likewise.
3679 (RUN_TEST_f_l): Likewise.
3680 (RUN_TEST_f_L): Likewise.
3681 (RUN_TEST_fFF_11): Likewise.
3682 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3683 conditionals.
3684 (cosh_test_data): Likewise.
3685 (exp_test_data): Likewise.
3686 (expm1_test_data): Likewise.
3687 (hypot_test_data): Likewise.
3688 (pow_test_data): Likewise.
3689 (sinh_test_data): Likewise.
3690 (tanh_test_data): Likewise.
3691 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3692 flags argument.
3693
ca07f197
JM
3694 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3695 tests with quiet NaN input and output.
3696 (acosh_test_data): Likewise.
3697 (asin_test_data): Likewise.
3698 (asinh_test_data): Likewise.
3699 (atan_test_data): Likewise.
3700 (atanh_test_data): Likewise.
3701 (atan2_test_data): Likewise.
3702 (cbrt_test_data): Likewise.
3703 (cos_test_data): Likewise.
3704 (cosh_test_data): Likewise.
3705 (erf_test_data): Likewise.
3706 (erfc_test_data): Likewise.
3707 (exp_test_data): Likewise.
3708 (exp10_test_data): Likewise.
3709 (exp2_test_data): Likewise.
3710 (expm1_test_data): Likewise.
3711 (hypot_test_data): Likewise.
3712 (j0_test_data): Likewise.
3713 (j1_test_data): Likewise.
3714 (jn_test_data): Likewise.
3715 (lgamma_test_data): Likewise.
3716 (log_test_data): Likewise.
3717 (log10_test_data): Likewise.
3718 (log1p_test_data): Likewise.
3719 (log2_test_data): Likewise.
3720 (pow_test_data): Likewise.
3721 (scalb_test_data): Likewise.
3722 (sin_test_data): Likewise.
3723 (sincos_test_data): Likewise.
3724 (sinh_test_data): Likewise.
3725 (tan_test_data): Likewise.
3726 (tanh_test_data): Likewise.
3727 (tgamma_test_data): Likewise.
3728 (y0_test_data): Likewise.
3729 (y1_test_data): Likewise.
3730 (yn_test_data): Likewise.
3731
66294491
JM
3732 [BZ #16167]
3733 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3734 argument being NaN and avoid computations with second argument in
3735 that case.
3736 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3737 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3738 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3739
1820b143
CL
37402013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3741
3742 * locale/iso-639.def: Add Chitwani Tharu (the).
3743
714bd261
AS
37442013-11-14 Andreas Schwab <schwab@suse.de>
3745
3746 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3747 word instead of empty string.
3748
7ab44563
AZ
37492013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3750
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3752 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3754 (__fe_nomask_env): Likewise.
3755
e8470ea2
SE
37562013-11-13 Steve Ellcey <sellcey@mips.com>
3757
3758 * benchtests/bench-timing.h: Include time.h.
3759
17c1d9f0
L
37602013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3761
3762 [BZ #15997]
3763 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3764 to 3.4.0 for x32.
3765 * sysdeps/unix/sysv/linux/configure: Regenerated.
3766
9310c284
JM
37672013-11-13 Joseph Myers <joseph@codesourcery.com>
3768
3769 [BZ #16151]
3770 * stdlib/strtod_l.c (round_and_return): Do not consider
3771 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3772 exponent one less than half the least subnormal exponent.
3773 * stdlib/test-strtod-round-data: Add more tests.
3774 * stdlib/tst-strtod-round.c (tests): Regenerated.
3775
7a2ad8cf
AZ
37762013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3777
3778 [BZ #14143]
3779 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3780 (__fe_mask_env): Likewise.
3781 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3782 libm_hidden_proto and add function prototype.
3783 (__fe_mask_env): Add function prototype.
3784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3785 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3787 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3789 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3790
50727aa7
MS
37912013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3792
b2f386c1 3793 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3794 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3795
a615be46
MS
37962013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3797
3798 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3799 of htab_find_slot().
3800
7ddace62
DM
38012013-11-11 David S. Miller <davem@davemloft.net>
3802
3803 [BZ #16150]
3804 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3805 symbol in the non-vis3 case in static builds.
3806 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3807 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3808 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3809 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3810
9182aa67
JK
38112013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3812
3813 [BZ #387]
3814 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3815 it is empty.
3816
450a2e2d
AZ
38172013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3818
b2f386c1
SP
3819 * benchtests/Makefile: Add bench-strtod.
3820 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3821
8ec3f656
AS
38222013-11-11 Andreas Schwab <schwab@suse.de>
3823
3824 [BZ #16153]
3825 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3826 terminating NUL in key length.
3827
76a9b998
AZ
38282013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3829
3830 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3831 Add artificial ODP entry for vDSO symbol for PPC64.
3832 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3833 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3834
e4368156
OB
38352013-11-07 Ondřej Bílka <neleai@seznam.cz>
3836
3837 [BZ #15374]
3838 * nss/getent.c (services_keys): Recognize services starting with digit.
3839
8d6bb57c
DM
38402013-11-06 David S. Miller <davem@davemloft.net>
3841
3842 [BZ #15985]
3843 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3844 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3845
e256c421
WN
38462013-11-06 Will Newton <will.newton@linaro.org>
3847
3848 * manual/memory.texi (Malloc Examples): Remove register
3849 keyword from examples.
3850
f6e12daa 38512013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3852
f6e12daa 3853 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3854
9d880655
AS
38552013-11-04 Joseph Myers <joseph@codesourcery.com>
3856
3857 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3858 depending on [__GCC_IEC_559 > 0].
3859 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3860 depending on [__GCC_IEC_559_COMPLEX > 0].
3861
ae129d3c
CL
38622013-11-03 Chris Leonard <cjl@sugarlabs.org>
3863
3864 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3865 to iso-639.def.
3866
4a15c2a4 38672013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3868
3869 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3870
8b35e35d
OB
38712013-11-01 Ondřej Bílka <neleai@seznam.cz>
3872
3873 [BZ #16112]
3874 * malloc/malloc (malloc_info): Do not handle first bin as
3875 special case.
3876
1d70fd6c
CL
38772013-11-01 Chris Leonard <cjl@sugarlabs.org>
3878
3879 * locale/iso-639.def: Add Central Nahuatl (nhn).
3880
8c5c2600
BH
38812013-11-01 Bruno Haible <bruno@clisp.org>
3882
3883 [BZ #7003]
3884 * manual/math.texi (BSD Random): Specify range upper bound as
3885 in POSIX.
3886
da5579c2
CL
38872013-10-31 Chris Leonard <cjl@sugarlabs.org>
3888
3889 * locale/iso-639.def: Add Meadow Mari (mhr).
3890
5d30d853
OB
38912013-10-31 Ondřej Bílka <neleai@seznam.cz>
3892
3893 [BZ #14752], [BZ #15763]
3894 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3895 Validate name.
3896 * rt/tst_shm.c: Add test for escaping directory.
3897
a4966c61
AS
38982013-10-31 Andreas Schwab <schwab@suse.de>
3899
8a43e768 3900 [BZ #15917]
a4966c61
AS
3901 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3902 followed by 'x' as part of digit sequence.
3903 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3904
28d708c4
MAP
39052013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3906
3907 [BZ #16037]
3908 * configure.ac: allow GNU Make 4.0 and greater.
3909 * configure: Regenerated.
3910
a56ee40b
WN
39112013-10-30 Will Newton <will.newton@linaro.org>
3912
3913 [BZ #16038]
3914 * malloc/hooks.c (memalign_check): Limit alignment to the
3915 maximum representable power of two.
3916 * malloc/malloc.c (__libc_memalign): Likewise.
3917 * malloc/tst-memalign.c (do_test): Add test for very
3918 large alignment values.
3919 * malloc/tst-posix_memalign.c (do_test): Likewise.
3920
c6e4925d
OB
39212013-10-30 Ondřej Bílka <neleai@seznam.cz>
3922
3923 [BZ #11087]
3924 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3925 (munmap_chunk): Likewise.
3926 (mremap_chunk): Likewise.
3927
39282013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3929
8a43e768 3930 [BZ #15799]
bbea82f7
OB
3931 * stdlib/div.c (div): Remove obsolete code.
3932 * stdlib/ldiv.c (ldiv): Likewise.
3933 * stdlib/lldiv.c (lldiv): Likewise.
3934
977f4b31
SP
39352013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3936
3937 [BZ #16071]
3938 * nss/nss_files/files-XXX.c (get_contents_ret): New
3939 enumerator.
3940 (get_contents): New function.
3941 (internal_getent): Use it. Expand size of LINEBUFLEN.
3942
cb8a6dbd
MF
39432013-10-30 Mike Frysinger <vapier@gentoo.org>
3944
3945 * configure.in: Moved to ...
3946 * configure.ac: ... here. Change reference to configure.in
3947 to configure.ac.
3948 * sysdeps/arm/preconfigure.ac: ... here.
3949 configure.in to configure.ac.
3950 * sysdeps/gnu/configure.in: Moved to ...
3951 * sysdeps/gnu/configure.ac: ... here.
3952 * sysdeps/i386/configure.in: Moved to ...
3953 * sysdeps/i386/configure.ac: ... here.
3954 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3955 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3956 * sysdeps/mach/configure.in: Moved to ...
3957 * sysdeps/mach/configure.ac: ... here.
3958 * sysdeps/mach/hurd/configure.in: Moved to ...
3959 * sysdeps/mach/hurd/configure.ac: ... here.
3960 * sysdeps/powerpc/configure.in: Moved to ...
3961 * sysdeps/powerpc/configure.ac: ... here.
3962 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3963 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3964 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3965 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3966 * sysdeps/s390/s390-32/configure.in: Moved to ...
3967 * sysdeps/s390/s390-32/configure.ac: ... here.
3968 * sysdeps/s390/s390-64/configure.in: Moved to ...
3969 * sysdeps/s390/s390-64/configure.ac: ... here.
3970 * sysdeps/sh/configure.in: Moved to ...
3971 * sysdeps/sh/configure.ac: ... here.
3972 * sysdeps/sparc/configure.in: Moved to ...
3973 * sysdeps/sparc/configure.ac: ... here.
3974 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3975 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3976 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3977 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3978 * sysdeps/x86_64/configure.in: Moved to ...
3979 * sysdeps/x86_64/configure.ac: ... here.
3980 * sysdeps/x86_64/preconfigure.in: Moved to ...
3981 * sysdeps/x86_64/preconfigure.ac: ... here.
3982 * aclocal.m4: Change reference to configure.in to configure.ac.
3983 * config.h.in: Likewise.
3984 * manual/install.texi: Likewise.
3985 * manual/maint.texi: Likewise.
3986 * Makefile: Likewise.
3987 * malloc/Makefile: Likewise.
3988 * nscd/Makefile: Likewise.
3989 * Makeconfig: Change reference to configure.in and
3990 preconfigure.in to configure.ac and preconfigure.ac
3991 respectively.
3992 * INSTALL: Regenerated.
3993 * configure: Likewise.
3994 * sysdeps/gnu/configure: Likewise.
3995 * sysdeps/i386/configure: Likewise.
3996 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3997 * sysdeps/mach/configure: Likewise.
3998 * sysdeps/mach/hurd/configure: Likewise.
3999 * sysdeps/powerpc/configure: Likewise.
4000 * sysdeps/powerpc/powerpc32/configure: Likewise.
4001 * sysdeps/powerpc/powerpc64/configure: Likewise.
4002 * sysdeps/s390/s390-32/configure: Likewise.
4003 * sysdeps/s390/s390-64/configure: Likewise.
4004 * sysdeps/sh/configure: Likewise.
4005 * sysdeps/sparc/configure: Likewise.
4006 * sysdeps/unix/sysv/linux/configure: Likewise.
4007 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4008 * sysdeps/x86_64/configure: Likewise.
4009 * sysdeps/x86_64/preconfigure: Likewise.
4010
36a4953a
AS
40112013-10-29 Andreas Schwab <schwab@suse.de>
4012
4013 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4014
c79a1204
SP
40152013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4016
dfa1b402
SP
4017 * benchtests/pow-inputs: Add new inputs.
4018
54f73d9c
SP
4019 * benchtests/exp-inputs: Add new inputs.
4020
c79a1204
SP
4021 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4022 conditional check for return value.
4023 (__cos32): Likewise.
4024
67beb545 40252013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
4026
4027 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4028 to provide a boost for large inputs with word alignment.
4029 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4030 implementation based on optimized PPC64 strcpy.
4031 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4032 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4033 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4034 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4035
151659f6
OB
40362013-10-25 Ondřej Bílka <neleai@seznam.cz>
4037
482a077e 4038 [BZ #2801]
151659f6
OB
4039 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4040
10b0f26b
OB
40412013-10-25 Ondřej Bílka <neleai@seznam.cz>
4042
4043 [BZ #14876]
4044 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4045 * time/tst-strptime.c (day_tests): Add testcase.
4046
ca42d35e
OB
40472013-10-25 Ondřej Bílka <neleai@seznam.cz>
4048
482a077e 4049 [BZ #14029]
ca42d35e
OB
4050 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4051
52e6d801
FB
40522013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4053
4054 [BZ #16074]
4055 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4056 MAP_FAILED on error.
4057
7cbcdb36
SP
40582013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4059
4060 [BZ #16072]
4061 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4062 heap for large requests.
4063
894f3f10
AM
40642013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4065
4066 [BZ #9954]
4067 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4068 result if the result has no associated interface.
4069 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4070 interface for all 127.X.Y.Z addresses.
4071
b85545a6
CL
40722013-10-24 Chris Leonard <cjl@sugarlabs.org>
4073
4074 * locale/iso-639.def: Add Ligurian (lij)
4075
d1f23d46
OB
40762013-10-21 Ondřej Bílka <neleai@seznam.cz>
4077
4078 [BZ #15825]
4079 * sunrpc/rpc_main.c: Document rpcgen -5.
4080
4db5b08f
MS
40812013-10-19 Michael Stahl <mstahl@redhat.com>
4082
4083 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4084
a471e96a
OB
40852013-10-19 Ondřej Bílka <neleai@seznam.cz>
4086
d1f23d46 4087 [BZ #10278]
a471e96a
OB
4088 * posix/glob.c: Match only directories when trailing slash is present.
4089 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4090 (main): Add testcase.
4091
45c30c61
OB
40922013-10-19 Ondřej Bílka <neleai@seznam.cz>
4093
4094 [BZ #15670]
4095 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4096
484c12fb
CD
40972013-10-18 Carlos O'Donell <carlos@redhat.com>
4098
3d7dc513
CD
4099 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4100 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4101 AUTH_DES and cindex for FIPS 140-2.
4102 (DES Encryption): Add cindex FIPS 46-3.
4103
484c12fb
CD
4104 * locale/locarchive.h (struct locarhandle): Add fname.
4105 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4106 if an optional argument was specified to --list-archive,
4107 otherwise NULL.
4108 * locale/programs/locarchive.c (show_archive_content): Take new
4109 argument fname and pass it via ah.fname to open_archive.
4110 * locale/programs/localedef.h: Update decl.
4111 (open_archive): If AH->fname is non-null, open that file
4112 rather than the default file name, and don't ignore ENOENT.
4113 (create_archive): Set AH.fname to NULL.
4114 (delete_locales_from_archive): Likewise.
4115 (add_locales_to_archive): Likewise.
4116 * locale/programs/locfile.c (write_all_categories): Likewise.
4117
3c8325fb
JM
41182013-10-18 Joseph Myers <joseph@codesourcery.com>
4119 Aldy Hernandez <aldyh@redhat.com>
4120
4121 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4122 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4123 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4124 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4125 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4126 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4127 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4128 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4129 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4130 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4131 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4132 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4133 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4134 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4135 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4136 Likewise.
4137 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4138 Likewise.
4139 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4140 Likewise.
4141 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4142 Likewise.
4143 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4144 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4145 Likewise.
4146 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4147 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4148 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4149 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4150 Likewise.
4151 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4152 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4153 * sysdeps/powerpc/preconfigure: Likewise.
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4155 Likewise.
4156 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4157 Replace contents of file by #include of <fenv_libc.h>.
4158 * sysdeps/powerpc/soft-fp/sfp-machine.h
4159 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4160 and <sys/prctl.h>.
4161 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4162 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4163 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4164 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4165 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4166 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4168 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4169 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4170 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4171 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4172 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4174 Allow copysignl PLT reference to be missing.
4175
5abe0682
RS
41762013-10-18 Richard Sandiford <richard@codesourcery.com>
4177 Joseph Myers <joseph@codesourcery.com
4178
4179 [BZ #15948]
4180 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4181 single character.
4182 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4183
c7738d08
SP
41842013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4185
4186 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4187 * elf/tst-tls1.c: Likewise.
4188 * elf/tst-tls10.h: Likewise.
4189 * elf/tst-tls14.c: Likewise.
4190 * elf/tst-tls2.c: Likewise.
4191 * elf/tst-tls3.c: Likewise.
4192 * elf/tst-tls4.c: Likewise.
4193 * elf/tst-tls5.c: Likewise.
4194 * elf/tst-tls6.c: Likewise.
4195 * elf/tst-tls7.c: Likewise.
4196 * elf/tst-tls8.c: Likewise.
4197 * elf/tst-tls9.c: Likewise.
4198 * elf/tst-tlsmod1.c: Likewise.
4199 * elf/tst-tlsmod13.c: Likewise.
4200 * elf/tst-tlsmod13a.c: Likewise.
4201 * elf/tst-tlsmod14a.c: Likewise.
4202 * elf/tst-tlsmod16a.c: Likewise.
4203 * elf/tst-tlsmod16b.c: Likewise.
4204 * elf/tst-tlsmod2.c: Likewise.
4205 * elf/tst-tlsmod3.c: Likewise.
4206 * elf/tst-tlsmod4.c: Likewise.
4207 * elf/tst-tlsmod5.c: Likewise.
4208 * elf/tst-tlsmod6.c: Likewise.
4209
0bfcf2c7
OB
42102013-10-18 Ondřej Bílka <neleai@seznam.cz>
4211
4212 [BZ #12486]
4213 * malloc/malloc.c: remove checks for statistics.
4214
264aad1e
OB
42152013-10-17 Ondřej Bílka <neleai@seznam.cz>
4216
4217 [BZ #15277]
4218 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4219 * inet/tst-network.c: Add testcase.
4220
b957ced8
AS
42212013-10-17 Andreas Schwab <schwab@suse.de>
4222
4223 [BZ #15218]
4224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4225 to determine canonical name.
4226
c5d5d574
OB
42272013-10-17 Ondřej Bílka <neleai@seznam.cz>
4228
4229 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4230 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4231 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4253 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4254 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4259 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4281 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4282 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4283 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4284 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4287
e5c2c2d0
JM
42882013-10-17 Joseph Myers <joseph@codesourcery.com>
4289
4290 [BZ #16041]
4291 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4292 make result into a quiet NaN.
4293
51ca9e29
JM
42942013-10-16 Joseph Myers <joseph@codesourcery.com>
4295
4296 * soft-fp/adddf3.c: Fix horizontal whitespace.
4297 * soft-fp/addsf3.c: Likewise.
4298 * soft-fp/addtf3.c: Likewise.
4299 * soft-fp/divdf3.c: Likewise.
4300 * soft-fp/divsf3.c: Likewise.
4301 * soft-fp/divtf3.c: Likewise.
4302 * soft-fp/double.h: Likewise.
4303 * soft-fp/eqdf2.c: Likewise.
4304 * soft-fp/eqsf2.c: Likewise.
4305 * soft-fp/eqtf2.c: Likewise.
4306 * soft-fp/extenddftf2.c: Likewise.
4307 * soft-fp/extended.h: Likewise.
4308 * soft-fp/extendsfdf2.c: Likewise.
4309 * soft-fp/extendsftf2.c: Likewise.
4310 * soft-fp/extendxftf2.c: Likewise.
4311 * soft-fp/fixdfdi.c: Likewise.
4312 * soft-fp/fixdfsi.c: Likewise.
4313 * soft-fp/fixdfti.c: Likewise.
4314 * soft-fp/fixsfdi.c: Likewise.
4315 * soft-fp/fixsfsi.c: Likewise.
4316 * soft-fp/fixsfti.c: Likewise.
4317 * soft-fp/fixtfdi.c: Likewise.
4318 * soft-fp/fixtfsi.c: Likewise.
4319 * soft-fp/fixtfti.c: Likewise.
4320 * soft-fp/fixunsdfdi.c: Likewise.
4321 * soft-fp/fixunsdfsi.c: Likewise.
4322 * soft-fp/fixunsdfti.c: Likewise.
4323 * soft-fp/fixunssfdi.c: Likewise.
4324 * soft-fp/fixunssfsi.c: Likewise.
4325 * soft-fp/fixunssfti.c: Likewise.
4326 * soft-fp/fixunstfdi.c: Likewise.
4327 * soft-fp/fixunstfsi.c: Likewise.
4328 * soft-fp/fixunstfti.c: Likewise.
4329 * soft-fp/floatdidf.c: Likewise.
4330 * soft-fp/floatdisf.c: Likewise.
4331 * soft-fp/floatditf.c: Likewise.
4332 * soft-fp/floatsidf.c: Likewise.
4333 * soft-fp/floatsisf.c: Likewise.
4334 * soft-fp/floatsitf.c: Likewise.
4335 * soft-fp/floattidf.c: Likewise.
4336 * soft-fp/floattisf.c: Likewise.
4337 * soft-fp/floattitf.c: Likewise.
4338 * soft-fp/floatundidf.c: Likewise.
4339 * soft-fp/floatundisf.c: Likewise.
4340 * soft-fp/floatunditf.c: Likewise.
4341 * soft-fp/floatunsidf.c: Likewise.
4342 * soft-fp/floatunsisf.c: Likewise.
4343 * soft-fp/floatunsitf.c: Likewise.
4344 * soft-fp/floatuntidf.c: Likewise.
4345 * soft-fp/floatuntisf.c: Likewise.
4346 * soft-fp/floatuntitf.c: Likewise.
4347 * soft-fp/fmadf4.c: Likewise.
4348 * soft-fp/fmasf4.c: Likewise.
4349 * soft-fp/fmatf4.c: Likewise.
4350 * soft-fp/gedf2.c: Likewise.
4351 * soft-fp/gesf2.c: Likewise.
4352 * soft-fp/getf2.c: Likewise.
4353 * soft-fp/ledf2.c: Likewise.
4354 * soft-fp/lesf2.c: Likewise.
4355 * soft-fp/letf2.c: Likewise.
4356 * soft-fp/muldf3.c: Likewise.
4357 * soft-fp/mulsf3.c: Likewise.
4358 * soft-fp/multf3.c: Likewise.
4359 * soft-fp/negdf2.c: Likewise.
4360 * soft-fp/negsf2.c: Likewise.
4361 * soft-fp/negtf2.c: Likewise.
4362 * soft-fp/op-1.h: Likewise.
4363 * soft-fp/op-2.h: Likewise.
4364 * soft-fp/op-4.h: Likewise.
4365 * soft-fp/op-8.h: Likewise.
4366 * soft-fp/op-common.h: Likewise.
4367 * soft-fp/quad.h: Likewise.
4368 * soft-fp/single.h: Likewise.
4369 * soft-fp/soft-fp.h: Likewise.
4370 * soft-fp/sqrtdf2.c: Likewise.
4371 * soft-fp/sqrtsf2.c: Likewise.
4372 * soft-fp/sqrttf2.c: Likewise.
4373 * soft-fp/subdf3.c: Likewise.
4374 * soft-fp/subsf3.c: Likewise.
4375 * soft-fp/subtf3.c: Likewise.
4376 * soft-fp/truncdfsf2.c: Likewise.
4377 * soft-fp/trunctfdf2.c: Likewise.
4378 * soft-fp/trunctfsf2.c: Likewise.
4379 * soft-fp/trunctfxf2.c: Likewise.
4380 * soft-fp/unorddf2.c: Likewise.
4381 * soft-fp/unordsf2.c: Likewise.
4382 * soft-fp/unordtf2.c: Likewise.
4383
9ebb0332
JM
43842013-10-15 Joseph Myers <joseph@codesourcery.com>
4385
4386 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4387 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4388
4b1a6d8b
OB
43892013-10-15 Ondřej Bílka <neleai@seznam.cz>
4390
4391 * elf/dl-libc.c: Clear initfini list after freeing.
4392
1e145589
JM
43932013-10-14 Joseph Myers <joseph@codesourcery.com>
4394
4395 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4396 * soft-fp/addsf3.c: Likewise.
4397 * soft-fp/addtf3.c: Likewise.
4398 * soft-fp/divdf3.c: Likewise.
4399 * soft-fp/divsf3.c: Likewise.
4400 * soft-fp/divtf3.c: Likewise.
4401 * soft-fp/double.h: Likewise.
4402 * soft-fp/eqdf2.c: Likewise.
4403 * soft-fp/eqsf2.c: Likewise.
4404 * soft-fp/eqtf2.c: Likewise.
4405 * soft-fp/extenddftf2.c: Likewise.
4406 * soft-fp/extended.h: Likewise.
4407 * soft-fp/extendsfdf2.c: Likewise.
4408 * soft-fp/extendsftf2.c: Likewise.
4409 * soft-fp/extendxftf2.c: Likewise.
4410 * soft-fp/fixdfdi.c: Likewise.
4411 * soft-fp/fixdfsi.c: Likewise.
4412 * soft-fp/fixdfti.c: Likewise.
4413 * soft-fp/fixsfdi.c: Likewise.
4414 * soft-fp/fixsfsi.c: Likewise.
4415 * soft-fp/fixsfti.c: Likewise.
4416 * soft-fp/fixtfdi.c: Likewise.
4417 * soft-fp/fixtfsi.c: Likewise.
4418 * soft-fp/fixtfti.c: Likewise.
4419 * soft-fp/fixunsdfdi.c: Likewise.
4420 * soft-fp/fixunsdfsi.c: Likewise.
4421 * soft-fp/fixunsdfti.c: Likewise.
4422 * soft-fp/fixunssfdi.c: Likewise.
4423 * soft-fp/fixunssfsi.c: Likewise.
4424 * soft-fp/fixunssfti.c: Likewise.
4425 * soft-fp/fixunstfdi.c: Likewise.
4426 * soft-fp/fixunstfsi.c: Likewise.
4427 * soft-fp/fixunstfti.c: Likewise.
4428 * soft-fp/floatdidf.c: Likewise.
4429 * soft-fp/floatdisf.c: Likewise.
4430 * soft-fp/floatditf.c: Likewise.
4431 * soft-fp/floatsidf.c: Likewise.
4432 * soft-fp/floatsisf.c: Likewise.
4433 * soft-fp/floatsitf.c: Likewise.
4434 * soft-fp/floattidf.c: Likewise.
4435 * soft-fp/floattisf.c: Likewise.
4436 * soft-fp/floattitf.c: Likewise.
4437 * soft-fp/floatundidf.c: Likewise.
4438 * soft-fp/floatundisf.c: Likewise.
4439 * soft-fp/floatunsidf.c: Likewise.
4440 * soft-fp/floatunsisf.c: Likewise.
4441 * soft-fp/floatuntidf.c: Likewise.
4442 * soft-fp/floatuntisf.c: Likewise.
4443 * soft-fp/floatuntitf.c: Likewise.
4444 * soft-fp/fmadf4.c: Likewise.
4445 * soft-fp/fmasf4.c: Likewise.
4446 * soft-fp/fmatf4.c: Likewise.
4447 * soft-fp/gedf2.c: Likewise.
4448 * soft-fp/gesf2.c: Likewise.
4449 * soft-fp/getf2.c: Likewise.
4450 * soft-fp/ledf2.c: Likewise.
4451 * soft-fp/lesf2.c: Likewise.
4452 * soft-fp/letf2.c: Likewise.
4453 * soft-fp/muldf3.c: Likewise.
4454 * soft-fp/mulsf3.c: Likewise.
4455 * soft-fp/multf3.c: Likewise.
4456 * soft-fp/negdf2.c: Likewise.
4457 * soft-fp/negsf2.c: Likewise.
4458 * soft-fp/negtf2.c: Likewise.
4459 * soft-fp/op-1.h: Likewise.
4460 * soft-fp/op-2.h: Likewise.
4461 * soft-fp/op-4.h: Likewise.
4462 * soft-fp/op-8.h: Likewise.
4463 * soft-fp/op-common.h: Likewise.
4464 * soft-fp/quad.h: Likewise.
4465 * soft-fp/single.h: Likewise.
4466 * soft-fp/soft-fp.h: Likewise.
4467 * soft-fp/sqrtdf2.c: Likewise.
4468 * soft-fp/sqrtsf2.c: Likewise.
4469 * soft-fp/sqrttf2.c: Likewise.
4470 * soft-fp/subdf3.c: Likewise.
4471 * soft-fp/subsf3.c: Likewise.
4472 * soft-fp/subtf3.c: Likewise.
4473 * soft-fp/truncdfsf2.c: Likewise.
4474 * soft-fp/trunctfdf2.c: Likewise.
4475 * soft-fp/trunctfsf2.c: Likewise.
4476 * soft-fp/trunctfxf2.c: Likewise.
4477 * soft-fp/unorddf2.c: Likewise.
4478 * soft-fp/unordsf2.c: Likewise.
4479 * soft-fp/unordtf2.c: Likewise.
4480
17c48a60
OB
44812013-10-14 Ondřej Bílka <neleai@seznam.cz>
4482
4483 [BZ #15672]
4484 * misc/error.c (error_tail): Fix possible buffer overflow.
4485
cabba934
OB
44862013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4487
4488 [BZ #13028]
4489 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4490 address.
4491
94bf958a
PM
44922013-10-14 P. J. McDermott <pj@pehjota.net>
4493
4494 [BZ #832]
4495 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4496 testing pipefail option.
4497
71b4dea7
JM
44982013-10-12 Joseph Myers <joseph@codesourcery.com>
4499
4500 * soft-fp/double.h: Indent preprocessor directives inside #if.
4501 * soft-fp/extended.h: Likewise.
4502 * soft-fp/op-2.h: Likewise.
4503 * soft-fp/op-4.h: Likewise.
4504 * soft-fp/op-common.h: Likewise.
4505 * soft-fp/quad.h: Likewise.
4506 * soft-fp/single.h: Likewise.
4507 * soft-fp/soft-fp.h: Likewise.
4508
55602758
YC
45092013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4510
4511 * iconv/iconv_prog.c: Fix typos.
4512 * stdio-common/psiginfo-data.h: Likewise.
4513
9cd83302
RT
45142013-10-12 Reuben Thomas <rrt@sc3d.org>
4515
4516 [BZ #15764]
4517 * locale/setlocale.c: Fix typo.
4518
99fd9f47
JM
45192013-10-12 Joseph Myers <joseph@codesourcery.com>
4520
b7ea74f0
JM
4521 [BZ #16036]
4522 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4523 signaling NaN arguments.
4524 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4525 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4526
8a509447
JM
4527 [BZ #14910]
4528 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4529 unordered operands.
4530 * soft-fp/gesf2.c (__gesf2): Likewise.
4531 * soft-fp/getf2.c (__getf2): Likewise.
4532 * soft-fp/ledf2.c (__ledf2): Likewise.
4533 * soft-fp/lesf2.c (__lesf2): Likewise.
4534 * soft-fp/letf2.c (__letf2): Likewise.
4535
98998e9f
JM
4536 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4537 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4538 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4539 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4540 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4541 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4542 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4543 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4544 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4545 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4546 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4547 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4548 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4549 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4550 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4551 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4552 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4553 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4554 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4555 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4556 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4557 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4558 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4559 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4560 * soft-fp/floattidf.c (__floattidf): Likewise.
4561 * soft-fp/floattisf.c (__floattisf): Likewise.
4562 * soft-fp/floattitf.c (__floattitf): Likewise.
4563 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4564 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4565 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4566 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4567 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4568 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4569 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4570 * soft-fp/gesf2.c (__gesf2): Likewise.
4571 * soft-fp/getf2.c (__getf2): Likewise.
4572 * soft-fp/ledf2.c (__ledf2): Likewise.
4573 * soft-fp/lesf2.c (__lesf2): Likewise.
4574 * soft-fp/letf2.c (__letf2): Likewise.
4575
8edc4a11
JM
4576 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4577 Undefine and redefine.
4578 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4579 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4580 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4581 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4582 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4583 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4584 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4585 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4586 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4587 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4588 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4589 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4590 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4591 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4592 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4593
8399acaf
JM
4594 [BZ #16032]
4595 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4596 without decrementing exponent if mantissa >= that for the
4597 denominator, not >.
4598 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4599 denominator, not >. Decrement exponent in < case instead of
4600 incrementing in >= case.
4601 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4602 without decrementing exponent if mantissa >= that for the
4603 denominator, not >.
4604
99fd9f47
JM
4605 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4606 computing saturated result for unsigned overflow.
4607
10e1cf6b
SP
46082013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4609 Jeff Law <law@redhat.com>
4610
4611 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4612 (atan2Mp): Add systemtap probe marker.
4613 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4614 (__ieee754_log): Add systemtap probe marker.
4615 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4616 (atanMp): Add systemtap probe marker.
4617 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4618 (tanMp): Add systemtap probe marker.
4619 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4620 (__slowexp): Add systemtap probe marker.
4621 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4622 (__slowpow): Add systemtap probe marker.
4623 * manual/probes.texi: Document probes.
4624
3d110c7c
EB
46252013-10-11 Eric Biggers <ebiggers3@gmail.com>
4626
4627 [BZ #15362]
4628 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4629 written.
4630 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4631 written.
4632 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4633 written to buffer but not flushed.
4634 * libio/iofwrite_u.c: Likewise.
4635 * libio/iopadn.c: Return bytes returned even if EOF was
4636 encountered.
4637 * libio/iowpadn.c: Likewise.
4638 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4639 if _IO_padn does not write the whole buffer.
4640 [!COMPILE_WPRINTF] (PAD): Likewise.
4641
75b4202a
DM
46422013-10-10 David S. Miller <davem@davemloft.net>
4643
4644 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4645 directory block.
4646
6c6352e6
JM
46472013-10-10 Joseph Myers <joseph@codesourcery.com>
4648
33b853c3
JM
4649 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4650 instead of FSF address.
4651 * soft-fp/fixdfti.c: Likewise.
4652 * soft-fp/fixsfti.c: Likewise.
4653 * soft-fp/fixtfti.c: Likewise.
4654 * soft-fp/fixunsdfti.c: Likewise.
4655 * soft-fp/fixunssfti.c: Likewise.
4656 * soft-fp/fixunstfti.c: Likewise.
4657 * soft-fp/floattidf.c: Likewise.
4658 * soft-fp/floattisf.c: Likewise.
4659 * soft-fp/floattitf.c: Likewise.
4660 * soft-fp/floatuntidf.c: Likewise.
4661 * soft-fp/floatuntisf.c: Likewise.
4662 * soft-fp/floatuntitf.c: Likewise.
4663 * soft-fp/trunctfxf2.c: Likewise.
4664
6c6352e6
JM
4665 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4666 * soft-fp/fixdfti.c: Likewise.
4667 * soft-fp/fixsfti.c: Likewise.
4668 * soft-fp/fixtfti.c: Likewise.
4669 * soft-fp/fixunsdfti.c: Likewise.
4670 * soft-fp/fixunssfti.c: Likewise.
4671 * soft-fp/fixunstfti.c: Likewise.
4672 * soft-fp/floattidf.c: Likewise.
4673 * soft-fp/floattisf.c: Likewise.
4674 * soft-fp/floattitf.c: Likewise.
4675 * soft-fp/floatuntidf.c: Likewise.
4676 * soft-fp/floatuntisf.c: Likewise.
4677 * soft-fp/floatuntitf.c: Likewise.
4678 * soft-fp/trunctfxf2.c: Likewise.
4679
3bf78b71
DM
46802013-10-10 David S. Miller <davem@davemloft.net>
4681
4682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4683
6f10289e
JM
46842013-10-10 Joseph Myers <joseph@codsourcery.com>
4685
bd878fc0
JM
4686 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4687 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4688 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4689 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4690 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4691 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4692 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4693
6f10289e
JM
4694 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4695 for NaNs before doing comparisons on argument.
4696 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4697 Likewise.
4698
321e2684
WN
46992013-10-10 Will Newton <will.newton@linaro.org>
4700
4701 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4702 passed to _int_memalign does not overflow.
4703
40fefba1
TR
47042013-10-10 Torvald Riegel <triegel@redhat.com>
4705
4706 * scripts/bench.pl: Add include-sources directive.
4707 * benchtests/README: Update documentation.
4708
2ae21ed2
JM
47092013-10-10 Joseph Myers <joseph@codesourcery.com>
4710
dcc2dd3f
JM
4711 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4712 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4713 instead of FP_INIT_ROUNDMODE.
4714 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4715 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4716
2ae21ed2
JM
4717 [BZ #16034]
4718 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4719 copy class of input value.
4720 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4721 not handle exceptions.
4722 * soft-fp/negsf2.c (__negsf2): Likewise.
4723 * soft-fp/negtf2.c (__negtf2): Likewise.
4724 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4725
cb8f9562
JM
47262013-10-09 Joseph Myers <joseph@codesourcery.com>
4727
4728 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4729 semicolon. From Linux kernel.
4730
5b60c59d
AB
47312013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4732
4733 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4734
b86835ca
YC
47352013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4736
4737 [BZ #156]
4738 * manual/socket.texi: Added statement about buffer
4739 for gethostbyname2_r.
4740
e7044ea7
OB
47412013-10-08 Ondřej Bílka <neleai@seznam.cz>
4742
4743 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4744 Use .p2align directive instead, throughout.
4745 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4746 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4747 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4748 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4749 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4750 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4751 * sysdeps/x86_64/strchr.S: Likewise.
4752 * sysdeps/x86_64/strrchr.S: Likewise.
4753
09544cbc
SP
47542013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4755
88576635
SP
4756 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4757
e7b2d1dd
SP
4758 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4759
09544cbc
SP
4760 * sysdeps/generic/math_private.h (__mpsin1): Remove
4761 declaration.
4762 (__mpcos1): Likewise.
4763 (__mpsin): New argument __range_reduce.
4764 (__mpcos): Likewise.
4765 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4766 (slow): Use __mpsin and __mpcos.
4767 (slow1): Likewise.
4768 (slow2): Likewise.
4769 (sloww): Likewise.
4770 (sloww1): Likewise.
4771 (sloww2): Likewise.
4772 (bsloww): Likewise.
4773 (bsloww1): Likewise.
4774 (bsloww2): Likewise.
4775 (cslow2): Likewise.
4776 (csloww): Likewise.
4777 (csloww1): Likewise.
4778 (csloww2): Likewise.
4779 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4780 range_reduce. Merge in __mpsin1.
4781 (__mpcos): Likewise.
4782 (__mpsin1): Remove.
4783 (__mpcos1): Likewise.
4784
7602d070
JM
47852013-10-07 Joseph Myers <joseph@codesourcery.com>
4786
4787 * locale/loadlocale.c (_nl_intern_locale_data): Use
4788 LOCFILE_ALIGNED_P.
4789 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4790 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4791 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4792 obstack data is appropriately aligned.
4793 (obstack_int32_grow_fast): Likewise.
4794 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4795 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4796 (add_locale_uint32_array): Likewise.
4797
a357259b
SP
47982013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4799
4800 * benchtests/Makefile: Remove ARGLIST and RET variables.
4801 ($(objpfx)bench-%.c): Pass only function name to the script.
4802 * benchtests/README: Update documentation.
4803 * benchtests/acos-inputs: Add new directives.
4804 * benchtests/acosh-inputs: Likewise.
4805 * benchtests/asin-inputs: Likewise.
4806 * benchtests/asinh-inputs: Likewise.
4807 * benchtests/atan-inputs: Likewise.
4808 * benchtests/atanh-inputs: Likewise.
4809 * benchtests/cos-inputs: Likewise.
4810 * benchtests/cosh-inputs: Likewise.
4811 * benchtests/exp-inputs: Likewise.
4812 * benchtests/log-inputs: Likewise.
4813 * benchtests/pow-inputs: Likewise.
4814 * benchtests/rint-inputs: Likewise.
4815 * benchtests/sin-inputs: Likewise.
4816 * benchtests/sinh-inputs: Likewise.
4817 * benchtests/tan-inputs: Likewise.
4818 * benchtests/tanh-inputs: Likewise.
4819 * scripts/bench.pl: Add support for new directives.
4820
9ec1b13d
AM
48212013-10-07 Alan Modra <amodra@gmail.com>
4822
4823 * README: Fix careless merge.
4824
8b7d57cd
AM
48252013-10-05 Alan Modra <amodra@gmail.com>
4826
4827 * NEWS: Mention powerpc64le support and bugs fixed.
4828 * README: Both big-endian and little-endian powerpc64 supported.
4829
7b7bab13
ST
48302013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4831
4832 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4833 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4834 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4835 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4836
d39baad1
RA
48372013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4838
4839 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4840 match prototype.
4841
cd78f7e7
JM
48422013-10-04 Joseph Myers <joseph@codesourcery.com>
4843
29d73d86
JM
4844 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4845 Move -mhard-float appending from
4846 ports/sysdeps/powerpc/powerpc32/Makefile.
4847 [$(with-fp) = yes] (ASFLAGS): Likewise.
4848 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4849 * sysdeps/powerpc/nofpu: Move directory from
4850 ports/sysdeps/powerpc/nofpu.
4851 * sysdeps/powerpc/soft-fp: Move directory from
4852 ports/sysdeps/powerpc/soft-fp.
4853 * sysdeps/powerpc/powerpc32/405: Move directory from
4854 ports/sysdeps/powerpc/powerpc32/405.
4855 * sysdeps/powerpc/powerpc32/440: Move directory from
4856 ports/sysdeps/powerpc/powerpc32/440.
4857 * sysdeps/powerpc/powerpc32/464: Move directory from
4858 ports/sysdeps/powerpc/powerpc32/464.
4859 * sysdeps/powerpc/powerpc32/476: Move directory from
4860 ports/sysdeps/powerpc/powerpc32/476.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4862 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4864 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4866 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4868 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4870 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4871 * README: Update for powerpc-*-linux-gnu software floating point
4872 support in libc.
4873
e246b347
JM
4874 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4875 case to powerpc/powerpc32*.
4876 * sysdeps/unix/sysv/linux/configure: Regenerated.
4877
89c2003e
JM
4878 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4879 (_FPU_MASK_OM): Define as 0x04.
4880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4882 0x00c10080.
4883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4884 0x0000003c.
4885 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4886
cd78f7e7
JM
4887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4888 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4889 getcontext_e500.
4890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4891 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4892 setcontext_e500.
4893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4894 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4895 and setcontext_e500.
4896
c755294d
CL
48972013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4898
4899 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4900
e16d221c
SP
49012013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4902
4903 * manual/threads.texi (Default Thread Attributes): Fix typo.
4904
215c7d43
WN
49052013-10-04 Will Newton <will.newton@linaro.org>
4906
4907 * malloc/Makefile: Add tst-memalign.
4908 * malloc/tst-memalign.c: New file.
4909
27d0461b
WN
4910 * malloc/tst-posix_memalign.c: Add comments.
4911 (do_test): Add comments and call free on all potentially
4912 allocated pointers. Add space after cast.
4913
1bc92709
WN
4914 * malloc/tst-pvalloc.c: Add comments.
4915 (do_test): Add comments and call free on all potentially
4916 allocated pointers. Remove duplicate check for NULL pointer.
4917 Add space after cast.
4918
66a9be9d
WN
4919 * malloc/tst-valloc.c: Add comments.
4920 (do_test): Add comments and call free on all potentially
4921 allocated pointers. Remove duplicate check for NULL pointer.
4922 Add space after cast.
4923
4cb81307
AM
49242013-10-04 Alan Modra <amodra@gmail.com>
4925
4926 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4927 Use stdint types in rather than __attribute__((mode())).
4928 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4929
f8e3e9f3
AM
49302013-10-04 Alan Modra <amodra@gmail.com>
4931
4932 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4933 Correct handling of unaligned relocs for little-endian.
4934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4935
8f9ebb08
AM
49362013-10-04 Alan Modra <amodra@gmail.com>
4937
4938 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4939 * configure: Regenerate.
4940 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4941 * shlib-versions: Likewise.
4942
0edf96c2
AM
49432013-10-04 Alan Modra <amodra@gmail.com>
4944
4945 * string/tester.c (test_memrchr): Increment reported test cycle.
4946
e0f7a380
AM
49472013-10-04 Alan Modra <amodra@gmail.com>
4948
4949 * string/test-memcpy.c (do_one_test): When reporting errors, print
4950 string address and don't overrun end of string.
4951
466b0393
AM
49522013-10-04 Alan Modra <amodra@gmail.com>
4953
4954 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4955 insrdi. Make better use of reg selection to speed exit slightly.
4956 Schedule entry path a little better. Remove useless "are we done"
4957 checks on entry to main loop. Handle wrapping around zero address.
4958 Correct main loop count. Handle single left-over word from main
4959 loop inline rather than by using loop_small. Remove extra word
4960 case in loop_small caused by wrong loop count. Add little-endian
4961 support.
4962 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4963 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4964 cache hint.
4965 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4966 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4967 support. Avoid rlwimi.
4968 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4969
3be87c77
AM
49702013-10-04 Alan Modra <amodra@gmail.com>
4971
4972 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4973 insrdi. Formatting.
3be87c77
AM
4974 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4975 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4976 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4977 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4978 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4979 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4980
759cfef3
AM
49812013-10-04 Alan Modra <amodra@gmail.com>
4982
4983 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4984 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4985 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4986 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4987 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4988 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4989 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4990 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4991 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4992 use of regs. Use power7 mtocrf. Tidy function tails.
4993
fe6e95d7
AM
49942013-10-04 Alan Modra <amodra@gmail.com>
4995
4996 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4997 Formatting. Consistently use rXXX register defines or rN defines.
4998 Use early exit labels that avoid restoring unused non-volatile regs.
4999 Make cr field use more consistent with rWORDn compares. Rename
5000 regs used as shift registers for unaligned loop, using rN defines
5001 for short lifetime/multiple use regs.
5002 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5003 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5004 addi 1,1,64 to pop stack frame. Simplify return value code.
5005 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5006
664318c3
AM
50072013-10-04 Alan Modra <amodra@gmail.com>
5008
5009 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5010 support. Correct typos, formatting. Optimize tail. Use insrdi
5011 rather than rlwimi.
5012 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5013 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5014 little-endian support. Correct typos.
5015 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5016 rather than rlwimi.
5017 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5018 in loop and entry code to keep "and." results.
5019 (strchr): Add little-endian support. Comment. Move cntlzd
5020 earlier in tail.
5021 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5022
43b84013
AM
50232013-10-04 Alan Modra <amodra@gmail.com>
5024
5025 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5026 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5027 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5028 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5029
8a7413f9
AM
50302013-10-04 Alan Modra <amodra@gmail.com>
5031
5032 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5033 (rTMP): Define as r11.
5034 (strcmp): Add little-endian support. Optimise tail.
5035 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5036 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5037 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5038 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5039 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5040 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5041 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5042
33ee81de
AM
50432013-10-04 Alan Modra <amodra@gmail.com>
5044
5045 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5046 little-endian support. Remove unnecessary "are we done" tests.
5047 Handle "s" wrapping around zero and extremely large "size".
5048 Correct main loop count. Handle single left-over word from main
5049 loop inline rather than by using small_loop. Correct comments.
5050 Delete "zero" tail, use "end_max" instead.
5051 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5052
db9b4570
AM
50532013-10-04 Alan Modra <amodra@gmail.com>
5054
5055 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5056 support. Don't branch over align.
5057 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5058 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5059 support. Rearrange tmp reg use to suit. Comment.
5060 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5061
f7c399cf
AM
50622013-10-04 Alan Modra <amodra@gmail.com>
5063
5064 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5065
0b2c2ace
AM
50662013-10-04 Alan Modra <amodra@gmail.com>
5067
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5069 conditional form of branch and link when obtaining pc.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5071
02f04a6c
AM
50722013-10-04 Alan Modra <amodra@gmail.com>
5073
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5075 HIWORD/LOWORD.
5076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5078
9b874b2f
AM
50792013-10-04 Alan Modra <amodra@gmail.com>
5080
5081 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5082 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5083 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5084 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5085 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5086 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5087 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5088 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5089 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5090 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5091
be1e5d31
AB
50922013-10-04 Anton Blanchard <anton@au1.ibm.com>
5093 Alistair Popple <alistair@ozlabs.au.ibm.com>
5094 Alan Modra <amodra@gmail.com>
5095
5096 [BZ #15723]
5097 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5098 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5099 _dl_hwcap access for little-endian.
5100 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5101 destroy vmx regs when saving unaligned.
5102 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5103 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5104 destroy vmx regs when saving unaligned.
5105
fef13a78
AM
51062013-10-04 Alan Modra <amodra@gmail.com>
5107
5108 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5109 Don't use a union to pack hi/low value.
5110
76a66d51
AB
51112013-10-04 Anton Blanchard <anton@au1.ibm.com>
5112
5113 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5114 for little-endian.
5115 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5116 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5117 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5118 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5119 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5120
6a31fe7f
AM
51212013-10-04 Alan Modra <amodra@gmail.com>
5122
5123 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5124 constants to usual value for .cst8 section, and remove redundant
5125 high address load.
5126 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5127 constant for 0x1p52. Load little-endian words of double from
5128 correct stack offsets.
5129
7b88401f
AM
51302013-10-04 Alan Modra <amodra@gmail.com>
5131
5132 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5133 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5134 words of double from correct stack offsets.
5135 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5136 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5137 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5138 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5139 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5140 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5141 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5142 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5143 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5144 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5145 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5146 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5147 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5148 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5149 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5150 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5151 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5152
9c008155
AM
51532013-10-04 Alan Modra <amodra@gmail.com>
5154
5155 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5156 64-bit int/double union.
5157 (_FPU_SETCW): Likewise.
5158 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5159 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5160
da13146d
AM
51612013-10-04 Alan Modra <amodra@gmail.com>
5162
5163 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5164 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5165
603e8410
AM
51662013-10-04 Alan Modra <amodra@gmail.com>
5167
5168 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5169 use vector int constants.
5170 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5171
4a28b3ca
AB
51722013-10-04 Anton Blanchard <anton@au1.ibm.com>
5173
5174 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5175 array with long long.
5176 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5177 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5178 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5179 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5180 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5181 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5182 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5183 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5184 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5185 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5186 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5187 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5188 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5189
2ca85d2b
AB
51902013-10-04 Anton Blanchard <anton@au1.ibm.com>
5191
5192 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5193 (__signbit): Likewise. Correct for little-endian.
5194 (__signbitl): Call __signbit.
5195 (lrint): Correct for little-endian.
5196 (lrintf): Call lrint.
5197
62a728ae
AM
51982013-10-04 Alan Modra <amodra@gmail.com>
5199
5200 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5201 union 32-bit int array member with 64-bit int array.
5202 (t515, tm256): Double rather than long double.
5203 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5204
32c301df
AM
52052013-10-04 Alan Modra <amodra@gmail.com>
5206
5207 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5208 Delete.
5209 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5210 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5211 version of math_ldbl.h.
5212
650ef4bd
AM
52132013-10-04 Alan Modra <amodra@gmail.com>
5214
5215 [BZ #15734], [BZ #15735]
5216 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5217 all uses of ieee875 long double macros and unions. Simplify test
5218 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5219 ldbl_extract_mantissa value for ix,iy exponents. Properly
5220 normalize after ldbl_extract_mantissa, and don't add hidden bit
5221 already handled. Don't treat low word of ieee854 mantissa like
5222 low word of IBM long double and mask off bit when testing for
5223 zero.
5224 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5225 all uses of ieee875 long double macros and unions. Simplify tests
5226 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5227 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5228 two1022, instead use their values. Recognise that tests for large
5229 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5230 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5231 Rewrite all uses of ieee875 long double macros and unions. Simplify
5232 test for 0.0L and nan. Correct negation.
5233 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5234 ieee875 long double macros and unions. Correct output for large
5235 magnitude x. Correct absolute value calculation.
5236 (__erfcl): Likewise.
5237 * math/libm-test.inc: Add tests for errors discovered in IBM long
5238 double versions of fmodl, remainderl, erfl and erfcl.
5239
765714ca
AM
52402013-10-04 Alan Modra <amodra@gmail.com>
5241
5242 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5243 all uses of ieee854 long double macros and unions. Simplify tests
5244 for long doubles that are fully specified by the high double.
5245 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5246 Likewise.
5247 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5248 Remove dead code too.
5249 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5250 (__ieee754_ynl): Likewise.
5251 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5253 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5254 Remove dead code too.
5255 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5256 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5257 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5258 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5259 Simplify.
5260 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5261 Simplify.
5262 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5263 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5264 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5265 Comment on variable precision.
5266 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5267 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5268 Likewise.
5269 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5272 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5273 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5274
4ebd120c
AM
52752013-10-04 Alan Modra <amodra@gmail.com>
5276
5277 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5278 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5279 all uses of ieee854 long double macros and unions.
5280 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5281 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5282 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5283 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5284 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5285 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5286 Likewise.
5287 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5288 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5289 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5290 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5291 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5292 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5293 Simplify sign and nan test too.
5294 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5295 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5296 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5297 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5298 Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5301 Likewise.
5302 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5303 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5304 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5305 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5306 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5307 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5308
1b6adf88
AM
53092013-10-04 Alan Modra <amodra@gmail.com>
5310
5311 * stdio-common/printf_size.c (__printf_size): Don't use
5312 union ieee854_long_double in fpnum union.
5313 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5314 signbit macro to retrieve sign from long double.
5315 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5316 retrieve sign from long double.
5317 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5318 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5319 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5320 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5321 * math/test-misc.c (main): Don't use union ieee854_long_double.
5322
4cf69995
AM
53232013-10-04 Alan Modra <amodra@gmail.com>
5324
5325 [BZ #15680]
5326 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5327 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5328 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5329 calculation. Remove unnecessary test for denormal exponent.
5330 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5331 Correct handling of denormals. Avoid undefined shift behaviour.
5332 Correct normalisation of low mantissa when low double is denormal.
5333 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5334 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5335 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5336 Correct normalisation of low mantissa. Test for overflow of high
5337 mantissa and normalise.
5338 (ldbl_nearbyint): Use more readable constant for two52.
5339 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5340 (__mpn_construct_long_double): Fix test for overflow of high
5341 mantissa and correct normalisation. Avoid undefined shift.
5342
9605ca6c
AM
53432013-10-04 Alan Modra <amodra@gmail.com>
5344
5345 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5346 (union ibm_extended_long_double): Define as an array of ieee754_double.
5347 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5348 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5349 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5350 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5351 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5352 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5353 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5354 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5355 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5356 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5357 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5358
975569d0
JM
53592013-10-03 Joseph Myers <joseph@codesourcery.com>
5360
d3d23756
JM
5361 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5362 page size instead of calling getpagesize.
5363
975569d0
JM
5364 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5365 (LOCFILE_ALIGN_MASK): Likewise.
5366 (LOCFILE_ALIGN_UP): Likewise.
5367 (LOCFILE_ALIGNED_P): Likewise.
5368 * locale/programs/ld-collate.c (collate_output): Use the new
5369 macros instead of __alignof__ (int32_t).
5370 * locale/weight.h (findidx): Likewise.
5371
b1fe1f2b
OB
53722013-10-03 Ondřej Bílka <neleai@seznam.cz>
5373
5374 [BZ #431]
5375 * manual/string.texi: Fix strncat and wcsncat.
5376
5f855e35
BM
53772013-10-03 Brooks Moses <bmoses@google.com>
5378
5379 [BZ #15915]
5380 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5381 * Makerules: ...here, and adjust associated comments.
5382
3cef6009
WN
53832013-10-02 Will Newton <will.newton@linaro.org>
5384
5385 * malloc/Makefile: Add tst-pvalloc.
5386 * malloc/tst-pvalloc.c: New file.
5387
7815420b
WN
53882013-10-02 Will Newton <will.newton@linaro.org>
5389
5390 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5391 improve test coverage.
5392
4868b204
WN
53932013-10-02 Will Newton <will.newton@linaro.org>
5394
5395 * malloc/Makefile: Add tst-posix_memalign.
5396 * malloc/tst-posix_memalign.c: New file.
5397
29c793b3
EB
53982013-10-01 Eric Blake <eblake@redhat.com>
5399
5400 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5401 Use __THROWNL rather than __THROW on static functions.
5402
fd967522
PM
54032013-09-30 Petr Machata <pmachata@redhat.com>
5404
5405 * elf/elf.h (R_AARCH64_ABS16): New macro.
5406 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5407 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5408 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5409 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5410 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5411 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5412 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5413 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5414 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5415 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5416 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5417 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5418 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5419 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5420 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5421 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5422 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5423 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5424 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5425 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5426 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5427 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5428 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5429 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5430 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5431 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5432 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5433 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5434 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5435 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5436 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5437 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5438 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5439 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5440 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5441 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5442 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5443 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5444 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5445 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5446 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5447 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5448 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5449 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5450 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5451 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5452 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5453 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5454 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5455 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5456 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5457 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5458 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5459 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5460 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5461 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5462 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5463 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5464 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5465 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5466 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5467 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5468 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5469 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5470 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5471 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5472 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5473 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5474 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5475 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5476 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5477 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5478 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5479 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5480 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5481 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5482 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5483 (R_AARCH64_TLSDESC_LDR): Likewise.
5484 (R_AARCH64_TLSDESC_ADD): Likewise.
5485 (R_AARCH64_TLSDESC_CALL): Likewise.
5486
b2179107
AS
54872013-09-30 Andreas Schwab <schwab@suse.de>
5488
5489 [BZ #15048]
5490 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5491 the nss database lookup.
5492 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5494
47f28d0a
MF
54952013-09-28 Mike Frysinger <vapier@gentoo.org>
5496
5497 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5498
54992013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5500
5501 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5502 ${Bash-specific parameter/pattern/string} parameter expansion.
5503 * sysdeps/unix/make-syscalls.sh: Likewise.
5504
f4518a17
KK
55052013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5506
5507 * sysdeps/sh/stackguard-macros.h: New file.
5508
dc1a95c7
OB
55092013-09-26 Ondřej Bílka <neleai@seznam.cz>
5510
5511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5513 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5514 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5515 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5516 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5517
5ebbff8f
AZ
55182013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5519
5520 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5521 Fix thread ID register.
5522
4fd2cf9f
JM
55232013-09-25 Joseph Myers <joseph@codesourcery.com>
5524
5525 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5526 [POSIX || UNIX98]: Require rather than permitting all symbols from
5527 <time.h>.
5528 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5529 element of struct sched_param.
5530 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5531 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5532 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5533 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5534 constant.
5535
12c22bc4
OL
55362013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5537
5538 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5539 argument calculation.
5540
a03d8ea7
JM
55412013-09-24 Joseph Myers <joseph@codesourcery.com>
5542
5543 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5544 Expect macro.
5545 [POSIX] (pthread_attr_t): Do not require type.
5546 [POSIX] (pthread_cond_t): Likewise.
5547 [POSIX] (pthread_condattr_t): Likewise.
5548 [POSIX] (pthread_key_t): Likewise.
5549 [POSIX] (pthread_mutex_t): Likewise.
5550 [POSIX] (pthread_mutexattr_t): Likewise.
5551 [POSIX] (pthread_once_t): Likewise.
5552 [POSIX] (pthread_t): Likewise.
5553 [POSIX-based standards] (pthread_atfork): Expect function.
5554
6055173a
JM
55552013-09-24 Joseph Myers <joseph@codesourcery.com>
5556 Richard Sandiford <richard@codesourcery.com>
5557
5558 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5559 (swap_endianness_p): New extern variable.
5560 (set_big_endian): New inline function.
5561 (maybe_swap_uint32): Likewise.
5562 (maybe_swap_uint32_array): Likewise.
5563 (maybe_swap_uint32_obstack): Likewise.
5564 * locale/programs/locfile.c: Include <stdbool.h>.
5565 (swap_endianness_p): New variable.
5566 (add_locale_uint32): Call maybe_swap_uint32.
5567 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5568 (write_locale_data): Call maybe_swap_uint32_array.
5569 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5570 maybe_swap_uint32.
5571 (obstack_int32_grow_fast): Likewise.
5572 (output_weightwc): Call maybe_swap_uint32_obstack.
5573 (collate_output): Likewise.
5574 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5575 (OPT_LITTLE_ENDIAN): Likewise.
5576 (options): Add --little-endian and --big-endian options.
5577 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5578 * locale/programs/locarchive.c: Include "locfile.h".
5579 (GET): New macro.
5580 (SET): Likewise.
5581 (INC): Likewise.
5582 (create_archive): Use the new macros to access fields of
5583 structures directly mapped from or written to locale archives.
5584 (oldlocrecentcmp): Likewise.
5585 (enlarge_archive): Likewise.
5586 (insert_name): Likewise.
5587 (add_alias): Likewise.
5588 (add_locale): Likewise.
5589 (delete_locales_from_archive): Likewise.
5590 (show_archive_content): Likewise.
5591 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5592 locale data.
5593
39bf0bb4
RM
55942013-09-24 Roland McGrath <roland@hack.frob.com>
5595
5596 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5597 http://www.gnu.org/doc/freemanuals.texi.
5598 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5599
f02eed10
WN
56002013-09-24 Will Newton <will.newton@linaro.org>
5601
5602 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5603 macro.
5604
a3a6c312
JM
56052013-09-23 Joseph Myers <joseph@codesourcery.com>
5606
5607 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5608 unsigned char.
5609
107375ac
MR
56102013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5611
5612 * manual/threads.texi (POSIX Threads): Fix a typo.
5613
141f3a77
SP
56142013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5615
303e567a
SP
5616 [BZ #14547]
5617 * string/tst-strcoll-overflow.c: New test case.
5618 * string/Makefile (xtests): Add tst-strcoll-overflow.
5619 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5620 cache if string sizes may cause integer overflow.
5621
141f3a77
SP
5622 [BZ #14547]
5623 * string/strcoll_l.c (coll_seq): New members rule, idx,
5624 save_idx and back_us.
5625 (get_next_seq_nocache): New function.
5626 (do_compare_nocache): New function.
5627 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5628 when malloc fails.
5629
c61b4d41
CD
56302013-09-23 Carlos O'Donell <carlos@redhat.com>
5631
0b1f8e35
CD
5632 [BZ #15754]
5633 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5634 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5635 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5636
c61b4d41
CD
5637 [BZ #15754]
5638 * elf/Makefile (tests): Add tst-ptrguard1.
5639 (tests-static): Add tst-ptrguard1-static.
5640 (tst-ptrguard1-ARGS): Define.
5641 (tst-ptrguard1-static-ARGS): Define.
5642 * elf/tst-ptrguard1.c: New file.
5643 * elf/tst-ptrguard1-static.c: New file.
5644 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5645 * sysdeps/i386/stackguard-macros.h: Likewise.
5646 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5647 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5648 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5649 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5650 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5651 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5652
56532013-09-23 Hector Marco <hecmargi@upv.es>
5654 Ismael Ripoll <iripoll@disca.upv.es>
5655 Carlos O'Donell <carlos@redhat.com>
5656
5657 [BZ #15754]
5658 * sysdeps/generic/stackguard-macros.h: Define
5659 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5660 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5661 Define __pointer_chk_guard_local.
5662 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5663 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5664
f5f4e7b4
VV
56652013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5666
5667 [BZ #15859]
5668 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5669
5bb43a43
AS
56702013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5671
5672 * include/string.h (__ffs): Declare as hidden.
5673 * string/ffs.c (__ffs): Define as hidden.
5674 * sysdeps/i386/ffs.c (__ffs): Likewise.
5675 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5676 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5677 * sysdeps/s390/ffs.c (__ffs): Likewise.
5678 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5679
3ea5be54
AO
56802013-09-20 Alexandre Oliva <aoliva@redhat.com>
5681
ffb89e53
AO
5682 * NEWS: Mention malloc probes.
5683
322dea08
AO
5684 * malloc/arena.c (new_heap): New memory_heap_new probe.
5685 (grow_heap): New memory_heap_more probe.
5686 (shrink_heap): New memory_heap_less probe.
5687 (heap_trim): New memory_heap_free probe.
5688 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5689 (systrim): New memory_sbrk_less probe.
5690 * manual/probes.texi: Document them.
5691
655673f3
AO
5692 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5693 * manual/probes.texi: Document it.
5694
35fed6f1
AO
5695 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5696 (__libc_realloc): Add memory_realloc_retry probe.
5697 (__libc_memalign): Add memory_memalign_retry probe.
5698 (__libc_valloc): Add memory_valloc_retry probe.
5699 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5700 (__libc_calloc): Add memory_calloc_retry probe.
5701 * manual/probes.texi: Document them.
5702
6999d38c
AO
5703 * malloc/arena.c (get_free_list): Add probe
5704 memory_arena_reuse_free_list.
5705 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5706 and memory_arena_reuse.
5707 (arena_get2) [!PER_THREAD]: Likewise.
5708 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5709 memory_arena_reuse_realloc.
5710 * manual/probes.texi: Document them.
5711
0653427f
AO
5712 * malloc/malloc.c (__libc_free): Add
5713 memory_mallopt_free_dyn_thresholds probe.
5714 (__libc_mallopt): Add multiple memory_mallopt probes.
5715 * manual/probes.texi: Document them.
5716
3ea5be54
AO
5717 * malloc/malloc.c: Include stap-probe.h.
5718 (__libc_mallopt): Add memory_mallopt probe.
5719 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5720 * manual/probes.texi: New.
5721 * manual/Makefile (chapters): Add probes.
5722 * manual/threads.texi: Set next node.
5723
e35696c3 57242013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5725
e35696c3
CL
5726 [BZ #15963, #13985]
5727 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5728 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5729 Add `Chinese' to `nan' entry name.
5730
4aafb73c
SP
57312013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5732
5733 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5734 (POLYNOMIAL): Likewise.
5735 (TAYLOR_SINCOS): Likewise.
5736 (TAYLOR_SLOW): Likewise.
5737 (__sin): Use TAYLOR_SINCOS.
5738 (__cos): Likewise.
5739 (slow): Use TAYLOR_SLOW.
5740 (sloww): Likewise.
5741 (bsloww): Likewise.
5742 (csloww): Likewise.
5743
d84f25c7
LD
57442013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5745
5746 * stdlib/strtod_l.c: Fix buffer overrun.
5747
5eea0404
SP
57482013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5749
7849ff93
SP
5750 * benchtests/Makefile (bench): Add sincos.
5751 * benchtests/bench-sincos.c: New file.
5752
cfa3c886
SP
5753 * math/libm-test.inc (cos_test_data): New test inputs.
5754 (sin_test_data): Likewise.
5755
b348e1e3
SP
5756 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5757 macro.
5758 (__sin): Use it.
5759 (__cos): Likewise.
5760 (slow1): Likewise.
5761 (slow2): Likewise.
5762 (sloww1): Likewise.
5763 (sloww2): Likewise.
5764 (bsloww1): Likewise.
5765 (bsloww2): Likewise.
5766 (cslow2): Likewise.
5767 (csloww1): Likewise.
5768 (csloww2): Likewise.
5769
6cce25f8
SP
5770 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5771 function.
5772 (__sin): Use it.
5773 (__cos): Likewise.
5774
5eea0404
SP
5775 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5776 gotos.
5777 (__cos): Likewise.
5778
9c21573c
MR
57792013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5780
5781 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5782 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5783 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5784 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5785 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5786 * elf/cache.c (print_entry): Handle the new cache flags.
5787
24d22e65
JM
57882013-09-18 Joseph Myers <joseph@codesourcery.com>
5789 Aldy Hernandez <aldyh@redhat.com>
5790
5791 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5792 Change condition to [_SOFT_FLOAT].
5793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5797 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5805 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5808 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5809 declaration.
5810
d13ef066
JM
58112013-09-18 Joseph Myers <joseph@codesourcery.com>
5812
2e071de0
JM
5813 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5814 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5815 (__longjmp): Use LOAD_GP to load saved GPRs.
5816 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5817 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5818 (__sigsetjmp): Use SAVE_GP to save GPRs.
5819
d13ef066
JM
5820 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5821 Do not append -msoft-float.
5822 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5823
97a0650b
SP
58242013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5825
5826 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5827
11ca09e9
JM
58282013-09-17 Joseph Myers <joseph@codesourcery.com>
5829
5830 [BZ #15966]
5831 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5832 (_FPU_GETCW): Use initial "__" on variable and field names but not
5833 on macro parameter name.
5834 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5835 parentheses around reference to macro parameter.
5836
08ffcf34
RS
58372013-09-13 Richard Sandiford <richard@codesourcery.com>
5838
5839 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5840 prototype.
5841 (ctype_startup): Use uint32_t in cast and sizeof for
5842 ctype->charnames.
5843
ae7080d3
JL
58442013-09-11 Jia Liu <proljc@gmail.com>
5845
5846 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5847 __daddr_t_defined.
5848 [__FreeBSD__]: Likewise.
5849
5905e7b3
OB
58502013-09-11 Ondřej Bílka <neleai@seznam.cz>
5851
5852 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5853 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5854 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5855 (strchr): Remove __strchr_sse42 ifunc selection.
5856 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5857 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5858
b987c776
WN
58592013-09-11 Will Newton <will.newton@linaro.org>
5860
5861 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5862 parameter to RES. Remove hardcoded 1000 value.
5863 * benchtests/bench-skeleton.c (main): Pass RES parameter
5864 to TIMING_INIT and multiply result by 1000.
5865
ddf985af
AZ
58662013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5867
5868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5869
ffdd3181
AS
58702013-09-11 Andreas Schwab <schwab@suse.de>
5871
5872 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5873 if not defined.
5874 (O_TMPFILE) [__USE_GNU]: Define.
5875 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5876 Define.
5877
b73ed247
WN
58782013-09-11 Will Newton <will.newton@linaro.org>
5879
5880 [BZ #15857]
5881 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5882 does not overflow.
5883
55e17aad
WN
58842013-09-11 Will Newton <will.newton@linaro.org>
5885
5886 [BZ #15856]
5887 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5888 does not overflow.
5889
1159a193
WN
58902013-09-11 Will Newton <will.newton@linaro.org>
5891
5892 [BZ #15855]
5893 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5894 does not overflow.
5895
5905e7b3 58962013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5897
5898 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5899 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5902 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5903
cdfc721b
AM
59042013-09-10 Allan McRae <allan@archlinux.org>
5905
aa04af00
AM
5906 [BZ #15748]
5907 * manual/arith.texi (Parsing of Floats): Clarify
5908 cross-reference.
5909
cdfc721b
AM
5910 [BZ #15849]
5911 * manual/install.texi (Running make install): Mention
5912 --enable-pt-chown.
5913 * INSTALL: Regenerated.
5914
95e7cf29
MR
59152013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5916
5917 * csu/init-first.c (_init): Remove the !SHARED condition around
5918 FPU control word initialization.
5919 * elf/dl-support.c (_dl_fpu_control): New variable.
5920 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5921 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5922 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5923 * math/test-fpucw-static.c: New file.
5924 * math/test-fpucw-ieee.c: New file.
5925 * math/test-fpucw-ieee-static.c: New file.
5926 * math/Makefile (tests): Add `test-fpucw-ieee' and
5927 `$(tests-static)'.
5928 (tests-static): New variable.
5929 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5930 dependency to...
5931 [($(build-shared),yes)]
5932 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5933 ... this.
5934 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5935 New dependency.
5936
83e43bf0
AM
59372013-09-09 Allan McRae <allan@archlinux.org>
5938
a9f5ce09
AM
5939 [BZ #15939]
5940 * manual/string.texi (Collation Functions): Fix typo in
5941 strcoll example.
5942 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5943
34829bc2
AM
5944 [BZ #15893]
5945 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5946
3932737d
AM
5947 [BZ #15892]
5948 * libio/memstream.c (open_memstream): Fix memory leak.
5949 * libio/wmemstream.c (open_wmemstream): Likewise.
5950
83e43bf0
AM
5951 [BZ #15895]
5952 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5953
0c66b8e9
WN
59542013-09-09 Will Newton <will.newton@linaro.org>
5955
5956 * malloc/Makefile: Add tst-realloc to tests.
5957 * malloc/tst-realloc.c: New file.
5958
f6b00fd1
AM
59592013-09-09 Allan McRae <allan@archlinux.org>
5960
5961 [BZ #15844]
5962 * COPYING: Update from GNU website to fix FSF address.
5963 * COPYING.LIB: Likewise.
5964
eec55e16
DM
59652013-09-06 David S. Miller <davem@davemloft.net>
5966
5967 * po/zh_TW.po: Update Chinese (traditional) translation from
5968 translation project.
5969
1ecbb381
RS
59702013-09-06 Richard Sandiford <richard@codesourcery.com>
5971 Joseph Myers <joseph@codesourcery.com>
5972
5973 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5974 "localeinfo.h".
5975 (obstack_chunk_alloc): New macro.
5976 (obstack_chunk_free): Likewise.
5977 (record_offset): New function.
5978 (init_locale_data): Likewise.
5979 (align_locale_data): Likewise.
5980 (add_locale_empty): Likewise.
5981 (add_locale_raw_data): Likewise.
5982 (add_locale_raw_obstack): Likewise.
5983 (add_locale_string): Likewise.
5984 (add_locale_wstring): Likewise.
5985 (add_locale_uint32): Likewise.
5986 (add_locale_uint32_array): Likewise.
5987 (add_locale_char): Likewise.
5988 (start_locale_structure): Likewise.
5989 (end_locale_structure): Likewise.
5990 (start_locale_prelude): Likewise.
5991 (end_locale_prelude): Likewise.
5992 (write_locale_data): Take locale_file structure rather than an
5993 iovec.
5994 * locale/programs/locfile.h: Include "obstack.h".
5995 (struct locale_file): Change to store locale file contents instead
5996 of header.
5997 (init_locale_data): New prototype.
5998 (align_locale_data): Likewise.
5999 (add_locale_empty): Likewise.
6000 (add_locale_raw_data): Likewise.
6001 (add_locale_raw_obstack): Likewise.
6002 (add_locale_string): Likewise.
6003 (add_locale_wstring): Likewise.
6004 (add_locale_uint32): Likewise.
6005 (add_locale_uint32_array): Likewise.
6006 (add_locale_char): Likewise.
6007 (start_locale_structure): Likewise.
6008 (end_locale_structure): Likewise.
6009 (start_locale_prelude): Likewise.
6010 (end_locale_prelude): Likewise.
6011 (write_locale_data): Update prototype.
6012 * locale/programs/3level.h (struct TABLE): Remove result field.
6013 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6014 Use new locale_file interface.
6015 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6016 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6017 * locale/programs/ld-address.c (address_output): Use new
6018 locale_file interface.
6019 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6020 NO_ADD_LOCALE.
6021 (collate_finish): Don't call collseq_table_finalize.
6022 (collate_output): Use new locale_file interface.
6023 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6024 in file.
6025 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6026 (TABLE): Move defines earlier in file.
6027 (ELEMENT): Likewise.
6028 (DEFAULT): Likewise.
6029 (wctrans_table_add): Move macro and inline function earlier in
6030 file.
6031 (struct wctype_table): Move type earlier in file.
6032 (add_locale_wctype_table): New static prototype.
6033 (struct locale_ctype_t): Use logical types instead of struct iovec
6034 pointers for members.
6035 (ctype_output): Use new locale_file interface.
6036 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6037 new locale_file interface.
6038 (allocate_arrays): Update for use of new locale_file interface.
6039 * locale/programs/ld-identification.c (identification_output): Use
6040 new locale_file interface.
6041 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6042 * locale/programs/ld-messages.c (messages_output): Likewise.
6043 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6044 * locale/programs/ld-name.c (name_output): Likewise.
6045 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6046 * locale/programs/ld-paper.c (paper_output): Likewise.
6047 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6048 * locale/programs/ld-time.c (time_output): Likewise.
6049
e029e2e5
AZ
60502013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051
6052 * benchtests/Makefile: Add memrchr benchmark.
6053 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6054 benchmark as memrchr.
6055 * benchtests/bench-memrchr-ifunc.c: New file.
6056 * benchtests/bench-memrchr.c: New file.
6057
bbf6e8e4
WN
60582013-09-06 Will Newton <will.newton@linaro.org>
6059
6060 * benchtests/Makefile (string-bench): Add memcpy.
6061
6c82a2f8
CD
60622013-09-05 Carlos O'Donell <carlos@redhat.com>
6063 Cong Wang <amwang@redhat.com>
6064
e732c5f0 6065 [BZ #15850]
6c82a2f8
CD
6066 * sysdeps/unix/sysv/linux/bits/in.h
6067 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6068 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6069 before __USE_KERNEL_IPV6_DEFS uses.
6070 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6071 IPPROTO_BEETPH.
6072 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6073 sockaddr_in6, or ipv6_mreq.
6074
5430fc65
AZ
60752013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6076
6077 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6078 memory access for final bytes in some large inputs.
6079 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6080
4660856c
AZ
60812013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6082
6083 * string/test-memrchr.c: New file.
6084 * string/test-memrchr-ifunc.c: New file.
6085 * string/Makefile: Add new memrchr testcase.
6086
bb8ea713
MF
60872013-09-05 Mike Frysinger <vapier@gentoo.org>
6088
6089 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6090 fanotify_init returns EPERM.
6091
b92a20b5
JM
60922013-09-04 Joseph Myers <joseph@codesourcery.com>
6093
6094 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6095 errors.
6096 (top level): Treat second token from macro or constant entries for
6097 allowed headers as allowed.
6098 * include/complex.h: Condition internal declarations on
6099 [!_ISOMAC].
6100 * include/fenv.h: Condition include of <stdbool.h> and internal
6101 declarations on [!_ISOMAC].
7447ccd9
CL
6102
61032013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6104
3e181dda 6105 [BZ #15923]
7447ccd9
CL
6106 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6107
3f2e46a4
JM
61082013-09-04 Joseph Myers <joseph@codesourcery.com>
6109
6110 * configure.in (--enable-versioning): Remove configure option.
6111 (libc_cv_asm_symver_directive): Remove configure test.
6112 (libc_cv_ld_version_script_option): Likewise.
6113 (VERSIONING): Remove variable and AC_SUBST.
6114 (DO_VERSIONING): Remove AC_DEFINE.
6115 * configure: Regenerated.
6116 * config.h.in (DO_VERSIONING): Remove macro.
6117 * Makerules [$(versioning) = yes]: Change conditionals to
6118 [$(build-shared) = yes].
6119 * config.make.in (versioning): Remove variable.
6120 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6121 [$(build-shared) = yes].
6122 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6123 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6124 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6125 [$(build-shared) = yes].
6126 * extra-lib.mk [$(versioning) = yes]: Likewise.
6127 * hurd/Makefile [$(versioning) = yes]: Likewise.
6128 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6129 [SHARED].
6130 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6131 [SHARED].
6132 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6133 [SHARED && !NO_HIDDEN].
6134 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6135 [SHARED].
6136 [SHARED && DO_VERSIONING]: Likewise..
6137 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6138 [$(build-shared) = yes].
6139 * manual/install.texi (--disable-versioning): Remove
6140 documentation.
6141 * INSTALL: Regenerated.
6142 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6143 to [SHARED].
6144 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6145 [$(build-shared) = yes].
6146 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6147 * sysdeps/i386/i686/multiarch/strstr-c.c
6148 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6149 [SHARED && !NO_HIDDEN].
6150 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6151 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6152 * sysdeps/powerpc/powerpc32/dl-machine.c
6153 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6154 * sysdeps/powerpc/powerpc32/sysdep.h
6155 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6156 to [SHARED && PIC && !NO_HIDDEN].
6157 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6158 conditional to [SHARED].
6159
44558701
WN
61602013-09-04 Will Newton <will.newton@linaro.org>
6161
6162 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6163 * benchtests/bench-string.h: Include bench-timing.h instead
6164 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6165 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6166 call to HP_TIMING_DIFF_INIT.
6167 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6168 instead of hp-timing.h macros.
6169 * benchtests/bench-memchr.c: Likewise.
6170 * benchtests/bench-memcmp.c: Likewise.
6171 * benchtests/bench-memcpy.c: Likewise.
6172 * benchtests/bench-memmem.c: Likewise.
6173 * benchtests/bench-memmove.c: Likewise.
6174 * benchtests/bench-memset.c: Likewise.
6175 * benchtests/bench-rawmemchr.c: Likewise.
6176 * benchtests/bench-strcasecmp.c: Likewise.
6177 * benchtests/bench-strcasestr.c: Likewise.
6178 * benchtests/bench-strcat.c: Likewise.
6179 * benchtests/bench-strchr.c: Likewise.
6180 * benchtests/bench-strcmp.c: Likewise.
6181 * benchtests/bench-strcpy.c: Likewise.
6182 * benchtests/bench-strcpy_chk.c: Likewise.
6183 * benchtests/bench-strlen.c: Likewise.
6184 * benchtests/bench-strncasecmp.c: Likewise.
6185 * benchtests/bench-strncat.c: Likewise.
6186 * benchtests/bench-strncmp.c: Likewise.
6187 * benchtests/bench-strncpy.c: Likewise.
6188 * benchtests/bench-strnlen.c: Likewise.
6189 * benchtests/bench-strpbrk.c: Likewise.
6190 * benchtests/bench-strrchr.c: Likewise.
6191 * benchtests/bench-strspn.c: Likewise.
6192 * benchtests/bench-strstr.c: Likewise.
6193
cae16d66
WN
61942013-09-04 Will Newton <will.newton@linaro.org>
6195
6196 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6197
ffa3cd7f
JM
61982013-09-03 Joseph Myers <joseph@codesourcery.com>
6199
6200 [BZ #15427]
6201 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6202 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6203 * math/libm-test.inc (lgamma_test_data): Add more tests.
6204 * sysdeps/i386/fpu/libm-test-ulps: Update.
6205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6206
8f02859f
OB
62072013-09-03 Ondřej Bílka <neleai@seznam.cz>
6208
6209 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6210 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6211 Add ifunc.
6212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6213 Add strcmp-sse2-unaligned
6214 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6215
18d43716
MF
62162013-09-02 Mike Frysinger <vapier@gentoo.org>
6217
6218 * Versions.def (libc): Add GLIBC_2.19.
6219
ac444012
MF
62202013-09-02 Mike Frysinger <vapier@gentoo.org>
6221
6222 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6223 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6224
b7835e32
JM
62252013-09-02 Joseph Myers <joseph@codesourcery.com>
6226
6227 [BZ #14155]
6228 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6229 intermediate calculations in recurrence.
6230 (__ieee754_ynf): Likewise.
6231 * math/libm-test.inc (jn_test_data): Do not allow spurious
6232 underflow exception. Add more tests.
6233 (yn_test_data): Add more tests.
6234 * sysdeps/i386/fpu/libm-test-ulps: Update.
6235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6236
8220f4f0
OB
62372013-09-02 Ondřej Bílka <neleai@seznam.cz>
6238
6239 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6240
f24a6d08
OB
62412013-08-30 Ondřej Bílka <neleai@seznam.cz>
6242
6243 * csu/init-first.c: Fix then/than typos.
6244 * locale/programs/ld-collate.c: Likewise.
6245 * locale/programs/linereader.h: Likewise.
6246 * manual/charset.texi: Likewise.
6247 * manual/filesys.texi: Likewise.
6248 * manual/stdio.texi: Likewise.
6249 * manual/string.texi: Likewise.
6250 * stdlib/fmtmsg.c: Likewise.
6251 * sysdeps/i386/stpncpy.S: Likewise.
6252 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6253 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6254 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6255 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6256
382466e0
OB
62572013-08-30 Ondřej Bílka <neleai@seznam.cz>
6258
6259 * elf/dl-open.c: Fix typos.
6260 * iconvdata/gbbig5.c: Likewise.
6261 * iconvdata/iso-2022-jp.c: Likewise.
6262 * iconv/gconv_int.h: Likewise.
6263 * iconv/loop.c: Likewise.
6264 * nis/rpcsvc/nis.h: Likewise.
6265 * resolv/ns_name.c: Likewise.
6266 * stdio-common/vfscanf.c: Likewise.
6267 * streams/stropts.h: Likewise.
6268 * sunrpc/rpc_thread.c: Likewise.
6269 * sysdeps/i386/strpbrk.S: Likewise.
6270 * sysdeps/ieee754/k_standard.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6273 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6274 * sysdeps/mach/hurd/profil.c: Likewise.
6275 * sysdeps/s390/dl-procinfo.h: Likewise.
6276 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6277 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6278 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6279 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6280 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6281
0186c6e9
OB
62822013-08-30 Ondřej Bílka <neleai@seznam.cz>
6283
6284 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6286
d4e16af1
OB
62872013-08-29 Ondřej Bílka <neleai@seznam.cz>
6288
6289 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6290 aix specific files.
6291 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6292 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6293 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6294 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6295 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6296 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6297 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6298 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6299
88335980
TS
63002013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6301 Roland McGrath <roland@hack.frob.com>
6302
6303 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6304 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6305
ed479b02
ST
63062013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6307
6308 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6309 __executable_start symbol instead of _start.
6310
f1cc4c86
TS
63112013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6312
d821f07c
TS
6313 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6314 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6315 Move macros to...
6316 * sysdeps/gnu/ldsodefs.h: ... this new file.
6317
c54290cf
TS
6318 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6319 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6320 instead of ELFOSABI_LINUX.
6321
0007fc9b 6322 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6323 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6324 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6325 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6326 Likewise.
6327 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6328 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6330 Likewise.
6331 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6332 (ibm_extended_long_double): Add ieee_nan member.
6333 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6334 (do_test): New function.
6335
f1cc4c86
TS
6336 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6337 TEST_TRUNC.
6338 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6339 functions, renamed from truncdfsf_test, trunctfsf_test,
6340 trunctfdf_test.
6341 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6342 functions.
6343 (do_test): Run all these.
6344
6f65e668
OB
63452013-08-29 Ondřej Bílka <neleai@seznam.cz>
6346
6347 * argp/argp-help.c: Fix typos.
6348 * argp/argp-parse.c: Likewise.
6349 * debug/backtracesyms.c: Likewise.
6350 * elf/elf.h: Likewise.
6351 * malloc/malloc.c: Likewise.
6352 * nis/nis_print.c: Likewise.
6353 * resolv/res_comp.c: Likewise.
6354 * stdlib/stdlib.h: Likewise.
6355 * sunrpc/clnt_tcp.c: Likewise.
6356 * sunrpc/clnt_udp.c: Likewise.
6357 * sunrpc/clnt_unix.c: Likewise.
6358 * sysdeps/unix/bsd/ptsname.c: Likewise.
6359 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6360 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6362 Likewise.
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6364 Likewise.
6365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6366 Likewise.
6f65e668
OB
6367 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6368
3a309239
SP
63692013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6370
6371 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6373
3b813b29
MF
63742013-08-27 Mike Frysinger <vapier@gentoo.org>
6375
6376 [BZ #15897]
6377 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6378 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6379 ($(objpfx)bug-dl-leaf): New rule.
6380 ($(objpfx)bug-dl-leaf.so): Likewise.
6381 ($(objpfx)bug-dl-leaf.out): Likewise.
6382 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6383 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6384 * dlfcn/bug-dl-leaf.c: New test.
6385 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6386 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6387 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6388 (dlclose): Likewise.
6389 (dlmopen): Likewise.
6390
8cc3269f
RM
63912013-08-27 Roland McGrath <roland@hack.frob.com>
6392
7f9d0034
RM
6393 * include/netdb.h [!_ISOMAC]:
6394 Don't include <tls.h>.
6395 (h_errno, __libc_h_errno): Move declaration and macros out of
6396 [_LIBC_REENTRANT].
6397
fb431262
RM
6398 * include/resolv.h [_RESOLV_H_]:
6399 Don't include <tls.h>.
6400 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6401 * resolv/res_libc.c: Don't include <tls.h>.
6402 (_res): Use __attribute__ ((nocommon)) in place of
6403 __attribute__ ((section (".bss"))).
6404
bd81123a
RM
6405 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6406 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6407
c4e42566
RM
6408 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6409
f890a59b
RM
6410 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6411 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6412
6413 * resolv/res_mkquery.c: Include <sys/time.h>.
6414
5d1f0a09
RM
6415 * inet/ifreq.c: Moved to ...
6416 * sysdeps/unix/ifreq.c: ... here.
6417 * inet/ifreq.c: New file, true stub version.
6418
6fcf28b3
RM
6419 * socket/sa_len.c: New file.
6420 * socket/Makefile (aux): Add it.
6421 * sysdeps/unix/sysv/linux/Makefile
6422 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6423 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6424 and #include <socket/sa_len.c>.
6425 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6426 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6427
e041fb8b
RM
6428 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6429 * bits/socket.h: ... here.
6430
8cc3269f
RM
6431 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6432 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6433 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6434
5d228a43
AS
64352013-08-27 Andreas Schwab <schwab@suse.de>
6436
45b8accc
AS
6437 [BZ #15736]
6438 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6439 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6440 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6441 * string/test-strcasecmp.c (test_main): Run tests in several
6442 locales.
6443 * string/test-strncasecmp.c (test_main): Likewise.
6444
5d228a43
AS
6445 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6446 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6447 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6449 (__strncasecmp_ssse3) [PIC]: Likewise.
6450
59d112a4
RM
64512013-08-26 Roland McGrath <roland@hack.frob.com>
6452
53234cc3
RM
6453 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6454
59d112a4
RM
6455 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6456 instead of explicitly declaring xdecrypt.
6457 * nis/nss_nis/nis-publickey.c: Likewise.
6458
595aba70
SP
64592013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6460
6461 [BZ #15890]
6462 * nscd/aicache.c: Include res_hconf.h.
6463 (addhstaiX): Initialize res_hconf.
6464
ffabd393
AS
64652013-08-26 Andreas Schwab <schwab@suse.de>
6466
6467 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6468 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6469
e0a69f5c
SP
64702013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6471
6472 * nscd/aicache.c (addhstaiX): Fix indentation.
6473
8c12f01d
MF
64742013-08-25 Mike Frysinger <vapier@gentoo.org>
6475
6476 * configure.ac: Quote $build_pt_chown test.
6477 * configure: Regenerated.
6478
8fe89494
JM
64792013-08-23 Joseph Myers <joseph@codesourcery.com>
6480
6481 [BZ #15532]
6482 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6483 * math/s_cexpf.c (__cexpf): Likewise.
6484 * math/s_cexpl.c (__cexpl): Likewise.
6485 * math/libm-test.inc (cexp_test_data): Correct expected return
6486 value for NaN + i0. Add another test.
6487
75b181d6
DM
64882013-08-22 David S. Miller <davem@davemloft.net>
6489
6490 * po/ca.po: Update Catalan translation from translation project.
936241e4 6491 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6492
acd06bb1
JM
64932013-08-21 Joseph Myers <joseph@codesourcery.com>
6494
6495 [BZ #15797]
6496 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6497 is infinite, not alongside NaN test.
6498 * math/s_fdimf.c (__fdimf): Likewise.
6499 * math/s_fdiml.c (__fdiml): Likewise.
6500 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6501 errno is unchanged.
6502
c0c3f78a
OB
65032013-08-21 Ondřej Bílka <neleai@seznam.cz>
6504
6505 * argp/argp-help.c: Fix typos.
6506 * crypt/speeds.c: Likewise.
6507 * csu/check_fds.c: Likewise.
6508 * elf/dl-load.c: Likewise.
6509 * elf/dl-open.c: Likewise.
6510 * elf/reldep3.c: Likewise.
6511 * elf/reldep.c: Likewise.
6512 * elf/sprof.c: Likewise.
6513 * iconv/iconv_charmap.c: Likewise.
6514 * iconv/skeleton.c: Likewise.
6515 * iconv/strtab.c: Likewise.
6516 * io/lockf64.c: Likewise.
6517 * libio/libioP.h: Likewise.
6518 * resolv/gai_notify.c: Likewise.
6519 * resolv/ns_name.c: Likewise.
6520 * resolv/ns_samedomain.c: Likewise.
6521 * resolv/res_send.c: Likewise.
6522 * stdlib/random.c: Likewise.
6523 * sunrpc/rpc/xdr.h: Likewise.
6524 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6525 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6526 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6527 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6528 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6529 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6531 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6532 * sysdeps/mach/hurd/check_fds.c: Likewise.
6533 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6534 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6535 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6536 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6537 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6538 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6539 * sysdeps/pthread/aio_notify.c: Likewise.
6540 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6541 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6542 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6543 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6544 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6545
46ed1038
LD
65462013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6547
6548 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6549 version if bit_Slow_SSE4_2 is set.
6550 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6551 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6552
d400dcac
AZ
65532013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6554
6555 [BZ #15867]
6556 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6557 trampoline stack frame information.
6558 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6559 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6560 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6561 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6562 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6563 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6564 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6565 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6566 sa_flags value.
6567 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6568 interrupting a syscall and set with option SA_SIGINFO.
6569
42c8fdd8
JM
65702013-08-20 Joseph Myers <joseph@codesourcery.com>
6571
c980f2f4
JM
6572 [BZ #15531]
6573 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6574 argument is infinite.
6575 * math/s_cprojf.c (__cprojf): Likewise.
6576 * math/s_cprojl.c (__cprojl): Likewise.
6577 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6578 * math/libm-test.inc (cproj_test_data): Add more tests.
6579
0716c4fc
JM
6580 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6581
42c8fdd8
JM
6582 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6583 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6584 size. Use __ffs to determine corresponding shift.
6585
b31469d0
JM
65862013-08-20 Joseph Myers <joseph@codesourcery.com>
6587 Roland McGrath <roland@hack.frob.com>
6588
6589 * Makefile (INSTALL): Remove trailing blank lines from output of
6590 makeinfo.
6591
4e39af6e
AK
65922013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6593
6594 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6595 Align 32 bit compat elf_greg to 8 bytes.
6596
f315524e
AA
65972013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6598
6599 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6600
1326ba1a
SP
66012013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6602
6603 * string/strcoll_l.c (coll_seq): New structure.
6604 (get_next_seq_cached): New function.
6605 (get_next_seq): New function.
6606 (do_compare): New function.
6607 (STRCOLL): Use GNU style definition. Simplify implementation
6608 by using get_next_seq, get_next_seq_cached and do_compare.
6609
91ce4085
FW
66102013-08-16 Florian Weimer <fweimer@redhat.com>
6611
6612 [BZ #14699]
6613 CVE-2013-4237
6614 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6615 member.
6616 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6617 member.
6618 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6619 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6620 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6621 conditional.
6622 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6623 GETDENTS_64BIT_ALIGNED.
6624 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6625 * manual/filesys.texi (Reading/Closing Directory): Document
6626 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6627 strongly.
6628 * manual/conf.texi (Limits for Files): Add portability note to
6629 NAME_MAX, PATH_MAX.
6630 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6631
ca0a6bc4
AS
66322013-08-13 Andreas Schwab <schwab@suse.de>
6633
6634 [BZ #15749]
6635 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6636 of fabs.
6637 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6638 LDBL_MAX_EXP >= 16384]: Add tests for it.
6639
6c1fd795
DM
66402013-08-12 David S. Miller <davem@davemloft.net>
6641
6642 * version.h (RELEASE): Set to "development".
6643 (VERSION): Set to "2.18.90".
6644 * NEWS: Add 2.19 section.
6645
31ad488d
DM
66462013-08-03 David S. Miller <davem@davemloft.net>
6647
6648 * po/ko.po: Update Korean translation from translation project.
6649
db24e684
DM
66502013-08-01 David S. Miller <davem@davemloft.net>
6651
6652 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6653 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6654 Bilka.
6655
f723285b
DM
66562013-07-30 David S. Miller <davem@davemloft.net>
6657
6658 * po/fr.po: Update French translation from translation project.
6659
3cbc52db
DM
66602013-07-28 David S. Miller <davem@davemloft.net>
6661
30bbc0cc
DM
6662 * po/cs.po: Update Czech translation from translation project.
6663
3cbc52db
DM
6664 * po/sv.po: Update Swedish translation from translation project.
6665
d492e6d0
DM
66662013-07-27 David S. Miller <davem@davemloft.net>
6667
f1a7f492
DM
6668 * po/eo.po: Update Esperanto translation from translation project.
6669
90e62a4a
DM
6670 * po/vi.po: Update Vietnamese translation from translation project.
6671
d492e6d0
DM
6672 * po/de.po: Update German translation from translation project.
6673
d4baa62d
DM
66742013-07-26 David S. Miller <davem@davemloft.net>
6675
641aa7b4
DM
6676 * po/bg.po: Update Bulgarian translation from translation project.
6677
d4baa62d
DM
6678 * po/nl.po: Update Dutch translation from translation project.
6679 * po/pl.po: Update Polish translation from translation project.
6680 * po/ru.po: Update Russian translation from translation project.
6681
61a9dcb9
DM
66822013-07-24 David S. Miller <davem@davemloft.net>
6683
6684 * po/libc.pot: Update.
6685
7b1f8b58
AZ
66862013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6687
6688 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6689 variable page size.
6690 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6691 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6692 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6693
a8fc7a03
AK
66942013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6695
6696 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6697
e4608715
CD
66982013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6699 Andreas Schwab <schwab@suse.de>
6700 Roland McGrath <roland@hack.frob.com>
6701 Joseph Myers <joseph@codesourcery.com>
6702 Carlos O'Donell <carlos@redhat.com>
6703
6704 [BZ #15755]
6705 * config.h.in: Define HAVE_PT_CHOWN.
6706 * config.make.in (build-pt-chown): New variable.
6707 * configure.in (--enable-pt_chown): New configure option.
6708 * configure: Regenerate.
6709 * login/Makefile: Include Makeconfig. Build pt_chown only if
6710 build-pt-chown is enabled.
6711 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6712 pt_chown to fix pty ownership.
6713 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6714 CLOSE_ALL_FDS.
6715 * manual/install.texi (Configuring and compiling): Mention
6716 --enable-pt_chown. Add @findex for grantpt.
6717 * INSTALL: Regenerate.
6718
da2d62df
DM
67192013-07-20 David S. Miller <davem@davemloft.net>
6720
6721 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6722 difference between 32-bit and 64-bit.
6723
d7e06450
CD
67242013-07-15 Carlos O'Donell <carlos@redhat.com>
6725
6726 [BZ #15711]
6727 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6728 Avoid system header dependency with -ffreestanding.
6729 ($(objpfx)bits/syscall%d): Likewise.
6730
f959cfd7
DM
67312013-07-13 David S. Miller <davem@davemloft.net>
6732
6733 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6734 underflows from atanl/atan2l due to bug 15319.
6735 (casinh_test_data): Likewise.
6736
c61f8513
DM
67372013-07-07 David S. Miller <davem@davemloft.net>
6738
6739 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6740
72c90ed0
JA
67412013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6742
6743 * sysdeps/i386/fpu/libm-test-ulps: Update.
6744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6745
52dfbe13
SP
67462013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6747
6748 * configure.in (--enable-lock-elision): Fix message text.
6749 * INSTALL: Regenerate.
6750 * configure: Regenerate.
6751
3f169543
AZ
67522013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6753
6754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6755
521c6785
AJ
67562013-07-03 Andreas Jaeger <aj@suse.de>
6757
6758 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6759 define.
6760 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6761 (ptrace_peeksiginfo_args): Add.
6762 (__ptrace_peeksiginfo_flags): Add.
6763 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6764 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6765 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6766
d2cc15cb
AM
67672013-07-03 Allan McRae <allan@archlinux.org>
6768
6769 * sysdeps/i386/fpu/libm-test-ulps: Update.
6770
3aaeeca7
DM
67712013-07-02 David S. Miller <davem@davemloft.net>
6772
6773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6774
5314ed1a
MT
67752013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6776
6777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6778
67338156
JM
67792013-07-02 Joseph Myers <joseph@codesourcery.com>
6780
6781 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6783
1717da59
AK
67842013-07-02 Andi Kleen <ak@linux.intel.com>
6785
6786 * config.h.in (ENABLE_LOCK_ELISION): Add.
6787 * configure.in (--enable-lock-elision): Add option.
6788 * manual/install.texi: Document --enable lock elision.
6789 * configure: Regenerate
6790 * INSTALL: Regenerate.
6791
1c81621c
L
67922013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6793
6794 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6795 SSE4.2 strcasecmp for libc.a.
6796 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6797
77f01ab5
JM
67982013-07-02 Joseph Myers <joseph@codesourcery.com>
6799
6800 [BZ #13304]
6801 * soft-fp/op-common.h (_FP_FMA): New macro.
6802 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6803 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6804 (_FP_MUL_MEAT_1_imm): ... here.
6805 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6806 (_FP_MUL_MEAT_1_wide): ... here.
6807 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6808 (_FP_MUL_MEAT_1_hard): ... here.
6809 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6810 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6811 (_FP_MUL_MEAT_2_wide): ... here.
6812 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6813 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6814 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6815 (_FP_MUL_MEAT_2_gmp): ... here.
6816 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6817 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6818 (_FP_MUL_MEAT_4_wide): ... here.
6819 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6820 (_FP_MUL_MEAT_4_gmp): ... here.
6821 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6822 (_FP_WFRACBITS_DW_S): Likewise.
6823 (_FP_WFRACXBITS_DW_S): Likewise.
6824 (_FP_HIGHBIT_DW_S): Likewise.
6825 (FP_FMA_S): Likewise.
6826 (_FP_FRAC_HIGH_DW_S): Likewise.
6827 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6828 (_FP_WFRACBITS_DW_D): Likewise.
6829 (_FP_WFRACXBITS_DW_D): Likewise.
6830 (_FP_HIGHBIT_DW_D): Likewise.
6831 (FP_FMA_D): Likewise.
6832 (_FP_FRAC_HIGH_DW_D): Likewise.
6833 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6834 (_FP_WFRACBITS_DW_E): Likewise.
6835 (_FP_WFRACXBITS_DW_E): Likewise.
6836 (_FP_HIGHBIT_DW_E): Likewise.
6837 (FP_FMA_E): Likewise.
6838 (_FP_FRAC_HIGH_DW_E): Likewise.
6839 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6840 (_FP_WFRACBITS_DW_Q): Likewise.
6841 (_FP_WFRACXBITS_DW_Q): Likewise.
6842 (_FP_HIGHBIT_DW_Q): Likewise.
6843 (FP_FMA_Q): Likewise.
6844 (_FP_FRAC_HIGH_DW_Q): Likewise.
6845 * soft-fp/fmasf4.c: New file.
6846 * soft-fp/fmadf4.c: Likewise.
6847 * soft-fp/fmatf4.c: Likewise.
6848
6308fd9a
LD
68492013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6850
6851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6852 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6853 Silvermont.
6854 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6855 macro.
6856 (index_Slow_SSE4_2): Likewise.
6857 (index_Prefer_PMINUB_for_stringop): Likewise.
6858 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6859 bit_Slow_SSE4_2 is set.
6860 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6861 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6862
89cd9569
RA
68632013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6864
6865 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6866 rtld_global._dl_hwcap2.
6867 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6868 POWER8.
6869 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6870 POWER8 feature descriptions defined in _dl_hwcap2.
6871 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6872 string handling for POWER8 feature bits.
6873 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6874 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6875 _dl_powerpc_cap_flags.
6876 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6877 * sysdeps/powerpc/rtld-global-offsets.sym
6878 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6879 _dl_hwcap2 in the rtld_global_ro structure.
6880
1ae8bfe0
RA
68812013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6882
6883 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6884 hardware capabilities in support of AT_HWCAP2.
6885 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6886 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6887 GLRO(dl_hwcap2).
6888 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6889 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6890 explicitly the unknown a_type display mechanism is used.
6891 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6892 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6893 struct member.
6894 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6895 to macro prototype for AT_HWCAP2 support.
6896 * sysdeps/i386/dl-procinfo.h: Likewise.
6897 * sysdeps/s390/dl-procinfo.h: Likewise.
6898 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6899 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6900 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6901 return -1 for unknown a_type display fallback.
6902 * sysdeps/sparc/dl-procinfo.h: Likewise.
6903 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6904 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6905
8fbec010
JM
69062013-06-28 Joseph Myers <joseph@codesourcery.com>
6907
6908 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6909 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6910
0432680e
PY
69112013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6912
6913 [BZ #12492]
6914 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6915 mprotect making __stack_prot writable.
6916
ce61a2ad
NF
69172013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6918 Joseph Myers <joseph@codesourcery.com>
6919
6920 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6921 as being properly aligned.
6922
f91f1c0f
MR
69232013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6924
3d0f5d0c
MR
6925 * dlfcn/modstatic5.c: New file.
6926 * dlfcn/tststatic5.c: New file.
6927 * dlfcn/Makefile (tests): Add tststatic5.
6928 (tests-static): Likewise.
6929 (modules-names): Add modstatic5.
6930 (tststatic5-ENV): New variable.
6931 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6932
f91f1c0f
MR
6933 [BZ #15022]
6934 * elf/dl-support.c (_dl_main_map): New variable.
6935 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6936 (_dl_nns, _dl_load_adds): Set to 1.
6937 (_dl_initial_searchlist): Refer to _dl_main_map.
6938 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6939 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6940 call to _dl_get_origin.
6941 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6942 around call_map.
6943 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6944 * dlfcn/modstatic3.c: New file.
6945 * dlfcn/tststatic3.c: New file.
6946 * dlfcn/tststatic4.c: New file.
6947 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6948 (tests-static): Likewise.
6949 (modules-names): Add modstatic3.
6950 (tststatic3-ENV, tststatic4-ENV): New variables.
6951 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6952 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6953
cbe7d24b
JM
69542013-06-26 Joseph Myers <joseph@codesourcery.com>
6955
6956 * configure.in (CC): Require GCC version 4.4 or later.
6957 * configure: Regenerated.
6958 * manual/install.texi (Tools for Compilation): Update GCC version
6959 requirement.
6960 * INSTALL: Regenerated.
6961
11b8a0e1
LD
69622013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6963
6964 [BZ #15674]
bb5bb87c
L
6965 * string/test-memcmp.c (check2): New.
6966 (main): Call check2.
6967
11b8a0e1
LD
6968 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6969
b0037103
MR
69702013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6971
6972 [BZ #15022]
6973 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6974 over to...
6975 (dl_open_worker) [!SHARED]: ... here.
6976
c18c701d
RA
69772013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6978
6979 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6980
1d17fa5f
RH
69812013-06-25 Richard Henderson <rth@redhat.com>
6982
6983 * locale/programs/locarchive.c: Include <libc-internal.h>
6984
8fcb833a
JM
69852013-06-25 Joseph Myers <joseph@codesourcery.com>
6986
6987 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6988 trailing whitespace removed.
6989
17db6e8d
MF
69902013-06-24 Mike Frysinger <vapier@gentoo.org>
6991
6992 [BZ #10283]
17db6e8d
MF
6993 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6994 * locale/programs/locarchive.c: Include libc-mmap.h.
6995 (prepare_address_space): Take two new outputs (the mmap base and len).
6996 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6997 values.
6998 (create_archive): Declare new mmap base and len values for
6999 prepare_address_space, and store the result in ah.
7000 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7001 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7002 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7003 Declare new mmap base and len values for
7004 prepare_address_space, and store the result in new_ah.
7005 (open_archive): Declare new mmap base and len values for
7006 prepare_address_space, and store the result in ah.
7007 (close_archive): If ah->mmap_base is not NULL, use that and
7008 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7009 * sysdeps/generic/libc-mmap.h: New file.
7010
d605071e
MF
70112013-06-24 Mike Frysinger <vapier@gentoo.org>
7012
7013 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7014 (ALIGN_UP): Likewise.
7015 (PTR_ALIGN_DOWN): Likewise.
7016 (PTR_ALIGN_UP): Likewise.
7017
2f063a6e
RA
70182013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7019
7020 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7021 entry mapped to PPC_PLATFORM_POWER8.
7022 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7023 POWER8.
7024 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7025 (_dl_string_platform): Add case for exporting platform position for
7026 POWER8.
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7028 search path to sysdeps/powerpc/powerpc32/power8 directory.
7029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7030 search path to sysdeps/powerpc/powerpc64/power8 directory.
7031 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7032 power7 directories.
7033 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7034 power7 directories.
7035
a31ee4b3
SP
70362013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7037
a74ca98f
SP
7038 * INSTALL: Regenerate.
7039
a31ee4b3
SP
7040 * nscd/connections.c (nscd_init): Fix comment.
7041
695c378f
JM
70422013-06-22 Joseph Myers <joseph@codesourcery.com>
7043
d8412221
JM
7044 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7045
695c378f
JM
7046 [BZ #15667]
7047 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7048 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7049
d1d54715
MR
70502013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7051
7052 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7053 DL_DST_REQ_STATIC.
7054 (DL_DST_REQ_STATIC): Remove macro.
7055
8fdda7af
JM
70562013-06-21 Joseph Myers <joseph@codesourcery.com>
7057
7058 [BZ #7006]
7059 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7060 with a shift of 0 bits.
7061
f3bc5e5a
MR
70622013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7063
7064 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7065 $(tststatic-ENV).
7066
be09e8c9
KK
70672013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7068
7069 [BZ #15655]
7070 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7071
85c2e611
AZ
70722013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7073
7074 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7075 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7076 accepts -fno-tree-loop-distribute-patterns.
7077 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7078 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7079 recursive call.
7080 * string/memset.c (memset): Likewise.
7081 * string/test-memmove.c (simple_memmove): Disable loop transformation
7082 to library calls.
7083 * string/test-memset.c (simple_memset): Likewise.
7084 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7085 * benchtests/bench-memset.c (simple_memset): Likewise.
7086 * configure: Regenerated.
7087
c91e0825
JM
70882013-06-20 Joseph Myers <joseph@codesourcery.com>
7089
b8c792af
JM
7090 * math/test-misc.c (main): Ignore fesetround failure when failures
7091 of subsequent rounding tests would be ignored.
7092
c91e0825
JM
7093 [BZ #15654]
7094 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7095 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7096 * math/fegetenv.c (__fegetenv): Return 0.
7097 * math/fegetexcept.c (fegetexcept): Return 0.
7098 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7099 FE_TONEAREST.
7100 * math/feholdexcpt.c (feholdexcept): Return 0.
7101 * math/fesetenv.c (__fesetenv): Return 0.
7102 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7103 argument FE_TONEAREST.
7104 * math/feupdateenv.c (__feupdateenv): Return 0.
7105 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7106
bfcacbde
RM
71072013-06-18 Roland McGrath <roland@hack.frob.com>
7108
7109 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7110 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7111 ($(objpfx)rtld-%.os rules): Use them.
7112
e55a9b25
AZ
71132013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7114
7115 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7116 fields.
7117
346d65b3
RM
71182013-06-17 Roland McGrath <roland@hack.frob.com>
7119
12086fb4
RM
7120 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7121 length of target pattern, then descending length of dependency pattern.
7122 * configure.in (AWK): Require gawk 3.1.2 or newer.
7123 * manual/install.texi (Tools for Compilation): Say that we do.
7124 * configure: Regenerated.
7125
346d65b3
RM
7126 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7127 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7128 * scripts/sysd-rules.awk: ... this new script.
7129 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7130 than a glob-style pattern.
7131
1a846317
JM
71322013-06-17 Joseph Myers <joseph@codesourcery.com>
7133
7134 * math/test-misc.c (main): Do not treat incorrectly rounded
7135 conversions as failure unless ROUNDING_TESTS passes.
7136
8fc75e6f
JM
71372013-06-15 Joseph Myers <joseph@codesourcery.com>
7138
3711a167
JM
7139 [BZ #15631]
7140 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7141 restore exception state around main square root computation, then
7142 check for inexactness explicitly.
7143
8fc75e6f
JM
7144 * math/libm-test.inc (fma_test_data): Add another test.
7145
61dd6208
SP
71462013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7147
adf23d2c
SP
7148 * manual/threads.texi (Non-POSIX Extensions): New document
7149 node. Document pthread_getattr_default_np and
7150 pthread_setattr_default_np.
7151
61dd6208
SP
7152 * Versions.def (libpthread): Add GLIBC_2.18.
7153 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7155 Likewise.
7156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7157 Likewise.
7158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7159 Likewise.
7160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7161 Likewise.
7162 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7163 Likewise.
7164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7165 Likewise.
7166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7167 Likewise.
7168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7169 Likewise.
7170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7171 Likewise.
7172
d086fc7b
LD
71732013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7174
7175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7176 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7177
747ef469
SP
71782013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7179 H.J. Lu <hjl.tools@gmail.com>
7180
7181 [BZ #15627]
7182 * sysdeps/x86_64/rtld-memset.c: Remove file.
7183 * sysdeps/x86_64/rtld-memset.S: New file.
7184
1b2feed2
JM
71852013-06-14 Joseph Myers <joseph@codesourcery.com>
7186
7187 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7188 (test_in_one_mode): Take arguments for whether the rounding mode
7189 is supported for each floating-point type.
7190 (do_test): Pass new arguments to test_in_one_mode using
7191 ROUNDING_TESTS.
7192
a58ad3f8
RM
71932013-06-13 Roland McGrath <roland@hack.frob.com>
7194
7195 * posix/tst-waitid.c (do_test): Distinguish different instances of
7196 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7197 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7198 before entering the kernel for waitpid.
7199
c204ab28
SP
72002013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7201
7202 * NEWS: Fix note on clock function precision. Text by Roland
7203 McGrath.
7204
f4a29fba
RM
72052013-06-13 Roland McGrath <roland@hack.frob.com>
7206
7207 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7208 it into place only when and if the sanity check passes.
7209
1f24b9ad
JM
72102013-06-13 Joseph Myers <joseph@codesourcery.com>
7211
7212 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7213 output for whether conversion result is exact. Take argument
7214 indicating whether type is IBM long double.
7215 (round_for_all): Change need_exact field to ibm_ld.
7216 * stdlib/tst-strtod-round.c (struct exactness): New type.
7217 (struct test): Change bool ld_ok field to struct exactness exact.
7218 (TEST): Update all definitions for change to field.
7219 (tests): Regenerate array contents.
7220 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7221 field value. Check for IBM long double here.
7222 (do_test): Update calls to test_in_one_mode.
7223
58206c68
SP
72242013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7225
7226 [BZ #12515]
7227 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7228 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7229
2d6f4c5b 72302013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7231
7232 [BZ #15605]
7233 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7234 generated by the compiler on loop optimizations.
7235 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7236 general definitions.
7237
94f2c076
JM
72382013-06-12 Joseph Myers <joseph@codesourcery.com>
7239
7240 * math/bug-nextafter.c: Include <math-tests.h>.
7241 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7242 the relevant type.
7243 * math/bug-nexttoward.c: Include <math-tests.h>.
7244 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7245 the relevant type.
7246 * math/test-misc.c: Include <math-tests.h>.
7247 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7248 the relevant type.
7249
e0e50a0a
AJ
72502013-06-12 Andreas Jaeger <aj@suse.de>
7251
7252 * po/ia.po: Update Interlingua translation from translation
7253 project.
7254
25061094
SP
72552013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7256
7257 * include/fenv.h: Include stdbool.h.
7258 (struct rm_ctx): New structure.
7259 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7260 Define macro.
7261 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7262 (SET_RESTORE_ROUNDF): Likewise.
7263 (SET_RESTORE_ROUNDL): Likewise.
7264 (SET_RESTORE_ROUND_NOEX): Likewise.
7265 (SET_RESTORE_ROUND_NOEXF): Likewise.
7266 (SET_RESTORE_ROUND_NOEXL): Likewise.
7267 (SET_RESTORE_ROUND_53BIT): Likewise.
7268 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7269 (libc_feresetround_noexf_ctx): Likewise.
7270 (libc_feresetround_noexl_ctx): Likewise.
7271 (libc_feholdsetround_53bit_ctx): Likewise.
7272 (libc_feresetround_53bit_ctx): Likewise.
7273 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7274 (libc_feholdexcept_setround_sse_ctx): New function.
7275 (libc_fesetenv_sse_ctx): Likewise.
7276 (libc_feupdateenv_sse_ctx): Likewise.
7277 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7278 (libc_feholdexcept_setround_387_ctx): Likewise.
7279 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7280 (libc_feholdsetround_387_prec_ctx): Likewise.
7281 (libc_feholdsetround_387_ctx): Likewise.
7282 (libc_feholdsetround_387_53bit_ctx): Likewise.
7283 (libc_feholdsetround_sse_ctx): Likewise.
7284 (libc_feresetround_sse_ctx): Likewise.
7285 (libc_feresetround_387_ctx): Likewise.
7286 (libc_feupdateenv_387_ctx): Likewise.
7287 (libc_feholdexcept_setroundf_ctx): Define macro.
7288 (libc_fesetenvf_ctx): Likewise.
7289 (libc_feupdateenvf_ctx): Likewise.
7290 (libc_feholdsetroundf_ctx): Likewise.
7291 (libc_feresetroundf_ctx): Likewise.
7292 (libc_feholdexcept_setround_ctx): Likewise.
7293 (libc_fesetenv_ctx): Likewise.
7294 (libc_feupdateenv_ctx): Likewise.
7295 (libc_feholdsetround_ctx): Likewise.
7296 (libc_feresetround_ctx): Likewise.
7297 (libc_feholdexcept_setroundl_ctx): Likewise.
7298 (libc_feupdateenvl_ctx): Likewise.
7299 (libc_feholdsetroundl_ctx): Likewise.
7300 (libc_feresetroundl_ctx): Likewise.
7301 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7302 (libc_feresetround_53bit_ctx): Likewise.
7303
59b30555
SP
73042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7305
7306 * locale/iso-639.def: Convert to UTF-8.
7307
f1d73d30
JM
73082013-06-11 Joseph Myers <joseph@codesourcery.com>
7309
7310 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7311 (EXCEPTION_TESTS_double): Likewise.
7312 (EXCEPTION_TESTS_long_double): Likewise.
7313 (EXCEPTION_TESTS): Likewise.
7314 * math/libm-test.inc (test_exceptions): Only test exceptions if
7315 EXCEPTION_TESTS (FLOAT).
7316
94aca5e7
SP
73172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7318
7319 * benchtests/Makefile (string-bench): Add strcpy_chk and
7320 stpcpy_chk.
7321 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7322 * benchtests/bench-stpcpy_chk.c: New file.
7323 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7324 * benchtests/bench-strcpy_chk.c: New file.
7325 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7326 code.
7327 (do_test): Likewise.
7328
fac0c5f2
RA
73292013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7330
7331 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7332 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7333 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7334 with tabs where appropriate.
7335 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7336 dl-procinfo.h.
7337 [PPC_PLATFORM_PPC440]: Likewise.
7338 [PPC_PLATFORM_PPC464]: Likewise.
7339 [PPC_PLATFORM_PPC476]: Likewise.
7340 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7341 ppc464, and ppc476 platform strings merging from ports/
7342 dl-procinfo.h.
7343
f22bc486
AS
73442013-06-11 Andreas Schwab <schwab@suse.de>
7345
7346 [BZ #14991]
7347 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7348 (from_ucs4_idx): Regenerate.
7349 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7350 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7351 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7352 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7353 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7354 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7355 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7356 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7357 from FROM_LOOP and TO_LOOP specific macros.
7358 (BODY): Handle combining characters.
7359 * iconvdata/BIG5HKSCS.irreversible: Update.
7360 * iconvdata/BIG5HKSCS.precomposed: New file.
7361 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7362 characters.
7363 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7364
c1f75dc3
SP
73652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7366
4eacded2
SP
7367 * include/sys/time.h: Fix indentation and add copyright header.
7368
fec799f8
SP
7369 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7370 (do_test): Likewise.
7371 * string/test-memchr.c (do_one_test): Likewise.
7372 (do_test): Likewise.
7373 * string/test-memcmp.c (do_one_test): Likewise.
7374 (do_test): Likewise.
7375 * string/test-memcpy.c (do_one_test): Likewise.
7376 (do_test): Likewise.
7377 * string/test-memmem.c (do_one_test): Likewise.
7378 (do_test): Likewise.
7379 (do_random_tests): Likewise.
7380 * string/test-memmove.c (do_one_test): Likewise.
7381 (do_test): Likewise.
7382 * string/test-memset.c (do_one_test): Likewise.
7383 (do_test): Likewise.
7384 * string/test-rawmemchr.c (do_one_test): Likewise.
7385 (do_test): Likewise.
7386 * string/test-strcasecmp.c (do_one_test): Likewise.
7387 (do_test): Likewise.
7388 * string/test-strcasestr.c (do_one_test): Likewise.
7389 (do_test): Likewise.
7390 * string/test-strcat.c (do_one_test): Likewise.
7391 (do_test): Likewise.
7392 * string/test-strchr.c (do_one_test): Likewise.
7393 (do_test): Likewise.
7394 * string/test-strcmp.c (do_one_test): Likewise.
7395 (do_test): Likewise.
7396 * string/test-strcpy.c (do_one_test): Likewise.
7397 (do_test): Likewise.
7398 * string/test-string.h: Likewise.
7399 (test_init): Likewise.
7400 * string/test-strlen.c (do_one_test): Likewise.
7401 (do_test): Likewise.
7402 * string/test-strncasecmp.c (do_one_test): Likewise.
7403 (do_test): Likewise.
7404 * string/test-strncat.c (do_one_test): Likewise.
7405 (do_test): Likewise.
7406 * string/test-strncmp.c (do_one_test): Likewise.
7407 (do_test_limit): Likewise.
7408 (do_test): Likewise.
7409 * string/test-strncpy.c (do_one_test): Likewise.
7410 (do_test): Likewise.
7411 * string/test-strnlen.c (do_one_test): Likewise.
7412 (do_test): Likewise.
7413 * string/test-strpbrk.c (do_one_test): Likewise.
7414 (do_test): Likewise.
7415 * string/test-strrchr.c (do_one_test): Likewise.
7416 (do_test): Likewise.
7417 * string/test-strspn.c (do_one_test): Likewise.
7418 (do_test): Likewise.
7419 * string/test-strstr.c (do_one_test): Likewise.
7420 (do_test): Likewise.
7421
97020474
SP
7422 * benchtests/Makefile (string-bench): Add string benchmarks.
7423 * benchtests/bench-bcopy-ifunc.c: New file.
7424 * benchtests/bench-bcopy.c: New file.
7425 * benchtests/bench-bzero-ifunc.c: New file.
7426 * benchtests/bench-bzero.c: New file.
7427 * benchtests/bench-memccpy-ifunc.c: New file.
7428 * benchtests/bench-memccpy.c: New file.
7429 * benchtests/bench-memchr-ifunc.c: New file.
7430 * benchtests/bench-memchr.c: New file.
7431 * benchtests/bench-memcmp-ifunc.c: New file.
7432 * benchtests/bench-memcmp.c: New file.
7433 * benchtests/bench-memmem-ifunc.c: New file.
7434 * benchtests/bench-memmem.c: New file.
7435 * benchtests/bench-memmove-ifunc.c: New file.
7436 * benchtests/bench-memmove.c: New file.
7437 * benchtests/bench-mempcpy-ifunc.c: New file.
7438 * benchtests/bench-mempcpy.c: New file.
7439 * benchtests/bench-memset-ifunc.c: New file.
7440 * benchtests/bench-memset.c: New file.
7441 * benchtests/bench-rawmemchr-ifunc.c: New file.
7442 * benchtests/bench-rawmemchr.c: New file.
7443 * benchtests/bench-stpcpy-ifunc.c: New file.
7444 * benchtests/bench-stpcpy.c: New file.
7445 * benchtests/bench-stpncpy-ifunc.c: New file.
7446 * benchtests/bench-stpncpy.c: New file.
7447 * benchtests/bench-strcasecmp-ifunc.c: New file.
7448 * benchtests/bench-strcasecmp.c: New file.
7449 * benchtests/bench-strcasestr-ifunc.c: New file.
7450 * benchtests/bench-strcasestr.c: New file.
7451 * benchtests/bench-strcat-ifunc.c: New file.
7452 * benchtests/bench-strcat.c: New file.
7453 * benchtests/bench-strchr-ifunc.c: New file.
7454 * benchtests/bench-strchr.c: New file.
7455 * benchtests/bench-strchrnul-ifunc.c: New file.
7456 * benchtests/bench-strchrnul.c: New file.
7457 * benchtests/bench-strcmp-ifunc.c: New file.
7458 * benchtests/bench-strcmp.c: New file.
7459 * benchtests/bench-strcpy-ifunc.c: New file.
7460 * benchtests/bench-strcpy.c: New file.
7461 * benchtests/bench-strcspn-ifunc.c: New file.
7462 * benchtests/bench-strcspn.c: New file.
7463 * benchtests/bench-strlen-ifunc.c: New file.
7464 * benchtests/bench-strlen.c: New file.
7465 * benchtests/bench-strncasecmp-ifunc.c: New file.
7466 * benchtests/bench-strncasecmp.c: New file.
7467 * benchtests/bench-strncat-ifunc.c: New file.
7468 * benchtests/bench-strncat.c: New file.
7469 * benchtests/bench-strncmp-ifunc.c: New file.
7470 * benchtests/bench-strncmp.c: New file.
7471 * benchtests/bench-strncpy-ifunc.c: New file.
7472 * benchtests/bench-strncpy.c: New file.
7473 * benchtests/bench-strnlen-ifunc.c: New file.
7474 * benchtests/bench-strnlen.c: New file.
7475 * benchtests/bench-strpbrk-ifunc.c: New file.
7476 * benchtests/bench-strpbrk.c: New file.
7477 * benchtests/bench-strrchr-ifunc.c: New file.
7478 * benchtests/bench-strrchr.c: New file.
7479 * benchtests/bench-strspn-ifunc.c: New file.
7480 * benchtests/bench-strspn.c: New file.
7481 * benchtests/bench-strstr-ifunc.c: New file.
7482 * benchtests/bench-strstr.c: New file.
7483
c1f75dc3
SP
7484 * benchtests/Makefile: Disable parallel execution of targets.
7485 (string-bench): Add memcpy.
7486 (benchset): New variable to store a list of benchmark sets.
7487 (bench-func): Renamed from bench.
7488 (bench-set): New target.
7489 (bench): Depend on bench-func and bench-set.
7490 * benchtests/README: Add section on benchmark sets.
7491 * benchtests/bench-memcpy-ifunc.c: New file.
7492 * benchtests/bench-memcpy.c: New file.
7493 * benchtests/bench-string.h: New file.
7494
50fd745b
AS
74952013-06-11 Andreas Schwab <schwab@suse.de>
7496
7497 [BZ #15577]
7498 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7499 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7500 values in the triple.
7501 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7502 terminator in the group key.
7503
3ee7e9fe
AJ
75042013-06-11 Andreas Jaeger <aj@suse.de>
7505
7506 * po/zh_TW.po: Update Chinese (traditional) translation from
7507 translation project.
7508
89fb6835
SP
75092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7510
7511 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7512 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7513 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7514 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7515 (clock_getcpuclockid): Likewise.
7516 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7517 Add weak_alias and libc_hidden_def.
7518 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7519 * rt/clock_gettime.c (clock_gettime): Rename to
7520 __clock_gettime. Add weak_alias and libc_hidden_def.
7521 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7522 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7523 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7524 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7525 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7526 Likewise.
7527 * rt/clock_settime.c (clock_settime): Rename to
7528 __clock_settime. Add weak_alias and libc_hidden_def.
7529 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7530
0efa6f8b
JM
75312013-06-10 Joseph Myers <joseph@codesourcery.com>
7532
b8c61b4b
JM
7533 * mach/err_boot.sub: Remove trailing whitespace.
7534 * mach/err_ipc.sub: Likewise.
7535 * mach/err_mach.sub: Likewise.
7536
0efa6f8b
JM
7537 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7538 (ROUNDING_TESTS_double): Likewise.
7539 (ROUNDING_TESTS_long_double): Likewise.
7540 (ROUNDING_TESTS): Likewise.
7541 * math/libm-test.inc: Include <math-tests.h>.
7542 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7543 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7544 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7545 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7546
50b818bf
SP
75472013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7548
7549 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7550 of assigning.
7551
60d2f8f3
JM
75522013-06-08 Joseph Myers <joseph@codesourcery.com>
7553
4902d2c3
JM
7554 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7555 otherwise empty TRANS lines.
7556 * sysdeps/gnu/errlist.c: Regenerated.
7557
60d2f8f3
JM
7558 * catgets/gencat.c (error_print): Use (void) in function
7559 definition.
7560 * crypt/crypt_util.c (__init_des): Likewise.
7561 * crypt/speeds.c (Stop): Likewise.
7562 (main): Likewise.
7563 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7564 * inet/ruserpass.c (token): Likewise.
7565 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7566 * intl/localealias.c (extend_alias_table): Likewise.
7567 * intl/plural-exp.c (init_germanic_plural): Likewise.
7568 * libio/fcloseall.c (__fcloseall): Likewise.
7569 * libio/genops.c (_IO_flush_all): Likewise.
7570 (_IO_flush_all_linebuffered): Likewise.
7571 (_IO_cleanup): Likewise.
7572 (_IO_iter_begin): Likewise.
7573 (_IO_iter_end): Likewise.
7574 (_IO_list_lock): Likewise.
7575 (_IO_list_unlock): Likewise.
7576 (_IO_list_resetlock): Likewise.
7577 * libio/getchar.c (getchar): Likewise.
7578 * libio/getchar_u.c (getchar_unlocked): Likewise.
7579 * libio/getwchar.c (getwchar): Likewise.
7580 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7581 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7582 * login/getpt.c (__getpt): Likewise.
7583 * login/tst-utmp.c (main): Likewise.
7584 * malloc/hooks.c (__malloc_check_init): Likewise.
7585 * malloc/malloc.c (__malloc_stats): Likewise.
7586 * malloc/mtrace.c (tr_break): Likewise.
7587 (mtrace): Likewise.
7588 (muntrace): Likewise.
7589 * misc/fstab.c (endfsent): Likewise.
7590 * misc/getclktck.c (__getclktck): Likewise.
7591 * misc/getdtsz.c (__getdtablesize): Likewise.
7592 * misc/gethostid.c (gethostid): Likewise.
7593 * misc/getpagesize.c (__getpagesize): Likewise.
7594 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7595 (__get_nprocs): Likewise.
7596 (__get_phys_pages): Likewise.
7597 (__get_avphys_pages): Likewise.
7598 * misc/getttyent.c (getttyent): Likewise.
7599 (setttyent): Likewise.
7600 (endttyent): Likewise.
7601 * misc/getusershell.c (getusershell): Likewise.
7602 (endusershell): Likewise.
7603 (setusershell): Likewise.
7604 (initshells): Likewise.
7605 * misc/hsearch.c (__hdestroy): Likewise.
7606 * misc/sync.c (sync): Likewise.
7607 * misc/syslog.c (closelog_internal): Likewise.
7608 (closelog): Likewise.
7609 * misc/ttyslot.c (ttyslot): Likewise.
7610 * misc/vhangup.c (vhangup): Likewise.
7611 * posix/fork.c (__fork): Likewise.
7612 * posix/getegid.c (__getegid): Likewise.
7613 * posix/geteuid.c (__geteuid): Likewise.
7614 * posix/getgid.c (__getgid): Likewise.
7615 * posix/getpid.c (__getpid): Likewise.
7616 * posix/getppid.c (__getppid): Likewise.
7617 * posix/getuid.c (__getuid): Likewise.
7618 * posix/pause.c (pause): Likewise.
7619 * posix/setpgrp.c (setpgrp): Likewise.
7620 * posix/setsid.c (__setsid): Likewise.
7621 * posix/test-vfork.c (noop): Likewise.
7622 * resolv/gethnamaddr.c (_endhtent): Likewise.
7623 (_gethtent): Likewise.
7624 (ht_endhostent): Likewise.
7625 (gethostent): Likewise.
7626 (dns_service): Likewise.
7627 * stdlib/drand48.c (drand48): Likewise.
7628 * stdlib/lrand48.c (lrand48): Likewise.
7629 * stdlib/mrand48.c (mrand48): Likewise.
7630 * stdlib/rand.c (rand): Likewise.
7631 * stdlib/random.c (__random): Likewise.
7632 * stdlib/setenv.c (clearenv): Likewise.
7633 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7634 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7635 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7636 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7637 (__get_nprocs): Likewise.
7638 (__get_phys_pages): Likewise.
7639 (__get_avphys_pages): Likewise.
7640 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7641 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7642 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7643 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7644 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7645 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7646 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7647 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7648 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7649 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7650 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7651 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7652 * sysdeps/posix/clock.c (clock): Likewise.
7653 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7654 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7655 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7656 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7657 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7658 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7659 (__get_nprocs_conf): Likewise.
7660 (__get_phys_pages): Likewise.
7661 (__get_avphys_pages): Likewise.
7662 * time/clock.c (clock): Likewise.
7663 * time/tzset.c (__tzname_max): Likewise.
7664
2e09a79a
JM
76652013-06-07 Joseph Myers <joseph@codesourcery.com>
7666
7667 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7668 (__bswap_32): Do not use "register".
7669 * crypt/crypt.c (_ufc_doit_r): Likewise.
7670 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7671 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7672 * gmon/gmon.c (__monstartup): Likewise.
7673 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7674 * hurd/hurdmalloc.c (more_memory): Likewise.
7675 (malloc): Likewise.
7676 (free): Likewise.
7677 (realloc): Likewise.
7678 (malloc_fork_prepare): Likewise.
7679 (malloc_fork_parent): Likewise.
7680 (malloc_fork_child): Likewise.
7681 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7682 (_svcauth_des): Likewise.
7683 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7684 * inet/inet_net.c (inet_network): Likewise.
7685 * inet/inet_netof.c (inet_netof): Likewise.
7686 * inet/rcmd.c (__validuser2_sa): Likewise.
7687 * io/fts.c (fts_open): Likewise.
7688 (fts_load): Likewise.
7689 (fts_close): Likewise.
7690 (fts_read): Likewise.
7691 (fts_children): Likewise.
7692 (fts_build): Likewise.
7693 (fts_stat): Likewise.
7694 (fts_sort): Likewise.
7695 (fts_alloc): Likewise.
7696 (fts_lfree): Likewise.
7697 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7698 (_IO_file_xsgetn): Likewise.
7699 (_IO_file_xsgetn_mmap): Likewise.
7700 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7701 (_IO_cookie_write): Likewise.
7702 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7703 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7704 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7705 * malloc/obstack.c (_obstack_begin): Likewise.
7706 (_obstack_begin_1): Likewise.
7707 (_obstack_newchunk): Likewise.
7708 (_obstack_allocated_p): Likewise.
7709 (obstack_free): Likewise.
7710 (_obstack_memory_used): Likewise.
7711 * misc/getttyent.c (getttynam): Likewise.
7712 (getttyent): Likewise.
7713 (skip): Likewise.
7714 (value): Likewise.
7715 * misc/getusershell.c (initshells): Likewise.
7716 * misc/syslog.c (__vsyslog_chk): Likewise.
7717 * misc/ttyslot.c (ttyslot): Likewise.
7718 * nis/nis_hash.c (__nis_hash): Likewise.
7719 * posix/fnmatch_loop.c (FCT): Likewise.
7720 * posix/getconf.c (print_all): Likewise.
7721 (main): Likewise.
7722 * posix/getopt.c (exchange): Likewise.
7723 * posix/glob.c (globfree): Likewise.
7724 (prefix_array): Likewise.
7725 (__glob_pattern_type): Likewise.
7726 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7727 (NS_GET32): Likewise.
7728 (NS_PUT16): Likewise.
7729 (NS_PUT32): Likewise.
7730 * resolv/gethnamaddr.c (getanswer): Likewise.
7731 (gethostbyname2): Likewise.
7732 (gethostbyaddr): Likewise.
7733 (_gethtent): Likewise.
7734 (_gethtbyname2): Likewise.
7735 (_gethtbyaddr): Likewise.
7736 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7737 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7738 * resolv/res_init.c (__res_vinit): Likewise.
7739 (net_mask): Likewise.
7740 * resolv/res_mkquery.c (outchar): Likewise.
7741 (PRINT): Likewise.
7742 * stdio-common/printf_fp.c (outchar): Likewise.
7743 (PRINT): Likewise.
7744 * stdio-common/printf_fphex.c (outchar): Likewise.
7745 (PRINT): Likewise.
7746 * stdio-common/printf_size.c (outchar): Likewise.
7747 (PRINT): Likewise.
7748 * stdio-common/test_rdwr.c (main): Likewise.
7749 * stdio-common/tfformat.c (matches): Likewise.
7750 * stdio-common/vfprintf.c (outchar): Likewise.
7751 (printf_unknown): Likewise.
7752 (buffered_vfprintf): Likewise.
7753 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7754 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7755 (ReadFile): Likewise.
7756 * stdlib/qsort.c (SWAP): Likewise.
7757 (_quicksort): Likewise.
7758 * stdlib/setenv.c (__add_to_environ): Likewise.
7759 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7760 * stdlib/strtol_l.c (__strtol_l): Likewise.
7761 * stdlib/tst-strtod.c (main): Likewise.
7762 * stdlib/tst-strtol.c (main): Likewise.
7763 * stdlib/tst-strtoll.c (main): Likewise.
7764 * string/bits/string2.h (__strcmp_cc): Likewise.
7765 (__strcmp_cg): Likewise.
7766 (__strcspn_c1): Likewise.
7767 (__strcspn_c2): Likewise.
7768 (__strcspn_c3): Likewise.
7769 (__strspn_c1): Likewise.
7770 (__strspn_c2): Likewise.
7771 (__strspn_c3): Likewise.
7772 (__strsep_1c): Likewise.
7773 (__strsep_2c): Likewise.
7774 (__strsep_3c): Likewise.
7775 * string/memccpy.c (__memccpy): Likewise.
7776 * string/stpcpy.c (__stpcpy): Likewise.
7777 * string/strcmp.c (strcmp): Likewise.
7778 * string/strrchr.c (strrchr): Likewise.
7779 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7780 Likewise.
7781 * sysdeps/mach/hurd/getcwd.c
7782 (_hurd_canonicalize_directory_name_internal): Likewise.
7783 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7784 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7785 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7786 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7787 Likewise, in both definitions.
7788 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7789 definitions.
7790 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7791 64] (__bswap_64): Likewise.
7792 * time/test_time.c (main): Likewise.
7793 * time/tzfile.c (__tzfile_read): Likewise.
7794 (__tzfile_compute): Likewise.
7795 * time/tzset.c (__tzset_parse_tz): Likewise.
7796 (tzset_internal): Likewise.
7797 (compute_change): Likewise.
7798 * wcsmbs/wcscat.c (__wcscat): Likewise.
7799 * wcsmbs/wcschr.c (wcschr): Likewise.
7800 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7801 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7802 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7803 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7804 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7805 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7806 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7807 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7808 * wcsmbs/wmemset.c (wmemset): Likewise.
7809
9e54314b
JM
78102013-06-06 Joseph Myers <joseph@codesourcery.com>
7811
7812 * scripts/config.guess: Update to version 2013-05-16.
7813 * scripts/config.sub: Update to version 2013-04-24.
7814 * scripts/install-sh: Update to version 2011-11-20.07.
7815 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7816 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7817
350635a5
OB
78182013-06-06 Ondřej Bílka <neleai@seznam.cz>
7819
7820 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7821 * elf/sln.c: Likewise.
7822 * hurd/hurd/ioctl.h: Likewise.
7823 * hurd/hurdmalloc.c: Likewise.
7824 * hurd/xattr.c: Likewise.
7825 * include/shlib-compat.h: Likewise.
7826 * inet/ruserpass.c: Likewise.
7827 * libio/iofgets_u.c: Likewise.
7828 * libio/iofgetws_u.c: Likewise.
7829 * locale/programs/ld-identification.c: Likewise.
7830 * locale/programs/ld-time.c: Likewise.
7831 * mach/msg-destroy.c: Likewise.
7832 * nss/nss_files/files-netgrp.c: Likewise.
7833 * resolv/res_data.c: Likewise.
7834 * soft-fp/op-1.h: Likewise.
7835 * soft-fp/op-2.h: Likewise.
7836 * soft-fp/op-4.h: Likewise.
7837 * soft-fp/op-common.h: Likewise.
7838 * stdio-common/printf_fphex.c: Likewise.
7839 * stdlib/strtod_l.c: Likewise.
7840 * sunrpc/rpc/clnt.h: Likewise.
7841 * sysdeps/generic/framestate.c: Likewise.
7842 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7843 * sysdeps/i386/bsd-setjmp.S: Likewise.
7844 * sysdeps/i386/__longjmp.S: Likewise.
7845 * sysdeps/i386/setjmp.S: Likewise.
7846 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7847 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7848 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7853 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7854 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7859 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7860 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7861 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7862 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7863 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7864 * sysdeps/ieee754/support.c: Likewise.
7865 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7866 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7867 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7868 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7869 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7870 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7871 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7872 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7873 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7874 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7875 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7876 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7877 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7878 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7879 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7880 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7881 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7883
44a988af
OB
78842013-06-05 Ondřej Bílka <neleai@seznam.cz>
7885
25506f09 7886 * posix/transbug.c: Remove executable mode.
44a988af 7887
9c84384c
JM
78882013-06-05 Joseph Myers <joseph@codesourcery.com>
7889
7890 * crypt/speeds.c: Remove trailing whitespace.
7891 * dlfcn/default.c: Likewise.
7892 * elf/ifuncdep2.c: Likewise.
7893 * elf/ifuncmain1.c: Likewise.
7894 * elf/ifuncmain1vis.c: Likewise.
7895 * elf/testobj.h: Likewise.
7896 * elf/tst-stackguard1.c: Likewise.
7897 * gmon/sys/gmon.h: Likewise.
7898 * hurd/hurdmsg.c: Likewise.
7899 * hurd/new-fd.c: Likewise.
7900 * hurd/ports-get.c: Likewise.
7901 * iconvdata/ibm1008_420.c: Likewise.
7902 * inet/tst-getni1.c: Likewise.
7903 * inet/tst-getni2.c: Likewise.
7904 * libio/ioungetc.c: Likewise.
7905 * libio/wfiledoalloc.c: Likewise.
7906 * manual/libm-err-tab.pl: Likewise.
7907 * math/w_dremf.c: Likewise.
7908 * misc/ftruncate.c: Likewise.
7909 * posix/bug-glob2.c: Likewise.
7910 * posix/tst-pcre.c: Likewise.
7911 * posix/wait4.c: Likewise.
7912 * resolv/README: Likewise.
7913 * resolv/res_debug.h: Likewise.
7914 * resolv/tst-inet_ntop.c: Likewise.
7915 * setjmp/bug269-setjmp.c: Likewise.
7916 * soft-fp/extended.h: Likewise.
7917 * soft-fp/op-1.h: Likewise.
7918 * soft-fp/op-2.h: Likewise.
7919 * soft-fp/op-4.h: Likewise.
7920 * soft-fp/op-8.h: Likewise.
7921 * soft-fp/testit.c: Likewise.
7922 * stdio-common/bug16.c: Likewise.
7923 * stdlib/random.c: Likewise.
7924 * sunrpc/rpcsvc/rquota.x: Likewise.
7925 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7926 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7927 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7928 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7929 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7930 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7931 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7932 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7933 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7934 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7935 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7936 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7937 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7938 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7939 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7940 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7941 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7942 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7943 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7944 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7945 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7946 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7947 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7948 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7949 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7950 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7951 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7952 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7953 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7954 * sysdeps/ieee754/s_lib_version.c: Likewise.
7955 * sysdeps/mach/hurd/check_fds.c: Likewise.
7956 * sysdeps/mach/hurd/getsockname.c: Likewise.
7957 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7958 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7959 * sysdeps/powerpc/bits/link.h: Likewise.
7960 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7961 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7962 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7963 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7964 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7965 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7966 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7967 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7968 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7969 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7970 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7971 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7972 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7973 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7974 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7975 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7976 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7977 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7978 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7979 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7980 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7981 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7982 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7983 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7984 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7985 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7986 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7987 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7988 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7989 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7990 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7991 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7992 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7993 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7994 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7995 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7996 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7997 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7998 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7999 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8000 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8001 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8002 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8003 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8004 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8005 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8006 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8007 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8008 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8009 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8010 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8011 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8012 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8013 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8014 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8015 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8016 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8017 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8018 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8019 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8020 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8021 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8022 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8023 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8024 * sysdeps/powerpc/sysdep.h: Likewise.
8025 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8026 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8027 * sysdeps/sh/dl-trampoline.S: Likewise.
8028 * sysdeps/sh/memset.S: Likewise.
8029 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8030 * sysdeps/sh/strlen.S: Likewise.
8031 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8032 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8033 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8034 * sysdeps/sparc/sparc32/rem.S: Likewise.
8035 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8036 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8037 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8038 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8039 * sysdeps/sparc/sparc32/urem.S: Likewise.
8040 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8041 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8042 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8043 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8044 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8045 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8046 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8047 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8048 * sysdeps/unix/bsd/times.c: Likewise.
8049 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8050 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8054 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8055 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8056 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8057 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8058 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8059 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8060 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8061 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8062 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8063 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8064 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8065 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8066 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8067 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8068 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8069 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8070 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8071 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8072 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8073 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8074 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8075 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8076 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8077 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8078 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8079 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8080 * sysdeps/x86_64/strcspn.S: Likewise.
8081
869378a5
RA
80822013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8083
8084 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8085 generated file. Regenerate properly from gen-translit.pl.
8086 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8087 locale/C-translit.h.
8088
840e2943
AS
80892013-06-05 Andreas Schwab <schwab@suse.de>
8090
8091 [BZ #15100]
8092 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8093 week as 6 instead of -1.
8094 * time/tst-strptime.c (day_tests): Add test case.
8095
4c60cb0c
SP
80962013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8097
8098 * sysdeps/generic/math_private.h
8099 (libc_feholdexcept_setround_53bit): Replace with
8100 libc_feholdsetround_53bit.
8101 (libc_feupdateenv_53bit): Replace with
8102 libc_feresetround_53bit.
8103 (SET_RESTORE_ROUND_53BIT): Adjust.
8104
d180203e
SP
81052013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8106
96df079a
SP
8107 * string/test-strchrnul.c: Add copyright header.
8108
d180203e
SP
8109 * posix/tst-getaddrinfo4.c: Increase test timeout.
8110
8b0ccb2d
CD
81112013-06-03 Carlos O'Donell <carlos@redhat.com>
8112
8113 [BZ #15536]
8114 * math/libm-test.inc (MAX_EXP): Remove
8115 (MIN_EXP): Define.
8116 (ulp): Use MIN_EXP - MANT_DIG.
8117 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8118
3b3c4d40
CD
81192013-05-31 Carlos O'Donell <carlos@redhat.com>
8120
8121 * po/be.po: Revert last change.
8122 * po/zh_CN.po: Likewise.
8123 * po/header.pot: Likewise.
8124
fab7ce3f
JM
81252013-05-31 Joseph Myers <joseph@codesourcery.com>
8126
8127 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8128 link-libc-deps to empty as target-specific variable.
8129 * Makerules (link-libc-args): New variable.
8130 (libc-for-link): Likewise.
8131 (link-libc-deps): Likewise.
8132 (lib%.so): Depend on $(link-libc-deps). Link with
8133 $(link-libc-args).
8134 (build-module): Link with $(link-libc-args).
8135 (build-module-asneeded): Likewise.
8136 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8137 list of objects.
8138 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8139 target-specific variable.
8140 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8141 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8142 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8143 libc.
8144 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8145 libc and ld.so.
8146 ($(objpfx)libpcprofile.so): Likewise.
8147 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8148 libc_nonshared.a.
8149 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8150 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8151 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8152 $(link-libc-deps).
8153 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8154 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8155 * login/Makefile ($(objpfx)libutil.so): Likewise.
8156 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8157 * math/Makefile ($(objpfx)libm.so): Likewise.
8158 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8159 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8160 variable instead of depending directly on libc.
8161 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8162 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8163 $(link-libc-deps).
8164 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8165 libc.
8166 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8167 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8168 ($(objpfx)libanl.so): Likewise.
8169 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8170 ld.so.
8171 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8172 $(link-libc-deps).
8173 * sysdeps/i386/fpu/Makefile: Remove file.
8174 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8175 ($(objpfx)libm.so): Remove dependency on ld.so.
8176
eca5920c
PF
81772013-05-30 Patsy Franklin <pfrankli@redhat.com>
8178
8179 [BZ # 15553]
8180 * nis/yp_xdr.c (XDRMAXNAME): Define.
8181 (XDRMAXRECORD): Define.
8182 (xdr_domainname): Use XDRMAXNAME.
8183 (xdr_mapname): Likewise.
8184 (xdr_peername): Likewise.
8185 (xdr_keydat): Use XDRMAXRECORD.
8186 (xdr_valdat): Likewise.
8187
81882013-05-30 Jeff Law <law@redhat.com>
96945714
JL
8189
8190 [BZ #14256]
8191 * manual/errno.texi (ESTALE): Update to account for more than
8192 just NFS file systems.
8193 * sysdeps/gnu/errlist.c: Regenerated.
8194
b9375348
SP
81952013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8196
8197 [BZ #15465]
8198 * elf/Makefile (tests): Add tst-null-argv.
8199 (modules-names): Add tst-null-argv-lib.
8200 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8201 (tst-null-argv-ENV): Set environment for tst-null-argv.
8202 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8203 (RTLD_PROGNAME): New macro.
8204 * elf/tst-null-argv.c: New test case.
8205 * elf/tst-null-argv-lib.c: Library for test case.
8206 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8207 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8208 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8209 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8210 * elf/dl-init.c (call_init): Likewise.
8211 (_dl_init): Likewise.
8212 * elf/dl-load.c (print_search_path): Likewise.
8213 (_dl_map_object): Likewise.
8214 * elf/dl-lookup.c (do_lookup_x): Likewise.
8215 (add_dependency): Likewise.
8216 (_dl_lookup_symbol_x): Likewise.
8217 (_dl_debug_bindings): Likewise.
8218 * elf/dl-open.c (_dl_show_scope): Likewise.
8219 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8220 * elf/dl-version.c (match_symbol): Likewise.
8221 (_dl_check_map_versions): Likewise.
8222 * elf/rtld.c (dl_main): Likewise.
8223 (print_unresolved): Use RTLD_PROGNAME.
8224 (print_missing_version): Likewise.
8225 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8226 (elf_machine_rela): Likewise.
8227 * sysdeps/powerpc/powerpc32/dl-machine.c
8228 (__process_machine_rela): Likewise.
8229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8230 Likewise.
8231 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8232 Likewise.
8233 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8234 Likewise.
8235 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8237 Likewise.
8238 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8239 Likewise.
8240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8241
8a9f20c8
CD
82422013-05-28 Carlos O'Donell <carlos@redhat.com>
8243
8244 * po/be.po: Add descriptive title.
8245 * po/zh_CN.po: Likewise.
8246 * po/header.pot: Likewise.
8247
0e60d68e
MF
82482013-05-28 Mike Frysinger <vapier@gentoo.org>
8249
8250 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8251 error message.
8252 (enlarge_archive): Likewise.
8253
56b672e9
BN
82542013-05-28 Ben North <ben@redfrontdoor.org>
8255
8256 * manual/arith.texi (frexp): It is the magnitude of the return
8257 value which lies in [0.5, 1), not the return value itself.
8258
5e056687
AZ
82592013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8260
8261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8262
2b66ef5d
TS
82632013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8264
528c2405
TS
8265 * stdio-common/bug26.c (main): Correct fscanf template.
8266
07b4c13d
TS
8267 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8268 declare _dl_skip_args.
8269
ec9dd97c
TS
8270 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8271 Don't declare.
8272
2b66ef5d
TS
8273 * manual/platform.texi: Add missing @end deftypefun.
8274
4f8dfe27
JM
82752013-05-24 Joseph Myers <joseph@codesourcery.com>
8276
0323d086
JM
8277 [BZ #15529]
8278 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8279 bit of mantissa of 2^16382.
8280 * math/libm-test.inc (hypot_test_data): Add more tests.
8281
dd4259b9
JM
8282 * math/libm-test.inc: Add drem and pow10 to list of tested
8283 functions.
8284 (pow10_test): New function.
8285 (drem_test): Likewise.
8286 (drem_test_tonearest): Likewise.
8287 (drem_test_towardzero): Likewise.
8288 (drem_test_downward): Likewise.
8289 (drem_test_upward): Likewise.
8290 (main): Call the new functions.
8291
4f8dfe27
JM
8292 * math/libm-test.inc (finite_test_data): Remove.
8293 (finite_test): Run tests from isfinite_test_data.
8294 (gamma_test_data): Remove.
8295 (gamma_test): Run tests from lgamma_test_data.
8296 * sysdeps/i386/fpu/libm-test-ulps: Update.
8297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8298
d116b7c4
AZ
82992013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8300
8301 * manual/platform.texi: Add PowerPC PPR function set documentation.
8302 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8303 implementation.
8304
e96e3767
CD
83052013-05-24 Carlos O'Donell <carlos@redhat.com>
8306
8307 * math/libm-test.inc (MAX_EXP): Define.
8308 (ULPDIFF): Define.
8309 (ulp): New function.
8310 (check_float_internal): Use ULPDIFF.
8311 (cpow_test): Disable failing test.
8312 (check_ulp): Test ulp() implemetnation.
8313 (main): Call check_ulp before starting tests.
8314
b679a606
JM
83152013-05-24 Joseph Myers <joseph@codesourcery.com>
8316
e8bdba36
JM
8317 * math/gen-libm-test.pl (generate_testfile): Do not handle
8318 START_DATA and END_DATA.
8319 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8320 END_DATA.
8321 (acos_tonearest_test_data): Likewise.
8322 (acos_towardzero_test_data): Likewise.
8323 (acos_downward_test_data): Likewise.
8324 (acos_upward_test_data): Likewise.
8325 (acosh_test_data): Likewise.
8326 (asin_test_data): Likewise.
8327 (asin_tonearest_test_data): Likewise.
8328 (asin_towardzero_test_data): Likewise.
8329 (asin_downward_test_data): Likewise.
8330 (asin_upward_test_data): Likewise.
8331 (asinh_test_data): Likewise.
8332 (atan_test_data): Likewise.
8333 (atanh_test_data): Likewise.
8334 (atan2_test_data): Likewise.
8335 (cabs_test_data): Likewise.
8336 (cacos_test_data): Likewise.
8337 (cacosh_test_data): Likewise.
8338 (carg_test_data): Likewise.
8339 (casin_test_data): Likewise.
8340 (casinh_test_data): Likewise.
8341 (catan_test_data): Likewise.
8342 (catanh_test_data): Likewise.
8343 (cbrt_test_data): Likewise.
8344 (ccos_test_data): Likewise.
8345 (ccosh_test_data): Likewise.
8346 (ceil_test_data): Likewise.
8347 (cexp_test_data): Likewise.
8348 (cimag_test_data): Likewise.
8349 (clog_test_data): Likewise.
8350 (clog10_test_data): Likewise.
8351 (conj_test_data): Likewise.
8352 (copysign_test_data): Likewise.
8353 (cos_test_data): Likewise.
8354 (cos_tonearest_test_data): Likewise.
8355 (cos_towardzero_test_data): Likewise.
8356 (cos_downward_test_data): Likewise.
8357 (cos_upward_test_data): Likewise.
8358 (cosh_test_data): Likewise.
8359 (cosh_tonearest_test_data): Likewise.
8360 (cosh_towardzero_test_data): Likewise.
8361 (cosh_downward_test_data): Likewise.
8362 (cosh_upward_test_data): Likewise.
8363 (cpow_test_data): Likewise.
8364 (cproj_test_data): Likewise.
8365 (creal_test_data): Likewise.
8366 (csin_test_data): Likewise.
8367 (csinh_test_data): Likewise.
8368 (csqrt_test_data): Likewise.
8369 (ctan_test_data): Likewise.
8370 (ctan_tonearest_test_data): Likewise.
8371 (ctan_towardzero_test_data): Likewise.
8372 (ctan_downward_test_data): Likewise.
8373 (ctan_upward_test_data): Likewise.
8374 (ctanh_test_data): Likewise.
8375 (ctanh_tonearest_test_data): Likewise.
8376 (ctanh_towardzero_test_data): Likewise.
8377 (ctanh_downward_test_data): Likewise.
8378 (ctanh_upward_test_data): Likewise.
8379 (erf_test_data): Likewise.
8380 (erfc_test_data): Likewise.
8381 (exp_test_data): Likewise.
8382 (exp_tonearest_test_data): Likewise.
8383 (exp_towardzero_test_data): Likewise.
8384 (exp_downward_test_data): Likewise.
8385 (exp_upward_test_data): Likewise.
8386 (exp10_test_data): Likewise.
8387 (exp2_test_data): Likewise.
8388 (expm1_test_data): Likewise.
8389 (fabs_test_data): Likewise.
8390 (fdim_test_data): Likewise.
8391 (finite_test_data): Likewise.
8392 (floor_test_data): Likewise.
8393 (fma_test_data): Likewise.
8394 (fma_towardzero_test_data): Likewise.
8395 (fma_downward_test_data): Likewise.
8396 (fma_upward_test_data): Likewise.
8397 (fmax_test_data): Likewise.
8398 (fmin_test_data): Likewise.
8399 (fmod_test_data): Likewise.
8400 (fpclassify_test_data): Likewise.
8401 (frexp_test_data): Likewise.
8402 (gamma_test_data): Likewise.
8403 (hypot_test_data): Likewise.
8404 (ilogb_test_data): Likewise.
8405 (isfinite_test_data): Likewise.
8406 (isgreater_test_data): Likewise.
8407 (isgreaterequal_test_data): Likewise.
8408 (isinf_test_data): Likewise.
8409 (isless_test_data): Likewise.
8410 (islessequal_test_data): Likewise.
8411 (islessgreater_test_data): Likewise.
8412 (isnan_test_data): Likewise.
8413 (isnormal_test_data): Likewise.
8414 (issignaling_test_data): Likewise.
8415 (isunordered_test_data): Likewise.
8416 (j0_test_data): Likewise.
8417 (j1_test_data): Likewise.
8418 (jn_test_data): Likewise.
8419 (ldexp_test_data): Likewise.
8420 (lgamma_test_data): Likewise.
8421 (lrint_test_data): Likewise.
8422 (lrint_tonearest_test_data): Likewise.
8423 (lrint_towardzero_test_data): Likewise.
8424 (lrint_downward_test_data): Likewise.
8425 (lrint_upward_test_data): Likewise.
8426 (llrint_test_data): Likewise.
8427 (llrint_tonearest_test_data): Likewise.
8428 (llrint_towardzero_test_data): Likewise.
8429 (llrint_downward_test_data): Likewise.
8430 (llrint_upward_test_data): Likewise.
8431 (log_test_data): Likewise.
8432 (log10_test_data): Likewise.
8433 (log1p_test_data): Likewise.
8434 (log2_test_data): Likewise.
8435 (logb_test_data): Likewise.
8436 (logb_downward_test_data): Likewise.
8437 (lround_test_data): Likewise.
8438 (llround_test_data): Likewise.
8439 (modf_test_data): Likewise.
8440 (nearbyint_test_data): Likewise.
8441 (nextafter_test_data): Likewise.
8442 (nexttoward_test_data): Likewise.
8443 (pow_test_data): Likewise.
8444 (pow_tonearest_test_data): Likewise.
8445 (pow_towardzero_test_data): Likewise.
8446 (pow_downward_test_data): Likewise.
8447 (pow_upward_test_data): Likewise.
8448 (remainder_test_data): Likewise.
8449 (remainder_tonearest_test_data): Likewise.
8450 (remainder_towardzero_test_data): Likewise.
8451 (remainder_downward_test_data): Likewise.
8452 (remainder_upward_test_data): Likewise.
8453 (remquo_test_data): Likewise.
8454 (rint_test_data): Likewise.
8455 (rint_tonearest_test_data): Likewise.
8456 (rint_towardzero_test_data): Likewise.
8457 (rint_downward_test_data): Likewise.
8458 (rint_upward_test_data): Likewise.
8459 (round_test_data): Likewise.
8460 (scalb_test_data): Likewise.
8461 (scalbn_test_data): Likewise.
8462 (scalbln_test_data): Likewise.
8463 (signbit_test_data): Likewise.
8464 (sin_test_data): Likewise.
8465 (sin_tonearest_test_data): Likewise.
8466 (sin_towardzero_test_data): Likewise.
8467 (sin_downward_test_data): Likewise.
8468 (sin_upward_test_data): Likewise.
8469 (sincos_test_data): Likewise.
8470 (sinh_test_data): Likewise.
8471 (sinh_tonearest_test_data): Likewise.
8472 (sinh_towardzero_test_data): Likewise.
8473 (sinh_downward_test_data): Likewise.
8474 (sinh_upward_test_data): Likewise.
8475 (sqrt_test_data): Likewise.
8476 (tan_test_data): Likewise.
8477 (tan_tonearest_test_data): Likewise.
8478 (tan_towardzero_test_data): Likewise.
8479 (tan_downward_test_data): Likewise.
8480 (tan_upward_test_data): Likewise.
8481 (tanh_test_data): Likewise.
8482 (tgamma_test_data): Likewise.
8483 (trunc_test_data): Likewise.
8484 (y0_test_data): Likewise.
8485 (y1_test_data): Likewise.
8486 (yn_test_data): Likewise.
8487 (significand_test_data): Likewise.
8488
b679a606
JM
8489 * math/gen-libm-test.pl (@functions): Remove variable.
8490 (generate_testfile): Don't handle START and END lines.
8491 * math/libm-test.inc (START): New macro.
8492 (END): Likewise.
8493 (END_COMPLEX): Likewise.
8494 (acos_test): Use END macro without arguments.
8495 (acos_test_tonearest): Likewise.
8496 (acos_test_towardzero): Likewise.
8497 (acos_test_downward): Likewise.
8498 (acos_test_upward): Likewise.
8499 (acosh_test): Likewise.
8500 (asin_test): Likewise.
8501 (asin_test_tonearest): Likewise.
8502 (asin_test_towardzero): Likewise.
8503 (asin_test_downward): Likewise.
8504 (asin_test_upward): Likewise.
8505 (asinh_test): Likewise.
8506 (atan_test): Likewise.
8507 (atanh_test): Likewise.
8508 (atan2_test): Likewise.
8509 (cabs_test): Likewise.
8510 (cacos_test): Use END_COMPLEX macro without arguments.
8511 (cacosh_test): Likewise.
8512 (carg_test): Use END macro without arguments.
8513 (casin_test): Use END_COMPLEX macro without arguments.
8514 (casinh_test): Likewise.
8515 (catan_test): Likewise.
8516 (catanh_test): Likewise.
8517 (cbrt_test): Use END macro without arguments.
8518 (ccos_test): Use END_COMPLEX macro without arguments.
8519 (ccosh_test): Likewise.
8520 (ceil_test): Use END macro without arguments.
8521 (cexp_test): Use END_COMPLEX macro without arguments.
8522 (cimag_test): Use END macro without arguments.
8523 (clog_test): Use END_COMPLEX macro without arguments.
8524 (clog10_test): Likewise.
8525 (conj_test): Likewise.
8526 (copysign_test): Use END macro without arguments.
8527 (cos_test): Likewise.
8528 (cos_test_tonearest): Likewise.
8529 (cos_test_towardzero): Likewise.
8530 (cos_test_downward): Likewise.
8531 (cos_test_upward): Likewise.
8532 (cosh_test): Likewise.
8533 (cosh_test_tonearest): Likewise.
8534 (cosh_test_towardzero): Likewise.
8535 (cosh_test_downward): Likewise.
8536 (cosh_test_upward): Likewise.
8537 (cpow_test): Use END_COMPLEX macro without arguments.
8538 (cproj_test): Likewise.
8539 (creal_test): Use END macro without arguments.
8540 (csin_test): Use END_COMPLEX macro without arguments.
8541 (csinh_test): Likewise.
8542 (csqrt_test): Likewise.
8543 (ctan_test): Likewise.
8544 (ctan_test_tonearest): Likewise.
8545 (ctan_test_towardzero): Likewise.
8546 (ctan_test_downward): Likewise.
8547 (ctan_test_upward): Likewise.
8548 (ctanh_test): Likewise.
8549 (ctanh_test_tonearest): Likewise.
8550 (ctanh_test_towardzero): Likewise.
8551 (ctanh_test_downward): Likewise.
8552 (ctanh_test_upward): Likewise.
8553 (erf_test): Use END macro without arguments.
8554 (erfc_test): Likewise.
8555 (exp_test): Likewise.
8556 (exp_test_tonearest): Likewise.
8557 (exp_test_towardzero): Likewise.
8558 (exp_test_downward): Likewise.
8559 (exp_test_upward): Likewise.
8560 (exp10_test): Likewise.
8561 (exp2_test): Likewise.
8562 (expm1_test): Likewise.
8563 (fabs_test): Likewise.
8564 (fdim_test): Likewise.
8565 (finite_test): Likewise.
8566 (floor_test): Likewise.
8567 (fma_test): Likewise.
8568 (fma_test_towardzero): Likewise.
8569 (fma_test_downward): Likewise.
8570 (fma_test_upward): Likewise.
8571 (fmax_test): Likewise.
8572 (fmin_test): Likewise.
8573 (fmod_test): Likewise.
8574 (fpclassify_test): Likewise.
8575 (frexp_test): Likewise.
8576 (gamma_test): Likewise.
8577 (hypot_test): Likewise.
8578 (ilogb_test): Likewise.
8579 (isfinite_test): Likewise.
8580 (isgreater_test): Likewise.
8581 (isgreaterequal_test): Likewise.
8582 (isinf_test): Likewise.
8583 (isless_test): Likewise.
8584 (islessequal_test): Likewise.
8585 (islessgreater_test): Likewise.
8586 (isnan_test): Likewise.
8587 (isnormal_test): Likewise.
8588 (issignaling_test): Likewise.
8589 (isunordered_test): Likewise.
8590 (j0_test): Likewise.
8591 (j1_test): Likewise.
8592 (jn_test): Likewise.
8593 (ldexp_test): Likewise.
8594 (lgamma_test): Likewise.
8595 (lrint_test): Likewise.
8596 (lrint_test_tonearest): Likewise.
8597 (lrint_test_towardzero): Likewise.
8598 (lrint_test_downward): Likewise.
8599 (lrint_test_upward): Likewise.
8600 (llrint_test): Likewise.
8601 (llrint_test_tonearest): Likewise.
8602 (llrint_test_towardzero): Likewise.
8603 (llrint_test_downward): Likewise.
8604 (llrint_test_upward): Likewise.
8605 (log_test): Likewise.
8606 (log10_test): Likewise.
8607 (log1p_test): Likewise.
8608 (log2_test): Likewise.
8609 (logb_test): Likewise.
8610 (logb_test_downward): Likewise.
8611 (lround_test): Likewise.
8612 (llround_test): Likewise.
8613 (modf_test): Likewise.
8614 (nearbyint_test): Likewise.
8615 (nextafter_test): Likewise.
8616 (nexttoward_test): Likewise.
8617 (pow_test): Likewise.
8618 (pow_test_tonearest): Likewise.
8619 (pow_test_towardzero): Likewise.
8620 (pow_test_downward): Likewise.
8621 (pow_test_upward): Likewise.
8622 (remainder_test): Likewise.
8623 (remainder_test_tonearest): Likewise.
8624 (remainder_test_towardzero): Likewise.
8625 (remainder_test_downward): Likewise.
8626 (remainder_test_upward): Likewise.
8627 (remquo_test): Likewise.
8628 (rint_test): Likewise.
8629 (rint_test_tonearest): Likewise.
8630 (rint_test_towardzero): Likewise.
8631 (rint_test_downward): Likewise.
8632 (rint_test_upward): Likewise.
8633 (round_test): Likewise.
8634 (scalb_test): Likewise.
8635 (scalbn_test): Likewise.
8636 (scalbln_test): Likewise.
8637 (signbit_test): Likewise.
8638 (sin_test): Likewise.
8639 (sin_test_tonearest): Likewise.
8640 (sin_test_towardzero): Likewise.
8641 (sin_test_downward): Likewise.
8642 (sin_test_upward): Likewise.
8643 (sincos_test): Likewise.
8644 (sinh_test): Likewise.
8645 (sinh_test_tonearest): Likewise.
8646 (sinh_test_towardzero): Likewise.
8647 (sinh_test_downward): Likewise.
8648 (sinh_test_upward): Likewise.
8649 (sqrt_test): Likewise.
8650 (tan_test): Likewise.
8651 (tan_test_tonearest): Likewise.
8652 (tan_test_towardzero): Likewise.
8653 (tan_test_downward): Likewise.
8654 (tan_test_upward): Likewise.
8655 (tanh_test): Likewise.
8656 (tgamma_test): Likewise.
8657 (trunc_test): Likewise.
8658 (y0_test): Likewise.
8659 (y1_test): Likewise.
8660 (yn_test): Likewise.
8661 (significand_test): Likewise.
8662
bae143d2
OB
86632013-05-24 Ondřej Bílka <neleai@seznam.cz>
8664
8665 [BZ #15381]
8666 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8667
9323d39b
EM
86682013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8669
d4ea44a0 8670 [BZ #14894]
9323d39b
EM
8671 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8672 __ppc_mdoio and __ppc_mdoom.
8673 * manual/platform.texi: Document new functions __ppc_yield,
8674 __ppc_mdoio and __ppc_mdoom.
8675
13e23af7
CD
86762013-05-22 Carlos O'Donell <carlos@redhat.com>
8677
8678 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8679 (main): Mention "tls" pseudo-hwcap is legacy.
8680 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8681
351fe550
JM
86822013-05-22 Joseph Myers <joseph@codesourcery.com>
8683
8684 * math/gen-libm-test.pl (parse_args): Output only string of
8685 arguments as text for test name, not full call or descriptions of
8686 tests for extra outputs.
8687 (generate_testfile): Do not pass function name to parse_args.
8688 Generate this_func variable from START.
8689 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8690 field to arg_str.
8691 (struct test_ff_f_data): Likewise.
8692 (test_ff_f_data_nexttoward): Likewise.
8693 (struct test_fi_f_data): Likewise.
8694 (struct test_fl_f_data): Likewise.
8695 (struct test_if_f_data): Likewise.
8696 (struct test_fff_f_data): Likewise.
8697 (struct test_c_f_data): Likewise.
8698 (struct test_f_f1_data): Likewise. Remove field extra_name.
8699 (struct test_fF_f1_data): Likewise.
8700 (struct test_ffI_f1_data): Likewise.
8701 (struct test_c_c_data): Rename test_name field to arg_str.
8702 (struct test_cc_c_data): Likewise.
8703 (struct test_f_i_data): Likewise.
8704 (struct test_ff_i_data): Likewise.
8705 (struct test_f_l_data): Likewise.
8706 (struct test_f_L_data): Likewise.
8707 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8708 and extra2_name.
8709 (COMMON_TEST_SETUP): New macro.
8710 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8711 (COMMON_TEST_CLEANUP): Likewise.
8712 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8713 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8714 macros.
8715 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8716 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8717 macros.
8718 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8719 (RUN_TEST_fff_f): Take argument string. Call new setup and
8720 cleanup macros.
8721 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8722 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8723 macros.
8724 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8725 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8726 macros.
8727 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8728 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8729 cleanup macros.
8730 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8731 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8732 cleanup macros.
8733 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8734 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8735 cleanup macros.
8736 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8737 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8738 macros.
8739 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8740 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8741 macros.
8742 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8743 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8744 macros.
8745 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8746 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8747 cleanup macros.
8748 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8749 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8750 cleanup macros.
8751 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8752 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8753 macros.
8754 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8755 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8756 cleanup macros.
8757 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8758 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8759 macros.
8760 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8761 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8762 macros.
8763 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8764 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8765 cleanup macros.
8766 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8767
85118d4d
EBM
87682013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8769
8770 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8771 to _sifields.sigfault.
8772 (si_addr_lsb): Define new macro.
8773 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8774 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8775 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8776
7a44c18f
CD
87772013-05-03 Carlos O'Donell <carlos at redhat.com>
8778
8779 [BZ #15441]
8780 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8781 returns -1.
8782 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8783 null return -1.
8784 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8785 loading the domain.
8786
b50a7181
JM
87872013-05-22 Joseph Myers <joseph@codesourcery.com>
8788
8789 * math/gen-libm-test.pl (parse_args): Do not include expected
8790 result in test name.
8791 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8792 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8793 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8794 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8795 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8797
051063c8
SP
87982013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8799
3ce9e010
SP
8800 * benchtests/Makefile: Sort function entries.
8801
051063c8
SP
8802 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8803 tanh, asinh, acosh, atanh.
8804 * benchtests/acos-inputs: New file.
8805 * benchtests/acosh-inputs: New file.
8806 * benchtests/asin-inputs: New file.
8807 * benchtests/asinh-inputs: New file.
8808 * benchtests/atanh-inputs: New file.
8809 * benchtests/cosh-inputs: New file.
8810 * benchtests/log-inputs: New file.
8811 * benchtests/sinh-inputs: New file.
8812 * benchtests/tanh-inputs: New file.
8813
47c22455
DL
88142013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8815
8816 [BZ #15339]
8817 * posix/tst-getaddrinfo4.c: New test.
8818 * posix/Makefile (tests): Add it.
8819
3d04f5db
SP
88202013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8821
8822 [BZ #15339]
8823 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8824 when no services were used.
8825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8826 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8827
d5dd6189
AS
88282013-05-21 Andreas Schwab <schwab@suse.de>
8829
8830 [BZ #15014]
8831 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8832 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8833 successful.
8834 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8835 redundant variable declarations and reallocation of buffer when
8836 parsing as IPv6 address. Always set NSS status when called from
8837 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8838 buffer too small. Correct computation of needed size.
8839 * nss/Makefile (tests): Add test-digits-dots.
8840 * nss/test-digits-dots.c: New test.
8841
fef94eab
SP
88422013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8843
8844 * benchtests/Makefile: Remove instructions for adding
8845 benchmark tests.
8846 * benchtests/README: New file to explain how to execute and
8847 enhance the benchmark tests.
8848
e39adf43
AS
88492013-05-21 Andreas Schwab <schwab@suse.de>
8850
8851 [BZ #15493]
8852 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8853 * setjmp/tst-sigsetjmp.c: New test.
8854
b2b671b6
OB
88552013-05-20 Ondřej Bílka <neleai@seznam.cz>
8856
8857 * sysdeps/x86_64/memset.S (memset): New implementation.
8858 (__bzero): Likewise.
8859 (__memset_tail): New function.
8860
2d48b41c
OB
88612013-05-20 Ondřej Bílka <neleai@seznam.cz>
8862
8863 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8864 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8865 __memcpy_sse2_unaligned ifunc selection.
8866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8867 Add memcpy-sse2-unaligned.S.
8868 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8869 Add: __memcpy_sse2_unaligned.
8870
f16cc3eb
JM
88712013-05-19 Joseph Myers <joseph@codesourcery.com>
8872
3e694268
JM
8873 [BZ #15490]
8874 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8875 math_force_eval before restoring floating-point envrionment.
8876 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8877 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8878 Likewise.
8879 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8880 <math_private.h>.
8881 (__nearbyintl): Use math_force_eval before restoring
8882 floating-point environment.
8883 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8884
db62a907
JM
8885 * math/gen-libm-test.pl (special_functions): Remove.
8886 (parse_args): Don't handle TEST_extra. Handle functions with no
8887 return value.
8888 * math/libm-test.inc (struct test_sincos_data): Replace with
8889 struct test_fFF_11_data.
8890 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8891 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8892 (sincos_test_data): Change element type to struct
8893 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8894 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8895 RUN_TEST_LOOP_sincos.
8896 * math/README.libm-test: Don't mention special handling of
8897 individual functions.
8898 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8899 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8900 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8901 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8902 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8904
f16cc3eb
JM
8905 * math/gen-libm-test.pl (get_variable): Remove function.
8906 (parse_args): Don't show pointer parameters to call in test
8907 names. Use "extra output N" in test names for extra outputs
8908 rather than naming variables.
8909
3779b5b6
JM
89102013-05-18 Joseph Myers <joseph@codesourcery.com>
8911
2ee094ff
JM
8912 [BZ #15488]
8913 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8914 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8915 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8916 double tests.
8917 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8918 disable.
8919 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8920 check_long_double.
8921
3779b5b6
JM
8922 * math/gen-libm-test.pl (@tests): Remove variable.
8923 ($count): Likewise.
8924 (new_test): Remove function.
8925 (show_exceptions): New function.
8926 (special_functions): Use show_exceptions instead of new_test.
8927 (parse_args): Likewise.
8928 (generate_testfile): Pass only function name in generated call to
8929 print_max_error or print_complex_max_error.
8930 (get_ulps): Do not handle complex tests specially.
8931 (output_test): Rename to ...
8932 (get_all_ulps_for_test): ... this. Return a string rather than
8933 printing to a file. Require ulps to be present.
8934 (output_ulps): Generate arrays rather than #defines.
8935 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8936 (struct ulp_data): New type.
8937 (BUILD_COMPLEX_ULP): Remove macro.
8938 (compare_ulp_data): New function.
8939 (find_ulps): Likewise.
8940 (find_test_ulps): Likewise.
8941 (find_function_ulps): Likewise.
8942 (find_complex_function_ulps): Likewise.
8943 (print_max_error): Determine allowed ulps using
8944 find_function_ulps.
8945 (print_complex_max_error): Determine allowed ulps using
8946 find_complex_function_ulps.
8947 (check_float_internal): Determine max ulps using find_test_ulps.
8948 (check_float): Do not take max_ulp parameter. Update call to
8949 check_float_internal.
8950 (check_complex): Likewise.
8951 (check_int): Do not take max_ulp parameter.
8952 (check_long): Likewise.
8953 (check_bool): Likewise.
8954 (check_longlong): Likewise.
8955 (struct test_f_f_data): Remove max_ulp field.
8956 (struct test_ff_f_data): Likewise.
8957 (struct test_ff_f_data_nexttoward): Likewise.
8958 (struct test_fi_f_data): Likewise.
8959 (struct test_fl_f_data): Likewise.
8960 (struct test_if_f_data): Likewise.
8961 (struct test_fff_f_data): Likewise.
8962 (struct test_c_f_data): Likewise.
8963 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8964 (struct test_fF_f1_data): Likewise.
8965 (struct test_ffI_f1_data): Likewise.
8966 (struct test_c_c_data): Remove max_ulp field.
8967 (struct test_cc_c_data): Likewise.
8968 (struct test_f_i_data): Likewise.
8969 (struct test_ff_i_data): Likewise.
8970 (struct test_f_l_data): Likewise.
8971 (struct test_f_L_data): Likewise.
8972 (struct test_sincos_data): Likewise.
8973 (RUN_TEST_f_f): Do not handle ulps.
8974 (RUN_TEST_LOOP_f_f): Likewise.
8975 (RUN_TEST_2_f): Likewise.
8976 (RUN_TEST_LOOP_2_f): Likewise.
8977 (RUN_TEST_fff_f): Likewise.
8978 (RUN_TEST_LOOP_fff_f): Likewise.
8979 (RUN_TEST_c_f): Likewise.
8980 (RUN_TEST_LOOP_c_f): Likewise.
8981 (RUN_TEST_f_f1): Likewise.
8982 (RUN_TEST_LOOP_f_f1): Likewise.
8983 (RUN_TEST_fF_f1): Likewise.
8984 (RUN_TEST_LOOP_fF_f1): Likewise.
8985 (RUN_TEST_fI_f1): Likewise.
8986 (RUN_TEST_LOOP_fI_f1): Likewise.
8987 (RUN_TEST_ffI_f1): Likewise.
8988 (RUN_TEST_LOOP_ffI_f1): Likewise.
8989 (RUN_TEST_c_c): Likewise.
8990 (RUN_TEST_LOOP_c_c): Likewise.
8991 (RUN_TEST_cc_c): Likewise.
8992 (RUN_TEST_LOOP_cc_c): Likewise.
8993 (RUN_TEST_f_i): Likewise.
8994 (RUN_TEST_LOOP_f_i): Likewise.
8995 (RUN_TEST_f_i_tg): Likewise.
8996 (RUN_TEST_LOOP_f_i_tg): Likewise.
8997 (RUN_TEST_ff_i_tg): Likewise.
8998 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8999 (RUN_TEST_f_b): Likewise.
9000 (RUN_TEST_LOOP_f_b): Likewise.
9001 (RUN_TEST_f_b_tg): Likewise.
9002 (RUN_TEST_LOOP_f_b_tg): Likewise.
9003 (RUN_TEST_f_l): Likewise.
9004 (RUN_TEST_LOOP_f_l): Likewise.
9005 (RUN_TEST_f_L): Likewise.
9006 (RUN_TEST_LOOP_f_L): Likewise.
9007 (RUN_TEST_sincos): Likewise.
9008 (RUN_TEST_LOOP_sincos): Likewise.
9009
8269107f
JM
90102013-05-17 Joseph Myers <joseph@codesourcery.com>
9011
bb38759d
JM
9012 [BZ #15480]
9013 [BZ #15485]
9014 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9015 main case of finite arguments, set rounding mode to FE_TONEAREST
9016 and discard exceptions.
9017 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9018 exceptions.
9019 (remainder_tonearest_test_data): New variable.
9020 (remainder_test_tonearest): New function.
9021 (remainder_towardzero_test_data): New variable.
9022 (remainder_test_towardzero): New function.
9023 (remainder_downward_test_data): New variable.
9024 (remainder_test_downward): New function.
9025 (remainder_upward_test_data): New variable.
9026 (remainder_test_upward): New function.
9027 (main): Call the new test functions.
9028
a00bdcf0
JM
9029 * math/libm-test.inc (struct test_f_f1_data): Remove field
9030 extra_init.
9031 (struct test_fF_f1_data): Likewise.
9032 (struct test_ffI_f1_data): Likewise.
9033 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9034 based on value of EXTRA_EXPECTED.
9035 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9036 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9037 EXTRA_VAR based on value of EXTRA_EXPECTED.
9038 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9039 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9040 EXTRA_VAR based on value of EXTRA_EXPECTED.
9041 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9042 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9043 EXTRA_VAR based on value of EXTRA_EXPECTED.
9044 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9045 * math/gen-libm-test.pl (parse_args): Don't output initializers
9046 for extra output values.
9047
de407f79
JM
9048 * math/libm-test.inc (check_int): Expect result to be exactly
9049 equal to expected value and do not handle ulps.
9050 (check_long): Likewise.
9051 (check_longlong): Likewise.
9052
8269107f
JM
9053 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9054 exceptions.
9055 (cimag_test_data): Likewise.
9056 (conj_test_data): Likewise.
9057 (copysign_test_data): Likewise.
9058 (cproj_test_data): Likewise.
9059 (creal_test_data): Likewise.
9060 (fabs_test_data): Likewise.
9061 (fdim_test_data): Likewise.
9062 (finite_test_data): Likewise.
9063 (floor_test_data): Likewise.
9064 (fmax_test_data): Likewise.
9065 (fmin_test_data): Likewise.
9066 (fmod_test_data): Likewise.
9067 (fpclassify_test_data): Likewise.
9068 (frexp_test_data): Likewise.
9069 (ilogb_test_data): Likewise.
9070 (isfinite_test_data): Likewise.
9071 (isgreater_test_data): Likewise.
9072 (isgreaterequal_test_data): Likewise.
9073 (isinf_test_data): Likewise.
9074 (isless_test_data): Likewise.
9075 (islessequal_test_data): Likewise.
9076 (islessgreater_test_data): Likewise.
9077 (isnan_test_data): Likewise.
9078 (isnormal_test_data): Likewise.
9079 (issignaling_test_data): Likewise.
9080 (isunordered_test_data): Likewise.
9081 (ldexp_test_data): Likewise.
9082 (lrint_test_data): Likewise.
9083 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9084 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9085 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9086 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9087 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9088 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9089 test input.
9090 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9091 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9092 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9093 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9094 that test input.
9095 (lrint_downward_test_data): Test for "inexact" exceptions.
9096 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9097 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9098 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9099 test input.
9100 (lrint_upward_test_data): Test for "inexact" exceptions.
9101 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9102 test input.
9103 (llrint_test_data): Test for "inexact" exceptions.
9104 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9105 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9106 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9107 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9108 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9109 (llrint_downward_test_data): Test for "inexact" exceptions.
9110 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9111 (llrint_upward_test_data): Test for "inexact" exceptions.
9112 (logb_test_data): Likewise.
9113 (logb_downward_test_data): Likewise.
9114 (nextafter_test_data): Likewise.
9115 (nexttoward_test_data): Likewise.
9116 (remainder_test_data): Likewise.
9117 (remquo_test_data): Likewise.
9118 (scalbn_test_data): Likewise.
9119 (scalbln_test_data): Likewise.
9120 (signbit_test_data): Likewise.
9121 (sqrt_test_data): Likewise.
9122 (significand_test_data): Likewise.
9123
48a18de1
SP
91242013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9125
9126 [BZ #15424]
9127 * benchtests/bench-modf.c (struct args): Mark arg0 as
9128 volatile.
9129 * scripts/bench.pl: Mark members of struct args as volatile.
9130
13d3b41a
AZ
91312013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9132
68191c1d 9133 [BZ # 15497]
13d3b41a
AZ
9134 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9135 negative infinity on POWER6 or lower.
9136 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9137
2848b105
MR
91382013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9139
9140 [BZ #15442]
9141 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9142 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9143 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9144 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9145 (_FP_SETQNAN): New macro.
9146 (_FP_SETQNAN_SEMIRAW): Likewise.
9147 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9148 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9149 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9150 (FP_EXTEND): Use _FP_FRAC_SNANP.
9151 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9152 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9153 into account.
9154 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9155 New macro.
9156 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9157 Likewise.
9158
323e5cb7
JM
91592013-05-16 Joseph Myers <joseph@codesourcery.com>
9160
c58b274f
JM
9161 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9162 with DIVIDE_BY_ZERO_EXCEPTION.
9163 (gamma_test_data): Likewise.
9164 (lgamma_test_data): Likewise.
9165 (log_test_data): Likewise.
9166 (log10_test_data): Likewise.
9167 (log2_test_data): Likewise.
9168 (tgamma_test_data): Likewise.
9169
0ab34904
JM
9170 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9171 (acos_test_tonearest): Likewise.
9172 (acos_test_towardzero): Likewise.
9173 (acos_test_downward): Likewise.
9174 (acos_test_upward): Likewise.
9175 (acosh_test): Likewise.
9176 (asin_test): Likewise.
9177 (asin_test_tonearest): Likewise.
9178 (asin_test_towardzero): Likewise.
9179 (asin_test_downward): Likewise.
9180 (asin_test_upward): Likewise.
9181 (asinh_test): Likewise.
9182 (atan_test): Likewise.
9183 (atanh_test): Likewise.
9184 (atan2_test): Likewise.
9185 (cabs_test): Likewise.
9186 (cacos_test): Likewise.
9187 (cacosh_test): Likewise.
9188 (casin_test): Likewise.
9189 (casinh_test): Likewise.
9190 (catan_test): Likewise.
9191 (catanh_test): Likewise.
9192 (cbrt_test): Likewise.
9193 (ccos_test): Likewise.
9194 (ccosh_test): Likewise.
9195 (cexp_test): Likewise.
9196 (clog_test): Likewise.
9197 (clog10_test): Likewise.
9198 (cos_test): Likewise.
9199 (cos_test_tonearest): Likewise.
9200 (cos_test_towardzero): Likewise.
9201 (cos_test_downward): Likewise.
9202 (cos_test_upward): Likewise.
9203 (cosh_test): Likewise.
9204 (cosh_test_tonearest): Likewise.
9205 (cosh_test_towardzero): Likewise.
9206 (cosh_test_downward): Likewise.
9207 (cosh_test_upward): Likewise.
9208 (cpow_test): Likewise.
9209 (csin_test): Likewise.
9210 (csinh_test): Likewise.
9211 (csqrt_test): Likewise.
9212 (ctan_test): Likewise.
9213 (ctan_test_tonearest): Likewise.
9214 (ctan_test_towardzero): Likewise.
9215 (ctan_test_downward): Likewise.
9216 (ctan_test_upward): Likewise.
9217 (ctanh_test): Likewise.
9218 (ctanh_test_tonearest): Likewise.
9219 (ctanh_test_towardzero): Likewise.
9220 (ctanh_test_downward): Likewise.
9221 (ctanh_test_upward): Likewise.
9222 (erf_test): Likewise.
9223 (erfc_test): Likewise.
9224 (exp_test): Likewise.
9225 (exp_test_tonearest): Likewise.
9226 (exp_test_towardzero): Likewise.
9227 (exp_test_downward): Likewise.
9228 (exp_test_upward): Likewise.
9229 (exp10_test): Likewise.
9230 (exp2_test): Likewise.
9231 (expm1_test): Likewise.
9232 (fmod_test): Likewise.
9233 (gamma_test): Likewise.
9234 (hypot_test): Likewise.
9235 (j0_test): Likewise.
9236 (j1_test): Likewise.
9237 (jn_test): Likewise.
9238 (lgamma_test): Likewise.
9239 (log_test): Likewise.
9240 (log10_test): Likewise.
9241 (log1p_test): Likewise.
9242 (log2_test): Likewise.
9243 (logb_test_downward): Likewise.
9244 (pow_test): Likewise.
9245 (pow_test_tonearest): Likewise.
9246 (pow_test_towardzero): Likewise.
9247 (pow_test_downward): Likewise.
9248 (pow_test_upward): Likewise.
9249 (remainder_test): Likewise.
9250 (remquo_test): Likewise.
9251 (sin_test): Likewise.
9252 (sin_test_tonearest): Likewise.
9253 (sin_test_towardzero): Likewise.
9254 (sin_test_downward): Likewise.
9255 (sin_test_upward): Likewise.
9256 (sincos_test): Likewise.
9257 (sinh_test): Likewise.
9258 (sinh_test_tonearest): Likewise.
9259 (sinh_test_towardzero): Likewise.
9260 (sinh_test_downward): Likewise.
9261 (sinh_test_upward): Likewise.
9262 (sqrt_test): Likewise.
9263 (tan_test): Likewise.
9264 (tan_test_tonearest): Likewise.
9265 (tan_test_towardzero): Likewise.
9266 (tan_test_downward): Likewise.
9267 (tan_test_upward): Likewise.
9268 (tanh_test): Likewise.
9269 (tgamma_test): Likewise.
9270 (y0_test): Likewise.
9271 (y1_test): Likewise.
9272 (yn_test): Likewise.
9273
323e5cb7
JM
9274 * math/gen-libm-test.pl (adjust_arg): Remove function.
9275 (special_function): Remove argument $in_func. Only handle
9276 generating output for tables of tests, not inside functions.
9277 (parse_args): Likewise.
9278 (generate_testfile): Remove variable $in_func. Update call to
9279 parse_args.
9280 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9281 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9282 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9283 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9284 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9285 (MAX_VALUE_INIT): Rename macro to max_value.
9286 (MIN_VALUE_INIT): Rename macro to min_value.
9287 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9288 (plus_zero): Remove variable.
9289 (minus_zero): Likewise.
9290 (plus_infty): Likewise.
9291 (minus_infty): Likewise.
9292 (qnan_value): Likewise.
9293 (max_value): Likewise.
9294 (min_value): Likewise.
9295 (min_subnorm_value): Likewise.
9296
e054f494
RA
92972013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9298
9299 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9300 uint64_t or uint32_t usage.
9301 * crypt/sha256-block.c: Likewise.
9302 * crypt/sha256-crypt.c: Likewise.
9303 * crypt/sha256.c: Likewise.
9304 * crypt/sha512-block.c: Likewise.
9305 * crypt/sha512-crypt.c: Likewise.
9306 * crypt/sha512.c: Likewise.
9307 * debug/backtrace-tst.c: Likewise.
9308 * debug/pcprofiledump.c: Likewise.
9309 * elf/cache.c: Likewise.
9310 * elf/dl-cache.c: Likewise.
9311 * elf/dl-misc.c: Likewise.
9312 * elf/dl-profile.c: Likewise.
9313 * elf/dl-support.c: Likewise.
9314 * elf/ldconfig.c: Likewise.
9315 * elf/sprof.c: Likewise.
9316 * iconv/dummy-repertoire.c: Likewise.
9317 * iconv/iconv_charmap.c: Likewise.
9318 * iconv/skeleton.c: Likewise.
9319 * iconvdata/8bit-generic.c: Likewise.
9320 * iconvdata/cp737.h: Likewise.
9321 * iconvdata/cp775.h: Likewise.
9322 * iconvdata/ibm1008.h: Likewise.
9323 * iconvdata/ibm1025.h: Likewise.
9324 * iconvdata/ibm1046.h: Likewise.
9325 * iconvdata/ibm1097.h: Likewise.
9326 * iconvdata/ibm1112.h: Likewise.
9327 * iconvdata/ibm1122.h: Likewise.
9328 * iconvdata/ibm1123.h: Likewise.
9329 * iconvdata/ibm1124.h: Likewise.
9330 * iconvdata/ibm1129.h: Likewise.
9331 * iconvdata/ibm1130.h: Likewise.
9332 * iconvdata/ibm1132.h: Likewise.
9333 * iconvdata/ibm1133.h: Likewise.
9334 * iconvdata/ibm1137.h: Likewise.
9335 * iconvdata/ibm1140.h: Likewise.
9336 * iconvdata/ibm1141.h: Likewise.
9337 * iconvdata/ibm1142.h: Likewise.
9338 * iconvdata/ibm1143.h: Likewise.
9339 * iconvdata/ibm1144.h: Likewise.
9340 * iconvdata/ibm1145.h: Likewise.
9341 * iconvdata/ibm1146.h: Likewise.
9342 * iconvdata/ibm1147.h: Likewise.
9343 * iconvdata/ibm1148.h: Likewise.
9344 * iconvdata/ibm1149.h: Likewise.
9345 * iconvdata/ibm1153.h: Likewise.
9346 * iconvdata/ibm1154.h: Likewise.
9347 * iconvdata/ibm1155.h: Likewise.
9348 * iconvdata/ibm1156.h: Likewise.
9349 * iconvdata/ibm1157.h: Likewise.
9350 * iconvdata/ibm1158.h: Likewise.
9351 * iconvdata/ibm1160.h: Likewise.
9352 * iconvdata/ibm1161.h: Likewise.
9353 * iconvdata/ibm1162.h: Likewise.
9354 * iconvdata/ibm1163.h: Likewise.
9355 * iconvdata/ibm1164.h: Likewise.
9356 * iconvdata/ibm1166.h: Likewise.
9357 * iconvdata/ibm1167.h: Likewise.
9358 * iconvdata/ibm12712.h: Likewise.
9359 * iconvdata/ibm1390.h: Likewise.
9360 * iconvdata/ibm1399.h: Likewise.
9361 * iconvdata/ibm16804.h: Likewise.
9362 * iconvdata/ibm4517.h: Likewise.
9363 * iconvdata/ibm4899.h: Likewise.
9364 * iconvdata/ibm4909.h: Likewise.
9365 * iconvdata/ibm4971.h: Likewise.
9366 * iconvdata/ibm5347.h: Likewise.
9367 * iconvdata/ibm803.h: Likewise.
9368 * iconvdata/ibm856.h: Likewise.
9369 * iconvdata/ibm901.h: Likewise.
9370 * iconvdata/ibm902.h: Likewise.
9371 * iconvdata/ibm9030.h: Likewise.
9372 * iconvdata/ibm9066.h: Likewise.
9373 * iconvdata/ibm921.h: Likewise.
9374 * iconvdata/ibm922.h: Likewise.
9375 * iconvdata/ibm9448.h: Likewise.
9376 * iconvdata/isiri-3342.h: Likewise.
9377 * iconvdata/jis0201.h: Likewise.
9378 * include/link.h: Likewise.
9379 * include/netdb.h: Likewise.
9380 * inet/check_native.c: Likewise.
9381 * inet/check_pf.c: Likewise.
9382 * inet/getipv4sourcefilter.c: Likewise.
9383 * inet/getnameinfo.c: Likewise.
9384 * inet/getsourcefilter.c: Likewise.
9385 * inet/htonl.c: Likewise.
9386 * inet/setipv4sourcefilter.c: Likewise.
9387 * inet/setsourcefilter.c: Likewise.
9388 * inet/test-inet6_opt.c: Likewise.
9389 * inet/tst-network.c: Likewise.
9390 * locale/C-collate.c: Likewise.
9391 * locale/C-ctype.c: Likewise.
9392 * locale/C-time.c: Likewise.
9393 * locale/C-translit.h: Likewise.
9394 * locale/loadarchive.c: Likewise.
9395 * locale/programs/3level.h: Likewise.
9396 * locale/programs/charmap.c: Likewise.
9397 * locale/programs/charmap.h: Likewise.
9398 * locale/programs/ld-address.c: Likewise.
9399 * locale/programs/ld-collate.c: Likewise.
9400 * locale/programs/ld-ctype.c: Likewise.
9401 * locale/programs/ld-identification.c: Likewise.
9402 * locale/programs/ld-measurement.c: Likewise.
9403 * locale/programs/ld-messages.c: Likewise.
9404 * locale/programs/ld-monetary.c: Likewise.
9405 * locale/programs/ld-name.c: Likewise.
9406 * locale/programs/ld-numeric.c: Likewise.
9407 * locale/programs/ld-paper.c: Likewise.
9408 * locale/programs/ld-telephone.c: Likewise.
9409 * locale/programs/ld-time.c: Likewise.
9410 * locale/programs/linereader.c: Likewise.
9411 * locale/programs/locale.c: Likewise.
9412 * locale/programs/locarchive.c: Likewise.
9413 * locale/programs/locfile.h: Likewise.
9414 * locale/programs/repertoire.c: Likewise.
9415 * locale/programs/simple-hash.c: Likewise.
9416 * locale/programs/simple-hash.h: Likewise.
9417 * malloc/memusage.c: Likewise.
9418 * malloc/memusagestat.c: Likewise.
9419 * nis/nis_defaults.c: Likewise.
9420 * nis/nis_hash.c: Likewise.
9421 * nis/nis_print.c: Likewise.
9422 * nis/nis_xdr.c: Likewise.
9423 * nscd/connections.c: Likewise.
9424 * nscd/hstcache.c: Likewise.
9425 * nscd/nscd_gethst_r.c: Likewise.
9426 * nscd/nscd_getserv_r.c: Likewise.
9427 * nscd/nscd_helper.c: Likewise.
9428 * nscd/servicescache.c: Likewise.
9429 * nss/makedb.c: Likewise.
9430 * nss/nss_db/db-XXX.c: Likewise.
9431 * nss/nss_db/db-initgroups.c: Likewise.
9432 * nss/nss_db/db-netgrp.c: Likewise.
9433 * nss/nss_files/files-network.c: Likewise.
9434 * nss/nss_files/files-parse.c: Likewise.
9435 * posix/bug-regex5.c: Likewise.
9436 * posix/fnmatch_loop.c: Likewise.
9437 * posix/regcomp.c: Likewise.
9438 * posix/regexec.c: Likewise.
9439 * posix/tst-rfc3484-2.c: Likewise.
9440 * posix/tst-rfc3484-3.c: Likewise.
9441 * posix/tst-rfc3484.c: Likewise.
9442 * resolv/nss_dns/dns-canon.c: Likewise.
9443 * resolv/nss_dns/dns-network.c: Likewise.
9444 * resolv/res_init.c: Likewise.
9445 * resolv/res_mkquery.c: Likewise.
9446 * resolv/tst-aton.c: Likewise.
9447 * stdlib/cxa_atexit.c: Likewise.
9448 * stdlib/cxa_finalize.c: Likewise.
9449 * stdlib/gen-fpioconst.c: Likewise.
9450 * stdlib/strtol_l.c: Likewise.
9451 * string/tst-endian.c: Likewise.
9452 * sunrpc/auth_des.c: Likewise.
9453 * sunrpc/clnt_udp.c: Likewise.
9454 * sunrpc/rtime.c: Likewise.
9455 * sunrpc/svcauth_des.c: Likewise.
9456 * sunrpc/xdr.c: Likewise.
9457 * sunrpc/xdr_intXX_t.c: Likewise.
9458 * sunrpc/xdr_rec.c: Likewise.
9459 * sysdeps/generic/ldconfig.h: Likewise.
9460 * sysdeps/generic/ldsodefs.h: Likewise.
9461 * sysdeps/generic/memusage.h: Likewise.
9462 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9465 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9471 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9472 * sysdeps/posix/getaddrinfo.c: Likewise.
9473 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9474 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9475 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9476 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9477 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9478 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9479 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9480 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9481 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9482 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9483 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9484 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9485 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9486 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9487 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9488 * sysdeps/x86_64/dl-tls.h: Likewise.
9489 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9490 * time/alt_digit.c: Likewise.
9491 * time/era.c: Likewise.
9492 * wcsmbs/tst-c16c32-1.c: Likewise.
9493
8c75f674
JM
94942013-05-16 Joseph Myers <joseph@codesourcery.com>
9495
9496 * math/libm-test.inc (struct test_sincos_data): New type.
9497 (RUN_TEST_LOOP_sincos): New macro.
9498 (sincos_test_data): New variable.
9499 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9500
e6e49e59
RH
95012013-05-16 Richard Henderson <rth@redhat.com>
9502
9503 * math/atest-exp2.c (LIMB64): New macro.
9504 (CONSTSZ): New macro.
9505 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9506 (hexdig): Move ...
9507 (print_mpn_fp): ... to function scope.
9508 (read_mpn_hex): Remove.
9509 (get_log2): Remove.
9510 (exp2_mpn): Use mp_log2.
9511 (main): Use mp_exp1.
9512
15c7c18d
JM
95132013-05-16 Joseph Myers <joseph@codesourcery.com>
9514
105a07df
JM
9515 * math/libm-test.inc: Remove comment about not testing "inexact"
9516 exceptions.
9517 (INEXACT_EXCEPTION): New macro.
9518 (NO_INEXACT_EXCEPTION): Likewise.
9519 (INVALID_EXCEPTION_OK): Update value.
9520 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9521 (OVERFLOW_EXCEPTION_OK): Likewise.
9522 (UNDERFLOW_EXCEPTION_OK): Likewise.
9523 (IGNORE_ZERO_INF_SIGN): Likewise.
9524 (ERRNO_UNCHANGED): Likewise.
9525 (ERRNO_EDOM): Likewise.
9526 (ERRNO_ERANGE): Likewise.
9527 (test_exceptions): Handle testing "inexact" exceptions.
9528 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9529 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9530 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9531 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9532 INEXACT_EXCEPTION.
9533 (rint_towardzero_test_data): Likewise.
9534 (rint_downward_test_data): Likewise.
9535 (rint_upward_test_data): Likewise.
9536
e9eee333
JM
9537 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9538 with OVERFLOW_EXCEPTION.
9539 (exp10_test_data): Likewise.
9540 (exp2_test_data): Likewise.
9541 (expm1_test_data): Likewise.
9542 (lgamma_test_data): Likewise.
9543 (pow_test_data): Likewise.
9544 (tgamma_test_data): Likewise.
9545 (yn_test_data): Remove duplicate test of overflow.
9546
1c38ff73
JM
9547 * math/libm-test.inc (struct test_cc_c_data): New type.
9548 (RUN_TEST_LOOP_cc_c): New macro.
9549 (cpow_test_data): New variable.
9550 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9551
15c7c18d
JM
9552 * math/libm-test.inc (struct test_f_L_data): New type.
9553 (RUN_TEST_LOOP_f_L): New macro.
9554 (llrint_test_data): New variable.
9555 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9556 (llrint_tonearest_test_data): New variable.
9557 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9558 (llrint_towardzero_test_data): New variable.
9559 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9560 (llrint_downward_test_data): New variable.
9561 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9562 (llrint_upward_test_data): New variable.
9563 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9564 (llround_test_data): New variable.
9565 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9566
f137ff13
PC
95672013-05-13 Peter Collingbourne <pcc@google.com>
9568
9569 * math/atest-exp2.c (get_log2): Remove const attribute.
9570
3608cb24
JM
95712013-05-15 Joseph Myers <joseph@codesourcery.com>
9572
9573 * math/libm-test.inc (struct test_f_l_data): New type.
9574 (RUN_TEST_LOOP_f_l): New macro.
9575 (lrint_test_data): New variable.
9576 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9577 (lrint_tonearest_test_data): New variable.
9578 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9579 (lrint_towardzero_test_data): New variable.
9580 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9581 (lrint_downward_test_data): New variable.
9582 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9583 (lrint_upward_test_data): New variable.
9584 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9585 (lround_test_data): New variable.
9586 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9587
39b1f617
PC
95882013-05-15 Peter Collingbourne <pcc@google.com>
9589
1deff3dc
PC
9590 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9591 (EXTRACT_WORDS64) Use where appropriate.
9592 (INSERT_WORDS64) Likewise.
9593
791f3ba0
PC
9594 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9595 constraints with x constraints.
9596 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9597
39b1f617
PC
9598 * malloc/obstack.c (_obstack_compat): Add initializer.
9599
12fba011
EM
96002013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9601
9602 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9603 si_trapno and add si_addr_lsb to _sifields.sigfault.
9604 (si_trapno): Remove macro.
9605 (si_addr_lsb): Define new macro.
9606 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9607
d369f531
JM
96082013-05-15 Joseph Myers <joseph@codesourcery.com>
9609
b861c6c4
JM
9610 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9611 instead of TEST_f_l.
9612 (llrint_test_tonearest): Likewise.
9613 (llrint_test_towardzero): Likewise.
9614 (llrint_test_downward): Likewise.
9615 (llrint_test_upward): Likewise.
9616 (llround_test): Likewise.
9617
7abeee12
JM
9618 * math/libm-test.inc (struct test_f_i_data): Add comment.
9619 (RUN_TEST_LOOP_f_b): New macro.
9620 (RUN_TEST_LOOP_f_b_tg): Likewise.
9621 (finite_test_data): New variable.
9622 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9623 (isfinite_test_data): New variable.
9624 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9625 (isinf_test_data): New variable.
9626 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9627 (isnan_test_data): New variable.
9628 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9629 (isnormal_test_data): New variable.
9630 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9631 (issignaling_test_data): New variable.
9632 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9633 (signbit_test_data): New variable.
9634 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9635
cbe8c4d3
JM
9636 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9637 with INVALID_EXCEPTION.
9638 (acosh_test_data): Likewise.
9639 (asin_test_data): Likewise.
9640 (atanh_test_data): Likewise.
9641 (fmod_test_data): Likewise.
9642 (log_test_data): Likewise.
9643 (log10_test_data): Likewise.
9644 (log2_test_data): Likewise.
9645 (pow_test_data): Likewise.
9646 (sqrt_test_data): Likewise.
9647 (y0_test_data): Likewise.
9648 (y1_test_data): Likewise.
9649 (yn_test_data): Likewise.
9650
5575c0e5
JM
9651 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9652 function contents.
9653
d369f531
JM
9654 * math/libm-test.inc (struct test_ff_i_data): New type.
9655 (RUN_TEST_LOOP_ff_i_tg): New macro.
9656 (isgreater_test_data): New variable.
9657 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9658 (isgreaterequal_test_data): New variable.
9659 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9660 (isless_test_data): New variable.
9661 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9662 (islessequal_test_data): New variable.
9663 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9664 (islessgreater_test_data): New variable.
9665 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9666 (isunordered_test_data): New variable.
9667 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9668
781fd748
DM
96692013-05-14 David S. Miller <davem@davemloft.net>
9670
9671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9672
87aa21df
JM
96732013-05-14 Joseph Myers <joseph@codesourcery.com>
9674
5e908270
JM
9675 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9676
f71172e5
JM
9677 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9678 extra_test to int.
9679 (struct test_f_i_data): Change type of max_ulp to int.
9680
8cfa635a
JM
9681 * math/libm-test.inc (test_ffI_f1_data): New type.
9682 (RUN_TEST_LOOP_ffI_f1): New macro.
9683 (remquo_test_data): New variable.
9684 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9685
2bcb36b2
JM
9686 * setjmp/tst-setjmp-fp.c: New file.
9687 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9688 (link-libm): New variable.
9689 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9690
acbd839a
JM
9691 * math/libm-test.inc (struct test_f_i_data): New type.
9692 (RUN_TEST_LOOP_f_i): New macro.
9693 (RUN_TEST_LOOP_f_i_tg): Likewise.
9694 (fpclassify_test_data): New variable.
9695 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9696 (ilogb_test_data): New variable.
9697 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9698
e414d745
JM
9699 * math/libm-test.inc (scalbln_test): Correct function name in END
9700 call.
9701
d9c2a0fd
JM
9702 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9703 (RUN_TEST_LOOP_fI_f1): New macro.
9704 (frexp_test_data): New variable.
9705 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9706
9dc9095d
JM
9707 * math/libm-test.inc (struct test_fF_f1_data): New type.
9708 (RUN_TEST_LOOP_fF_f1): New macro.
9709 (modf_test_data): New variable.
9710 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9711
87aa21df
JM
9712 * math/libm-test.inc (struct test_f_f1_data): New type.
9713 (RUN_TEST_LOOP_f_f1): New macro.
9714 (gamma_test_data): New variable.
9715 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9716 (lgamma_test_data): New variable.
9717 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9718
141af660
CD
97192013-05-13 Carlos O'Donell <carlos@redhat.com>
9720
9721 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9722 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9723 (main): Comment "tls" pseudo-hwcap.
9724
6d33265c
JM
97252013-05-13 Joseph Myers <joseph@codesourcery.com>
9726
68fc074c
JM
9727 * math/libm-test.inc (struct test_fl_f_data): New type.
9728 (RUN_TEST_LOOP_fl_f): New variable.
9729 (scalbln_test_data): New variable.
9730 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9731
243216e1
JM
9732 * math/libm-test.inc (struct test_fi_f_data): New type.
9733 (RUN_TEST_LOOP_fi_f): New macro.
9734 (ldexp_test_data): New variable.
9735 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9736 (scalbn_test_data): New variable.
9737 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9738
6a1992e2
JM
9739 * math/libm-test.inc (struct test_c_f_data): New type.
9740 (RUN_TEST_LOOP_c_f): New macro.
9741 (cabs_test_data): New variable.
9742 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9743 (carg_test_data): New variable.
9744 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9745 (cimag_test_data): New variable.
9746 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9747 (creal_test_data): New variable.
9748 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9749
0e400df5
JM
9750 * math/libm-test.inc (struct test_if_f_data): New type.
9751 (RUN_TEST_LOOP_if_f): New macro.
9752 (jn_test_data): New variable.
9753 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9754 (yn_test_data): New variable.
9755 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9756
6d33265c
JM
9757 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9758
f98ece5f
AZ
97592013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9760
9761 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9762 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9763
0f7d347b
SP
97642013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9765
43fe811b
SP
9766 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9767 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9768 (bench-deps): Add bench-timing.h.
9769 * benchtests-bench-skeleton.c: Include bench-timing.h.
9770 (main): Use TIMING_* macros instead of clock_gettime.
9771 * benchtests/bench-timing.h: New file.
9772
0f7d347b
SP
9773 [BZ #14582]
9774 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9775 Renamed from _LIB_VERSION.
9776 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9777
601a3a5f
JM
97782013-05-12 Joseph Myers <joseph@codesourcery.com>
9779
4f184d30
JM
9780 * math/libm-test.inc (struct test_fff_f_data): New type.
9781 (RUN_TEST_LOOP_fff_f): New macro.
9782 (fma_test_data): New variable.
9783 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9784 (fma_towardzero_test_data): New variable.
9785 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9786 (fma_downward_test_data): New variable.
9787 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9788 (fma_upward_test_data): New variable.
9789 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9790
08198877
JM
9791 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9792 (struct test_c_c_data): New type.
9793 (RUN_TEST_LOOP_c_c): New macro.
9794 (cacos_test_data): New variable.
9795 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9796 (cacosh_test_data): New variable.
9797 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9798 (casin_test_data): New variable.
9799 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9800 (casinh_test_data): New variable.
9801 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9802 (catan_test_data): New variable.
9803 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9804 (catanh_test_data): New variable.
9805 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9806 (ccos_test_data): New variable.
9807 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9808 (ccosh_test_data): New variable.
9809 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9810 (cexp_test_data): New variable.
9811 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9812 (clog_test_data): New variable.
9813 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9814 (clog10_test_data): New variable.
9815 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9816 (conj_test_data): New variable.
9817 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9818 (cproj_test_data): New variable.
9819 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9820 (csin_test_data): New variable.
9821 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9822 (csinh_test_data): New variable.
9823 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9824 (csqrt_test_data): New variable.
9825 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9826 (ctan_test_data): New variable.
9827 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9828 (ctan_tonearest_test_data): New variable.
9829 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9830 (ctan_towardzero_test_data): New variable.
9831 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9832 (ctan_downward_test_data): New variable.
9833 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9834 (ctan_upward_test_data): New variable.
9835 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9836 (ctanh_test_data): New variable.
9837 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9838 (ctanh_tonearest_test_data): New variable.
9839 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9840 (ctanh_towardzero_test_data): New variable.
9841 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9842 (ctanh_downward_test_data): New variable.
9843 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9844 (ctanh_upward_test_data): New variable.
9845 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9846 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9847 of BUILD_COMPLEX.
9848
601a3a5f
JM
9849 * math/libm-test.inc (struct test_ff_f_data): New type.
9850 (struct test_ff_f_data_nexttoward): Likewise.
9851 (RUN_TEST_LOOP_2_f): New macro.
9852 (RUN_TEST_LOOP_ff_f): Likewise.
9853 (atan2_test_data): New variable.
9854 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9855 (copysign_test_data): New variable.
9856 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9857 (fdim_test_data): New variable.
9858 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9859 (fmax_test_data): New variable.
9860 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9861 (fmin_test_data): New variable.
9862 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9863 (fmod_test_data): New variable.
9864 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9865 (hypot_test_data): New variable.
9866 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9867 (nextafter_test_data): New variable.
9868 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9869 (nexttoward_test_data): New variable.
9870 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9871 (pow_test_data): New variable.
9872 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9873 (pow_tonearest_test_data): New variable.
9874 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9875 (pow_towardzero_test_data): New variable.
9876 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9877 (pow_downward_test_data): New variable.
9878 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9879 (pow_upward_test_data): New variable.
9880 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9881 (remainder_test_data): New variable.
9882 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9883 (scalb_test_data): New variable.
9884 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9885 * sysdeps/i386/fpu/libm-test-ulps: Update.
9886
74c57478
JM
98872013-05-11 Joseph Myers <joseph@codesourcery.com>
9888
8329e4da
JM
9889 * math/libm-test.inc (fma_test): Use max_value instead of local
9890 variable fltmax.
9891 (nextafter_test): Likewise.
9892
74c57478
JM
9893 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9894 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9895 (acos_downward_test_data): New variable.
9896 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9897 (acos_upward_test_data): New variable.
9898 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9899 (acosh_test_data): New variable.
9900 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9901 (asin_test_data): New variable.
9902 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9903 (asin_tonearest_test_data): New variable.
9904 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9905 (asin_towardzero_test_data): New variable.
9906 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9907 (asin_downward_test_data): New variable.
9908 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9909 (asin_upward_test_data): New variable.
9910 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9911 (asinh_test_data): New variable.
9912 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9913 (atan_test_data): New variable.
9914 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9915 (atanh_test_data): New variable.
9916 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9917 (cbrt_test_data): New variable.
9918 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9919 (ceil_test_data): New variable.
9920 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9921 (cos_test_data): New variable.
9922 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9923 (cos_tonearest_test_data): New variable.
9924 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9925 (cos_towardzero_test_data): New variable.
9926 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9927 (cos_downward_test_data): New variable.
9928 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9929 (cos_upward_test_data): New variable.
9930 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9931 (cosh_test_data): New variable.
9932 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9933 (cosh_tonearest_test_data): New variable.
9934 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9935 (cosh_towardzero_test_data): New variable.
9936 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9937 (cosh_downward_test_data): New variable.
9938 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9939 (cosh_upward_test_data): New variable.
9940 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9941 (erf_test_data): New variable.
9942 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9943 (erfc_test_data): New variable.
9944 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9945 (exp_test_data): New variable.
9946 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9947 (exp_tonearest_test_data): New variable.
9948 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9949 (exp_towardzero_test_data): New variable.
9950 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9951 (exp_downward_test_data): New variable.
9952 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9953 (exp_upward_test_data): New variable.
9954 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9955 (exp10_test_data): New variable.
9956 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9957 (exp2_test_data): New variable.
9958 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9959 (expm1_test_data): New variable.
9960 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9961 (fabs_test_data): New variable.
9962 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9963 (floor_test_data): New variable.
9964 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9965 (j0_test_data): New variable.
9966 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9967 (j1_test_data): New variable.
9968 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9969 (log_test_data): New variable.
9970 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9971 (log10_test_data): New variable.
9972 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9973 (log1p_test_data): New variable.
9974 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9975 (log2_test_data): New variable.
9976 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9977 (logb_test_data): New variable.
9978 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9979 (logb_downward_test_data): New variable.
9980 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9981 (nearbyint_test_data): New variable.
9982 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9983 (rint_test_data): New variable.
9984 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9985 (rint_tonearest_test_data): New variable.
9986 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9987 (rint_towardzero_test_data): New variable.
9988 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9989 (rint_downward_test_data): New variable.
9990 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9991 (rint_upward_test_data): New variable.
9992 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9993 (round_test_data): New variable.
9994 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9995 (sin_test_data): New variable.
9996 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9997 (sin_tonearest_test_data): New variable.
9998 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9999 (sin_towardzero_test_data): New variable.
10000 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10001 (sin_downward_test_data): New variable.
10002 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10003 (sin_upward_test_data): New variable.
10004 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10005 (sinh_test_data): New variable.
10006 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10007 (sinh_tonearest_test_data): New variable.
10008 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10009 (sinh_towardzero_test_data): New variable.
10010 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10011 (sinh_downward_test_data): New variable.
10012 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10013 (sinh_upward_test_data): New variable.
10014 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10015 (sqrt_test_data): New variable.
10016 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10017 (tan_test_data): New variable.
10018 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10019 (tan_tonearest_test_data): New variable.
10020 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10021 (tan_towardzero_test_data): New variable.
10022 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10023 (tan_downward_test_data): New variable.
10024 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10025 (tan_upward_test_data): New variable.
10026 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10027 (tanh_test_data): New variable.
10028 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10029 (tgamma_test_data): New variable.
10030 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10031 (trunc_test_data): New variable.
10032 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10033 (y0_test_data): New variable.
10034 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10035 (y1_test_data): New variable.
10036 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10037 (significand_test_data): New variable.
10038 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10039
7187d844
CG
100402013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10041
10042 [BZ #12387]
10043 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10044
f63fae73
PT
100452013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10046
10047 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10048
8a67a4b3
AJ
100492013-05-10 Andreas Jaeger <aj@suse.de>
10050
10051 [BZ #15448]
10052 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10053 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10054
51df539d
JM
100552013-05-10 Joseph Myers <joseph@codesourcery.com>
10056
10057 * math/gen-libm-test.pl (adjust_arg): New function.
10058 (special_functions): Handle generating output in both functions
10059 and arrays.
10060 (parse_args): Likewise.
10061 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10062 $in_func argument to parse_args.
10063 * math/libm-test.inc (struct test_f_f_data): New type.
10064 (IF_ROUND_INIT_): New macro.
10065 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10066 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10067 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10068 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10069 (ROUND_RESTORE_): Likewise.
10070 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10071 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10072 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10073 (ROUND_RESTORE_FE_UPWARD): Likewise.
10074 (RUN_TEST_LOOP_f_f): New macro.
10075 (acos_test_data): New variable.
10076 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10077 (acos_tonearest_test_data): New variable.
10078 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10079
5c637fe5
SP
100802013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10081
10082 * benchtests/bench-skeleton.c (startup): Fix coding style.
10083
ab2b9461
JM
100842013-05-10 Joseph Myers <joseph@codesourcery.com>
10085
10086 [BZ #6809]
10087 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10088 negative infinity argument.
10089 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10090 negative infinity argument.
10091 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10092 negative infinity argument.
10093 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10094 domain errors.
10095
4c0fe6fe
FW
100962013-05-10 Florian Weimer <fweimer@redhat.com>
10097
10098 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10099 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10100 * iconv/iconv_prog.c (main): Likewise.
10101 * locale/programs/charmap-dir.c (charmap_readdir)
10102 (fopen_uncompressed): Likewise.
10103 * locale/programs/locfile.c (siblings_uncached)
10104 (write_locale_data): Use lstat64 instead of lstat.
10105 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10106 stat.
10107
a3375d29
AJ
101082013-05-10 Andreas Jaeger <aj@suse.de>
10109
10110 [BZ #15395]
10111 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10112 localization.
10113 Include <locale.h>.
10114
36129722
CD
101152013-05-09 Carlos O'Donell <carlos@redhat.com>
10116
10117 * elf/dl-close.c (_dl_close_worker): Add comments.
10118
faa7f811
JM
101192013-05-09 Joseph Myers <joseph@codesourcery.com>
10120
ed41ffef
JM
10121 [BZ #15359]
10122 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10123 high part of pi/2.
10124 (__ieee754_rem_pio2l): Update comments.
10125
d0213cd0
JM
10126 [BZ #15429]
10127 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10128 high part of pi/2.
10129 (__ieee754_rem_pio2l): Update comments.
10130
0d3e777a
JM
10131 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10132 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10133
24f56066
JM
10134 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10135 M_PI_4l.
10136
faa7f811
JM
10137 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10138 (M_PI_34_LOG10El): Likewise.
10139 (M_PI2_LOG10El): Likewise.
10140 (M_PI4_LOG10El): Likewise.
10141 (M_PI_LOG10El): Likewise.
10142
e9a5e0fd
AZ
101432013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10144
10145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10146
d8cd06db
JM
101472013-05-08 Joseph Myers <joseph@codesourcery.com>
10148
a0d9f9d7
JM
10149 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10150 (MINUS_ZERO_INIT): Likewise.
10151 (PLUS_INFTY_INIT): Likewise.
10152 (MINUS_INFTY_INIT): Likewise.
10153 (QNAN_VALUE_INIT): Likewise.
10154 (MAX_VALUE_INIT): Likewise.
10155 (MIN_VALUE_INIT): Likewise.
10156 (MIN_SUBNORM_VALUE_INIT): Likewise.
10157 (plus_zero): Initialize with PLUS_ZERO_INIT.
10158 (minus_zero): Initialize with MINUS_ZERO_INIT.
10159 (plus_infty): Initialize with PLUS_INFTY_INIT.
10160 (minus_infty): Initialize with MINUS_INFTY_INIT.
10161 (qnan_value): Initialize with QNAN_VALUE_INIT.
10162 (max_value): Initialize with MAX_VALUE_INIT.
10163 (min_value): Initialize with MIN_VALUE_INIT.
10164 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10165
ae08db3b
JM
10166 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10167 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10168 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10169 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10170
f44bf14a
JM
10171 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10172 (RUN_TEST_2_f): Likewise.
10173 (RUN_TEST_ff_f): Likewise.
10174 (RUN_TEST_fi_f): Likewise.
10175 (RUN_TEST_fl_f): Likewise.
10176 (RUN_TEST_fff_f): Likewise.
10177 (RUN_TEST_c_f): Likewise.
10178 (RUN_TEST_f_f1): Likewise.
10179 (RUN_TEST_fF_f1): Likewise.
10180 (RUN_TEST_fI_f1): Likewise.
10181 (RUN_TEST_ffI_f1): Likewise.
10182 (RUN_TEST_c_c): Likewise.
10183 (RUN_TEST_cc_c): Likewise.
10184 (RUN_TEST_f_i): Likewise.
10185 (RUN_TEST_f_i_tg): Likewise.
10186 (RUN_TEST_ff_i_tg): Likewise.
10187 (RUN_TEST_f_b): Likewise.
10188 (RUN_TEST_f_b_tg): Likewise.
10189 (RUN_TEST_f_l): Likewise.
10190 (RUN_TEST_f_L): Likewise.
10191 (RUN_TEST_sincos): Likewise.
10192 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10193 whether to show exceptions. Do not include ");\n" in return
10194 value.
10195 (special_functions): Output call to RUN_TEST_sincos instead of
10196 check_float calls. Update calls to new_test.
10197 (parse_args): Output call to single RUN_TEST_* macro instead of
10198 check_* calls and other assignments. Update calls to new_test.
10199
d8cd06db
JM
10200 [BZ #2546]
10201 [BZ #2560]
10202 [BZ #5159]
10203 [BZ #15426]
10204 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10205 input to result for tgamma overflow.
10206 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10207 (gamma_coeff): New variable.
10208 (NCOEFF): New macro.
10209 (gamma_positive): New function.
10210 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10211 underflow here. Use gamma_positive instead of exp (lgamma) for
10212 other arguments.
10213 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10214 (gamma_coeff): New variable.
10215 (NCOEFF): New macro.
10216 (gammaf_positive): New function.
10217 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10218 underflow here. Use gamma_positive instead of exp (lgamma) for
10219 other arguments.
10220 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10221 (gamma_coeff): New variable.
10222 (NCOEFF): New macro.
10223 (gammal_positive): New function.
10224 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10225 underflow here. Use gamma_positive instead of exp (lgamma) for
10226 other arguments.
10227 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10228 (gamma_coeff): New variable.
10229 (NCOEFF): New macro.
10230 (gammal_positive): New function.
10231 (__ieee754_gammal_r): Handle positive infinity, overflow and
10232 underflow here. Handle NaN the same as positive infinity. Remove
10233 check x < 0xffffffff for negative integers. Use gamma_positive
10234 instead of exp (lgamma) for other arguments.
10235 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10236 (gamma_coeff): New variable.
10237 (NCOEFF): New macro.
10238 (gammal_positive): New function.
10239 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10240 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10244 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10245 * sysdeps/generic/math_private.h (__gamma_productf): New
10246 prototype.
10247 (__gamma_product): Likewise.
10248 (__gamma_productl): Likewise.
10249 * math/Makefile (libm-calls): Add gamma_product.
10250 * math/libm-test.inc (tgamma_test): Add more tests.
10251 * sysdeps/i386/fpu/libm-test-ulps: Update.
10252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10253
bb7cf681
OB
102542013-05-08 Ondřej Bílka <neleai@seznam.cz>
10255
10256 * benchtests/bench-skeleton.c (main): Preheat CPU.
10257
ba853947
AJ
102582013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10259
10260 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10261
8347c74c
RM
102622013-05-07 Roland McGrath <roland@hack.frob.com>
10263
10264 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10265 and _dl_skip_args_internal.
10266
e8dd4791
CD
102672013-05-07 Carlos O'Donell <carlos@redhat.com>
10268
10269 * manual/message.texi (Message Translation): Talk about users.
10270 Message to key mapping impacts design.
10271
c7405830
RM
102722013-05-06 Roland McGrath <roland@hack.frob.com>
10273
a9173057
RM
10274 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10275
976e2f03
RM
10276 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10277
9723ffc5
RM
10278 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10279 * sysdeps/wordsize-64/glob64.c: ... here.
10280
962e6658
RM
10281 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10282 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10283 New macros.
10284
ee586a6d
RM
10285 * debug/getlogin_r_chk.c: Moved to ...
10286 * login/getlogin_r_chk.c: ... here.
10287 * debug/Makefile (routines): Move getlogin_r_chk to ...
10288 * login/Makefile (routines): ... here.
10289 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10290 * login/Versions (libc: GLIBC_2.4): ... here.
10291
355f9165
RM
10292 * io/poll.c (__poll): Renamed from poll.
10293 Add libc_hidden_def.
10294 (poll): Define as weak alias.
10295
bd9ffde6
RM
10296 * debug/ptsname_r_chk.c: Moved to ...
10297 * login/ptsname_r_chk.c: ... here.
10298 * debug/Makefile (routines): Move ptsname_r_chk to ...
10299 * login/Makefile (routines): ... here.
10300 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10301 * login/Versions (libc: GLIBC_2.4): ... here.
10302
8fb16a04
RM
10303 * posix/getlogin.c: Moved to ...
10304 * login/getlogin.c: ... here.
10305 * posix/getlogin_r.c: Moved to ...
10306 * login/getlogin_r.c: ... here.
10307 * posix/getlogin_r.c: Moved to ...
10308 * login/getlogin_r.c: ... here.
10309 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10310 * login/Makefile (routines): ... here.
10311 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10312 * login/Versions (libc: GLIBC_2.0): ... here.
10313
b99b892f
RM
10314 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10315 (setrlimit): Define as weak alias.
10316
c7405830
RM
10317 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10318 Call __ names for open, ftruncate, and close.
10319 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10320 (truncate): Define as weak alias.
10321
5bf96de5
JM
103222013-05-06 Joseph Myers <joseph@codesourcery.com>
10323
9ea3513c
JM
10324 * math/gen-libm-test.pl (parse_args): Initialize x before each
10325 test of frexp, modf and remquo.
10326
5bf96de5
JM
10327 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10328 test signgam value.
10329
16e616a7
AZ
103302013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10331
10332 [BZ #15418]
10333 [BZ #15419]
10334 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10335 internal tests.
10336 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10337
d5e82754
RM
103382013-05-06 Roland McGrath <roland@hack.frob.com>
10339
10340 * elf/dl-writev.h: New file.
10341 * elf/dl-misc.c: Include it.
10342 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10343 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10344
a7548d41
JM
103452013-05-04 Joseph Myers <joseph@codesourcery.com>
10346
b7dab1e4
JM
10347 * math/libm-test.inc (noXFails): Remove variable.
10348 (noXPasses): Likewise.
10349 (BUILD_COMPLEX_INT): Remove macro.
10350 (print_screen): Remove xfail argument.
10351 (print_screen_max_error): Likewise.
10352 (update_stats): Likewise.
10353 (print_max_error): Likewise. Update calls to other affected
10354 functions.
10355 (print_complex_max_error): Likewise.
10356 (test_single_exception): Update calls to print_screen.
10357 (test_single_errno): Likewise.
10358 (check_float_internal): Remove xfail argument. Update calls to
10359 other affected functions.
10360 (check_float): Likewise.
10361 (check_complex): Likewise.
10362 (check_int): Likewise.
10363 (check_long): Likewise.
10364 (check_bool): Likewise.
10365 (check_longlong): Likewise.
10366 (main): Don't print noXFails and noXPasses.
10367 * math/gen-libm-test.pl (top level): Don't mention expected
10368 failure handling in comment.
10369 (new_test): Don't handle expected failures.
10370 (parse_args): Don't mention expected failure handling in comment.
10371 (generate_testfile): Don't handle expected failures.
10372 (parse_ulps): Likewise.
10373 (print_ulps_file): Likewise.
10374 (get_failure): Remove function.
10375 (output_test): Don't handle expected failures.
10376 * make/README.libm-test: Don't mention expected failure handling.
10377
a7548d41
JM
10378 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10379 (minus_zero): Likewise.
10380 (plus_infty): Likewise.
10381 (minus_infty): Likewise.
10382 (qnan_value): Likewise.
10383 (max_value): Likewise.
10384 (min_value): Likewise.
10385 (min_subnorm_value): Likewise.
10386 (initialize): Do not initialize those variables dynamically.
10387
60bfd54c
RM
103882013-05-03 Roland McGrath <roland@hack.frob.com>
10389
cc0e6ed8
RM
10390 * io/open.c (__open_2): Moved to ...
10391 * io/open_2.c: ... this new file.
10392 * io/open64.c (__open64_2): Moved to ...
10393 * io/open64_2.c: ... this new file.
10394 * io/openat.c (__openat_2): Moved to ...
10395 * io/openat_2.c: ... this new file.
10396 * io/openat64.c (__openat64_2): Moved to ...
10397 * io/openat64_2.c: ... this new file.
10398 * io/Makefile (routines): Add them.
10399 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10400 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10401 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10402 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10403 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10404 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10405 (__openat64): Add hidden_ver.
10406 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10407 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10408
60bfd54c
RM
10409 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10410 Separately conditionalize setting of GLRO(dl_sysinfo) so
10411 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10412 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10413
83e7640f
AZ
104142013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10415
10416 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10417 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10418 definition.
10419 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10420 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10421 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10422 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10423 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10424
d5dc2af3
JM
104252013-05-03 Joseph Myers <joseph@codesourcery.com>
10426
c31a5b1e
JM
10427 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10428 test signgam value.
10429
d5dc2af3
JM
10430 * math/libm-test.inc (hypot_test): Do not use
10431 IGNORE_ZERO_INF_SIGN.
10432
164fd39d
AJ
104332013-05-03 Andreas Jaeger <aj@suse.de>
10434
10435 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10436 Linux 3.9.
10437 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10438 (PF_MAX): Adjust for VSOCK change.
10439
8237f48c
AZ
104402013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10441
10442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10443
9df02941
CD
104442013-05-02 Carlos O'Donell <carlos@redhat.com>
10445
10446 [BZ #15264]
10447 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10448 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10449 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10450
d422395e
DM
104512013-05-02 David S. Miller <davem@davemloft.net>
10452
10453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10454
a07c5731
OB
104552013-05-01 Ondřej Bílka <neleai@seznam.cz>
10456
10457 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10458
1324e37f
RM
104592013-05-01 Roland McGrath <roland@hack.frob.com>
10460
10461 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10462
0695940b
RS
104632013-05-01 Richard Smith <richard@metafoo.co.uk>
10464
bb5f27ad 10465 [BZ #14952]
0695940b
RS
10466 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10467 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10468 Use __attribute__ ((__gnu_inline__)).
10469 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10470 Don't use __attribute__ ((__gnu_inline__)).
10471
10de07f5
JM
104722013-05-01 Joseph Myers <joseph@codesourcery.com>
10473
10474 [BZ #15423]
10475 * math/s_catan.c (__catan): Handle small real or imaginary part of
10476 input specially to avoid spurious underflow.
10477 * math/s_catanf.c (__catanf): Likewise.
10478 * math/s_catanh.c (__catanh): Likewise.
10479 * math/s_catanhf.c (__catanhf): Likewise.
10480 * math/s_catanhl.c (__catanhl): Likewise.
10481 * math/s_catanl.c (__catanl): Likewise.
10482 * math/libm-test.inc (catan_test): Add more tests.
10483 (catanh_test): Likewise.
10484 * sysdeps/i386/fpu/libm-test-ulps: Update.
10485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10486
cb4d5414
AZ
104872013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10488
10489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10490
caf84319
JM
104912013-04-30 Joseph Myers <joseph@codesourcery.com>
10492
10493 [BZ #15416]
10494 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10495 accurately for denominator in atan2.
10496 * math/s_catanf.c (__catanf): Likewise.
10497 * math/s_catanh.c (__catanh): Likewise.
10498 * math/s_catanhf.c (__catanhf): Likewise.
10499 * math/s_catanhl.c (__catanhl): Likewise.
10500 * math/s_catanl.c (__catanl): Likewise.
10501 * math/libm-test.inc (catan_test): Add more tests.
10502 (catanh_test): Likewise.
10503 * sysdeps/i386/fpu/libm-test-ulps: Update.
10504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10505
d569c6ee
SP
105062013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10507
6dbe713d
SP
10508 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10509
f0ee064b
SP
10510 * benchtests/Makefile (bench): Remove slow benchmarks.
10511 * benchtests/atan-inputs: Add slow benchmark inputs.
10512 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10513 (BENCH_FUNC): Accept variant offset.
10514 (VARIANT): Define.
10515 * benchtests/bench-skeleton.c (main): Run benchmark for each
10516 variant.
10517 * benchtests/cos-inputs: Add slow benchmark inputs.
10518 * benchtests/exp-inputs: Likewise.
10519 * benchtests/pow-inputs: Likewise.
10520 * benchtests/sin-inputs: Likewise.
10521 * benchtests/slowatan-inputs: Remove.
10522 * benchtests/slowatan.c: Remove.
10523 * benchtests/slowcos-inputs: Remove.
10524 * benchtests/slowcos.c: Remove.
10525 * benchtests/slowexp-inputs: Remove.
10526 * benchtests/slowexp.c: Remove.
10527 * benchtests/slowpow-inputs: Remove.
10528 * benchtests/slowpow.c: Remove.
10529 * benchtests/slowsin-inputs: Remove.
10530 * benchtests/slowsin.c: Remove.
10531 * benchtests/slowtan-inputs: Remove.
10532 * benchtests/slowtan.c: Remove.
10533 * benchtests/tan-inputs: Add slow benchmark inputs.
10534 * scripts/bench.pl: Parse comments and directives.
10535
d569c6ee
SP
10536 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10537 in CPPFLAGS.
10538 ($(objpfx)bench-%.c): Remove *-ITER.
10539 * benchtests/bench-modf.c: Remove definition of ITER.
10540 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10541 (main): Loop for DURATION seconds instead of fixed number of
10542 iterations.
10543 * scripts/bench.pl: Don't expect iterations in parameters.
10544
a6a242fe
RM
105452013-04-29 Roland McGrath <roland@hack.frob.com>
10546
10547 * io/fchdir.c (__fchdir): Renamed from fchdir.
10548 (fchdir): Define as weak alias.
10549
f2da7793
JM
105502013-04-29 Joseph Myers <joseph@codesourcery.com>
10551
10552 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10553 (ERRNO_EDOM): Likewise.
10554 (ERRNO_ERANGE): Likewise.
10555 (noErrnoTests): New variable.
10556 (init_max_error): Set errno to 0.
10557 (test_single_errno): New function.
10558 (test_errno): Likewise.
10559 (check_float_internal): Call test_errno. Set errno to 0.
10560 (check_complex): Refer to errno tests in comment.
10561 (check_int): Call test_errno. Set errno to 0.
10562 (check_long): Likewise.
10563 (check_bool): Likewise.
10564 (check_longlong): Likewise.
10565 (cos_test): Use ERRNO_* flags for errno tests instead of
10566 check_int.
10567 (expm1_test): Likewise.
10568 (fmod_test): Likewise.
10569 (ilogb_test): Likewise.
10570 (lgamma_test): Likewise.
10571 (pow_test): Likewise.
10572 (remainder_test): Likewise.
10573 (sin_test): Likewise.
10574 (tan_test): Likewise.
10575 (yn_test): Likewise.
10576 (initialize): Set errno to 0.
10577 (main): Print number of errno tests.
10578 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10579
b1a36ceb
AJ
105802013-04-29 Andreas Jaeger <aj@suse.de>
10581
c3ed8088
AJ
10582 [BZ #15084]
10583 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10584 and RES_USEVC.
10585
f1a24198
AJ
10586 [BZ #15085]
10587 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10588 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10589 unimplemented.
10590
9ce3b2cb
AJ
10591 [BZ #15380]
10592 * stdlib/random.c (__initstate): Return NULL if
10593 __initstate fails.
10594
f1a24198 10595 [BZ #15086]
b1a36ceb
AJ
10596 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10597 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10598 RES_SNGLKUPREOP.
10599
7e7b6f36
AZ
106002013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10601
10602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10603
4d14f449
JM
106042013-04-29 Joseph Myers <joseph@codesourcery.com>
10605
10606 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10607 of individual tests.
10608 (casin_test): Likewise.
10609 (casinh_test): Likewise.
10610
5b4217d7
JM
106112013-04-27 Joseph Myers <joseph@codesourcery.com>
10612
10613 [BZ #15409]
10614 * math/s_catan.c (__catan): Handle arguments with large real or
10615 imaginary part separately without squaring.
10616 * math/s_catanf.c (__catanf): Likewise.
10617 * math/s_catanh.c (__catanh): Likewise.
10618 * math/s_catanhf.c (__catanhf): Likewise.
10619 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10620 and redefine.
10621 (__catanhl): Handle arguments with large real or imaginary part
10622 separately without squaring.
10623 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10624 and redefine.
10625 (__catanl): Handle arguments with large real or imaginary part
10626 separately without squaring.
10627 * math/libm-test.inc (catan_test): Add more tests.
10628 (catanh_test): Likewise.
10629 * sysdeps/i386/fpu/libm-test-ulps: Update.
10630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10631
4220c3ef
AJ
106322013-04-27 Andreas Jaeger <aj@suse.de>
10633
10634 [BZ #15007]
10635 * stdlib/stdlib.h: Update guards for qecvt.
10636 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10637 <stdlib.h>.
10638
4721b2d1
AM
106392013-04-27 Allan McRae <allan@archlinux.org>
10640
10641 * sysdeps/i386/fpu/libm-test-ulps: Update.
10642
f0302940
JM
106432013-04-26 Joseph Myers <joseph@codesourcery.com>
10644
9457fd95
JM
10645 [BZ #15406]
10646 * math/s_catan.c: Include <float.h>.
10647 (__catan): Ensure underflow exception occurs for underflowed
10648 result.
10649 * math/s_catanf.c: Include <float.h>.
10650 (__catanf): Ensure underflow exception occurs for underflowed
10651 result.
10652 * math/s_catanh.c: Include <float.h>.
10653 (__catanh): Ensure underflow exception occurs for underflowed
10654 result.
10655 * math/s_catanhf.c: Include <float.h>.
10656 (__catanhf): Ensure underflow exception occurs for underflowed
10657 result.
10658 * math/s_catanhl.c: Include <float.h>.
10659 (__catanhl): Ensure underflow exception occurs for underflowed
10660 result.
10661 * math/s_catanl.c: Include <float.h>.
10662 (__catanl): Ensure underflow exception occurs for underflowed
10663 result.
10664 * math/libm-test.inc (catan_test): Add more tests.
10665 (catanh_test): Likewise.
10666
f0302940
JM
10667 [BZ #15405]
10668 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10669 underflowed result.
10670 * math/s_ccoshf.c (__ccoshf): Likewise.
10671 * math/s_ccoshl.c (__ccoshl): Likewise.
10672 * math/s_csin.c (__csin): Likewise.
10673 * math/s_csinf.c (__csinf): Likewise.
10674 * math/s_csinh.c (__csinh): Likewise.
10675 * math/s_csinhf.c (__csinhf): Likewise.
10676 * math/s_csinhl.c (__csinhl): Likewise.
10677 * math/s_csinl.c (__csinl): Likewise.
10678 * math/libm-test.inc (ccos_test): Add more tests.
10679 (ccosh_test): Likewise.
10680 (csin_test): Likewise.
10681 (csinh_test): Likewise.
10682
aa630f59
AZ
106832013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10684
10685 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10686 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10687 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10688 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10689 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10690 powerpc/power5+/fpu folders.
10691 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10692
10693
1b835983
MT
106942013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10695
10696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10697
73709b26
JM
106982013-04-25 Joseph Myers <joseph@codesourcery.com>
10699
10700 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10701 additions to variable.
10702 [$(config-machine) = x86_64] (modules-names): Likewise.
10703 ($(objpfx)tst-audit3): Remove dependency.
10704 ($(objpfx)tst-audit3.out): Likewise.
10705 ($(objpfx)tst-audit4): Likewise.
10706 ($(objpfx)tst-audit4.out): Likewise.
10707 ($(objpfx)tst-audit5): Likewise.
10708 ($(objpfx)tst-audit5.out): Likewise.
10709 ($(objpfx)tst-audit6): Likewise.
10710 ($(objpfx)tst-audit6.out): Likewise.
10711 ($(objpfx)tst-audit7): Likewise.
10712 ($(objpfx)tst-audit7.out): Likewise.
10713 (tst-audit3-ENV): Remove variable.
10714 (tst-audit4-ENV): Likewise.
10715 (tst-audit5-ENV): Likewise.
10716 (tst-audit6-ENV): Likewise.
10717 (tst-audit7-ENV): Likewise.
10718 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10719 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10720 addition to variable.
10721 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10722 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10723 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10724 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10725 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10726 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10727 tst-audit3, tst-audit4 and tst-audit5.
10728 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10729 tst-audit6 and tst-audit7.
10730 [$(subdir) = elf] (modules-names): Add audit modules for those
10731 tests.
10732 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10733 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10734 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10735 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10736 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10737 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10738 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10739 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10740 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10741 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10742 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10743 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10744 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10745 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10746 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10747 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10748 Likewise.
10749 [$(subdir) = elf && $(config-cflags-avx) = yes]
10750 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10751 [$(subdir) = elf && $(config-cflags-avx) = yes]
10752 (CFLAGS-tst-auditmod4a.c): Likewise.
10753 [$(subdir) = elf && $(config-cflags-avx) = yes]
10754 (CFLAGS-tst-auditmod4b.c): Likewise.
10755 [$(subdir) = elf && $(config-cflags-avx) = yes]
10756 (CFLAGS-tst-auditmod6b.c): Likewise.
10757 [$(subdir) = elf && $(config-cflags-avx) = yes]
10758 (CFLAGS-tst-auditmod6c.c): Likewise.
10759 [$(subdir) = elf && $(config-cflags-avx) = yes]
10760 (CFLAGS-tst-auditmod7b.c): Likewise.
10761 * elf/tst-audit3.c: Move to ...
10762 * sysdeps/x86_64/tst-audit3.c: ... here.
10763 * elf/tst-audit4.c: Move to ...
10764 * sysdeps/x86_64/tst-audit4.c: ... here.
10765 * elf/tst-audit5.c: Move to ...
10766 * sysdeps/x86_64/tst-audit5.c: ... here.
10767 * elf/tst-audit6.c: Move to ...
10768 * sysdeps/x86_64/tst-audit6.c: ... here.
10769 * elf/tst-audit7.c: Move to ...
10770 * sysdeps/x86_64/tst-audit7.c: ... here.
10771 * elf/tst-auditmod3a.c: Move to ...
10772 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10773 * elf/tst-auditmod3b.c: Move to ...
10774 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10775 * elf/tst-auditmod4a.c: Move to ...
10776 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10777 * elf/tst-auditmod4b.c: Move to ...
10778 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10779 * elf/tst-auditmod5a.c: Move to ...
10780 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10781 * elf/tst-auditmod5b.c: Move to ...
10782 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10783 * elf/tst-auditmod6a.c: Move to ...
10784 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10785 * elf/tst-auditmod6b.c: Move to ...
10786 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10787 * elf/tst-auditmod6c.c: Move to ...
10788 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10789 * elf/tst-auditmod7a.c: Move to ...
10790 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10791 * elf/tst-auditmod7b.c: Move to ...
10792 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10793
1ef74943
PP
107942013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10795
10796 [BZ #15366]
10797 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10798 define unconditionally.
10799 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10800 define unconditionally.
10801 (INT8_C, INT16_C, etc.): Likewise.
10802
93fd48c5
MR
108032013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10804
ae9552cf
MR
10805 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10806 __ehdr_start with hidden visibility.
10807
93fd48c5
MR
10808 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10809
418601aa
CD
108102013-04-24 Carlos O'Donell <carlos@redhat.com>
10811
10812 * math/libm-test.inc (cos_test): Use accurate hex constants.
10813 (sincost_test): Likewise.
10814
2f38fbfe
JM
108152013-04-24 Joseph Myers <joseph@codesourcery.com>
10816
5e221800
JM
10817 * math/libm-test.inc (catan_test): Add more tests.
10818 (catanh_test): Likewise.
10819
77f143fd
JM
10820 * math/s_catanf.c (__catanf): Use suffixed floating-point
10821 constants.
10822 * math/s_catanhf.c (__catanhf): Likewise.
10823 * math/s_catanhl.c (__catanhl): Likewise.
10824 * math/s_catanl.c (__catanl): Likewise.
10825
2f38fbfe
JM
10826 [BZ #15394]
10827 * math/s_catan.c (__catan): Calculate imaginary part of result
10828 with log1p not log unless computing log of number close to 0.
10829 * math/s_catanf.c (__catanf): Likewise.
10830 * math/s_catanl.c (__catanl): Likewise.
10831 * math/s_catanh.c (__catanh): Calculate real part of result with
10832 log1p not log unless computing log of number close to 0.
10833 * math/s_catanhf.c (__catanhf): Likewise.
10834 * math/s_catanhl.c (__catanhl): Likewise.
10835 * math/libm-test.inc (catan_test): Add more tests.
10836 (catanh_test): Likewise.
10837 * sysdeps/i386/fpu/libm-test-ulps: Update.
10838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10839
45d69176
SP
108402013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10841
10842 * benchtests/Makefile: Mention files in which fast and slow
10843 paths of math functions are implemented.
10844
87f51853
RM
108452013-04-23 Roland McGrath <roland@hack.frob.com>
10846
10847 * sysdeps/posix/timespec_get.c: New file.
10848
3c026539
AZ
108492013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10850
10851 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10852 POWER.
10853 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10854 for POWER.
10855 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10856 powerpc/power5/fpu folders.
10857 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10858 * benchtests/Makefile: Add modf testcase.
10859 * benchtests/bench-modf.c: New file: Benchmark test for mo
10860
ff491d14
SP
108612013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10862
10863 [BZ #14888]
10864 * time/Makefile (tests): Add tst-strptime-whitespace.
10865 * time/strptime_l.c (get_number): Use ISSPACE.
10866 (__strptime_internal): Likewise.
10867 * time/tst-strptime-whitespace.c: New test case.
10868
7ed3f4e8
AS
108692013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10870
10871 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10872 member.
10873 (_nss_files_init): Set it here.
10874
5c95f7b6
HC
108752013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10876
10877 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10878 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10879 unsigned.
10880
d34c9158
JBG
108812013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10882
10883 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10884
2169712d
SP
108852013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10886
10887 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10888 size just once.
10889
29c5de99
DM
108902013-04-21 David S. Miller <davem@davemloft.net>
10891
10892 * po/ru.po: Update Russion translation from translation project.
10893
ccdad15d
AC
108942013-04-17 Adam Conrad <adconrad@0c3.net>
10895
10896 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10897 and setfsgid.
10898
0f122b8d
CD
108992013-04-17 Carlos O'Donell <carlos@redhat.com>
10900
5c5b07da 10901 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10902 * configure: Regenerate.
5c5b07da 10903 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10904 Add example to error message.
10905 * sysdeps/i386/configure: Regenerate.
10906
037714dd
SP
109072013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10908
10909 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10910 slowtan.
10911 * benchtests/cos-inputs: New file.
10912 * benchtests/slowcos-inputs: New file.
10913 * benchtests/slowcos.c: New file.
10914 * benchtests/slowtan-inputs: New file.
10915 * benchtests/slowtan.c: New file.
10916 * benchtests/tan-inputs: New file.
10917
e913141d
RM
109182013-04-16 Roland McGrath <roland@hack.frob.com>
10919
10920 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10921 considered kosher.
10922
a2964074
SP
109232013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10924
4856bcd2
SP
10925 * benchtests/Makefile: Include cppflags-iterator.mk to add
10926 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10927
a2964074
SP
10928 * Makefile.in (bench-clean): New target.
10929 * benchtests/Makefile (bench-clean): Likewise.
10930
9fbf9aca
DH
109312013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10932
10933 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10934
207d1e2a
TS
109352013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10936
10937 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10938
306dfba9
AS
109392013-04-15 Andreas Schwab <schwab@suse.de>
10940
10941 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10942 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10943 * nscd/pwdcache.c (cache_addpw): Likewise.
10944 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10945 more than recsize.
10946
206a6699
SP
109472013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10948
10949 * benchtests/Makefile (bench): Write all output to
10950 bench-out.tmp together.
10951
0582f6b3
AS
109522013-04-15 Andreas Schwab <schwab@suse.de>
10953
10954 * nscd/nscd.c (main): Don't fork again after closing files.
10955
acb4325f
SP
109562013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10957
5cb26d0a
SP
10958 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10959
acb4325f
SP
10960 * benchtests/Rules (bench-deps): Collect dependencies into a
10961 single variable. Add Makefile to dependencies.
10962 ($(objpfx)bench-%.c): Depend on bench-deps.
10963
47792506
RM
109642013-04-12 Roland McGrath <roland@hack.frob.com>
10965 Xavier Roche <roche+kml2@exalead.com>
10966
10967 [BZ #15361]
10968 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10969 just that it's a file descriptor.
10970 * manual/llio.texi (Synchronizing AIO Operations): Update description
10971 for EBADF error from aio_fsync.
10972
8fc1bee5
SP
109732013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10974
10975 * Rules (bench): Move target definition...
10976 * benchtests/Makefile: ... here.
10977
aba5e333
CD
109782013-04-11 Carlos O'Donell <carlos@redhat.com>
10979
10980 * math/libm-test.inc (cos_test): Fix PI/2 test.
10981 (sincos_test): Likewise.
10982 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10983 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10984
273cdee8
AS
109852013-04-11 Andreas Schwab <schwab@suse.de>
10986
6ecec3b6
AS
10987 [BZ #13988]
10988 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10989 accept exponent character only when digits were seen.
10990 * stdio-common/Makefile (tests): Add bug26.
10991 * stdio-common/bug26.c: New file.
10992
273cdee8
AS
10993 [BZ #14293]
10994 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10995 non-freeable.
10996
8da491f5
SP
109972013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10998
01dc6df9
SP
10999 * Makeconfig (rtld-prefix): Define built linker prefix.
11000 * Rules (run-bench): Use it.
11001 * math/Makefile (run-regen-ulps): Likewise.
11002
8da491f5
SP
11003 * Rules (bench): Remove eval.
11004
abe7f530
SP
110052013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11006 Roland McGrath <roland@hack.frob.com>
11007 Ondrej Bilka <neleai@seznam.cz>
11008
11009 [BZ #15346]
11010 * time/getdate.c: Include ctype.h and alloca.h.
11011 (__getdate_r): Trim leading and trailing spaces of input.
11012 * time/tst-getdate.c (tests): Add tests with leading and
11013 trailing spaces.
11014
61c23e62
RM
110152013-04-08 Roland McGrath <roland@hack.frob.com>
11016
11017 [BZ #14280]
11018 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11019 when computing value.
11020
7208a313
CD
110212013-04-06 Carlos O'Donell <carlos@redhat.com>
11022
085b2d41
CD
11023 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11024 Use testrun.sh to run libm tests.
11025
7208a313
CD
11026 [BZ #15309]
11027 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11028
872c0acd
MM
110292013-04-06 Marko Myllynen <myllynen@redhat.com>
11030
11031 [BZ #15264]
11032 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11033
26510bdd
CD
110342013-04-06 Carlos O'Donell <carlos@redhat.com>
11035
11036 * Makefile.in (regen-ulps): New target.
11037 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11038 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11039 [ifneq (no,$(PERL)] (regen-ulps): New target.
11040 [ifeq (no,$(PERL)] (regen-ulps): New target.
11041 * math/libm-test.inc (ulps_file_name): Define.
11042 (output_dir): New variable.
11043 (options): Add "output-dir" option.
11044 (parse_opt): Handle 'o' case.
11045 (main): If output_dir is non-NULL use it as a prefix
11046 otherwise use "".
11047 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11048
a01f19c8
CD
110492013-04-06 Carlos O'Donell <carlos@redhat.com>
11050
11051 [BZ #10060, #10062]
11052 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11053 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11054 fail configure if __sync_val_compare_and_swap is not inlined.
11055 * sysdeps/i386/configure: Regenerate.
11056 * configure.in: Build for i686 when configured for i386.
11057 * configure: Regenerate.
11058 * README: Remove i386 reference.
11059
b7a329a5
CD
110602013-04-06 Carlos O'Donell <carlos@redhat.com>
11061
11062 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11063 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11064
bf0f50df
TS
110652013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11066
ee091edf
TS
11067 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11068 (lmsnanval): New variables.
11069 (F): Add conversion tests.
11070 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11071 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11072
a8b792d6
TS
11073 * stdio-common/tstdiomisc.c (F): Properly collect individual
11074 tests' results.
11075
a1cbf437
TS
11076 [BZ #14686, #15336]
11077 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11078 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11079 Instead, use input NaN values or generate a qNaN by arithmetic
11080 operation. Also fix bugs to comply with the standard.
11081 * math/libm-test.inc (remainder_test): Add more tests.
11082
8b43a0c9
TS
11083 [BZ #15335, #15342]
11084 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11085 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11086 input NaN values or generate a qNaN by arithmetic operation.
11087
d91da4ce
TS
11088 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11089 unreachable code.
11090
bf0f50df
TS
11091 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11092 definitions.
11093
05e166c8
JM
110942013-04-03 Joseph Myers <joseph@codesourcery.com>
11095
11096 [BZ #14478]
11097 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11098 underflowed result.
11099 * math/s_cexpf.c (__cexpf): Likewise.
11100 * math/s_cexpl.c (__cexpl): Likewise.
11101 * math/libm-test.inc (cexp_test): Add more tests.
11102
1cef1b19
AS
111032013-04-03 Andreas Schwab <schwab@suse.de>
11104
11105 [BZ #15330]
11106 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11107 order arrays from heap if bigger than alloca cutoff.
11108
74d87055
TS
111092013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11110
11111 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11112 (SNAN_TESTS_double): Refer to GCC PR56831.
11113 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11114 GCC PR56828.
11115
d755bba4
SP
111162013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11117
90d5d5bb
SP
11118 * Rules (bench): Move bench.out after the run is complete.
11119
73e0cd5d
SP
11120 * Rules (bench): Echo currently running benchmark.
11121
64aabd4b
SP
11122 * benchtests/Makefile (bench): Add atan and slowatan.
11123 * benchtests/atan-inputs: New file.
11124 * benchtests/slowatan-inputs: New file.
11125 * benchtests/slowatan.c: New file.
11126
c871eccd
SP
11127 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11128 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11129 its value.
11130
d755bba4
SP
11131 [BZ #15305]
11132 * sysdeps/unix/sysv/linux/kernel-features.h
11133 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11134 __ASSUME_XFS_RESTRICTED_CHOWN.
11135 * sysdeps/unix/sysv/linux/pathconf.c
11136 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11137 Save and restore errno.
11138
52ce4860
JM
111392013-04-02 Joseph Myers <joseph@codesourcery.com>
11140
11141 [BZ #15327]
11142 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11143 arguments using __kernel_casinh.
11144 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11145 arguments using __kernel_casinhf.
11146 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11147 arguments using __kernel_casinhl.
11148 * math/libm-test.inc (cacosh_test): Add more tests.
11149 * sysdeps/i386/fpu/libm-test-ulps: Update.
11150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11151
81f311c2
SP
111522013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11153
e7906a47
SP
11154 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11155 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11156
92e3664b
SP
11157 * bench/Makefile (bench): Add sin and slowsin.
11158 * benchtests/sin-inputs: New file.
11159 * benchtests/slowsin-inputs: New file.
11160 * benchtests/slowsin.c: New file.
11161
81f311c2
SP
11162 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11163 (bench): Add slowexp and slowpow.
11164 (exp-ITER): Increase iterations.
11165 (pow-ITER): Likewise.
11166 * benchtests/exp-inputs: Change input.
11167 * benchtests/pow-inputs: Likewise.
11168 * benchtests/slowexp-inputs: New file.
11169 * benchtests/slowexp.c: New file.
11170 * benchtests/slowpow-inputs: New file.
11171 * benchtests/slowpow.c: New file.
11172
ab0f1aa9
AZ
111732013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11174
11175 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11176 instructions.
11177 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11178 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11179 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11180 * benchtests/Makefile: Add rint benchtest.
11181 * benchtests/rint-inputs: Input for rint benchtest.
11182
57267616
TS
111832013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11184
11185 * Versions.def (libm): Add GLIBC_2.18.
11186 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11187 hidden libm prototypes.
11188 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11189 * math/Makefile (libm-calls): Add s_issignaling.
11190 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11191 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11192 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11193 declaration.
11194 * math/math.h [__USE_GNU] (issignaling): New macro.
11195 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11196 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11197 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11198 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11201 * manual/arith.texi (issignaling): New section.
11202 * manual/libm-err-tab.pl (@all_functions): Update comment.
11203 * math/gen-libm-test.pl (parse_args): Apply special handling for
11204 issignaling.
11205 * math/libm-test.inc (print_float, issignaling_test): New
11206 functions.
11207 (check_float_internal): Add issignaling checks.
11208 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11209 default definition.
11210 * sysdeps/powerpc/math-tests.h: New file.
11211 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11212 tests.
11213 * math/test-snan.c (TEST_FUNC): Likewise.
11214
6142896d
DM
112152013-03-30 David S. Miller <davem@davemloft.net>
11216
11217 * po/de.po: Update from translation team.
11218
ccc8cadf
JM
112192013-03-30 Joseph Myers <joseph@codesourcery.com>
11220
11221 [BZ #10357]
11222 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11223 imaginary part less than 1.0 and real part less than 0.5
11224 specially.
11225 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11226 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11227 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11228 (cacos_test): Add more tests.
11229 (casin_test): Likewise.
11230 (casinh_test): Likewise.
11231 * sysdeps/i386/fpu/libm-test-ulps: Update.
11232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11233
0f6a8d4b
SP
112342013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11235
0d1029de
SP
11236 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11237 ONE with its value.
11238
c2d94018
SP
11239 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11240 (__pow_mp): Replace ONE and MONE with their values.
11241 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11243 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11244 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11245 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11246 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11247
27ec37f1
SP
11248 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11249
a64d7e0e
SP
11250 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11251 (__pow_mp): Replace ZERO and MZERO with their values.
11252 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11253 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11254 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11255 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11256 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11257 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11258 (__sqr): Likewise.
11259
d26dd3eb
SP
11260 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11261
0f6a8d4b
SP
11262 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11263
e57b0c61
RM
112642013-03-28 Roland McGrath <roland@hack.frob.com>
11265
11266 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11267 Declare with __attribute__ ((weak)).
11268 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11269 Call __call_tls_dtors only if it's not NULL.
11270
356b3480
RM
112712013-03-28 Roland McGrath <roland@hack.frob.com>
11272
288f7d79
RM
11273 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11274 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11275 magic __ehdr_start linker symbol if it's defined.
11276 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11277 them up here if it was already done.
11278
dc0a0263
RM
11279 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11280 (_dl_aux_init): Use const in cast when setting it.
11281 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11282 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11283 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11284
3d3436ae
RM
11285 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11286 Declare them here.
11287 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11288 * csu/libc-tls.c: Nor here.
11289 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11290
356b3480
RM
11291 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11292 (__libc_message): Never call vsyslog.
11293
b0f1246a
AM
112942013-03-28 Alan Modra <amodra@gmail.com>
11295
11296 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11297 Define as empty.
11298 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11299 Likewise.
11300
fbbe2b9a
AZ
113012013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11302
11303 [BZ #15214]
11304 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11305 underflow.
11306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11307
1728ab37
SP
113082013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11309
7a86be6e
SP
11310 [BZ #15304]
11311 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11312 Don't add gid passed as argument.
11313
1728ab37
SP
11314 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11315
3a7182a1
JM
113162013-03-27 Joseph Myers <joseph@codesourcery.com>
11317
11318 [BZ #15307]
11319 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11320 imaginary part between 1.0 and 1.5 and real part less than 0.5
11321 specially.
11322 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11323 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11324 * math/libm-test.inc (cacos_test): Add more tests.
11325 (casin_test): Likewise.
11326 (casinh_test): Likewise.
11327 * sysdeps/i386/fpu/libm-test-ulps: Update.
11328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11329
6f2e90e7
SP
113302013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11331
5739f705
SP
11332 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11333 constants.
11334 (norm): Likewise.
11335 (denorm): Likewise.
11336 (__dbl_mp): Likewise.
11337 (add_magnitudes): Likewise.
11338 (sub_magnitudes): Likewise.
11339 (__add): Likewise.
11340 (__sub): Likewise.
11341 (__mul): Likewise.
11342 (__sqr): Likewise.
11343 (__inv): Likewise.
11344 (__dvd): Likewise.
11345
e375e83d
SP
11346 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11347 commented code.
11348 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11349 (__dubcos): Likewise.
11350 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11351 (__ieee754_acos): Likewise.
11352 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11353 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11354 (__exp1): Likewise.
11355 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11356 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11357 (log1): Likewise.
11358 (my_log2): Likewise.
11359 (checkint): Likewise.
11360 * sysdeps/ieee754/dbl-64/e_remainder.c
11361 (__ieee754_remainder): Likewise.
11362 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11363 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11364 (bsloww): Likewise.
11365 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11366
6f2e90e7
SP
11367 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11368 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11369 MANTISSA_STORE_T to store computations on mantissa. Use
11370 macros for rounding and division.
11371 (denorm): Likewise.
11372 (__dbl_mp): Likewise.
11373 (add_magnitudes): Likewise.
11374 (sub_magnitudes): Likewise.
11375 (__mul): Likewise.
11376 (__sqr): Likewise.
11377 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11378 powers of two in terms of TWOPOW macro.
11379 (mp_no): Make type of mantissa as MANTISSA_T.
11380 [!RADIXI]: Define RADIXI.
11381 [!TWO52]: Define TWO52.
11382 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11383
fce14d4e
AZ
113842013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11385
11386 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11387 llroundl symbol when building for PPC32.
11388
9ad027fb
MW
113892013-03-24 Mark H Weaver <mhw@netris.org>
11390
11391 * manual/arith.texi (Normalization Functions): Fix prototypes for
11392 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11393
e42a38dd
AZ
113942013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11395
11396 [BZ #13889]
11397 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11398 high value to check if expl overflow.
11399 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11400 to check for underflow and overflow.
11401 * math/libm-test.inc: Add exp test.
11402
2e0fb521
DL
114032013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11404
11405 [BZ #11120]
11406 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11407 with NOT_IN_libc.
11408
b5784d95
AZ
114092013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11410
11411 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11412 symbol.
11413
5aa4a1a1
TS
114142013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11415
bdef0be7
TS
11416 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11417 wrap blocks consisting of several statements.
11418
5aa4a1a1
TS
11419 * sysdeps/generic/math-tests.h: New file.
11420 * sysdeps/i386/fpu/math-tests.h: Likewise.
11421 * math/test-snan.c: Include it.
11422 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11423
98c48fe5
JM
114242013-03-21 Joseph Myers <joseph@codesourcery.com>
11425
11426 [BZ #15285]
11427 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11428 (__ieee754_j0l): Do not improve calculations using cos of twice
11429 input for inputs above LDBL_MAX / 2.0L.
11430 (__ieee754_y0l): Likewise.
11431 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11432 (__ieee754_j1l): Do not improve calculations using cos of twice
11433 input for inputs above LDBL_MAX / 2.0L.
11434 (__ieee754_y1l): Likewise.
11435 * math/libm-test.inc (j0_test): Add another test.
11436 (j1_test): Likewise.
11437 (y0_test): Likewise.
11438 (y1_test): Likewise.
11439 * sysdeps/i386/fpu/libm-test-ulps: Update.
11440
3775a8bc
SP
114412013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11442
11443 * Rules ($(objpfx)bench-%.c): Include code from a C source
11444 file.
11445
0a1b2ae6
JM
114462013-03-21 Joseph Myers <joseph@codesourcery.com>
11447
11448 [BZ #15287]
11449 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11450 imaginary part 1.0 and real part less than 0.5 specially.
11451 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11452 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11453 * math/libm-test.inc (cacos_test): Add more tests.
11454 (casin_test): Likewise.
11455 (casinh_test): Likewise.
11456 * sysdeps/i386/fpu/libm-test-ulps: Update.
11457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11458
b33d4ce4
SP
114592013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11460
11461 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11462 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11463
bef0b507
JM
114642013-03-20 Joseph Myers <joseph@codesourcery.com>
11465
11466 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11467 * config.make.in (config-cflags-sse4): Remove variable.
11468 (config-cflags-avx): Likewise.
11469 (config-cflags-sse2avx): Likewise.
11470 (config-cflags-novzeroupper): Likewise.
11471 (config-asflags-i686): Likewise.
11472 (have-mfma4): Likewise.
11473 (have-as-vis3): Likewise.
11474 (MIG): Likewise.
11475 * configure.in (MIG): Do not AC_SUBST.
11476 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11477 (libc_cv_cc_sse4): Do not AC_SUBST.
11478 (libc_cv_cc_avx): Likewise.
11479 (libc_cv_cc_sse2avx): Likewise.
11480 (libc_cv_cc_novzeroupper): Likewise.
11481 (libc_cv_cc_fma4): Likewise.
11482 (libc_cv_as_i686): Likewise.
11483 (libc_cv_sparc_as_vis3): Likewise.
11484 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11485 LIBC_CONFIG_VAR.
11486 (config-asflags-i686): Likewise.
11487 (config-cflags-avx): Likewise.
11488 (config-cflags-sse2avx): Likewise.
11489 (have-mfma4): Likewise.
11490 (config-cflags-novzeroupper): Likewise.
11491 * sysdeps/mach/configure.in (MIG): Likewise.
11492 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11493 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11494 LIBC_CONFIG_VAR.
11495 (config-cflags-avx): Likewise.
11496 (config-cflags-sse2avx): Likewise.
11497 (have-mfma4): Likewise.
11498 (config-cflags-novzeroupper): Likewise.
11499 * configure: Regenerated.
11500 * sysdeps/i386/configure: Likewise.
11501 * sysdeps/mach/configure: Likewise.
11502 * sysdeps/sparc/configure: Likewise.
11503 * sysdeps/x86_64/configure: Likewise.
11504
912cc4b3
RM
115052013-03-20 Roland McGrath <roland@hack.frob.com>
11506
11507 [BZ #14812]
11508 * locale/programs/localedef.c (options): Put N_ translation marker
11509 on argument names, not just descriptions.
11510
04eed2b0
MS
115112013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11512
11513 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11514
a065ceff
OB
115152013-03-20 Ondřej Bílka <neleai@seznam.cz>
11516
9bb2a810 11517 [BZ #14176]
a065ceff
OB
11518 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11519
a600e5ce
RM
115202013-03-19 Roland McGrath <roland@hack.frob.com>
11521
11522 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11523 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11524 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11525 [!BEFORE_ABORT] (before_abort): New function.
11526 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11527 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11528 (writev_for_fatal): New function.
11529 (WRITEV_FOR_FATAL): New macro; call that.
11530 (backtrace_and_maps): New function.
11531 (BEFORE_ABORT): New macro; call that.
11532 (struct str_list): Type removed.
11533 (__libc_message, __libc_fatal): Functions removed.
11534 Include <sysdeps/posix/libc_fatal.c> instead.
11535
6b18bea6
JM
115362013-03-19 Joseph Myers <joseph@codesourcery.com>
11537
11538 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11539 constants.
11540 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11541 double constants.
11542
aaa8cb4b
AS
115432013-03-19 Andreas Schwab <schwab@suse.de>
11544
44673770
AS
11545 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11546 * sysdeps/gnu/configure: Regenerate.
11547
aaa8cb4b
AS
11548 * configure.in: Substitute libc_cv_rtlddir.
11549 * configure: Regenerate.
11550 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11551 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11552 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11553 * elf/Makefile (install-others, CFLAGS-interp.c)
11554 (ldso_install, common-ldd-rewrite): Likewise.
11555 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11556 $(inst_slibdir)/$(rtld-installed-name).
11557 * scripts/rellns-sh: Add -p option.
11558 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11559 for source.
11560
d3cfc668
SP
115612013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11562
11563 * manual/nptl.texi: Renamed to ...
11564 * manual/threads.texi: ... this.
11565 * manual/Makefile (chapters): Update.
11566
0e2b9cdd
RM
115672013-03-18 Roland McGrath <roland@hack.frob.com>
11568
11569 [BZ #14812]
11570 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11571 on argument names, not just descriptions.
0e2b9cdd
RM
11572 * malloc/memusagestat.c (options): Likewise.
11573 * nss/getent.c (options): Likewise.
63270c24
RM
11574
115752013-03-18 Benno Schulenberg <bensberg@justemail.net>
11576
11577 [BZ #14812]
11578 * iconv/iconv_prog.c (options): Put N_ translation marker
11579 on argument names, not just descriptions.
11580 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11581
b2e1393c
OB
115822013-03-18 Ondrej Bilka <neleai@seznam.cz>
11583
11584 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11585 implementation which is faster on all x86_64 architectures.
11586 Tested on AMD, Intel Nehalem, SNB, IVB.
11587 * sysdeps/x86_64/strnlen.S: Likewise.
11588
11589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11590 Remove all multiarch strlen and strnlen versions.
11591 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11592 Remove strlen and strnlen related parts.
11593
11594 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11595 Inline strlen part.
11596 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11597
11598 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11599 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11600 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11601 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11602 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11603 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11604
ec4ff04d
CD
116052013-03-17 Carlos O'Donell <carlos@redhat.com>
11606
11607 * manual/memory.texi (Malloc Tunable Parameters):
11608 Sort parameters alphabetically. Add comments for missing entries.
11609
cd18e90a
DM
116102013-03-17 David S. Miller <davem@davemloft.net>
11611
11612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11613
2a185d32
JM
116142013-03-16 Joseph Myers <joseph@codesourcery.com>
11615
d2f9799e
JM
11616 [BZ #15283]
11617 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11618 for arguments at most half maximum finite value.
11619 * math/libm-test.inc (j0_test): Add more tests.
11620 (j1_test): Likewise.
11621 (y0_test): Likewise.
11622 (y1_test): Likewise.
11623 * sysdeps/i386/fpu/libm-test-ulps: Update.
11624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11625
2a185d32
JM
11626 [BZ #14155]
11627 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11628 1 / x and functions P and Q for arguments above 0x1p256L.
11629 (__ieee754_y0l): Likewise.
11630 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11631 (__ieee754_y1l): Likewise.
11632 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11633 (j1_test): Likewise.
11634 (y0_test): Likewise.
11635 (y1_test): Likewise.
11636
6cbec759
TS
116372013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11638
11639 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11640 variable.
11641
bc16e260
RM
116422013-03-15 Roland McGrath <roland@hack.frob.com>
11643
aefc9b8c
RM
11644 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11645 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11646 zero since it's initialized to EXEC_PAGESIZE.
11647
bc16e260
RM
11648 * sysdeps/unix/sysv/linux/ldsodefs.h
11649 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11650 * sysdeps/generic/ldsodefs.h: ... here.
11651
a57da955
TS
116522013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11653
af00a34d
TS
11654 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11655
495ded2c
TS
11656 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11657 math/test-snan.c.
11658 * math/test-snan.c: Renamed from
11659 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11660 * math/Makefile (tests): Add test-snan.
11661 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11662 test-powerpc-snan.
11663
777b0332
TS
11664 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11665 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11666 functions.
11667 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11668 __builtin_nan family of functions.
11669 * math/libm-test.inc (initialize): Initialize qnan_value with
11670 __builtin_nan family of functions.
11671 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11672 Remove variables.
11673 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11674 Remove functions.
11675 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11676 storage class. Initialize qNaN_var and sNaN_var with
11677 __builtin_nan and __builtin_nans families of functions,
11678 respectively.
11679
64d063b8
TS
11680 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11681 (sqrt_test): Remove duplicate test with qNaN input.
11682 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11683 (round_test, signbit_test, significand_test): Note missing +/-Inf
11684 as well as qNaN tests.
11685
67e971f1
TS
11686 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11687 qNaN_var. Fix a few strings, too.
11688 * math/libm-test.inc (nan_value): Rename to qnan_value.
11689 * math/gen-libm-test.pl (%beautify): Adjust to that.
11690 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11691 * math/test-misc.c (main): Likewise.
11692 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11693 to __qnan_bytes, and __qnan_union, respectively.
11694 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11695 Likewise.
11696 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11697 and lqnanval, respectively.
11698 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11699 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11700 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11701 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11702
64487e12
TS
11703 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11704 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11705 doubles.
11706
e015e27b
TS
11707 * math/test-misc.c (main): Fix copy'n'pastos.
11708 * misc/tst-efgcvt.c (special): Likewise.
11709
a57da955
TS
11710 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11711 Remove declarations.
11712
1e380345
SP
117132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11714
11715 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11716 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11717 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11718 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11719
ef26eece
AZ
117202013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11721
11722 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11723 macro to return vdso values correctly in IFUNC implementations.
11724 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11725 Optimization by using IFUNC.
11726
8cfdb7e0
SP
117272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11728 Richard Henderson <rth@redhat.com>
11729 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11730
11731 * Makefile.in (bench): New target.
11732 * NEWS: Mention the benchmark framework.
11733 * Rules (bench): Likewise.
11734 (binaries-bench): Generate binaries for functions to
11735 benchmark.
11736 * benchtests/Makefile: New makefile for benchmark tests.
11737 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11738 programs.
11739 * benchtests/exp-inputs: New input file for EXP function.
11740 * benchtests/pow-inputs: New input file for POW function.
11741 * scripts/bench.pl: New script to generate source files for
11742 benchmark programs.
11743
bcda9880
SP
117442013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11745
d22ca8cd
SP
11746 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11747 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11748 computations on mantissa. Use macros for rounding and
11749 division.
11750 (denorm): Likewise.
11751 (__dbl_mp): Likewise.
11752 (add_magnitudes): Likewise.
11753 (sub_magnitudes): Likewise.
11754 (__mul): Likewise.
11755 (__sqr): Likewise.
11756 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11757 powers of two in terms of TWOPOW macro.
11758 (mp_no): Make type of mantissa as MANTISSA_T.
11759 [!RADIXI]: Define RADIXI.
11760 [!TWO52]: Define TWO52.
11761 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11762
bcda9880
SP
11763 * manual/nptl.texi (cindex): Modify threads to pthreads.
11764
06d5adfb
JM
117652013-03-15 Joseph Myers <joseph@codesourcery.com>
11766
11767 * sysdeps/x86_64/preconfigure: Regenerated.
11768
41c7328e
JM
117692013-03-14 Joseph Myers <joseph@codesourcery.com>
11770
11771 [BZ #14155]
11772 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11773 0x1p28 and above.
11774 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11775 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11776 0x1p28 and above.
11777 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11778 * math/libm-test.inc (j0_test): Do not allow one spurious
11779 underflow exception.
11780 (y1_test): Likewise.
11781
e25cfa60
SP
117822013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11783
0409959c
SP
11784 * manual/Makefile (chapters): Add nptl.
11785 * manual/debug.texi (Debugging Support): Add link to Threads
11786 chapter.
11787 * manual/nptl.texi: New file.
11788
e25cfa60
SP
11789 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11790
58a1335e
PB
117912013-03-14 Petr Baudis <pasky@ucw.cz>
11792
11793 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11794 for non-NULL pointer before the memory validity test. Pointed
11795 out by Holger Brunck <holger.brunck@keymile.com>.
11796
9dc7c64f
AS
117972013-03-13 Andreas Schwab <schwab@suse.de>
11798
11799 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11800 instead of .os.
11801
54206aa6
JM
118022013-03-13 Joseph Myers <joseph@codesourcery.com>
11803
11804 * timezone/zic.c: Update from tzcode 2013b.
11805
e98cdb38
CD
118062013-03-12 Carlos O'Donell <carlos@redhat.com>
11807
11808 * manual/install.texi (Configuring and compiling):
11809 Mention i686 and i586.
11810 * INSTALL: Regenerate.
11811
9967e003
RM
118122013-03-12 Roland McGrath <roland@hack.frob.com>
11813
11814 * sysdeps/init_array/elf-init.c: New file.
11815 * csu/elf-init.c
11816 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11817 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11818
11819 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11820 __gmon_start__ as global, but as static with a .preinit_array pointer.
11821 * sysdeps/init_array/gmon-start.c: New file. Use that.
11822 * sysdeps/init_array/crti.S: New file, empty except for comments.
11823 * sysdeps/init_array/crtn.S: Likewise.
11824
e6b5a293 118252013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11826
11827 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11828 definining bcopy.
80f844c9
OB
11829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11830 Remove Prefer_SSE_for_memop.
11831 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11832 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11833 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11835 memset-x86-64.
80f844c9 11836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11837 Remove bzero, memset ifunc support.
80f844c9
OB
11838 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11839 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11840 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11841 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11842
fb6b0fcb
AS
118432013-03-11 Andreas Schwab <schwab@suse.de>
11844
11845 [BZ #15234]
11846 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11847 by SHLIB_COMPAT.
11848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11849 (GLIBC_2.16): Remove pthread_atfork.
11850
3e6bd4b1
PP
118512013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11852
11853 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11854 (ptestcases.h): Likewise.
11855
222d7f00
RM
118562013-03-08 Roland McGrath <roland@hack.frob.com>
11857
11858 * Makeconfig ($(common-objpfx)config.status): Depend on
11859 sysdeps/*/preconfigure{,.in} too.
11860
1ba4f030
JM
118612013-03-08 Joseph Myers <joseph@codesourcery.com>
11862
a222d91a
JM
11863 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11864 (__free_hook): Use void * instead of __malloc_ptr_t.
11865 (__malloc_hook): Likewise.
11866 (__realloc_hook): Likewise.
11867 (__memalign_hook): Likewise.
11868 (__after_morecore_hook): Likewise.
11869 * malloc/arena.c (save_malloc_hook): Likewise.
11870 (save_free_hook): Likewise.
11871 * malloc/hooks.c (malloc_hook_ini): Likewise.
11872 (realloc_hook_ini): Likewise.
11873 (memalign_hook_ini): Likewise.
11874 * malloc/malloc.c (malloc_hook_ini): Likewise.
11875 (realloc_hook_ini): Likewise.
11876 (memalign_hook_ini): Likewise.
11877 (__free_hook): Likewise.
11878 (__malloc_hook): Likewise.
11879 (__realloc_hook): Likewise.
11880 (__memalign_hook): Likewise.
11881 (__libc_malloc): Likewise.
11882 (__libc_free): Likewise.
11883 (__libc_realloc): Likewise.
11884 (__libc_memalign): Likewise.
11885 (__libc_valloc): Likewise.
11886 (__libc_pvalloc): Likewise.
11887 (__libc_calloc): Likewise.
11888 (__posix_memalign): Likewise.
11889 * malloc/morecore.c (__sbrk): Likewise.
11890 (__default_morecore): Likewise.
11891
5cc45e10
JM
11892 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11893
dd54b864
JM
11894 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11895 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11896 __malloc_ptrdiff_t.
11897
1ba4f030
JM
11898 * malloc/malloc.h (__malloc_size_t): Remove macro.
11899 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11900 __malloc_size_t.
11901 (old_memalign_hook): Likewise.
11902 (old_realloc_hook): Likewise.
11903 (struct hdr): Likewise.
11904 (flood): Likewise.
11905 (mallochook): Likewise.
11906 (memalignhook): Likewise.
11907 (reallochook): Likewise.
11908 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11909 (tr_old_realloc_hook): Likewise.
11910 (tr_old_memalign_hook): Likewise.
11911 (tr_mallochook): Likewise.
11912 (tr_reallochook): Likewise.
11913 (tr_memalignhook): Likewise.
11914
edf66e57
AZ
119152013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11916
11917 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11918 default_ldbl_pack and using as default implementation.
11919 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11920 implementation.
11921 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11922 redundant definition.
11923 (ldbl_insert_mantissa): Likewise.
11924 (ldbl_canonicalize): Likewise.
11925 (ldbl_nearbyint): Likewise.
11926 (ldbl_pack): Rename to ldbl_pack_ppc.
11927 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11928 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11929 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11930
6d9145d8
SP
119312013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11932
11933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11934 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11935 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11936 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11938 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11939 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11940 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11941
4dd4e157
AJ
119422013-03-07 Andreas Jaeger <aj@suse.de>
11943
11944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11945 bits/mman-linux.h.
11946
adbb8027
SP
119472013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11948
ce544b5b
SP
11949 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11950 Include mpa.h and declare __MPEXP.
11951 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11952 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11953 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11954 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11955 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11956 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11957 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11958
4cc149fd
SP
11959 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11960 (__slowpow): Use long double EXPL and LOGL functions to
11961 compute POW.
11962 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11963 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11964 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11965 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11966 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11967 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11968
e6ebd4a7
SP
11969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11970 intermediate variable to calculate exponent.
11971 (__sqr): Likewise.
11972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11973 Likewise.
11974 (__sqr): Likewise.
11975
82a9811d
SP
11976 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11977 [!NO__SQR]: Define __sqr.
11978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11979 and NO__SQR. Remove all code except __mul and __sqr. Include
11980 sysdeps/ieee754/dbl-64/mpa.c.
11981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11982
adbb8027
SP
11983 [BZ #12723]
11984 * posix/Makefile (tests): Add tst-pathconf.
11985 * posix/tst-pathconf.c: New test case.
11986 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11987 _PC_PIPE_BUF.
11988 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11989
39120df9
PF
119902013-03-06 Patsy Franklin <pfrankli@redhat.com>
11991
11992 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11993
67525cb8
AJ
119942013-03-06 Andreas Jaeger <aj@suse.de>
11995
664a9ce4
AJ
11996 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11997 definition via __MAP_ANONYMOUS.
11998
8e39047d
AJ
11999 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12000 it's not part of Linux headers.
12001
67525cb8
AJ
12002 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12003 (MAP_HUGE_MASK): Define.
12004
12005 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12006 Define.
12007 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12008 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12009 Define.
12010 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12011 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12012 Define.
12013 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12014 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12015 Define.
12016 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12017
12018 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12019 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12020 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12021 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12022 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12023 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12024
12025 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12026 Handle f2fs.
12027
12028 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12029 Handle f2fs and efivarfs.
12030
12031 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12032 f2fs.
12033
12034 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12035 (EFIVARFS_MAGIC): Add.
12036 (F2FS_LINK_MAX): Add.
12037
e1b42695
PP
120382013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12039
12040 * stdio-common/vfprintf.c: Replace __builtin_expect with
12041 __glibc_unlikely.
12042
2d67d91a
JM
120432013-03-06 Joseph Myers <joseph@codesourcery.com>
12044
12045 [BZ #13550]
12046 * sysdeps/generic/bp-sym.h: Remove file.
12047 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12048 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12049 <bp-sym.h> and <bp-asm.h>.
12050 (__longjmp): Don't use BP_SYM.
12051 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12052 and <bp-asm.h>.
12053 (memcpy): Don't use BP_SYM.
12054 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12055 <bp-sym.h> and <bp-asm.h>.
12056 (memcpy): Don't use BP_SYM.
12057 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12058 <bp-asm.h>.
12059 (memcpy): Don't use BP_SYM.
12060 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12061 <bp-asm.h>.
12062 (memset): Don't use BP_SYM.
12063 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12064 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12065 (__bzero): Don't use BP_SYM.
12066 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12067 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12068 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12069 <bp-sym.h> and <bp-asm.h>.
12070 (memcmp): Don't use BP_SYM. Remove comment about bounded
12071 pointers.
12072 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12073 <bp-sym.h> and <bp-asm.h>.
12074 (memcpy): Don't use BP_SYM.
12075 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12076 <bp-sym.h> and <bp-asm.h>.
12077 (memset): Don't use BP_SYM.
12078 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12079 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12080 (__bzero): Don't use BP_SYM.
12081 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12082 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12083 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12084 <bp-sym.h> and <bp-asm.h>.
12085 (strncmp): Don't use BP_SYM. Remove comment about bounded
12086 pointers.
12087 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12088 <bp-sym.h> and <bp-asm.h>.
12089 (memcpy): Don't use BP_SYM.
12090 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12091 <bp-sym.h> and <bp-asm.h>.
12092 (memset): Don't use BP_SYM.
12093 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12094 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12095 (__bzero): Don't use BP_SYM.
12096 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12097 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12098 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12099 <bp-sym.h> and <bp-asm.h>.
12100 (__memchr): Don't use BP_SYM.
12101 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12102 <bp-sym.h> and <bp-asm.h>.
12103 (memcmp): Don't use BP_SYM. Remove comment about bounded
12104 pointers.
12105 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12106 <bp-sym.h> and <bp-asm.h>.
12107 (memcpy): Don't use BP_SYM.
12108 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12109 <bp-sym.h> and <bp-asm.h>.
12110 (__mempcpy): Don't use BP_SYM.
12111 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12112 <bp-sym.h> and <bp-asm.h>.
12113 (__memrchr): Don't use BP_SYM.
12114 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12115 <bp-sym.h> and <bp-asm.h>.
12116 (memset): Don't use BP_SYM.
12117 (__bzero): Likewise.
12118 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12119 <bp-sym.h> and <bp-asm.h>.
12120 (__rawmemchr): Don't use BP_SYM.
12121 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12122 <bp-sym.h> and <bp-asm.h>.
12123 (__STRCMP): Don't use BP_SYM.
12124 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12125 <bp-sym.h> and <bp-asm.h>.
12126 (strchr): Don't use BP_SYM.
12127 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12128 <bp-sym.h> and <bp-asm.h>.
12129 (__strchrnul): Don't use BP_SYM.
12130 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12131 <bp-sym.h> and <bp-asm.h>.
12132 (strlen): Don't use BP_SYM.
12133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12134 <bp-sym.h> and <bp-asm.h>.
12135 (strncmp): Don't use BP_SYM. Remove comment about bounded
12136 pointers.
12137 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12138 <bp-sym.h> and <bp-asm.h>.
12139 (__strnlen): Don't use BP_SYM.
12140 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12141 <bp-sym.h> and <bp-asm.h>.
12142 (__GI__setjmp): Don't use BP_SYM.
12143 (_setjmp): Likewise.
12144 (__sigsetjmp): Likewise.
12145 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12146 (L(start_addresses)): Don't use BP_SYM.
12147 (_start): Likewise.
12148 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12149 <bp-asm.h>.
12150 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12151 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12152 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12153 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12154 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12155 <bp-asm.h>.
12156 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12157 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12158 about bounded pointers.
12159 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12160 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12161 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12162 <bp-asm.h>.
12163 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12164 about bounded pointers. Remove GKM FIXME comments.
12165 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12166 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12167 <bp-asm.h>.
12168 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12169 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12170 Remove GKM FIXME comments.
12171 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12172 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12173 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12174 <bp-asm.h>.
12175 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12176 about bounded pointers. Remove GKM FIXME comment.
12177 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12178 and <bp-asm.h>.
12179 (strncmp): Don't use BP_SYM. Remove comment about bounded
12180 pointers.
12181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12182 <bp-sym.h> and <bp-asm.h>.
12183 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12185 <bp-sym.h> and <bp-asm.h>.
12186 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12187 comment.
12188
cdcf361f
PP
121892013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12190
12191 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12192 call free(NULL).
12193
3c4a2b15
DM
121942013-03-05 David S. Miller <davem@davemloft.net>
12195
12196 * po/es.po: Update from translation team.
12197
cdcf361f 121982013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
12199
12200 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12201 <bits/mman-linux.h>.
12202 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12203 is fine.
12204 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12205 <bits/mman-linux.h> to end of file.
12206 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12207 is fine.
12208 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12209 <bits/mman-linux.h> to end of file.
12210 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12211 is fine.
12212 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12213 <bits/mman-linux.h> to end of file.
12214
12215 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12216 (MCL_CURRENT, MCL_FUTURE): Define here.
12217
5f67c04f
AK
122182013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12219
8a4473cc 12220 [BZ #15232]
5f67c04f
AK
12221 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12222 attribute_hidden.
12223 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12224
c3e94a95
AK
122252013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12226
12227 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12228 fourth parameter needed for rt_sigprocmask syscall.
12229 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12230 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12231 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12232 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12233 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12234 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12235
cfb6382a
JM
122362013-03-04 Joseph Myers <joseph@codesourcery.com>
12237
12238 [BZ #13550]
12239 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12240 comment about bounded pointers.
12241 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12242 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12243
539d8e01
AJ
122442013-03-04 Andreas Jaeger <aj@suse.de>
12245
12246 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12247 common definitions.
12248
12249 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12250 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12251 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12252 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12253 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12254 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12255
2e167a70 122562013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12257
12258 [BZ #15055]
12259 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12260 __ieee754_sqrl instead of __sqrl.
12261
68508633
JM
122622013-03-01 Joseph Myers <joseph@codesourcery.com>
12263
12264 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12265 * sysdeps/powerpc/fpu_control.h: ... here.
12266 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12267 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12268 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12269 * sysdeps/powerpc/bits/mathinline.h: ... here.
12270
7775448e
RM
122712013-03-01 Roland McGrath <roland@hack.frob.com>
12272
12273 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12274 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12275 to just [NEED_DL_SYSINFO_DSO].
12276 * elf/dl-support.c: Likewise.
12277 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12278 * elf/rtld.c (dl_main): Likewise.
12279 * elf/setup-vdso.h (setup_vdso): Likewise.
12280 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12281 * sysdeps/unix/sysv/linux/dl-sysdep.c
12282 (_dl_discover_osversion): Likewise.
12283
4e9b5995
CD
122842013-03-01 Carlos O'Donell <carlos@redhat.com>
12285
12286 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12287 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12288
e23872c8
SP
122892013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12290
e5c74c63
SP
12291 * NEWS: Mention libm performance improvements and non-x86 PI
12292 futex support.
12293
e23872c8
SP
12294 * csu/libc-start.c (__pthread_initialize_minimal): Change
12295 function arguments.
12296 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12297
b5510883
JM
122982013-02-28 Joseph Myers <joseph@codesourcery.com>
12299
12300 [BZ #13550]
12301 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12302 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12303 <bp-sym.h> and <bp-asm.h>.
12304 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12305 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12306 and <bp-asm.h>.
12307 (memcpy): Don't use BP_SYM.
12308 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12309 <bp-asm.h>.
12310 (__mpn_add_n): Don't use BP_SYM.
12311 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12312 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12313 and <bp-asm.h>.
12314 (__mpn_addmul_1): Don't use BP_SYM.
12315 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12316 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12317 <bp-sym.h>.
12318 (_setjmp): Don't use BP_SYM.
12319 (__novmx_setjmp): Likewise.
12320 (__GI__setjmp): Likewise.
12321 (__vmx_setjmp): Likewise.
12322 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12323 <bp-sym.h>.
12324 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12325 (__bzero): Don't use BP_SYM.
12326 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12327 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12328 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12329 <bp-sym.h> and <bp-asm.h>.
12330 (memcpy): Don't use BP_SYM.
12331 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12332 <bp-sym.h> and <bp-asm.h>.
12333 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12334 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12335 <bp-sym.h> and <bp-asm.h>.
12336 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12337 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12338 <bp-asm.h>.
12339 (__mpn_lshift): Don't use BP_SYM.
12340 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12341 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12342 <bp-asm.h>.
12343 (memset): Don't use BP_SYM.
12344 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12345 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12346 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12347 <bp-asm.h>.
12348 (__mpn_mul_1): Don't use BP_SYM.
12349 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12350 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12351 <bp-sym.h> and <bp-asm.h>.
12352 (memcmp): Don't use BP_SYM.
12353 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12354 <bp-sym.h> and <bp-asm.h>.
12355 (memcpy): Don't use BP_SYM.
12356 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12357 <bp-sym.h> and <bp-asm.h>.
12358 (memset): Don't use BP_SYM.
12359 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12360 <bp-sym.h> and <bp-asm.h>.
12361 (strncmp): Don't use BP_SYM.
12362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12363 <bp-sym.h> and <bp-asm.h>.
12364 (memcpy): Don't use BP_SYM.
12365 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12366 <bp-sym.h> and <bp-asm.h>.
12367 (memset): Don't use BP_SYM.
12368 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12369 <bp-sym.h> and <bp-asm.h>.
12370 (__memchr): Don't use BP_SYM.
12371 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12372 <bp-sym.h> and <bp-asm.h>.
12373 (memcmp): Don't use BP_SYM.
12374 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12375 <bp-sym.h> and <bp-asm.h>.
12376 (memcpy): Don't use BP_SYM.
12377 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12378 <bp-sym.h> and <bp-asm.h>.
12379 (__mempcpy): Don't use BP_SYM.
12380 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12381 <bp-sym.h> and <bp-asm.h>.
12382 (__memrchr): Don't use BP_SYM.
12383 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12384 <bp-sym.h> and <bp-asm.h>.
12385 (memset): Don't use BP_SYM.
12386 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12387 <bp-sym.h> and <bp-asm.h>.
12388 (__rawmemchr): Don't use BP_SYM.
12389 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12390 <bp-sym.h> and <bp-asm.h>.
12391 (__STRCMP): Don't use BP_SYM.
12392 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12393 <bp-sym.h> and <bp-asm.h>.
12394 (strchr): Don't use BP_SYM.
12395 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12396 <bp-sym.h> and <bp-asm.h>.
12397 (__strchrnul): Don't use BP_SYM.
12398 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12399 <bp-sym.h> and <bp-asm.h>.
12400 (strlen): Don't use BP_SYM.
12401 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12402 <bp-sym.h> and <bp-asm.h>.
12403 (strncmp): Don't use BP_SYM.
12404 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12405 <bp-sym.h> and <bp-asm.h>.
12406 (__strnlen): Don't use BP_SYM.
12407 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12408 <bp-asm.h>.
12409 (__mpn_rshift): Don't use BP_SYM.
12410 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12411 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12412 <bp-sym.h> and <bp-asm.h>.
12413 (__sigsetjmp): Don't use BP_SYM.
12414 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12415 (L(start_addresses)): Don't use BP_SYM.
12416 (_start): Likewise.
12417 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12418 <bp-asm.h>.
12419 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12420 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12421 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12422 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12423 <bp-asm.h>.
12424 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12425 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12426 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12427 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12428 <bp-asm.h>.
12429 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12430 comments.
12431 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12432 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12433 <bp-asm.h>.
12434 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12435 FIXME comments.
12436 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12437 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12438 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12439 <bp-asm.h>.
12440 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12441 comment.
12442 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12443 and <bp-asm.h>.
12444 (strncmp): Don't use BP_SYM,
12445 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12446 <bp-asm.h>.
12447 (__mpn_sub_n): Don't use BP_SYM.
12448 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12449 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12450 and <bp-asm.h>.
12451 (__mpn_submul_1): Don't use BP_SYM.
12452 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12454 <bp-sym.h> and <bp-asm.h>.
12455 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12457 <bp-sym.h> and <bp-asm.h>.
12458 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12459 comment.
12460
8d19fe64
SP
124612013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12462
12463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12464 Use ZK to minimize writes to Z.
12465 (sub_magnitudes): Simplify code a bit.
12466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12467 Use ZK to minimize writes to Z.
12468 (sub_magnitudes): Simplify code a bit.
12469
85bd816a
RM
124702013-02-27 Roland McGrath <roland@hack.frob.com>
12471
12472 * csu/gmon-start.c: Add special exception to license text.
12473
b5977bf2
RH
124742013-02-27 Richard Henderson <rth@redhat.com>
12475
12476 * scripts/config.guess: Update from config.git.
12477 * scripts/config.sub: Likewise.
12478
11d6e2f2
SP
124792013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12480
09c14ed2
SP
12481 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12482
a688864e
SP
12483 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12484
6295157a
SP
12485 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12486
b8de2202
SP
12487 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12488
11d6e2f2
SP
12489 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12490
7e80ddb8
RM
124912013-02-26 Roland McGrath <roland@hack.frob.com>
12492
12493 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12494 [$(build-shared = yes].
7e80ddb8 12495
7da6d9ed
SP
124962013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12497
45f05884
SP
12498 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12499 (__mul): Reduce iterations for calculating mantissa.
12500
2236d359
SP
12501 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12502 MPTWO.
12503 (__mpranred): Likewise.
12504
7da6d9ed
SP
12505 [BZ #15160]
12506 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12507 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12508
b7688c42
PE
125092013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12510
12511 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12512 Define __attribute__.
12513
53a5c423
SP
125142013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12515
12516 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12517 unused.
12518 * posix/regex_internal.h (__attribute): Remove.
12519 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12520 (re_string_context_at): Likewise.
12521 (bitset_not): Use __attribute__ and mark function as possibly
12522 unused.
12523 (bitset_merge): Likewise.
12524 (bitset_mask): Likewise.
12525 (re_string_char_size_at): Likewise.
12526 (re_string_wchar_at): Likewise.
12527 (re_string_elem_size_at): Likewise.
12528
60f5a8b5
SP
125292013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12530
2a983a2e
SP
12531 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12532 code.
12533 (cc32): Likewise.
12534
e69804d1
SP
12535 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12536 (__acr): Likewise.
12537 (__cpy): Likewise.
12538 (norm): Likewise.
12539 (denorm): Likewise.
12540 (__dbl_mp): Likewise.
12541 (add_magnitudes): Likewise.
12542 (sub_magnitudes): Likewise.
12543 (__mul): Likewise.
12544 (__inv): Likewise.
12545
2f22a1e8
SP
12546 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12547 style.
12548
8930ddc7
SP
12549 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12550 style.
12551
dc60cb11
SP
12552 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12553 code.
12554
60f5a8b5
SP
12555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12556 up changes with default code.
12557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12558 Likewise.
12559
b4d1fd33
AM
125602013-02-24 Allan McRae <allan@archlinux.org>
12561
faf6f8bc
AM
12562 * manual/socket.texi (The Internet Namespace): Order menu items
12563 to match that in the file.
12564
b4d1fd33
AM
12565 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12566 node listing of the info page menu.
12567
2366713d
JM
125682013-02-21 Joseph Myers <joseph@codesourcery.com>
12569
12570 [BZ #13550]
12571 * sysdeps/i386/bp-asm.h: Remove file.
12572 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12573 (PARMS): Do not use macros from bp-asm.h.
12574 (S1): Likewise.
12575 (S2): Likewise.
12576 (SIZE): Likewise.
12577 (__mpn_add_n): Do not use BP_SYM
12578 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12579 "bp-asm.h".
12580 (PARMS): Do not use macros from bp-asm.h.
12581 (S1): Likewise.
12582 (SIZE): Likewise.
12583 (__mpn_addmul_1): Do not use BP_SYM
12584 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12585 "bp-asm.h".
12586 (PARMS): Do not use macros from bp-asm.h.
12587 (SIGMSK): Likewise.
12588 (_setjmp): Likewise. Do not use BP_SYM.
12589 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12590 "bp-asm.h".
12591 (PARMS): Do not use macros from bp-asm.h.
12592 (SIGMSK): Likewise.
12593 (setjmp): Likewise. Do not use BP_SYM.
12594 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12595 "bp-asm.h".
12596 (PARMS): Do not use macros from bp-asm.h.
12597 (__frexp): Do not use BP_SYM.
12598 (frexp): Likewise.
12599 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12600 "bp-asm.h".
12601 (PARMS): Do not use macros from bp-asm.h.
12602 (__frexpf): Do not use BP_SYM.
12603 (frexpf): Likewise.
12604 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12605 "bp-asm.h".
12606 (PARMS): Do not use macros from bp-asm.h.
12607 (__frexpl): Do not use BP_SYM.
12608 (frexpl): Likewise.
12609 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12610 "bp-asm.h".
12611 (PARMS): Do not use macros from bp-asm.h.
12612 (__remquo): Do not use BP_SYM.
12613 (remquo): Likewise.
12614 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12615 "bp-asm.h".
12616 (PARMS): Do not use macros from bp-asm.h.
12617 (__remquof): Do not use BP_SYM.
12618 (remquof): Likewise.
12619 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12620 "bp-asm.h".
12621 (PARMS): Do not use macros from bp-asm.h.
12622 (__remquol): Do not use BP_SYM.
12623 (remquol): Likewise.
12624 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12625 "bp-asm.h".
12626 (PARMS): Do not use macros from bp-asm.h.
12627 (DEST): Likewise.
12628 (SRC): Likewise.
12629 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12630 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12631 "bp-asm.h".
12632 (PARMS): Do not use macros from bp-asm.h.
12633 (strlen): Do not use BP_SYM.
12634 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12635 "bp-asm.h".
12636 (PARMS): Do not use macros from bp-asm.h.
12637 (S1): Likewise.
12638 (S2): Likewise.
12639 (SIZE): Likewise.
12640 (__mpn_add_n): Do not use BP_SYM.
12641 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12642 "bp-asm.h".
12643 (PARMS): Do not use macros from bp-asm.h.
12644 (S1): Likewise.
12645 (SIZE): Likewise.
12646 (__mpn_addmul_1): Do not use BP_SYM.
12647 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12648 weak_alias.
12649 (bzero): Likewise.
12650 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12651 "bp-asm.h".
12652 (PARMS): Do not use macros from bp-asm.h.
12653 (S): Likewise.
12654 (SIZE): Likewise.
12655 (__mpn_lshift): Do not use BP_SYM.
12656 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12657 "bp-asm.h".
12658 (PARMS): Do not use macros from bp-asm.h.
12659 (DEST): Likewise.
12660 (SRC): Likewise.
12661 (LEN): Likewise.
12662 (memcpy): Likewise. Do not use BP_SYM.
12663 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12664 libc_hidden_def and weak_alias.
12665 (mempcpy): Do not use BP_SYM in weak_alias.
12666 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12667 "bp-asm.h".
12668 (PARMS): Do not use macros from bp-asm.h.
12669 (DEST): Likewise.
12670 (LEN): Likewise.
12671 [!BZERO_P] (CHR): Likewise.
12672 (memset): Likewise. Do not use BP_SYM.
12673 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12674 "bp-asm.h".
12675 (PARMS): Do not use macros from bp-asm.h.
12676 (S1): Likewise.
12677 (SIZE): Likewise.
12678 (__mpn_mul_1): Do not use BP_SYM.
12679 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12680 "bp-asm.h".
12681 (PARMS): Do not use macros from bp-asm.h.
12682 (S): Likewise.
12683 (SIZE): Likewise.
12684 (__mpn_rshift): Do not use BP_SYM.
12685 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12686 "bp-asm.h".
12687 (PARMS): Do not use macros from bp-asm.h.
12688 (STR): Likewise.
12689 (CHR): Likewise.
12690 (strchr): Likewise. Do not use BP_SYM.
12691 (index): Do not use BP_SYM in weak_alias.
12692 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12693 "bp-asm.h".
12694 (PARMS): Do not use macros from bp-asm.h.
12695 (DEST): Likewise.
12696 (SRC): Likewise.
12697 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12698 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12699 "bp-asm.h".
12700 (PARMS): Do not use macros from bp-asm.h.
12701 (strlen): Do not use BP_SYM.
12702 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12703 "bp-asm.h".
12704 (PARMS): Do not use macros from bp-asm.h.
12705 (S1): Likewise.
12706 (S2): Likewise.
12707 (SIZE): Likewise.
12708 (__mpn_sub_n): Do not use BP_SYM.
12709 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12710 "bp-asm.h".
12711 (PARMS): Do not use macros from bp-asm.h.
12712 (S1): Likewise.
12713 (SIZE): Likewise.
12714 (__mpn_submul_1): Do not use BP_SYM.
12715 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12716 "bp-asm.h".
12717 (PARMS): Do not use macros from bp-asm.h.
12718 (S1): Likewise.
12719 (S2): Likewise.
12720 (SIZE): Likewise.
12721 (__mpn_add_n): Do not use BP_SYM.
12722 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12723 weak_alias.
12724 (bzero): Likewise.
12725 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12726 "bp-asm.h".
12727 (PARMS): Do not use macros from bp-asm.h.
12728 (BLK2): Likewise.
12729 (LEN): Likewise.
12730 (memcmp): Do not use BP_SYM.
12731 (bcmp): Do not use BP_SYM in weak_alias.
12732 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12733 "bp-asm.h".
12734 (PARMS): Do not use macros from bp-asm.h.
12735 (DEST): Likewise.
12736 (SRC): Likewise.
12737 (LEN): Likewise.
12738 (memcpy): Likewise. Do not use BP_SYM.
12739 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12740 "bp-asm.h".
12741 (PARMS): Do not use macros from bp-asm.h.
12742 (DEST): Likewise.
12743 (SRC): Likewise.
12744 (LEN): Likewise.
12745 (memmove): Likewise. Do not use BP_SYM.
12746 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12747 "bp-asm.h".
12748 (PARMS): Do not use macros from bp-asm.h.
12749 (DEST): Likewise.
12750 (SRC): Likewise.
12751 (LEN): Likewise.
12752 (__mempcpy): Likewise. Do not use BP_SYM.
12753 (mempcpy): Do not use BP_SYM in weak_alias.
12754 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12755 "bp-asm.h".
12756 (PARMS): Do not use macros from bp-asm.h.
12757 (DEST): Likewise.
12758 (LEN): Likewise.
12759 [!BZERO_P] (CHR): Likewise.
12760 (memset): Likewise. Do not use BP_SYM.
12761 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12762 "bp-asm.h".
12763 (PARMS): Do not use macros from bp-asm.h.
12764 (STR2): Likewise.
12765 (strcmp): Do not use BP_SYM.
12766 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12767 "bp-asm.h".
12768 (PARMS): Do not use macros from bp-asm.h.
12769 (STR): Likewise.
12770 (DELIM): Likewise.
12771 [USE_AS_STRTOK_R] (SAVE): Likewise.
12772 (FUNCTION): Likewise. Do not use BP_SYM.
12773 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12774 aliases.
12775 (strtok_r): Likewise.
12776 (__GI___strtok_r): Likewise.
12777 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12778 (PARMS): Do not use macros from bp-asm.h.
12779 (S): Likewise.
12780 (SIZE): Likewise.
12781 (__mpn_lshift): Do not use BP_SYM.
12782 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12783 (PARMS): Do not use macros from bp-asm.h.
12784 (STR): Likewise.
12785 (CHR): Likewise.
12786 (__memchr): Do not use BP_SYM.
12787 (memchr): Do not use BP_SYM in weak_alias.
12788 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12789 (PARMS): Do not use macros from bp-asm.h.
12790 (BLK2): Likewise.
12791 (LEN): Likewise.
12792 (memcmp): Do not use BP_SYM.
12793 (bcmp): Do not use BP_SYM in weak_alias.
12794 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12795 (PARMS): Do not use macros from bp-asm.h.
12796 (S1): Likewise.
12797 (SIZE): Likewise.
12798 (__mpn_mul_1): Do not use BP_SYM.
12799 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12800 "bp-asm.h".
12801 (PARMS): Do not use macros from bp-asm.h.
12802 (STR): Likewise.
12803 (CHR): Likewise.
12804 (__rawmemchr): Do not use BP_SYM.
12805 (rawmemchr): Do not use BP_SYM in weak_alias.
12806 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12807 (PARMS): Do not use macros from bp-asm.h.
12808 (S): Likewise.
12809 (SIZE): Likewise.
12810 (__mpn_rshift): Do not use BP_SYM.
12811 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12812 (PARMS): Do not use macros from bp-asm.h.
12813 (SIGMSK): Likewise.
12814 (__sigsetjmp): Likewise. Do not use BP_SYM.
12815 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12816 (_start): Do not use BP_SYM.
12817 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12818 (PARMS): Do not use macros from bp-asm.h.
12819 (DEST): Likewise.
12820 (SRC): Likewise.
12821 (__stpcpy): Likewise. Do not use BP_SYM.
12822 (stpcpy): Do not use BP_SYM in weak_alias.
12823 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12824 "bp-asm.h".
12825 (PARMS): Do not use macros from bp-asm.h.
12826 (DEST): Likewise.
12827 (SRC): Likewise.
12828 (LEN): Likewise.
12829 (__stpncpy): Likewise. Do not use BP_SYM.
12830 (stpncpy): Do not use BP_SYM in weak_alias.
12831 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12832 (PARMS): Do not use macros from bp-asm.h.
12833 (STR): Likewise.
12834 (CHR): Likewise.
12835 (strchr): Likewise. Do not use BP_SYM.
12836 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12837 "bp-asm.h".
12838 (PARMS): Do not use macros from bp-asm.h.
12839 (STR): Likewise.
12840 (CHR): Likewise.
12841 (__strchrnul): Likewise. Do not use BP_SYM.
12842 (strchrnul): Do not use BP_SYM in weak_alias.
12843 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12844 "bp-asm.h".
12845 (PARMS): Do not use macros from bp-asm.h.
12846 (STOP): Likewise.
12847 (strcspn): Do not use BP_SYM.
12848 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12849 "bp-asm.h".
12850 (PARMS): Do not use macros from bp-asm.h.
12851 (STR): Likewise.
12852 (STOP): Likewise.
12853 (strpbrk): Likewise. Do not use BP_SYM.
12854 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12855 "bp-asm.h".
12856 (PARMS): Do not use macros from bp-asm.h.
12857 (STR): Likewise.
12858 (CHR): Likewise.
12859 (strrchr): Likewise. Do not use BP_SYM.
12860 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12861 (PARMS): Do not use macros from bp-asm.h.
12862 (SKIP): Likewise.
12863 (strspn): Do not use BP_SYM.
12864 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12865 (PARMS): Do not use macros from bp-asm.h.
12866 (STR): Likewise.
12867 (DELIM): Likewise.
12868 (SAVE): Likewise.
12869 (FUNCTION): Likewise. Do not use BP_SYM.
12870 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12871 aliases.
12872 (strtok_r): Likewise.
12873 (__GI___strtok_r): Likewise.
12874 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12875 (PARMS): Do not use macros from bp-asm.h.
12876 (S1): Likewise.
12877 (S2): Likewise.
12878 (SIZE): Likewise.
12879 (__mpn_sub_n): Do not use BP_SYM.
12880 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12881 "bp-asm.h".
12882 (PARMS): Do not use macros from bp-asm.h.
12883 (S1): Likewise.
12884 (SIZE): Likewise.
12885 (__mpn_submul_1): Do not use BP_SYM.
12886 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12887 <bp-sym.h>.
12888 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12889 and <bp-asm.h>.
12890 (PARMS): Do not use macros from bp-asm.h.
12891 (FLAGS): Likewise.
12892 (PTID): Likewise.
12893 (TLS): Likewise.
12894 (CTID): Likewise.
12895 (__clone): Do not use BP_SYM.
12896 (clone): Do not use BP_SYM in weak_alias.
12897 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12898 and <bp-asm.h>.
12899 (PARMS): Do not use macros from bp-asm.h.
12900 (LEN): Likewise.
12901 (__mmap64): Do not use BP_SYM.
12902 (mmap64): Do not use BP_SYM in weak_alias.
12903 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12904 <bp-sym.h> and <bp-asm.h>.
12905 (PARMS): Do not use macros from bp-asm.h.
12906 (__posix_fadvise64_l64): Do not use BP_SYM.
12907 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12908 (PARMS): Do not use macros from bp-asm.h.
12909 (NSOPS): Likewise.
12910 (semtimedop): Do not use BP_SYM.
12911 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12912 and <bp-asm.h>.
12913
582a3cff
AM
129142013-02-21 Allan McRae <allan@archlinux.org>
12915
12916 * manual/message.texi (Charset conversion in gettext):
12917 Move @end statement to beginning of line.
12918
bab8a695
SP
129192013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12920
80945231
SP
12921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12922 static.
12923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12924 Likewise.
12925
bab8a695
SP
12926 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12927 (denorm): Likewise.
12928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12930
e21d7aa7
AK
129312013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12932
12933 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12934 tail-call to the resolved function if pltexit isn't needed.
12935
4c7a4263
SP
129362013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12937
12938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12939 or Y being zero as being unlikely.
12940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12941 Likewise.
12942
41f49342
CD
129432013-02-20 Carlos O'Donell <carlos@redhat.com>
12944
12945 * manual/nss.texi (System Databases and Name Service Switch):
12946 Remove frobnicate @pxref.
12947
50022a93
TS
129482013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12949
12950 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12951 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12952
08cbd996
PM
129532013-02-20 Petr Machata <pmachata@redhat.com>
12954
12955 * elf/elf.h (R_ARM_TARGET1): New macro.
12956 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12957 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12958 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12959 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12960 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12961 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12962 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12963 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12964 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12965 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12966 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12967 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12968 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12969 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12970 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12971 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12972 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12973 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12974 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12975 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12976 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12977 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12978 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12979 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12980 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12981 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12982 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12983 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12984 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12985 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12986 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12987 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12988 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12989 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12990 (R_ARM_THM_GOT_BREL12): Likewise.
12991 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12992 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12993 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12994 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12995 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12996 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12997 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12998 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12999 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13000
c7b275d6
TS
130012013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13002
13003 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13004 __attribute_used__ to __attribute__ ((unused)).
13005
20cd7fb3
SP
130062013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13007
13008 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13009 powerpc mpa.c.
13010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13011 comment formatting.
13012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13013
92945b52
JM
130142013-02-19 Joseph Myers <joseph@codesourcery.com>
13015
13016 [BZ #13550]
13017 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13018 Remove macro.
13019 (ENTER): Remove both macro definitions.
13020 (LEAVE): Likewise.
13021 (CHECK_BOUNDS_LOW): Likewise.
13022 (CHECK_BOUNDS_HIGH): Likewise.
13023 (CHECK_BOUNDS_BOTH): Likewise.
13024 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13025 (RETURN_BOUNDED_POINTER): Likewise.
13026 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13027 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13028 (POP_ERRNO_LOCATION_RETURN): Likewise.
13029 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13030 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13031 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13032 macros.
13033 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13034 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13035 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13036 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13037 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13038 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13039 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13040 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13041 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13042 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13043 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13044 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13045 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13046 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13047 removed macros.
13048 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13049 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13050 macros.
13051 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13052 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13053 * sysdeps/i386/i586/memset.S (memset): Likewise.
13054 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13055 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13056 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13057 macros.
13058 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13059 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13060 Change uses of L(2) to L(out).
13061 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13062 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13063 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13064 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13065 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13066 removed macros.
13067 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13068 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13069 macros.
13070 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13071 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13072 (RETURN): Do not use macro LEAVE.
13073 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13074 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13075 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13076 * sysdeps/i386/i686/memset.S (memset): Likewise.
13077 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13078 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13079 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13080 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13081 Likewise.
13082 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13083 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13084 L(1_2) and L(1_3) into L(1).
13085 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13086 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13087 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13088 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13089 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13090 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13091 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13092 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13093 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13094 macros.
13095 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13096 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13097 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13098 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13099 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13100 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13101 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13102 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13103 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13104 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13105 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13106 * sysdeps/i386/strspn.S (strspn): Likewise.
13107 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13108 conditional code.
13109 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13110 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13111 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13112 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13113 L(1_3) into L(1_1).
13114 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13115 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13116 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13117 macros.
13118 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13119
2389741a
JJ
131202013-02-19 Jakub Jelinek <jakub@redhat.com>
13121
13122 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13123 macro.
13124
2016b3cd
SP
131252013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13126
e4f22324
SP
13127 * math/atest-exp.c (exp_mpn): Remove ROUND.
13128 * math/atest-exp2.c (exp_mpn): Likewise.
13129 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13130
2016b3cd
SP
13131 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13132 * stdlib/tst-tls-atexit-lib.c: Likewise.
13133 * stdlib/tst-tls-atexit.c: Likewise.
13134
4be9b544
MF
131352013-02-18 Mike Frysinger <vapier@gentoo.org>
13136
13137 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13138 and __attribute_alloc_size__.
13139
2f62b9ee
MF
131402013-02-18 Mike Frysinger <vapier@gentoo.org>
13141
13142 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13143 __attribute_alloc_size__.
13144 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13145 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13146
6ff444c4
MF
131472013-02-18 Mike Frysinger <vapier@gentoo.org>
13148
13149 * include/programs/xmalloc.h: New file.
13150 * catgets/gencat.c: Include it.
13151 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13152 * elf/pldd.c: Likewise.
13153 * iconv/iconv_charmap.c: Likewise.
13154 * iconv/iconvconfig.c: Likewise.
13155 * iconv/strtab.c: Likewise.
13156 * locale/programs/locale.c: Likewise.
13157 * locale/programs/localedef.h: Likewise.
13158 * locale/programs/simple-hash.c: Likewise.
13159 * nscd/nscd.h: Likewise.
13160 * nss/makedb.c: Likewise.
13161 * sysdeps/generic/ldconfig.h: Likewise.
13162
be179c8a
SP
131632013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13164
ba384f6e
SP
13165 * Versions.def: Add GLIBC_2.18.
13166 * include/link.h (struct link_map): New member l_tls_dtor_count.
13167 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13168 (__call_tls_dtors): Likewise.
13169 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13170 __cxa_thread_atexit_impl.
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13172 Likewise.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13174 Likewise.
13175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13176 Likewise.
13177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13178 Likewise.
13179 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13181 Likewise.
13182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13183 Likewise.
13184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13186 Likewise.
13187 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13188 (tests): Add test case tst-tls-atexit.
13189 (modules-names): Add shared library for tst-tls-atexit.
85891aca 13190 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
13191 (GLIBC_PRIVATE): Add __call_tls_dtors.
13192 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13193 for libstdc++.
13194 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13195 * stdlib/tst-tls-atexit.c: New test case.
13196 * stdlib/tst-tls-atexit-lib.c: New test case.
13197
ffaa74cf 13198 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 13199
be179c8a
SP
13200 * elf/Versions (ld): Add _dl_find_dso_for_object.
13201 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13202 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13203 (dl_open_worker): Use _dl_find_dso_for_object.
13204 * elf/dl-sym.c (do_sym): Likewise.
13205 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13206
f78b5caa
AK
132072013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13208
13209 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13210 Syntactic changes only.
13211 (_dl_runtime_profile): Do a tail-call to the resolved function.
13212
29691210
JM
132132013-02-17 Joseph Myers <joseph@codesourcery.com>
13214
13215 [BZ #13550]
13216 * sysdeps/x86_64/bp-asm.h: Remove file.
13217 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13218 <bp-sym.h> and <bp-asm.h>.
13219 (__clone): Do not use BP_SYM.
13220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13221 <bp-sym.h> and <bp-asm.h>.
13222 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13223 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13224 "bp-asm.h".
13225 (_setjmp): Do not use BP_SYM.
13226 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13227 "bp-asm.h".
13228 (setjmp): Do not use BP_SYM.
13229 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13230 libc_hidden_def.
13231 (mempcpy): Do not use BP_SYM in weak_alias.
13232 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13233 "bp-asm.h".
13234 (strchr): Do not use BP_SYM.
13235 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13236 "bp-asm.h".
13237 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13238 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13239 (_start): Do not use BP_SYM.
13240 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13241 "bp-asm.h".
13242 (strcat): Do not use BP_SYM.
13243 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13244 "bp-asm.h".
13245 (STRCMP): Do not use BP_SYM.
13246 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13247 "bp-asm.h".
13248 (STRCPY): Do not use BP_SYM.
13249 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13250 "bp-asm.h".
13251 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13252 "bp-asm.h".
13253 (FUNCTION): Do not use BP_SYM.
13254 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13255 weak_alias.
13256 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13257
f238fd19
AJ
132582013-02-17 Andreas Jaeger <aj@suse.de>
13259
13260 * time/Versions: Sort entries.
13261 * string/Versions: Likewise.
13262 * resolv/Versions: Likewise.
13263 * posix/Versions: Likewise.
13264 * iconv/Versions: Likewise.
13265 * elf/Versions: Likewise.
13266 * wcsmbs/Versions: Likewise.
13267
bd07f23c 132682013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13269
22af19f9
SP
13270 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13271 loop termination condition.
13272
4709fe76
SP
13273 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13274 variable to calculate EZ.
13275 (__sqr): Likewise.
2d0e0f29
SP
13276
13277 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13278 the lower precision input.
13279
daaa7713
JM
132802013-02-15 Joseph Myers <joseph@codesourcery.com>
13281
13282 [BZ #13550]
13283 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13284 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13285 (run-via-rtld-prefix): Do not handle %-bp tests.
13286 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13287 (all-object-suffixes): Remove .ob.
13288 (bppfx): Remove variable.
13289 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13290 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13291 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13292 [$(build-bounded) = yes] (libtype.ob): Likewise.
13293 * Makerules (elide-routines.ob): Remove variable.
13294 (do-tests-clean): Do not handle *-bp.out.
13295 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13296 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13297 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13298 (tests): Do not include $(tests-bp.out).
13299 (xtests): Do not include $(xtests-bp.out).
13300 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13301 [$(build-bounded) = yes] ($(addprefix
13302 $(objpfx),$(binaries-bounded))): Remove rule.
13303 ($(objpfx)%-bp.out): Remove rule.
13304 * config.make.in (build-bounded): Remove variable.
13305 * crypt/Makefile [$(build-bounded) = yes]
13306 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13307 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13308 append to variable.
13309 [$(build-bounded) = yes] (install-lib): Likewise.
13310 [$(build-bounded) = yes] (generated): Likewise.
13311 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13312 Remove rule.
13313 * intl/Makefile [$(build-bounded) = yes]
13314 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13315 * math/Makefile [$(build-bounded) = yes]
13316 ($(tests:%=$(objpfx)%-bp): Likewise.
13317 * misc/Makefile [$(build-bounded) = yes]
13318 ($(objpfx)tst-tsearch-bp): Likewise.
13319 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13320 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13321 Remove dependency.
13322 * string/Makefile (o-objects.ob): Remove variable.
13323 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13324 (CFLAGS-.ob): Remove variable.
13325 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13326 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13327 both definitions of variable.
13328 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13329 (ASFLAGS-.ob): Remove variable.
13330
e97ed6dd
JM
133312013-02-14 Joseph Myers <joseph@codesourcery.com>
13332
2bdd4ca6
JM
13333 [BZ #13550]
13334 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13335 Remove __BOUNDED_POINTERS__ from condition.
13336 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13337 * string/bits/string2.h [!__NO_STRING_INLINES &&
13338 !__BOUNDED_POINTERS__]: Likewise.
13339 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13340 Likewise.
13341 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13342 Remove conditional code.
13343 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13344 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13345 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13346 condition.
13347
e97ed6dd
JM
13348 [BZ #13550]
13349 * csu/libc-start.c: Do not include <bp-sym.h>.
13350 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13351 * elf/dl-open.c: Do not include <bp-sym.h>.
13352 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13353 * math/fegetenv.c: Do not include <bp-sym.h>.
13354 (fegetenv): Do not use BP_SYM in versioned symbols.
13355 * nptl/sysdeps/pthread/bits/libc-lockP.h
13356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13357 <bp-sym.h>.
13358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13359 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13361 (__pthread_mutex_destroy): Likewise.
13362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13363 (__pthread_mutex_lock): Likewise.
13364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13365 (__pthread_mutex_trylock): Likewise.
13366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13367 (__pthread_mutex_unlock): Likewise.
13368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13369 (__pthread_mutexattr_init): Likewise.
13370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13371 (__pthread_mutexattr_destroy): Likewise.
13372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13373 (__pthread_mutexattr_settype): Likewise.
13374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13375 (__pthread_rwlock_init): Likewise.
13376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13377 (__pthread_rwlock_destroy): Likewise.
13378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13379 (__pthread_rwlock_rdlock): Likewise.
13380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13381 (__pthread_rwlock_tryrdlock): Likewise.
13382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13383 (__pthread_rwlock_wrlock): Likewise.
13384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13385 (__pthread_rwlock_trywrlock): Likewise.
13386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13387 (__pthread_rwlock_unlock): Likewise.
13388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13389 (__pthread_key_create): Likewise.
13390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13391 (__pthread_setspecific): Likewise.
13392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13393 (__pthread_getspecific): Likewise.
13394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13395 Likewise.
13396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13397 (_pthread_cleanup_push_defer): Likewise.
13398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13399 (_pthread_cleanup_pop_restore): Likewise.
13400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13401 (pthread_setcancelstate): Likewise.
13402 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13403 <bp-sym.h>.
13404 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13405 (memchr): Do not use BP_SYM in weak_alias.
13406 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13407 (fegetenv): Do not use BP_SYM in versioned symbols.
13408 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13409 (fesetenv): Do not use BP_SYM in versioned symbols.
13410 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13411 (feupdateenv): Do not use BP_SYM in versioned symbols.
13412 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13413 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13414 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13415 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13416 (open64): Do not use BP_SYM in weak_alias.
13417 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13418 (fegetenv): Do not use BP_SYM in versioned symbols.
13419 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13420 (fesetenv): Do not use BP_SYM in versioned symbols.
13421 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13422 (feupdateenv): Do not use BP_SYM in versioned symbols.
13423 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13424 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13425 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13426 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13427 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13428 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13429 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13430 <bp-sym.h>.
13431 (__libc_start_main): Do not use BP_SYM.
13432
d6752ccd
SP
134332013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13434
cb57ce60
SP
13435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13436 redundant return line.
13437 (norm): Likewise.
13438 (denorm): Likewise.
13439 (dbl_mp): Likewise.
13440 (sub_magnitudes): Likewise.
13441 (__add): Likewise.
13442 (__sub): Likewise.
13443 (__mul): Likewise.
13444 (__inv): Likewise.
13445 (__dvd): Likewise.
13446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13447 (norm): Likewise.
13448 (denorm): Likewise.
13449 (dbl_mp): Likewise.
13450 (sub_magnitudes): Likewise.
13451 (__add): Likewise.
13452 (__sub): Likewise.
13453 (__mul): Likewise.
13454 (__inv): Likewise.
13455 (__dvd): Likewise.
13456
f414520d
SP
13457 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13458 instead of __mul.
13459 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13460 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13461 (cc32): Likewise.
13462
d6752ccd
SP
13463 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13464 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13466 of __mul for squares.
13467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13468 function
13469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13470 Likewise.
13471 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13472 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13473
70d9946a
JM
134742013-02-13 Joseph Myers <joseph@codesourcery.com>
13475
13476 [BZ #13550]
13477 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13478 code.
13479 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13480 prototype or function definition. Rename ubp_* variables and
13481 parameters. Remove argv definitions conditional on
13482 [__BOUNDED_POINTERS__].
13483 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13484 * elf/dl-runtime.c (_dl_fixup): Likewise.
13485 * include/set-hooks.h (RUN_HOOK): Likewise.
13486 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13487 definition.
13488 * string/strcpy.c (strcpy): Do not use __unbounded.
13489 * sysdeps/generic/frame.h (struct layout): Likewise.
13490 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13491 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13492 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13493 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13494 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13495 (__backtrace): Likewise.
13496 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13497 use __ptrvalue.
13498 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13499 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13500 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13501 Likewise.
13502 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13503 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13504 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13505 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13506 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13507 Do not use __unbounded.
13508 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13509 Rename __unboundedrlimits parameter to rlimits in prototype.
13510 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13511 Do not use __unbounded.
13512 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13513 not use __ptrvalue.
13514 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13515 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13516 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13517 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13518 __ptrvalue or __unbounded.
13519 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13520 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13521 use __unbounded.
13522 (__new_msgctl): Do not use __ptrvalue.
13523 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13524 __unbounded.
13525 (__libc_msgrcv): Do not use __ptrvalue.
13526 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13527 startup_info): Do not use __unbounded.
13528 (__libc_start_main): Likewise. Rename ubp_* variables and
13529 parameters. Remove argv definitions conditional on
13530 [__BOUNDED_POINTERS__].
13531 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13532 __ptrvalue.
13533 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13534 use __unbounded.
13535 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13536 or __ptrvalue.
13537 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13538 use __unbounded.
13539 (__new_shmctl): Do not use __ptrvalue.
13540 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13541 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13542 Likewise.
13543 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13544 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13545 (__libc_sigaction): Likewise.
13546 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13547 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13548 Likewise.
13549 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13550
cc7834d6
OB
135512013-02-13 Ondřej Bílka <neleai@seznam.cz>
13552
ffb1ec7b 13553 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13554
13555 * string/mempcpy.c: Implement by calling memcpy.
13556
bdf02814
SP
135572013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13558
c2af38aa
SP
13559 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13560
4e92d59e
SP
13561 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13562 evaluation.
13563
909279a5
SP
13564 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13565 values in the mantissa.
13566
bdf02814
SP
13567 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13568 minimize writes to Z.
13569 (sub_magnitudes): Simplify code a bit.
13570
cd525923
RM
135712013-02-12 Roland McGrath <roland@hack.frob.com>
13572
13573 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13574 from the message. The linker prefixes all warnings with that already.
13575
7e2f0d2d
AS
135762013-02-12 Andreas Schwab <schwab@suse.de>
13577
a445af0b
AS
13578 [BZ #15078]
13579 * posix/regexec.c (extend_buffers): Add parameter min_len.
13580 (check_matching): Pass minimum needed length.
13581 (clean_state_log_if_needed): Likewise.
13582 (get_subexp): Likewise.
13583 * posix/Makefile (tests): Add bug-regex34.
13584 (bug-regex34-ENV): Define.
13585 * posix/bug-regex34.c: New file.
13586
7e2f0d2d
AS
13587 [BZ #11561]
13588 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13589 elements compare against the byte sequence of it, not its name.
13590 * posix/Makefile (tests): Add bug-regex35.
13591 (bug-regex35-ENV): Define.
13592 * posix/bug-regex35.c: New file.
13593
a175b684
TV
135942013-02-11 Tom de Vries <tom@codesourcery.com>
13595
13596 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13597 comment.
13598 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13599 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13600 (CHECK_EOL): Add undef.
13601
310998fe 136022013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13603
13604 * bits/stdlib-bsearch.h: New file.
13605 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13606 * stdlib/stdlib.h: Likewise.
41eda41d 13607
8ded91fb
RM
136082013-02-11 Roland McGrath <roland@hack.frob.com>
13609
13610 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13611 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13612 declaration.
13613 * manual/search.texi (Array Search Function): Add missing const in
13614 lfind prototype.
13615 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13616 declaration to use rlim_t.
13617 (Basic Scheduling Functions): Remove erroneous const from
13618 sched_getparam prototype. Remove erroneous * from
13619 sched_get_priority_max and sched_get_priority_min prototypes.
13620 (Resource Usage): Fix summary @comment on vtimes to refer to
13621 sys/vtimes.h rather than vtimes.h.
13622 Add missing *s in vtimes prototype.
13623 (Limits on Resources): Fix ulimit prototype to return long int.
13624 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13625 prototypes to use long int rather than double.
13626 (BSD Random): Fix initstate and setstate to use char *, not void *.
13627 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13628 prototype to make second argument 'struct aiocb64 *const[]'.
13629 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13630 (Status of AIO Operations): Remove erroneous const in aio_return and
13631 aio_return64 prototypes.
13632 (Synchronizing I/O): Fix sync prototype to return void.
13633 * manual/startup.texi (Suboptions): Remove an erroneous const in
13634 getsubopt prototype.
13635 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13636 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13637 use size_t rather than int.
13638 (Scanning All Users): Likewise for getpwent_r.
13639 (Setting Groups): Add missing const to setgroups prototype.
13640 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13641 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13642 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13643 'const void *' rather than 'const char *'.
13644 (Host Address Functions): Likewise for inet_ntop.
13645 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13646 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13647 ssize_t for return value.
13648 (Sending Data): Likewise for send, sendto, sendmsg.
13649 (Socket Option Functions): Add a missing const in setsockopt prototype.
13650 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13651 use wchar_t for the argument.
13652 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13653 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13654 take no arguments.
13655 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13656 double/float/long double for second argument.
13657 Fix return types of significand, significandf, significandl.
13658 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13659 argument in fchmod prototype.
13660 (File Owner): Use uid_t and gid_t in fchown prototype.
13661 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13662 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13663 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13664 use 'const struct dirent **' as argument types to CMP function pointer
13665 argument.
13666 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13667 (File Times): Fix summary magic @comment for struct utimbuf and utime
13668 to refer to utime.h, not time.h.
13669 * manual/string.texi (Argz Functions): Add missing const in
13670 argz_extract and argz_next prototypes.
13671 (Finding Tokens in a String): Likewise for basename.
13672 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13673 (Copying and Concatenation): Fix typo in wmemmove prototype.
13674 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13675 (Signal Stack): Remove erroneous const in sigstack prototype.
13676 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13677 prototype.
13678 (Simple Calendar Time): Likewise for stime.
13679 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13680 prototype.
13681 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13682 say sys/sysctl.h instead.
13683 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13684 and vsyslog prototypes.
13685
fe77fe6d
TV
136862013-02-11 Tom de Vries <tom@codesourcery.com>
13687
13688 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13689 Remove.
13690
3a09b620
RM
136912013-02-11 Roland McGrath <roland@hack.frob.com>
13692
13693 * misc/sys/mman.h: Fix typo in mremap comment.
13694
550a0b89
RM
136952013-02-08 Roland McGrath <roland@hack.frob.com>
13696
13697 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13698 the '\0' terminator.
13699
a2da1673
JM
137002013-02-08 Joseph Myers <joseph@codesourcery.com>
13701
13702 [BZ #13550]
13703 * debug/segfault.c: Don't include <bp-checks.h>.
13704 * sysdeps/generic/bp-checks.h: Remove file.
13705 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13706 (__GETDENTS): Don't use CHECK_N.
13707 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13708 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13709 (__getgroups): Don't use CHECK_N.
13710 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13711 (setgroups): Don't use CHECK_N.
13712 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13713 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13714 (__libc_msgrcv): Don't use CHECK_N.
13715 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13716 (__libc_msgsnd): Don't use CHECK_N.
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13718 <bp-checks.h>.
13719 (__libc_pread): Don't use CHECK_N.
13720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13721 include <bp-checks.h>.
13722 (__libc_pread64): Don't use CHECK_N.
13723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13724 include <bp-checks.h>.
13725 (__libc_pwrite): Don't use CHECK_N.
13726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13727 include <bp-checks.h>.
13728 (__libc_pwrite64): Don't use CHECK_N.
13729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13730 <bp-checks.h>.
13731 (__libc_pread): Don't use CHECK_N.
13732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13733 include <bp-checks.h>.
13734 (__libc_pread64): Don't use CHECK_N.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13736 include <bp-checks.h>.
13737 (__libc_pwrite): Don't use CHECK_N.
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13739 include <bp-checks.h>.
13740 (__libc_pwrite64): Don't use CHECK_N.
13741 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13742 (do_pread): Don't use CHECK_N.
13743 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13744 (do_pread64): Don't use CHECK_N.
13745 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13746 (do_pwrite): Don't use CHECK_N.
13747 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13748 (do_pwrite64): Don't use CHECK_N.
13749 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13750 (__libc_readv): Don't use CHECK_N.
13751 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13752 (semop): Don't use CHECK_N.
13753 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13754 <bp-checks.h>.
13755 (semtimedop): Don't use CHECK_N.
13756 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13757 (__libc_pread): Don't use CHECK_N.
13758 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13759 <bp-checks.h>.
13760 (__libc_pread64): Don't use CHECK_N.
13761 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13762 <bp-checks.h>.
13763 (__libc_pwrite): Don't use CHECK_N.
13764 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13765 <bp-checks.h>.
13766 (__libc_pwrite64): Don't use CHECK_N.
13767 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13768 <bp-checks.h>.
13769 (__libc_msgrcv): Don't use CHECK_N.
13770 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13771 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13772 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13773 (__libc_writev): Don't use CHECK_N.
13774
b84660a8
RM
137752013-02-08 Roland McGrath <roland@hack.frob.com>
13776
7f3e75f8
RM
13777 * string/strcpy.c: Removed unused variable.
13778
b84660a8
RM
13779 * Makeconfig (+sysdep-includes): Define with := rather than =.
13780 Use an existing include/ subdir of each sysdeps dir before it.
13781
471514d3
CD
137822013-02-08 Carlos O'Donell <carlos@redhat.com>
13783
13784 * nscd/connection.c (register_traced_file): Comment function.
13785 [HAVE_INOTIFY] (union __inev): Define.
13786 [HAVE_INOTIFY] (inotify_check_files): New function.
13787 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13788 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13789 clear_db_cache.
13790 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13791
b2d3c3be
CD
137922013-02-08 Carlos O'Donell <carlos@redhat.com>
13793
13794 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13795 loaded if not already and that a failure is permanent.
13796
b39949d2
CD
137972013-02-08 Carlos O'Donell <carlos@redhat.com>
13798
ddacd1db 13799 [BZ #15006]
b39949d2
CD
13800 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13801 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13802
b2c9eff4
JM
138032013-02-08 Joseph Myers <joseph@codesourcery.com>
13804
f3aae3f3
JM
13805 [BZ #13550]
13806 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13807 (CHECK_1_NULL_OK): Likewise.
13808 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13809 (__fxstat): Do not use CHECK_1.
13810 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13811 <bp-checks.h>.
13812 (___fxstat64): Do not use CHECK_1.
13813 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13814 <bp-checks.h>.
13815 (__fxstatat): Do not use CHECK_1.
13816 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13817 <bp-checks.h>.
13818 (__fxstatat64): Do not use CHECK_1.
13819 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13820 <bp-checks.h>.
13821 (__fxstat): Do not use CHECK_1.
13822 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13823 <bp-checks.h>.
13824 (__fxstatat): Do not use CHECK_1.
13825 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13826 <bp-checks.h>.
13827 (__getresgid): Do not use CHECK_1.
13828 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13829 <bp-checks.h>.
13830 (__getresuid): Do not use CHECK_1.
13831 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13832 <bp-checks.h>.
13833 (__lxstat): Do not use CHECK_1.
13834 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13835 <bp-checks.h>.
13836 (__old_msgctl): Do not use CHECK_1.
13837 (__new_msgctl): Likewise.
13838 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13839 <bp-checks.h>.
13840 (__new_setrlimit): Do not use CHECK_1.
13841 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13842 <bp-checks.h>.
13843 (__old_shmctl): Do not use CHECK_1.
13844 (__new_shmctl): Likewise.
13845 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13846 <bp-checks.h>.
13847 (__xstat): Do not use CHECK_1.
13848 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13849 (__lxstat): Do not use CHECK_1.
13850 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13851 <bp-checks.h>.
13852 (___lxstat64): Do not use CHECK_1.
13853 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13854 (__old_msgctl): Do not use CHECK_1.
13855 (__new_msgctl): Likewise.
13856 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13857 <bp-checks.h>.
13858 (__gettimeofday): Do not use CHECK_1.
13859 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13860 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13861 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13862 <bp-checks.h>.
13863 (__gettimeofday): Do not use CHECK_1.
13864 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13865 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13866 (__new_shmctl): Do not use CHECK_1.
13867 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13868 <bp-checks.h>.
13869 (do_sigtimedwait): Do not use CHECK_1.
13870 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13871 <bp-checks.h>.
13872 (do_sigwaitinfo): Do not use CHECK_1.
13873 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13874 <bp-checks.h>.
13875 (msgctl): Do not use CHECK_1.
13876 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13877 <bp-checks.h>.
13878 (shmctl): Do not use CHECK_1.
13879 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13880 (ustat): Do not use CHECK_1.
13881 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13882 <bp-checks.h>.
13883 (__fxstat): Do not use CHECK_1.
13884 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13885 <bp-checks.h>.
13886 (__fxstatat): Do not use CHECK_1.
13887 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13888 <bp-checks.h>.
13889 (__lxstat): Do not use CHECK_1.
13890 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13891 <bp-checks.h>.
13892 (__xstat): Do not use CHECK_1.
13893 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13894 (__xstat): Do not use CHECK_1.
13895 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13896 (___xstat64): Do not use CHECK_1.
13897
b2c9eff4
JM
13898 [BZ #13550]
13899 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13900 definitions.
13901 (CHECK_BOUNDS_HIGH): Likewise.
13902 * string/strcpy.c: Do not include <bp-checks.h>.
13903 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13904
f1d70dad
RM
139052013-02-07 Roland McGrath <roland@hack.frob.com>
13906
13907 * nscd/nscd-client.h (__nscd_drop_map_ref):
13908 Add __attribute__ ((unused)).
13909 * nis/nss-nisplus.h (niserr2nss): Likewise.
13910
13911 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13912 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13913
13914 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13915 Remove inline keyword.
13916 * include/rounding-mode.h (round_away): Likewise.
13917 * libio/wfileops.c (adjust_wide_data): Likewise.
13918 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13919 (__m128i_strloadu_tolower): Likewise.
13920 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13921 (__m128i_strloadu_tolower): Likewise.
13922 * time/mktime.c (ydhms_diff): Likewise.
13923 * locale/elem-hash.h (elem_hash): Likewise.
13924 * locale/setlocale.c (setdata): Likewise.
13925 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13926 (re_string_wchar_at): Likewise.
13927 (bitset_not, bitset_merge, bitset_mask): Likewise.
13928 [!(__GNUC__ > 3)] (inline): Remove macro.
13929 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13930 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13931 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13932 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13933 * string/memcmp.c (memcmp_bytes): Likewise.
13934 * locale/programs/locarchive.c (compute_hashval): Likewise.
13935 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13936 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13937 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13938 * nss/getent.c (print_rpc, print_protocols): Likewise.
13939 (print_passwd, print_group, print_aliases): Likewise.
13940 * nis/nss-nisplus.h (niserr2nss): Likewise.
13941 * nscd/connections.c (restart_p): Likewise.
13942 Change return type to bool.
13943
eab55bfb
RM
139442013-02-05 Roland McGrath <roland@hack.frob.com>
13945
7bd642f5
RM
13946 * Makeconfig (all-Depend-files): Add existing
13947 $(sorted-subdirs:=/Depend) files.
13948 (all-subdirs): Remove nss.
13949 * sysdeps/unix/inet/Subdirs: Add it here instead.
13950 * hesiod/Depend: New file.
13951
573c29b2
RM
13952 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13953 instead of calling alloca.
13954
b2e25af0
RM
13955 * io/lseek.c (__lseek): Rename to __libc_lseek.
13956 Define __lseek as an alias.
13957
eab55bfb
RM
13958 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13959
9a0d1941
CD
139602013-02-04 Carlos O'Donell <carlos@redhat.com>
13961
13962 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13963 else clause and remove check for non-standard endianness.
13964
b83bbec4
DM
139652013-02-04 David S. Miller <davem@davemloft.net>
13966
13967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13968
6277fdab
JM
139692013-02-04 Joseph Myers <joseph@codesourcery.com>
13970
13971 [BZ #13550]
13972 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13973 (__ubp_memchr): Remove prototype.
13974 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13975 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13976 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13977 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13978 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13979 Remove alias.
13980 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13981 (__ubp_memchr): Likewise.
13982 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13983 (__ubp_memchr): Likewise.
13984 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13985 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13986 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13987 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13988 CHECK_STRING.
13989 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13990 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13991 (__getcwd): Do not use CHECK_STRING.
13992 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13993 <bp-checks.h>.
13994 (__real_chown): Do not use CHECK_STRING.
13995 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13996 <bp-checks.h>.
13997 (fchownat): Do not use CHECK_STRING.
13998 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13999 CHECK_STRING.
14000 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14001 <bp-checks.h>.
14002 (__lchown): Do not use CHECK_STRING.
14003 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14004 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14005 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14006 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14008 include <bp-checks.h>.
14009 (truncate64): Do not use CHECK_STRING.
14010 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14011 <bp-checks.h>.
14012 (__real_chown): Do not use CHECK_STRING.
14013 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14014 <bp-checks.h>.
14015 (__lchown): Do not use CHECK_STRING.
14016 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14017 <bp-checks.h>.
14018 (__chown): Do not use CHECK_STRING.
14019 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14020 <bp-checks.h>.
14021 (truncate64): Do not use CHECK_STRING.
14022 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14023 Likewise.
14024 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14025 (__xmknod): Do not use CHECK_STRING.
14026 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14027 <bp-checks.h>.
14028 (__xmknodat): Do not use CHECK_STRING.
14029 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14030 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14031
903ae060
AS
140322013-02-04 Andreas Schwab <schwab@suse.de>
14033
14034 [BZ #14142]
14035 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14036 * include/netdb.h: Likewise for h_errno.
14037 * elf/tst-stackguard1.c: Include <tls.h>.
14038
542f9466
JK
140392013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14040
14041 * elf/link.h (struct link_map): Extend the l_addr comment.
14042 * include/link.h (struct link_map): Likewise.
14043
e782a927
JM
140442013-02-01 Joseph Myers <joseph@codesourcery.com>
14045
14046 [BZ #13550]
14047 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14048 (BOUNDED_1): Remove macro.
14049 * debug/backtrace.c: Don't include <bp-checks.h>.
14050 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14051 (__backtrace): Likewise.
14052 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14053 <bp-checks.h>.
14054 (__backtrace): Don't use BOUNDED_1.
14055 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14056 <bp-checks.h>.
14057 (__backtrace): Don't use BOUNDED_1.
14058 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14059 (__backtrace): Don't use BOUNDED_1.
14060 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14061 (shmat): Don't use BOUNDED_N.
14062
8cf28c5e
JM
140632013-01-31 Joseph Myers <joseph@codesourcery.com>
14064
3a7ac8a0
JM
14065 [BZ #13550]
14066 * sysdeps/generic/bp-start.h: Remove file.
14067 * csu/libc-start.c: Don't include <bp-start.h>.
14068 (LIBC_START_MAIN): Set up __environ directly instead of using
14069 INIT_ARGV_and_ENVIRON.
14070 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14071 <bp-start.h>.
14072
f3499f95
JM
14073 [BZ #13550]
14074 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14075 definitions.
14076 (CHECK_FCNTL): Likewise.
14077 (CHECK_N_PAGES): Likewise.
14078
32a45bea
JM
14079 [BZ #13550]
14080 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14081 definitions.
14082 (CHECK_SIGSET_NULL_OK): Likewise.
14083 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14084 <bp-checks.h>.
14085 (sigpending): Don't use CHECK_SIGSET.
14086 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14087 <bp-checks.h>.
14088 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14089 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14090 <bp-checks.h>.
14091 (do_sigsuspend): Don't use CHECK_SIGSET.
14092 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14093 use CHECK_SIGSET.
14094 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14095 (do_sigwait): Don't use CHECK_SIGSET.
14096 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14097 use CHECK_SIGSET.
14098 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14099 include <bp-checks.h>.
14100 (sigpending): Don't use CHECK_SIGSET.
14101 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14102 include <bp-checks.h>.
14103 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14104 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14105 <bp-checks.h>.
14106 (sigpending): Don't use CHECK_SIGSET.
14107 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14108 <bp-checks.h>.
14109 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14110
2e8a5c8c
JM
14111 [BZ #13550]
14112 * sysdeps/generic/bp-semctl.h: Remove file.
14113 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14114 <bp-checks.h> and <bp-semctl.h>.
14115 (__old_semctl): Don't use CHECK_SEMCTL.
14116 (__new_semctl): Likewise.
14117 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14118 and <bp-semctl.h>.
14119 (__old_semctl): Don't use CHECK_SEMCTL.
14120 (__new_semctl): Likewise.
14121 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14122 <bp-checks.h> and <bp-semctl.h>.
14123 (__old_semctl): Don't use CHECK_SEMCTL.
14124 (__new_semctl): Likewise.
14125 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14126 <bp-checks.h> and <bp-semctl.h>.
14127 (semctl): Don't use CHECK_SEMCTL.
14128
c2d54929
JM
14129 [BZ #13550]
14130 * Makerules (elide-bp-thunks): Remove variable.
14131 (elide-routines.oS): Don't use $(elide-bp-thunks).
14132 (elide-routines.os): Likewise.
14133 (elide-routines.o): Likewise.
14134 (elide-routines.op): Likewise.
14135 (elide-routines.og): Likewise.
14136 (objects): Don't use $(bp-thunks).
14137 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14138 include.
14139 (common-generated): Do not add s-proto-bp.d.
14140 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14141 (int): Likewise.
14142 (typ): Likewise.
14143 Do not generate makefile rules for bounded-pointer thunks.
14144 * sysdeps/generic/bp-thunks.h: Remove file.
14145 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14146 * sysdeps/unix/s-proto-bp.S: Likewise.
14147
8cf28c5e
JM
14148 [BZ #15062]
14149 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14150 parts of result separately when argument is not close to line from
14151 -i to i and one part of argument is small.
14152 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14153 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14154 * math/libm-test.inc (cacos_test): Add more tests.
14155 (casin_test): Likewise.
14156 (casinh_test): Likewise.
14157 * sysdeps/i386/fpu/libm-test-ulps: Update.
14158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14159
c4e33b8d
DM
141602013-01-31 David S. Miller <davem@davemloft.net>
14161
14162 * po/de.po: Update from translation team.
14163
3b60b421
MK
141642013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14165
14166 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14167
bb931195
TS
141682013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14169
b5a5da23
TS
14170 * configure.in (_AC_PROG_CC_C89): New definition.
14171 * configure: Regenerate.
14172
bb931195
TS
14173 * configure.in (AC_PROG_CPP): New definition.
14174 * configure: Regenerate.
14175
8c53a12c
JM
141762013-01-23 Joseph Myers <joseph@codesourcery.com>
14177
14178 * debug/tst-backtrace.h: New file.
14179 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14180 (ret): Remove variable.
14181 (x): Likewise.
14182 (FAIL): Remove macro.
14183 (NO_INLINE): Likewise.
14184 (fn1): Use match function instead of strstr.
14185 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14186 (ret): Remove variable.
14187 (x): Likewise.
14188 (FAIL): Remove macro.
14189 (NO_INLINE): Likewise.
14190 (fn): Use match function instead of strstr.
14191 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14192 (ret): Remove variable.
14193 (x): Likewise.
14194 (FAIL): Remove macro.
14195 (NO_INLINE): Likewise.
14196 (handle_signal): Use match function instead of strstr.
14197 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14198 (ret): Remove variable.
14199 (x): Likewise.
14200 (FAIL): Remove macro.
14201 (NO_INLINE): Likewise.
14202 (handle_signal): Use match function instead of strstr.
14203
4858fa2a
RM
142042013-01-23 Roland McGrath <roland@hack.frob.com>
14205
14206 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14207
bae8e7f5
DM
142082013-01-23 David S. Miller <davem@davemloft.net>
14209
14210 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14211 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14212 argument of CAS if possible.
14213 * sysdeps/sparc/sparc64/bits/atomic.h
14214 (__arch_compare_and_exchange_val_32_acq): Likewise.
14215 (__arch_compare_and_exchange_val_64_acq): Likewise.
14216
9cbbc4ae
PT
142172013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14218
14219 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14220 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14221 Include <limits.h>.
67b3f58c 14222 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14223
5655a0b5
AC
142242013-01-23 Adam Conrad <adconrad@0c3.net>
14225
14226 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14227 (LDFLAGS-tst-array5): Likewise.
14228
052aff95
JM
142292013-01-23 Joseph Myers <joseph@codesourcery.com>
14230
14231 [BZ #15036]
14232 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14233 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14234 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14235 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14236
7c1e01aa
DM
142372013-01-21 David S. Miller <davem@davemloft.net>
14238
14239 * sysdeps/sparc/backtrace.c: New file.
14240 * sysdeps/sparc/sparc32/backtrace.h: New file.
14241 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14242 * sysdeps/sparc/sparc64/backtrace.h: New file.
14243 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14244 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14245 -funwind-tables.
14246
ab087e0a
AS
142472013-01-21 Andreas Schwab <schwab@suse.de>
14248
14249 [BZ #15020]
14250 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14251 closed its stdout.
14252
ed689c2f
AS
142532013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14254
14255 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14256 "mpa2.h".
14257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14258
31d470ac
JM
142592013-01-18 Joseph Myers <joseph@codesourcery.com>
14260 Mark Mitchell <mark@codesourcery.com>
14261 Tom de Vries <tom@codesourcery.com>
14262 Paul Pluzhnikov <ppluzhnikov@google.com>
14263
14264 * debug/tst-backtrace2.c: New file.
14265 * debug/tst-backtrace3.c: Likewise.
14266 * debug/tst-backtrace4.c: Likewise.
14267 * debug/tst-backtrace5.c: Likewise.
14268 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14269 (CFLAGS-tst-backtrace3.c): Likewise.
14270 (CFLAGS-tst-backtrace4.c): Likewise.
14271 (CFLAGS-tst-backtrace5.c): Likewise.
14272 (LDFLAGS-tst-backtrace2): Likewise.
14273 (LDFLAGS-tst-backtrace3): Likewise.
14274 (LDFLAGS-tst-backtrace4): Likewise.
14275 (LDFLAGS-tst-backtrace5): Likewise.
14276 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14277 tst-backtrace4 and tst-backtrace5.
14278
90567f30 142792013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14280 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14281
14282 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14283 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14284 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14285 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14287 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14288 "+r" and remove output regs list as redundant. Add explicit inline
14289 asm to specify register of return val to work around compiler codegen
14290 bug. Remove (int) cast on return value. Add return type parameter to
14291 use in macro so that this macro does not truncate return value for
14292 64-bit values.
14293 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14294 pass to INTERNAL_VSYSCALL_NCS.
14295 (INLINE_VSYSCALL): Add 'long int' as return type to
14296 INTERNAL_VSYSCALL_NCS macro invocation.
14297 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14298 INTERNAL_VSYSCALL_NCS macro invocation.
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14300
d3b9ea61
SP
143012013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14302
0b57daeb
SP
14303 [BZ #14496]
14304 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14305 Fix application of SIMD FP exception mask.
14306
caa99d06
SP
14307 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14308 mp_no from a power of two.
14309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14310 __mpexp_twomm1. Use __pow_mp.
14311
d3b9ea61
SP
14312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14313 multiplication.
14314
1dbaee3c
DM
143152013-01-17 David S. Miller <davem@davemloft.net>
14316
14317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14318
728d7b43
JM
143192013-01-17 Joseph Myers <joseph@codesourcery.com>
14320
14321 [BZ #15023]
14322 * include/complex.h: Condition contents on [!_COMPLEX_H].
14323 (__kernel_casinhf): New prototype.
14324 (__kernel_casinh): Likewise.
14325 (__kernel_casinhl): Likewise.
14326 * math/Makefile (libm_calls): Add k_casinh.
14327 * math/k_casinh.c: New file.
14328 * math/k_casinhf.c: Likewise.
14329 * math/k_casinhl.c: Likewise.
14330 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14331 finite nonzero arguments.
14332 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14333 finite nonzero arguments.
14334 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14335 finite nonzero arguments.
14336 * math/s_casinh.c: Do not include <float.h>.
14337 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14338 * math/s_casinhf.c: Do not include <float.h>.
14339 (__casinhf): Move code for finite nonzero arguments to
14340 k_casinhf.c.
14341 * math/s_casinhl.c: Do not include <float.h>.
14342 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14343 redefine.
14344 (__casinhl): Move code for finite nonzero arguments to
14345 k_casinhl.c.
14346 * math/libm-test.inc (cacos_test): Add more tests.
14347 * sysdeps/i386/fpu/libm-test-ulps: Update.
14348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14349
2a26ef3a
PT
143502013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14351
14352 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14353 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14354 [!HAVE_MREMAP]: Remove [defined linux] case.
14355 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14356
a897655d
SP
143572013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14358
14359 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14360
881ebe89 143612013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14362
14363 * elf/elf.h (R_386_SIZE32): New relocation.
14364 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14365 R_386_SIZE32.
14366 (elf_machine_rela): Likewise.
14367 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14368 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14369
59981e9b
JM
143702013-01-17 Joseph Myers <joseph@codesourcery.com>
14371
14372 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14373 (FP_FAST_FMA): Do not define.
14374 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14375 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14376 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14377 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14378 !_SOFT_FLOAT]: Likewise.
14379 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14380 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14381 value.
14382 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14383 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14384 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14385 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14386 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14387 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14388 file.
14389
cfa8054f
AS
143902013-01-16 Andreas Schwab <schwab@suse.de>
14391
14392 [BZ #14327]
14393 * include/stdlib.h (__mktemp): Add declaration.
14394 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14395 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14396
dd930cc5
SP
143972013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14398
881ebe89
SP
14399 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14400 definitions.
14401 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14402 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14403 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14404 definitions here.
14405 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14406 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14407 definitions.
14408 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14409 and ONE.
14410 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14411 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14412 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14413 definitions.
14414 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14415 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14416 definitions.
14417 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14418
dd930cc5
SP
14419 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14420
c19a9f89
DM
144212013-01-15 David S. Miller <davem@davemloft.net>
14422
1aa61767
DM
14423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14424 trunc{,f} to libm-sysdep_routes.
14425 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14427 file.
14428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14430 file.
14431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14432 file.
14433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14435 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14436 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14437 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14438 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14439 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14440 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14441
c42d5e98
DM
14442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14443 nearbyint{,f} to libm-sysdep_routes.
14444 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14446 New file.
14447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14448 file.
14449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14450 New file.
14451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14452 file.
14453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14455 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14456 file.
14457 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14458 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14459 file.
14460 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14461 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14462 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14463
c19a9f89
DM
14464 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14465 libc_feholdexcept and libc_fesetenv.
14466
357679d2
MF
144672013-01-15 Mike Frysinger <vapier@gentoo.org>
14468
14469 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14470
65a82e3d
DM
144712013-01-14 David S. Miller <davem@davemloft.net>
14472
8b954ab9
DM
14473 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14474 (SPARC_ASM_VIS2_IFUNC): Likewise.
14475 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14477 use of 'siam' instruction.
14478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14479 Likewise.
14480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14481 Likewise.
14482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14483 Likewise.
14484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14486 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14489 file.
14490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14491 file.
14492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14493 file.
14494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14495 file.
14496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14499 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14501 new VIS2 routines.
14502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14505 Likewise.
14506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14508 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14511 routines to libm-sysdep_routines.
14512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14513
65a82e3d
DM
14514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14515 fdim/fdimf to libm-sysdep_routines.
14516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14517 file.
14518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14520 file.
14521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14524 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14525 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14526 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14527 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14528
e34ab705
SP
145292013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14530
2a91b573
SP
14531 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14532 to optimize copies.
14533
1066a534
SP
14534 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14537
e34ab705
SP
14538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14539 local variable MPTWO.
14540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14541 Likewise.
14542
aba5e596
MF
145432013-01-13 Mike Frysinger <vapier@gentoo.org>
14544
14545 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14546 GLOB_NOESCAPE.
14547
e557e9e5
MF
145482013-01-13 Mike Frysinger <vapier@gentoo.org>
14549
14550 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14551
0428cec9
MF
145522013-01-13 Mike Frysinger <vapier@gentoo.org>
14553
14554 * manual/pattern.texi (glob_t): Document gl_flags.
14555 (glob64_t): Likewise.
14556
8794a964
DM
145572013-01-11 David S. Miller <davem@davemloft.net>
14558
66438c3f
RM
14559 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14560 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14561 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14562 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14563 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14564 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14565 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14566 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14567 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14568 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14569 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14570 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14571 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14572
4ae4244d
DM
14573 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14574 sparc V9 rather than using V8 code.
14575 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14576 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14577
8794a964
DM
14578 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14579 Move to...
14580 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14581 Here.
14582
6270516e
RM
145832013-01-11 Roland McGrath <roland@hack.frob.com>
14584
14585 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14586 not in the main loop.
14587 * configure: Regenerated.
14588
6a57d931
JM
145892013-01-11 Joseph Myers <joseph@codesourcery.com>
14590
14591 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14592 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14593 to just #else.
14594 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14595 [!__GLIBC_HAVE_LONG_LONG] case.
14596 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14597 condition to just #else.
14598 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14599 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14600 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14601 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14602 unconditional.
14603 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14604 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14605 #elif condition to just #else.
14606 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14607 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14608 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14609 #elif condition to just #else.
14610
0e8529e9
SE
146112013-01-11 Steve Ellcey <sellcey@mips.com>
14612
14613 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14614 (EF_MIPS_ARCH_64): Fix value.
14615 (EF_MIPS_ARCH_32R2): New.
14616 (EF_MIPS_ARCH_64R2): New.
14617
740b3dbe
L
146182013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14619
14620 * Makeconfig (+link-pie-before-libc): New.
14621 (+link-pie-after-libc): Likewise.
14622 (+link-pie-tests): Likewise.
14623 (+link-pie): Rewritten.
14624 (link-before-libc): Remove $(config-LDFLAGS).
14625 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14626 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14627 (config-LDFLAGS): Renamed to ...
14628 (rtld-LDFLAGS): This.
14629 (rtld-tests-LDFLAGS): New macro.
14630 (link-libc-rpath-link): Likewise.
14631 (link-libc-tests-rpath-link): Likewise.
14632 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14633 (link-libc): Prepand $(link-libc-rpath-link).
14634 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14635 (test-program-prefix): New macro.
14636 (test-via-rtld-prefix): Likewise.
14637 (test-program-cmd): Likewise.
14638 (host-test-program-cmd): Likewise.
14639 * Makefile ($(common-objpfx)testrun.sh): Replace
14640 $(run-program-prefix) with $(test-program-prefix).
14641 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14642 $(rtld-LDFLAGS).
14643 ($(common-objpfx)shlib.lds): Likewise.
14644 (build-module-helper): Likewise.
14645 ($(common-objpfx)format.lds): Likewise.
14646 * Rules (binaries-pie-tests): New.
14647 (binaries-pie-notests): Likewise.
14648 (binaries-pie): Rewritten.
14649 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14650 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14651 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14652 (make-test-out): Replace $(host-built-program-cmd) with
14653 $(host-test-program-cmd).
14654 * config.make.in (build-hardcoded-path-in-tests): New variable.
14655 * configure.in (--enable-hardcoded-path-in-tests): New configure
14656 option.
14657 (hardcoded_path_in_tests): New AC_SUBST.
14658 * configure: Regenerated.
14659 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14660 $(built-program-cmd) with $(test-program-cmd).
14661 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14662 (test_program_cmd): This.
14663 * elf/Makefile ($(objpfx)order.out): Run test with
14664 $(test-program-prefix).
14665 ($(objpfx)order2.out): Likewise.
14666 ($(objpfx)tst-initorder.out): Likewise.
14667 ($(objpfx)tst-initorder2.out): Likewise.
14668 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14669 $(test-program-cmd).
14670 ($(objpfx)tst-array1-static.out): Likewise.
14671 ($(objpfx)tst-array2.out): Likewise.
14672 ($(objpfx)tst-array3.out): Likewise.
14673 ($(objpfx)tst-array4.out): Likewise.
14674 ($(objpfx)tst-array5.out): Likewise.
14675 ($(objpfx)tst-array5-static.out): Likewise.
14676 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14677 $(test-program-cmd).
14678 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14679 $(run-program-prefix) with $(test-program-prefix).
14680 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14681 (test_program_prefix): This.
14682 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14683 $(run-program-prefix) with $(test-program-prefix).
14684 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14685 (test_program_prefix): This.
14686 * iconvdata/tst-tables.sh: Likewise.
14687 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14688 $(run-program-prefix) with $(test-program-prefix).
14689 ($(objpfx)tst-translit.out): Likewise.
14690 ($(objpfx)tst-gettext2.out): Likewise.
14691 ($(objpfx)tst-gettext4.out): Likewise.
14692 ($(objpfx)tst-gettext6.out): Likewise.
14693 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14694 (test_program_prefix): This.
14695 * intl/tst-gettext2.sh: Likewise.
14696 * intl/tst-gettext4.sh Likewise.
14697 * intl/tst-gettext6.sh: Likewise.
14698 * intl/tst-translit.sh: Likewise.
14699 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14700 with $(test-program-cmd).
14701 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14702 $(run-program-prefix) with $(test-program-prefix).
14703 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14704 (test_program_prefix): This.
14705 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14706 $(run-program-prefix) with $(test-program-prefix).
14707 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14708 (test_program_prefix): This.
14709 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14710 * posix/Makefile ($(objpfx)globtest.out): Replace
14711 $(run-via-rtld-prefix) and $(test-wrapper) with
14712 $(test-program-prefix) and $(test-via-rtld-prefix).
14713 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14714 $(test-program-prefix).
14715 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14716 $(host-test-program-cmd).
14717 (tst-spawn-ARGS): Likewise.
14718 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14719 $(test-program-prefix).
14720 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14721 (test_via_rtld_prefix): This.
14722 (test_wrapper): Renamed to ...
14723 (test_program_prefix): This.
14724 (run_program_prefix): Replaced by test_program_prefix.
14725 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14726 (test_program_prefix): This.
14727 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14728 with $(host-test-program-cmd).
14729 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14730 $(run-program-prefix) with $(test-program-prefix).
14731 ($(objpfx)tst-printf.out): Likewise.
14732 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14733 $(test-program-cmd).
14734 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14735 (test_program_prefix): This.
14736 * stdio-common/tst-unbputc.sh: Likewise.
14737 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14738 $(run-program-prefix) with $(test-program-prefix).
14739 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14740 (test_program_prefix): This.
14741 * string/Makefile ($(objpfx)tst-svc.out): Replace
14742 $(built-program-cmd) with $(test-program-cmd).
14743
c6fe55cf
AJ
147442013-01-11 Andreas Jaeger <aj@suse.de>
14745
14746 [BZ #15003]
14747 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14748 value. Sync with Linux 3.7.
14749
9e6919c8
DM
147502013-01-10 David S. Miller <davem@davemloft.net>
14751
14752 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14753 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14754 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14755
1c9f1a02
RM
147562013-01-10 Roland McGrath <roland@hack.frob.com>
14757
14758 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14759 never set.
14760 * configure: Regenerated.
14761
b9de2dde
DM
147622013-01-10 David S. Miller <davem@davemloft.net>
14763
14764 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14765 sparc V9 rather than using V8 code.
14766 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14767 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14768
e7f68ef4
RM
147692013-01-10 Roland McGrath <roland@hack.frob.com>
14770
14771 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14772 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14773 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14774 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14775 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14776 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14777 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14778 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14779 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14780 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14781 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14782 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14783 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14784 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14785 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14786 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14787 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14788 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14789 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14790 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14791 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14792 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14793 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14794 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14795 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14796 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14797 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14798
5a47cc9c
DM
147992013-01-10 David S. Miller <davem@davemloft.net>
14800
14801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14802
4cf8f209
L
148032013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14804
14805 * posix/Makefile (tests-static): New variable.
14806 (tests): Add $(tests-static).
14807 (tst-exec-static-ARGS): New variable.
14808 (tst-spawn-static-ARGS): Likewise.
14809 * posix/tst-exec-static.c: New file.
14810 * posix/tst-spawn-static.c: Likewise.
14811 * posix/tst-exec.c: Support run directly.
14812 * posix/tst-spawn.c: Likewise.
14813
fed0faa1
JM
148142013-01-10 Joseph Myers <joseph@codesourcery.com>
14815
828beb13
JM
14816 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14817 long.
14818 * math/bits/mathcalls.h (llrint): Likewise.
14819 (llround): Likewise.
14820 * stdlib/stdlib.h (struct drand48_data): Likewise.
14821 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14822 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14823 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14824 Likewise.
14825 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14826 Likewise.
14827 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14828 (elf_greg_t): Likewise.
14829 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14830 (__jmp_buf): Likewise.
14831 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14832 definitions.
14833 (llrint): Likewise, for all definitions.
14834 (llrintl): Likewise.
14835
fed0faa1
JM
14836 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14837 Remove [__GNUC__] condition.
14838 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14839 condition to just [__USE_ISOC99].
14840 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14841
1a20cb20
L
148422013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14843
14844 [BZ #14200]
14845 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14846 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14847 defined.
14848 (_POSIX_V6_ILP32_OFF32): Likewise.
14849 (_XBS5_ILP32_OFF32): Likewise.
14850 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14851 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14852
751b85f7
SP
148532013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14854
7490eb81
SP
14855 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14856
751b85f7
SP
14857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14858 doubles __mpexp_twomm1. Adjust usage.
14859 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14860 Remove.
14861
988197f0
AS
148622013-01-10 Andreas Schwab <schwab@suse.de>
14863
14864 [BZ #14964]
14865 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14866 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14867
e83d7298
DM
148682013-01-09 David S. Miller <davem@davemloft.net>
14869
034ed64b 14870 [BZ #15003]
e83d7298
DM
14871 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14872 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14873 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14874 TCP_FASTOPEN): Define.
14875 (tcp_repair_opt): New structure.
14876 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14877 enum values.
14878 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14879 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14880 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14881 (tcp_cookie_transactions): New structure.
14882
d5e0b9bd
AB
148832013-01-09 Anton Blanchard <anton@samba.org>
14884
14885 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14886 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14887 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14888 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14889
0c07e3ea
JM
148902013-01-09 Joseph Myers <joseph@codesourcery.com>
14891
14892 * include/features.h (__USE_ANSI): Remove.
14893
232f7002
RM
148942013-01-09 Roland McGrath <roland@hack.frob.com>
14895
ad98e30c
RM
14896 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14897
232f7002
RM
14898 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14899
950c99ca
SP
149002013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14901
b5792741
SP
14902 * sysdeps/s390/fpu/libm-test-ulps: Update.
14903
47cf2278
SP
14904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14905
950c99ca
SP
14906 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14907 (__acr): Likewise.
14908 (__cpy): Likewise.
14909 (norm): Likewise.
14910 (denorm): Likewise.
14911 (__mp_dbl): Likewise.
14912 (__dbl_mp): Likewise.
14913 (add_magnitudes): Likewise.
14914 (sub_magnitudes): Likewise.
14915 (__add): Likewise.
14916 (__sub): Likewise.
14917 (__mul): Likewise.
14918 (__inv): Likewise.
14919 (__dvd): Likewise.
14920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14921 (__acr): Likewise.
14922 (__cpy): Likewise.
14923 (norm): Likewise.
14924 (denorm): Likewise.
14925 (__mp_dbl): Likewise.
14926 (__dbl_mp): Likewise.
14927 (add_magnitudes): Likewise.
14928 (sub_magnitudes): Likewise.
14929 (__add): Likewise.
14930 (__sub): Likewise.
14931 (__mul): Likewise.
14932 (__inv): Likewise.
14933 (__dvd): Likewise.
14934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14935 (__acr): Likewise.
14936 (__cpy): Likewise.
14937 (norm): Likewise.
14938 (denorm): Likewise.
14939 (__mp_dbl): Likewise.
14940 (__dbl_mp): Likewise.
14941 (add_magnitudes): Likewise.
14942 (sub_magnitudes): Likewise.
14943 (__add): Likewise.
14944 (__sub): Likewise.
14945 (__mul): Likewise.
14946 (__inv): Likewise.
14947 (__dvd): Likewise.
14948
eede9df9
JM
149492013-01-08 Joseph Myers <joseph@codesourcery.com>
14950
14951 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14952 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14953 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14954 2 && __USE_EXTERN_INLINES]: Likewise.
14955
c40ea3d9
AJ
149562013-01-08 Andreas Jaeger <aj@suse.de>
14957
14958 [BZ# 14985]
14959 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14960 Remove.
14961 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14962 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14963
2ccdea26
AB
149642013-01-07 Anton Blanchard <anton@samba.org>
14965
14966 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14967 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14968 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14969 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14970 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14971 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14972 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14973 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14975 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14976 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14977 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14978 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14979 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14980 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14981 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14982 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14983 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14984 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14985 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14986 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14987 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14988 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14989 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14990 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14991 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14992 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14993 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14994 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14995 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14996 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14998 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14999 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15000 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15001 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15002 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15003 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15004 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15005 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15006 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15008 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15009
a9708fed
JM
150102013-01-07 Joseph Myers <joseph@codesourcery.com>
15011
375607b9
JM
15012 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15013 (__MALLOC_PMT): Likewise.
15014 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15015 [__GNUC__], only on [_LIBC].
15016 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15017 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15018 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15019 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15020 forward declaration.
15021 (realloc_hook_ini): Likewise.
15022 (memalign_hook_ini): Likewise.
15023 (__libc_memalign): Do not use __MALLOC_PMT in variable
15024 declaration.
15025 (__libc_valloc): Likewise.
15026 (__libc_pvalloc): Likewise.
15027 (__libc_calloc): Likewise.
15028 (__posix_memalign): Likewise.
15029
a9708fed
JM
15030 [BZ #14996]
15031 * math/s_casinh.c: Include <float.h>.
15032 (__casinh): Do not do computation with squaring and square root
15033 for large arguments.
15034 * math/s_casinhf.c: Include <float.h>.
15035 (__casinhf): Do not do computation with squaring and square root
15036 for large arguments.
15037 * math/s_casinhl.c: Include <float.h>.
15038 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15039 (__casinhl): Do not do computation with squaring and square root
15040 for large arguments.
15041 * math/libm-test.inc (casin_test): Add more tests.
15042 (casinh_test): Likewise.
15043 * sysdeps/i386/fpu/libm-test-ulps: Update.
15044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15045
afec409a
L
150462013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15047
15048 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15049 (__x86_64_raw_data_cache_size): Likewise.
15050 (__x86_64_data_cache_size_half): Likewise.
15051 (__x86_64_raw_data_cache_size_half): Likewise.
15052 (__x86_64_shared_cache_size): Likewise.
15053 (__x86_64_raw_shared_cache_size): Likewise.
15054 (__x86_64_shared_cache_size_half): Likewise.
15055 (__x86_64_raw_shared_cache_size_half): Likewise.
15056 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15057 to ...
15058 (__x86_data_cache_size): This.
15059 (__x86_64_raw_data_cache_size): Renamed to ...
15060 (__x86_raw_data_cache_size): This.
15061 (__x86_64_data_cache_size_half): Renamed to ...
15062 (__x86_data_cache_size_half): This.
15063 (__x86_64_raw_data_cache_size_half): Renamed to ...
15064 (__x86_raw_data_cache_size_half): This.
15065 (__x86_64_shared_cache_size): Renamed to ...
15066 (__x86_shared_cache_size): This.
15067 (__x86_64_raw_shared_cache_size): Renamed to ...
15068 (__x86_raw_shared_cache_size): This.
15069 (__x86_64_shared_cache_size_half): Renamed to ...
15070 (__x86_shared_cache_size_half): This.
15071 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15072 (__x86_raw_shared_cache_size_half): This.
15073 * sysdeps/x86_64/memcpy.S: Updated.
15074 * sysdeps/x86_64/memset.S: Likewise.
15075 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15077 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15078
0b3986d0
DM
150792013-01-04 David S. Miller <davem@davemloft.net>
15080
15081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15082
e47686e9
AS
150832013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15084
d643bac1
AS
15085 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15086 1 to avoid redefinition warning.
15087 (__USE_GNU): Don't define.
15088 (init_signaling_nan): Protoize.
15089
e47686e9
AS
15090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15091
b18decba
SP
150922013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15093
fffb407f
SP
15094 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15096 (__cpymn): Likewise.
15097 (norm): Remove commented code.
15098 (denorm): Likewise.
15099 (__mp_dbl): Likewise.
15100 (__inv): Likewise.
15101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15102 (__cpymn): Likewise.
15103 (norm): Remove commented code.
15104 (denorm): Likewise.
15105 (__mp_dbl): Likewise.
15106 (__inv): Likewise.
15107
b18decba
SP
15108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15109 mp_no value for 1.0 and 2.0.
15110 (norm): Use RADIXI instead of radixi.d.
15111 (denorm): Likewise.
15112 (__mul): Use 0.0 instead of zero.d.
15113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15114 mp_no value for 1.0 and 2.0.
15115 (norm): Use RADIXI instead of radixi.d.
15116 (denorm): Likewise.
15117 (__mul): Use 0.0 instead of zero.d.
15118
cdc1c96f
JM
151192013-01-04 Joseph Myers <joseph@codesourcery.com>
15120
15121 [BZ #14994]
15122 * math/s_casinh.c (__casinh): Reduce finite argument to first
15123 quadrant then set signs of results at the end.
15124 * math/s_casinhf.c (__casinhf): Likewise.
15125 * math/s_casinhl.c (__casinhl): Likewise.
15126 * math/libm-test.inc (casin_test): Add more tests.
15127 (casinh_test): Likewise.
15128 * sysdeps/i386/fpu/libm-test-ulps: Update.
15129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15130
302913e1
SP
151312013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15132
6420d207
SP
15133 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15134
a9e48ab4
SP
15135 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15136
b7837264
SP
15137 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15138 declarations.
15139 (denorm): Likewise.
15140 (__mp_dbl): Likewise.
15141 (__inv): Likewise.
15142
f8af25d2
SP
15143 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15144 and adjust the header comment.
15145
302913e1
SP
15146 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15147 variable name from declaration.
15148
5d7dd1ca
L
151492013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15150
15151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15152 Initialize COMMON_CPUID_INDEX_7 element.
15153 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15154 (CPUID_RTM): Likewise.
15155 (HAS_RTM): Likewise.
15156 (COMMON_CPUID_INDEX_7): New enum.
15157
2f5f40f4
AS
151582013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15159
15160 [BZ #14981]
15161 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15162 size is zero, record memory as freed.
15163
4056f4a0
AJ
151642013-01-03 Andreas Jaeger <aj@suse.de>
15165
15166 * po/ia.po: Add new Interlingua translation.
15167
ab15736f 151682012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
15169
15170 * locale/programs/localedef.c: Fix description of '--posix' flag.
15171
568035b7
JM
151722013-01-02 Joseph Myers <joseph@codesourcery.com>
15173
e6898b8d
JM
15174 * NEWS: Update dates in second copyright notice.
15175 * README: Update copyright dates in example.
15176 * manual/libc.texinfo: Update copyright dates.
15177 * scripts/test-installation.pl: Update copyright date in --version
15178 output.
15179
0e2f9562
JM
15180 * hurd/ctty-input.c: Fix copyright notice formatting.
15181 * hurd/ctty-output.c: Likewise.
15182 * hurd/dtable.c: Likewise.
15183 * hurd/hurd-raise.c: Likewise.
15184 * hurd/hurdprio.c: Likewise.
15185 * hurd/msgportdemux.c: Likewise.
15186 * misc/sys/file.h: Likewise.
15187 * misc/sys/ioctl.h: Likewise.
15188 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15189 * sysdeps/mach/hurd/chdir.c: Likewise.
15190 * sysdeps/mach/hurd/fchdir.c: Likewise.
15191 * sysdeps/mach/hurd/rename.c: Likewise.
15192 * sysdeps/mach/hurd/rmdir.c: Likewise.
15193 * sysdeps/mach/hurd/seekdir.c: Likewise.
15194 * sysdeps/mach/hurd/setsid.c: Likewise.
15195 * sysdeps/posix/wait3.c: Likewise.
15196
568035b7
JM
15197 * All files with FSF copyright notices: Update copyright dates
15198 using scripts/update-copyrights.
15199 * intl/plural.c: Regenerated.
15200 * locale/programs/charmap-kw.h: Likewise.
15201 * locale/programs/locfile-kw.h: Likewise.
15202
da08f647
SP
152032013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15204
0f5477af
SP
15205 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15206 four values.
15207
44e0d4c2
SP
15208 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15209 calculation loop and add branch prediction.
15210
4d55b4e5
SP
15211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15212 check access beyond bounds of m1np.
15213
da08f647
SP
15214 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15215 MPTWO.
15216 (__inv): Remove local variable MPTWO to use the global
15217 constant.
15218 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15219 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15220 variable MPTWO.
15221 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15222 MP3HALFS static const.
15223
8e051029
DM
152242013-01-01 David S. Miller <davem@davemloft.net>
15225
15226 * po/ca.po: Update from translation team.
15227
f4cf5f2d
JM
152282013-01-01 Joseph Myers <joseph@codesourcery.com>
15229
15230 * scripts/update-copyrights: New file.
15231 * Makeconfig: Reformat copyright notice.
15232 * ctype/ctype.h: Likewise.
15233 * debug/swprintf_chk.c: Likewise.
15234 * elf/dl-cache.c: Likewise.
15235 * elf/dl-debug.c: Likewise.
15236 * elf/dl-object.c: Likewise.
15237 * grp/initgroups.c: Likewise.
15238 * hurd/Makefile: Likewise.
15239 * hurd/hurd/signal.h: Likewise.
15240 * hurd/hurdfault.c: Likewise.
15241 * hurd/hurdioctl.c: Likewise.
15242 * hurd/hurdlookup.c: Likewise.
15243 * hurd/intr-msg.c: Likewise.
15244 * iconv/gconv_open.c: Likewise.
15245 * libio/swprintf.c: Likewise.
15246 * locale/lc-ctype.c: Likewise.
15247 * locale/nl_langinfo.c: Likewise.
15248 * mach/Machrules: Likewise.
15249 * mach/Makefile: Likewise.
15250 * malloc/obstack.h: Likewise.
15251 * manual/Makefile: Likewise.
15252 * manual/tsort.awk: Likewise.
15253 * misc/bits/stab.def: Likewise.
15254 * nis/nis_print_group_entry.c: Likewise.
15255 * nis/nis_table.c: Likewise.
15256 * nis/nss_compat/compat-pwd.c: Likewise.
15257 * nis/nss_compat/compat-spwd.c: Likewise.
15258 * po/Makefile: Likewise.
15259 * posix/fnmatch.c: Likewise.
15260 * posix/regex.h: Likewise.
15261 * resolv/Makefile: Likewise.
15262 * resolv/nss_dns/dns-network.c: Likewise.
15263 * resolv/res_hconf.c: Likewise.
15264 * scripts/gen-sorted.awk: Likewise.
15265 * soft-fp/soft-fp.h: Likewise.
15266 * stdio-common/printf.h: Likewise.
15267 * stdlib/monetary.h: Likewise.
15268 * stdlib/random.c: Likewise.
15269 * stdlib/random_r.c: Likewise.
15270 * sysdeps/generic/Makefile: Likewise.
15271 * sysdeps/gnu/Makefile: Likewise.
15272 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15273 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15274 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15276 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15279 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15280 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15281 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15282 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15283 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15284 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15285 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15286 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15287 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15288 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15289 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15290 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15291 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15292 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15294 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15295 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15296 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15297 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15298 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15299 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15300 * sysdeps/mach/hurd/errnos.awk: Likewise.
15301 * sysdeps/mach/hurd/fork.c: Likewise.
15302 * sysdeps/mach/hurd/getcwd.c: Likewise.
15303 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15304 * sysdeps/mach/hurd/mmap.c: Likewise.
15305 * sysdeps/mach/hurd/utimes.c: Likewise.
15306 * sysdeps/mach/hurd/xmknod.c: Likewise.
15307 * sysdeps/posix/profil.c: Likewise.
15308 * sysdeps/posix/readdir_r.c: Likewise.
15309 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15310 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15311 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15312 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15314 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15315 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15316 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15318 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15319 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15320 * sysdeps/pthread/lio_listio.c: Likewise.
15321 * sysdeps/sparc/dl-procinfo.h: Likewise.
15322 * sysdeps/unix/i386/sysdep.S: Likewise.
15323 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15324 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15325 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15326 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15328 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15329 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15330 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15331 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15332 * sysdeps/wordsize-32/divdi3.c: Likewise.
15333 * time/sys/time.h: Likewise.
15334 * wcsmbs/Makefile: Likewise.
15335
0549fbba
DM
153362013-01-01 David S. Miller <davem@davemloft.net>
15337
a141f1a7
DM
15338 * po/fr.po: Update from translation team.
15339
0549fbba
DM
15340 * catgets/gencat.c: Update copyright year.
15341 * csu/version.c: Likewise.
15342 * debug/catchsegv.sh: Likewise.
15343 * debug/pcprofiledump.c: Likewise.
15344 * debug/xtrace.sh: Likewise.
15345 * elf/ldconfig.c: Likewise.
15346 * elf/ldd.bash.in: Likewise.
15347 * elf/pldd.c: Likewise.
15348 * elf/sotruss.ksh: Likewise.
15349 * elf/sprof.c: Likewise.
15350 * iconv/iconv_prog.c: Likewise.
15351 * iconv/iconvconfig.c: Likewise.
15352 * locale/programs/locale.c: Likewise.
15353 * locale/programs/localedef.c: Likewise.
15354 * login/programs/pt_chown.c: Likewise.
15355 * malloc/memusage.sh: Likewise.
15356 * malloc/memusagestat.c: Likewise.
15357 * malloc/mtrace.pl: Likewise.
15358 * nscd/nscd.c: Likewise.
15359 * nss/getent.c: Likewise.
15360 * nss/makedb.c: Likewise.
15361 * posix/getconf.c: Likewise.
15362
18ea052c
SP
153632012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15364
15365 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15366 numbers.
15367
9c89fca6
MF
153682012-12-30 Mike Frysinger <vapier@gentoo.org>
15369
15370 * math/bits/mathcalls.h (modf): Use __nonnull.
15371
085ec079
SP
153722012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15373
15374 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15375 (split): Use macro CN instead of the bare value.
15376 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15377 could be used.
15378 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15379 instead of the bare value.
15380 (power1): Likewise.
15381
6d9f97e1
SP
153822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15383
d63f73be
SP
15384 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15385 __ATAN_TWOM.
15386 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15387
6d9f97e1
SP
15388 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15389 their values.
15390 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15391 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15392 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15393 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15394
4c4febf5
AJ
153952012-12-28 Andreas Jaeger <aj@suse.de>
15396
af5843ef
AJ
15397 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15398 values are from Linux 3.7.
15399
4c4febf5
AJ
15400 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15401 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15402
99136f82
SP
154032012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15404
2f216c3c 15405 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15406 TRUE case.
15407
99136f82
SP
15408 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15409 (norm): Likewise.
15410 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15411 variables with preprocessor constants.
15412 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15413 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15414 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15415
7fffbdff
BH
154162012-12-27 Bruno Haible <bruno@clisp.org>
15417
15418 [BZ #14317]
15419 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15420 only if needed.
15421
b76eb5f0
SP
154222012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15423
31a7fe5c
SP
15424 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15425 and use variable directly.
15426 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15427
b76eb5f0
SP
15428 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15429 MPONE.
15430 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15431 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15432 variable MPONE.
15433 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15434 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15435 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15436 include directive. Remove local variable MPONE.
15437 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15438 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15440
2c8bfe7d
DM
154412012-12-25 David S. Miller <davem@davemloft.net>
15442
15443 * version.h (RELEASE): Set to "development".
15444 (VERSION): Set to "2.17.90".
15445 * NEWS: Add 2.18 section.
15446
147d03b0
DM
154472012-12-21 David S. Miller <davem@davemloft.net>
15448
15449 * po/hr.po: Update from translation team.
15450
a8ebb2b9
AK
154512012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15452
15453 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15454
95b4f1b6
SE
154552012-12-19 Steve Ellcey <sellcey@mips.com>
15456
b2d94007 15457 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15458
cedb2a90
MS
154592012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15460
15461 * manual/contrib.texi (Contributors): Spelling correction.
15462
bbf527d6
DM
154632012-12-15 David S. Miller <davem@davemloft.net>
15464
15465 * po/ru.po: Update from translation team.
15466
bc38c906
DM
154672012-12-13 David S. Miller <davem@davemloft.net>
15468
85429b1a
DM
15469 * NEWS: Mention IFUNC testsuite enhancements.
15470
d283e353
DM
15471 * po/pl.po: Update from translation team.
15472 * po/bg.po: Likewise.
15473
bc38c906
DM
15474 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15475 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15476
a181b0d7
DM
154772012-12-11 David S. Miller <davem@davemloft.net>
15478
4641d57e
DM
15479 * po/sv.po: Update from translation team.
15480
f7bc6495
DM
15481 * po/vi.po: Update from translation team.
15482
6fc9048f
DM
15483 * po/cs.po: Update from translation team.
15484
a181b0d7
DM
15485 * po/de.po: Update from translation team.
15486 * po/eo.po: Likewise.
15487 * po/nl.po: Likewise.
15488
f70bfe80
SP
154892012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15490
3c8b4190
SP
15491 [BZ #14246]
15492 * manual/argp.texi (Argp Helper Functions): Move node to follow
15493 Argp Parsing State.
15494
f70bfe80
SP
15495 [BZ #14872]
15496 * manual/conf.texi (Limits on File System Capacity): Mention if
15497 terminating null is included in the max size.
15498
188f0adf
AJ
154992012-12-10 Andreas Jaeger <aj@suse.de>
15500
15501 * po/cs.po: Update from translation team.
15502
56e7d3ad
SP
155032012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15504
15505 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15506 void pointer and cast to uintptr_t.
15507 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15508 path.
15509 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15510 * sysdeps/s390/s390-64/memset.S: Likewise.
15511
76f2d2ea 155122012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15513
15514 [BZ #14833]
15515 * menual/message.texi (Message Translation): Fix typos.
15516 (Helper programs for gettext): Likewise.
15517
67cbf9a2
AS
155182012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15519
15520 [BZ #14898]
15521 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15522 Change to -1.
15523
682d0e9a
DM
155242012-12-07 David S. Miller <davem@davemloft.net>
15525
15526 * po/libc.pot: Update.
15527
573cd484
RH
155282012-12-07 Richard Henderson <rth@redhat.com>
15529
7e9da188 15530 [BZ #10114]
573cd484
RH
15531 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15532 normal/normal case to before the switch.
15533 (_FP_DIV): Likewise.
15534
e933a943
MF
155352012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15536 Mike Frysinger <vapier@gentoo.org>
15537
15538 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15539 check for __NR_fadvise64_64.
15540
82123268
CM
155412012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15542
15543 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15544 0, not just to plain "0" as a statement.
15545 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15546 with cw.
15547
d9814526
JM
155482012-12-06 Joseph Myers <joseph@codesourcery.com>
15549
15550 * NEWS: Use sourceware.org in Bugzilla URL.
15551
7728c574
SP
155522012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15553
f16946dd
SP
15554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15555 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15556
5704bbcb
SP
15557 * stdio-common/tst-put-error.c (do_test): Add newline to the
15558 padded test to ensure flush.
15559
17aa0516
JL
155602012-12-05 Jeff Law <law@redhat.com>
15561
15562 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15563
363313b5
JM
155642012-12-05 Joseph Myers <joseph@codesourcery.com>
15565
effbd42a
JM
15566 * README: Don't refer to ports add-on as distributed separately.
15567 Mention AArch64 in list of systems supported in the ports add-on.
15568
87600365
JM
15569 * LICENSES: Add more non-FSF copyright and license notices.
15570
a0d7066a
JM
15571 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15572 ((unused)).
15573
66ca5a5b
JM
15574 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15575
363313b5
JM
15576 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15577 10000 as width of padded output.
15578
b37984ad
JM
155792012-12-04 Joseph Myers <joseph@codesourcery.com>
15580
9003570a
JM
15581 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15582
b37984ad
JM
15583 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15584 variable LX with __attribute__ ((unused)).
15585 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15586 Likewise.
15587 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15589 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15590 with __attribute__ ((unused)).
15591
c8df52ec
DM
155922012-12-04 David S. Miller <davem@abraco.davemloft.net>
15593
15594 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15595
b3b099af
JM
155962012-12-04 Joseph Myers <joseph@codesourcery.com>
15597
c33aa6e3
JM
15598 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15599 (CFLAGS-nldbl-acos.c): New variable.
15600 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15601 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15602 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15603 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15604 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15605 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15606 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15607 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15608 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15609 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15610 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15611 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15612 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15613 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15614 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15615 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15616 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15617 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15618 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15619 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15620 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15621 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15622 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15623 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15624 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15625 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15626 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15627 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15628 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15629 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15630 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15631 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15632 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15633 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15634 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15635 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15636 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15637 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15638 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15639 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15640 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15641 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15642 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15643 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15644 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15645 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15646 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15647 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15648 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15649 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15650 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15651 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15652 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15653 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15654 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15655 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15656 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15657 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15658 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15659 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15660 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15661 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15662 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15663 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15664 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15665 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15666 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15667 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15668 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15669 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15670 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15671 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15672 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15673 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15674 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15675 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15676 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15677 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15678 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15679 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15680 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15681 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15682 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15683 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15684 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15685 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15686 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15687 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15688 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15689 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15690 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15691 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15692 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15693 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15694 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15695 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15696 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15697
20f0018d
JM
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15699 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15700
b3b099af
JM
15701 [BZ #14914]
15702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15703 whole low double instead of just low 47 bits when splitting values
15704 into two parts.
15705
029264d1
AM
157062012-12-03 Allan McRae <allan@archlinux.org>
15707
15708 * manual/stdio.texi (Predefined Printf Handlers): Remove
15709 @hsep and @vsep usage.
15710
c9d6789e
MF
157112012-12-03 Mike Frysinger <vapier@gentoo.org>
15712
15713 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15714 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15715
4b7634a5
JL
157162012-12-03 Jeff Law <law@redhat.com>
15717
15718 * time/sys/time.h (settimeofday): Do not mark TV argument
15719 as __nonnull.
15720
eb6cbd24
MF
157212012-12-01 Mike Frysinger <vapier@gentoo.org>
15722
15723 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15724 when currently writing and seek to current position when not.
15725 * libio/Makefile (tests): Remove bug-fclose1.
15726 * libio/bug-fclose1.c: Delete.
15727
f638872a
JM
157282012-12-01 Joseph Myers <joseph@codesourcery.com>
15729
15730 * manual/arith.texi (feenableexcept): Fix typo.
15731 (fedisableexcept): Likewise.
15732
48085d14
RM
157332012-11-30 Roland McGrath <roland@hack.frob.com>
15734
15735 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15736 second, differently-typed declaration, rather than a cast.
15737
1a538b9f
SP
157382012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15739
15740 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15741 * include/rpc/svc.h: ... here.
15742
d07f2ff1 157432012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15744
15745 [BZ #13013]
15746 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15747 depending n and resplen2 to catch cases where answer
15748 equals answerp2.
15749
c93ec1f0
CD
157502012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15751
15752 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15753 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15754
37db69de
MF
157552012-11-29 Mike Frysinger <vapier@gentoo.org>
15756
15757 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15758
e10c4e4f
RM
157592012-11-29 Roland McGrath <roland@hack.frob.com>
15760
15761 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15762
2af1b328
JL
157632012-11-28 Jeff Law <law@redhat.com>
15764
15765 [BZ #13761]
15766 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15767 dataset_temporary. Track alloca usage into alloca_used.
15768 If dataset is large allocate and release it via malloc/free.
15769
111db5b1
FW
157702012-06-04 Florian Weimer <fweimer@redhat.com>
15771
f06cc227 15772 [BZ #14197]
111db5b1
FW
15773 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15774
dd694abd
DM
157752012-11-28 David S. Miller <davem@davemloft.net>
15776
15777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15778
9984dd01
JM
157792012-11-28 Joseph Myers <joseph@codesourcery.com>
15780
15781 [BZ #14803]
15782 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15783 of pi/2 rounded to nearest to 64 bits.
15784 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15785 nearest to 64 bits.
15786 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15787 bits.
15788
14bc93a9
JL
157892012-11-28 Jeff Law <law@redhat.com>
15790 Martin Osvald <mosvald@redhat.com>
15791
15792 [BZ #14889]
15793 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15794 * sunrpc/svc.c: Include time.h.
15795 (__svc_accept_failed): New function.
15796 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15797 any reason other than EINTR, call __svc_accept_failed.
15798 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15799 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15800
e3c6aa3a
AS
158012012-11-28 Andreas Schwab <schwab@suse.de>
15802
15803 * scripts/abilist.awk: Also handle indirect functions in .opd
15804 section.
15805
1bead169
JM
158062012-11-28 Joseph Myers <joseph@codesourcery.com>
15807
15808 [BZ #13881]
15809 * sysdeps/x86/fpu/powl_helper.c: New file.
15810 * sysdeps/x86/fpu/Makefile: Likewise.
15811 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15812 (p3): New object.
15813 (__ieee754_powl): Use __powl_helper for finite arguments except
15814 integer exponents below 8.
15815 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15816 (p3): New object.
15817 (__ieee754_powl): Use __powl_helper for finite arguments except
15818 integer exponents below 8.
15819 * math/libm-test.inc (pow_test): Add more tests and enable some
15820 previously disabled tests.
15821 * sysdeps/i386/fpu/libm-test-ulps: Update.
15822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15823
0817d63d
SP
158242012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15825 Carlos O'Donell <carlos_odonell@mentor.com>
15826
15827 * nss/makedb.c (is_prime): Assert that input is odd and greater
15828 than 4. Note that fact in a comment too.
15829 (next_prime): Add 4 to input.
15830
de2fd463
SP
158312012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15832
15833 [BZ #11741]
15834 * libio/Makefile (tests): Add test case tst-fwrite-error.
15835 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15836 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15837 * libio/tst-fwrite-error.c: New test case.
15838
c515fb51
L
158392012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15840
15841 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15842 before casting to void *.
15843 * include/libc-internal.h (__pointer_type): New macro.
15844 (__integer_if_pointer_type_sub): Likewise.
15845 (__integer_if_pointer_type): Likewise.
15846 (cast_to_integer): Likewise.
15847 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15848 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15849 before casting to atomic64_t.
15850 (atomic_exchange_acq): Likewise.
15851 (__arch_exchange_and_add_body): Likewise.
15852 (__arch_add_body): Likewise.
15853 (atomic_add_negative): Likewise.
15854 (atomic_add_zero): Likewise.
15855
4cf77aa9
JM
158562012-11-26 Joseph Myers <joseph@codesourcery.com>
15857
15858 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15859 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15860 (add_fdes): Likewise.
15861 (linear_search_fdes): Likewise.
15862 (binary_search_unencoded_fdes): Likewise.
15863
d260b3b4
AS
158642012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15865
15866 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15867
67060746
AC
158682012-11-24 Adam Conrad <adconrad@0c3.net>
15869
15870 * configure.in: Autodetect C++ header directories.
15871 * configure: Regenerated.
15872
800938a1
MF
158732012-11-23 Mike Frysinger <vapier@gentoo.org>
15874
15875 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15876
4e6e34e6
AS
158772012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15878
15879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15880
7c7feb47
JM
158812012-11-22 Joseph Myers <joseph@codesourcery.com>
15882
7184dcdf
JM
15883 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15884 LDBL_MANT_DIG == 106]: Disable some tests.
15885 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15886 Likewise.
15887 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15888 Likewise.
15889
0a42601f
JM
15890 [BZ #14871]
15891 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15892 input for small inputs. Return +/- pi/2 for large inputs.
15893 * math/libm-test.inc (atan_test): Add more tests.
15894
79c9b9fe
JM
15895 * sysdeps/generic/unwind-dw2-fde-glibc.c
15896 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15897 __attribute__ ((unused)).
15898
c60d3bf2
JM
15899 [BZ #14645]
15900 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15901 x * y if x and y are nonzero and z is zero.
15902
ef1e0867
JM
15903 [BZ #14811]
15904 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15905 nonzero exponents with absolute value below 0x1p-117 to +/-
15906 0x1p-117.
15907
1468ded3
JM
15908 [BZ #14869]
15909 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15910 up arguments below 2**-450, not just those below 2**-500.
15911 * math/libm-test.inc (hypot_test): Add another test.
15912
8e27e3cc
JM
15913 [BZ #14868]
15914 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15915 Return a+b for ratio over 2**120, not 2**60.
15916 * math/libm-test.inc (hypot_test): Add another test.
15917
c9c0279b
JM
15918 * math/libm-test.inc (clog_test): Use
15919 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15920 (clog10_test): Likewise.
15921
7c7feb47
JM
15922 [BZ #6778]
15923 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15924
fff1530e
AS
159252012-11-22 Andreas Schwab <schwab@suse.de>
15926
15927 * sysdeps/i386/fpu/libm-test-ulps: Update.
15928
94558d30
PT
159292012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15930
15931 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15932 printf output with newline.
15933
7e1be741
L
159342012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15935
6bfea974
L
15936 [BZ #14865]
15937 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15938 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15939 -z nodlopen, -z initfirst and -z execstack support.
15940 * configure: Regenerated.
15941
7e1be741
L
15942 * elf/elf.h (DF_1_NODIRECT): New macro.
15943 (DF_1_IGNMULDEF): Likewise.
15944 (DF_1_NOKSYMS): Likewise.
15945 (DF_1_NOHDR): Likewise.
15946 (DF_1_EDITED): Likewise.
15947 (DF_1_NORELOC): Likewise.
15948 (DF_1_SYMINTPOSE): Likewise.
15949 (DF_1_GLOBAUDIT): Likewise.
15950 (DF_1_SINGLETON): Likewise.
15951 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15952 DT_1_SUPPORTED_MASK bits.
15953 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15954
105ce2ce
CD
159552012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15956
15957 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15958
123be9de
TS
159592012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15960
d072f3f7
TS
15961 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15962 macro.
15963
123be9de
TS
15964 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15965 (sendmmsg): Move declarations...
15966 * socket/sys/socket.h: ... here.
15967 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15968 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15969 include it from...
15970 * socket/recvmmsg.c: ... this new file.
15971 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15972 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15973 definition of __sendmmsg hidden.
15974 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15975 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15976 Move ENOSYS stub into and include it from...
15977 * socket/sendmmsg.c: ... this new file.
15978 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15979 (sysdep_routines): Move recvmmsg and sendmmsg...
15980 * socket/Makefile (routines): ... here.
15981 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15982 (GLIBC_PRIVATE): Add __sendmmsg.
15983 * include/sys/socket.h (__sendmmsg): Add declarations.
15984 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15985 sendmmsg.
15986
cf9a5d18
JM
159872012-11-20 Joseph Myers <joseph@codesourcery.com>
15988
15989 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15990 variable I1 with __attribute__ ((unused)).
15991 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15992
ecd4caf9
JM
159932012-11-19 Joseph Myers <joseph@codesourcery.com>
15994
be14d48f
JM
15995 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15996 DUMMY variables with __attribute__ ((unused)).
15997
ecd4caf9
JM
15998 * bits/byteswap.h: Include <bits/types.h>.
15999 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16000
986cab95
PT
160012012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16002
16003 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16004 string_t. Do not manually set errno.
16005 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16006 length with __strnlen. Make sure to both set errno and return it on
16007 failure.
16008
6d33cc9d
DM
160092012-11-19 David S. Miller <davem@davemloft.net>
16010
16011 With help from Joseph Myers.
16012 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16013 very large arguments properly.
16014 * math/libm-test.inc (atan_test): New tests.
16015 (atan2_test): New tests.
16016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16018
ee663277
JM
160192012-11-19 Joseph Myers <joseph@codesourcery.com>
16020
877f2d8e
JM
16021 [BZ #14856]
16022 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16023 Define to 3.
16024
116fc08a
JM
16025 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16026 [POSIX] (EADDRNOTAVAIL): Likewise.
16027 [POSIX] (EAFNOSUPPORT): Likewise.
16028 [POSIX] (EALREADY): Likewise.
16029 [POSIX] (ECONNABORTED): Likewise.
16030 [POSIX] (ECONNREFUSED): Likewise.
16031 [POSIX] (ECONNRESET): Likewise.
16032 [POSIX] (EDESTADDRREQ): Likewise.
16033 [POSIX] (EDQUOT): Likewise.
16034 [POSIX] (EHOSTUNREACH): Likewise.
16035 [POSIX] (EIDRM): Likewise.
16036 [POSIX] (EISCONN): Likewise.
16037 [POSIX] (ELOOP): Likewise.
16038 [POSIX] (EMULTIHOP): Likewise.
16039 [POSIX] (ENETDOWN): Likewise.
16040 [POSIX] (ENETUNREACH): Likewise.
16041 [POSIX] (ENOBUFS): Likewise.
16042 [POSIX] (ENODATA): Likewise.
16043 [POSIX] (ENOLINK): Likewise.
16044 [POSIX] (ENOMSG): Likewise.
16045 [POSIX] (ENOPROTOOPT): Likewise.
16046 [POSIX] (ENOSR): Likewise.
16047 [POSIX] (ENOSTR): Likewise.
16048 [POSIX] (ENOTCONN): Likewise.
16049 [POSIX] (ENOTSOCK): Likewise.
16050 [POSIX] (EOPNOTSUPP): Likewise.
16051 [POSIX] (EOVERFLOW): Likewise.
16052 [POSIX] (EPROTO): Likewise.
16053 [POSIX] (EPROTONOSUPPORT): Likewise.
16054 [POSIX] (EPROTOTYPE): Likewise.
16055 [POSIX] (ESTALE): Likewise.
16056 [POSIX] (ETIME): Likewise.
16057 [POSIX] (ETXTBSY): Likewise.
16058 [POSIX] (EWOULDBLOCK): Likewise.
16059 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16060 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16061 [POSIX] (SEEK_CUR): Likewise.
16062 [POSIX] (SEEK_END): Likewise.
16063 [POSIX || UNIX98] (mode_t): Do not require.
16064 [POSIX] (off_t): Likewise.
16065 [POSIX] (pid_t): Likewise.
16066 [POSIX] (sys/stat.h): Do not allow header.
16067 [POSIX] (unistd.h): Likewise.
16068 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16069 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16070 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16071 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16072 require.
16073 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16074 sigevent): Specify elements.
16075 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16076 entry.
16077 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16078 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16079
a483863f
JM
16080 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16081 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16082 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16083 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16084 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16085 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16086 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16087 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16088 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16089 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16090 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16091 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16092 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16093 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16094 Likewise.
16095 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16096 Likewise.
16097 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16098 Likewise.
16099 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16100 Likewise.
16101 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16102 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16103 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16104 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16105 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16106 Specify lower bound on value.
16107 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16108 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16109 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16110 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16111 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16112 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16113 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16114 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16115 value.
16116 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16117 as optional.
16118 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16119 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16120 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16121 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16122 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16123 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16124 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16125 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16126 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16127 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16128 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16129 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16130 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16131 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16132 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16133 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16134 entry.
16135 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16136 optional.
16137 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16138 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16139 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16140 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16141 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16142 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16143 Likewise.
16144 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16145 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16146 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16147 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16148 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16149 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16150 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16151 as optional.
16152 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16153 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16154 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16155 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16156 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16157 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16158 specify as optional.
16159 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16160 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16161 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16162 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16163 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16164 [XPG3] (NL_LANGMAX): Likewise.
16165 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16166 [POSIX || XPG3] (NL_NMAX): Likewise.
16167 [POSIX || XPG3] (NL_SETMAX): Likewise.
16168 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16169 [XPG3] (NZERO): Likewise.
16170 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16171 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16172 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16173 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16174 (REG_ERANGE): Expect.
16175 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16176 optional-constant.
16177 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16178 Use (void) in prototype.
16179 [POSIX] (*_t): Allow.
16180 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16181 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16182 (WRDE_BADVAL): Expect.
16183
5ba924e3
JM
16184 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16185 expect.
16186 [XPG3 || XPG4] (O_RSYNC): Likewise.
16187 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16188 Likewise.
16189 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16190 [XPG3 || XPG4] (sigqueue): Likewise.
16191 [XPG3 || XPG4] (sigtimedwait): Likewise.
16192 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16193 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16194 [XPG3 || XPG4] (vsnprintf): Likewise.
16195 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16196 Likewise.
16197 [XPG3 || XPG4] (blksize_t): Likewise.
16198 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16199 Likewise.
16200 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16201 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16202 [XPG3 || XPG4] (struct itimerspec): Likewise.
16203 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16204 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16205 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16206 [XPG3 || XPG4] (clockid_t): Likewise.
16207 [XPG3 || XPG4] (timer_t): Likewise.
16208 [XPG3 || XPG4] (clock_getres): Likewise.
16209 [XPG3 || XPG4] (clock_gettime): Likewise.
16210 [XPG3 || XPG4] (clock_settime): Likewise.
16211 [XPG3 || XPG4] (nanosleep): Likewise.
16212 [XPG3 || XPG4] (timer_create): Likewise.
16213 [XPG3 || XPG4] (timer_delete): Likewise.
16214 [XPG3 || XPG4] (timer_gettime): Likewise.
16215 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16216 [XPG3 || XPG4] (timer_settime): Likewise.
16217 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16218 [XPG3 || XPG4] (getlogin_r): Likewise.
16219 [XPG3 || XPG4] (pread): Likewise.
16220 [XPG3 || XPG4] (pthread_atfork): Likewise.
16221 [XPG3 || XPG4] (pwrite): Likewise.
16222
ee663277
JM
16223 [BZ #14835]
16224 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16225 <bits/siginfo.h>.
16226
942caa16
PT
162272012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16228
e19af380
PT
16229 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16230 finalizing MALLSTREAM.
16231
942caa16
PT
16232 * sysdeps/mach/hurd/syncfs.c: New file.
16233
cfde9b46
SP
162342012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16235
16236 [BZ #14719]
16237 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16238 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16239 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16240 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16241 (_nss_dns_gethostbyname4_r): Likewise.
16242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16243 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16244
f6da27e5
PH
162452012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16246
16247 [BZ #13763]
16248 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16249
6665d4a2
SM
162502012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16251
1f51ee92
SM
16252 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16253 * elf/cache.c (print_entry): Print ",AArch64" for
16254 FLAG_AARCH64_LIB64
16255
6665d4a2
SM
16256 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16257 * elf/cache.c (print_entry): Print ",hard-float" for
16258 FLAG_ARM_LIBHF.
16259
05b227bd
DM
162602012-11-18 David S. Miller <davem@davemloft.net>
16261
16262 With help from Joseph Myers.
16263 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16264 cutoff to 2**-13.
16265 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16266 cutoff to 2**-25.
16267 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16268 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16269 small.
16270 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16271 * math/libm-test.inc (y0_test): New tests.
16272 (y1_test): New tests.
16273 * sysdeps/i386/fpu/libm-test-ulps: Update.
16274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16276
786b0b67
AS
162772012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16278
16279 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16280 64-bit targets.
16281 * configure: Regenerated.
16282
8e18b86d
DM
162832012-11-17 David S. Miller <davem@davemloft.net>
16284
16285 [BZ #14811]
16286 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16287 nonzero exponents with absolute value below 0x1p-128 to +/-
16288 0x1p-128.
16289
531f1ae0
JM
162902012-11-17 Joseph Myers <joseph@codesourcery.com>
16291
12df29e2
JM
16292 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16293
150dc1a0
JM
16294 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16295
531f1ae0
JM
16296 * posix/getconf-speclist.c: New file.
16297 * posix/posix-envs.def: Likewise.
16298 * posix/confstr.c (START_ENV_GROUP): New macro.
16299 (END_ENV_GROUP): Likewise.
16300 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16301 (KNOWN_PRESENT_ENV_STRING): Likewise.
16302 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16303 (UNKNOWN_ENVIRONMENT): Likewise.
16304 (confstr): Include posix-envs.def instead of handling
16305 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16306 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16307 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16308 (END_ENV_GROUP): Likewise.
16309 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16310 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16311 (UNKNOWN_ENVIRONMENT): Likewise.
16312 (__sysconf): Include posix-envs.def instead of handling associated
16313 cases directly here.
16314 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16315 preprocessing getconf-speclist.c rather than running getconf or
16316 generating empty file.
16317
a93f9cbc
PT
163182012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16319
16320 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16321
d64d9f87
AL
163222012-11-16 Andrej Lajovic <natrij@gmail.com>
16323
16324 [BZ #14672]
16325 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16326
447885eb
DM
163272012-11-16 David S. Miller <davem@davemloft.net>
16328
16329 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16330 smaller than LDBL_EPSILON/2.0L, just return xm1.
16331
bcbf9830
L
163322012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16333
16334 * elf/tst-array1.c (init): Set constructor priority to 1000.
16335 (fini): Set destructor priority to 1000.
16336 * elf/tst-array2dep.c: Likewise.
16337
2b766585
SP
163382012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16339
16340 [BZ #11741]
16341 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16342 (_IO_new_file_xsputn): Also return EOF if none of the input
16343 data was written when overflow failed.
16344 * libio/iopadn.c (_IO_padn): Likewise.
16345 * libio/iowpadn.c (_IO_wpadn): Likewise.
16346 * stdio-common/tst-put-error.c: Add copyright notice.
16347 (do_test): Add case for printing padded string.
16348 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16349 _IO_padn returned error.
16350 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16351 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16352 return EOF.
16353
b1848fde
SP
163542012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16355
16356 * libio/libioP.h: Add comment note that the references to C++
16357 bits are now obsolete.
16358
2fd89785
MS
163592012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16360
16361 * math/libm-test.inc (check_complex): Use asprintf.
16362
e3ea5409
JM
163632012-11-14 Joseph Myers <joseph@codesourcery.com>
16364
16365 * debug/pcprofiledump.c (print_version): Update copyright year.
16366 * malloc/memusagestat.c (print_version): Likewise.
16367
2e64d265
L
163682012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16369
16370 [BZ #14831]
16371 * elf/Makefile (tests): Add tst-audit8.
16372 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16373 ($(objpfx)tst-audit8.out): New target.
16374 (tst-audit8-ENV): New variable.
16375 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16376 audit if l_reloc_result is NULL.
16377 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16378 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16379 * elf/tst-audit8.c: New file.
16380
c485e4d2
MS
163812012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16382
16383 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16384 * misc/Makefile (CFLAGS-select.c): Define.
16385 * posix/Makefile (CFLAGS-pause.c): Define.
16386
3a0d900a
DM
163872012-11-13 David S. Miller <davem@davemloft.net>
16388
16389 * crypt/Makefile: Move test targets after toplevel Rules
16390 inclusion. Grab any necessary sysdep routines when linking.
16391 * crypt/md5.c (md5_process_block): Remove define, we will always
16392 name it __md5_process_block.
16393 (md5_finish_ctx): Update md5_process_block call.
16394 (md5_stream): Likewise.
16395 (md5_process_bytes): Likewise.
16396 (md5_process_block): Rename to __md5_process_block and move to ...
16397 * crypt/md5-block.c: ... here.
16398 * crypt/sha256.c (sha256_process_block): Move to ...
16399 * crypt/sha256-block.c: ... here.
16400 * crypt/sha512.c (sha512_process_block): Move to ...
16401 * crypt/sha512-block.c: ... here.
16402 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16403 path.
16404 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16405 * sysdeps/sparc/sparc64/multiarch/Makefile
16406 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16407 crypt subdir.
16408 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16409 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16410 multiarch changes.
16411 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16412 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16413 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16414 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16415 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16416 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16417 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16418 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16419 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16420 file.
16421 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16422 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16423 file.
16424 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16425
8ca89318
JM
164262012-11-13 Joseph Myers <joseph@codesourcery.com>
16427
e27d476a
JM
16428 * timezone/tzselect.ksh: Update from tzcode git revision
16429 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16430 * timezone/zdump.c: Likewise.
16431 * timezone/zic.c: Likewise.
16432 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16433 in TZVERSION setting, not $(PKGVERSION).
16434 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16435 REPORT_BUGS_TO settings.
16436
8ca89318
JM
16437 [BZ #14838]
16438 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16439 macro.
16440
47594329
MS
164412012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16442
16443 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16444 detection to immediately after _FP_ROUND().
16445 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16446 bits are 0.
16447
640ac3f1
DM
164482012-11-11 David S. Miller <davem@davemloft.net>
16449
16450 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16451 inttypes.h
16452 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16453 __close rather than their public counterparts.
16454
3d2577bb
JM
164552012-11-10 Joseph Myers <joseph@codesourcery.com>
16456
16457 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16458 file.
16459 [UNIX98] (sem_timedwait): Do not expect.
16460 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16461 [XPG4 || UNIX98] (sockatmark): Do not expect.
16462 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16463 (clock_getcpuclockid): Do not expect.
16464 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16465 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16466 Do not expect.
16467 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16468 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16469 [UNIX98] (vwscanf): Likewise.
16470 [UNIX98] (vswscanf): Likewise.
16471
fb1ae1ee
JM
164722012-11-09 Joseph Myers <joseph@codesourcery.com>
16473
9ec6f8bd
JM
16474 * timezone/version.h: Remove file.
16475 * timezone/README: Do not refer to version.h.
16476 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16477 $(objpfx)version.h.
16478 ($(objpfx)zdump.o): Likewise.
c3f81911 16479 ($(objpfx)version.h): New target.
9ec6f8bd 16480
0aa8f8a1
JM
16481 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16482 2012i.
16483 * timezone/README: Don't mention modification to tzselect.ksh.
16484 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16485 work on unmodified tzselect.ksh. Substitute version numbers in
16486 tzselect.ksh.
16487
4e87147f
JM
16488 * Makefile (format-me): Remove.
16489 (INSTALL): Adjust indentation. Use commands directly instead of
16490 using $(format-me).
16491
8b748aed
JM
16492 * aclocal.m4 (ACX_PKGVERSION): New macro.
16493 (ACX_BUGURL): Likewise.
16494 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16495 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16496 (REPORT_BUGS_TO): Likewise.
16497 * configure: Regenerated.
16498 * config.h.in (PKGVERSION): New macro.
16499 (REPORT_BUGS_TO): Likewise.
16500 * config.make.in (PKGVERSION): New variable.
16501 (PKGVERSION_TEXI): Likewise.
16502 (REPORT_BUGS_TO): Likewise.
16503 (REPORT_BUGS_TEXI): Likewise.
16504 * Makefile (format-me): Use -I$(common-objpfx)manual.
16505 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16506 ($(common-objpfx)manual/%): New target.
16507 (manual/%): Remove target.
16508 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16509 (print_version): Use PKGVERSION.
16510 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16511 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16512 and REPORT_BUGS_TO.
16513 ($(objpfx)xtrace): Likewise.
16514 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16515 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16516 (print_version): Use PKGVERSION.
16517 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16518 (do_version): Use PKGVERSION.
16519 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16520 REPORT_BUGS_TO.
16521 (common-ldd-rewrite): Likewise.
16522 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16523 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16524 (print_version): Use PKGVERSION.
16525 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16526 * elf/pldd.c (argp_program_bug_address): Remove variable.
16527 (more_help): New function.
16528 (argp): Use more_help.
16529 (print_version): Use PKGVERSION.
16530 * elf/sln.c (main): Use PKGVERSION.
16531 (usage): Use REPORT_BUGS_TO.
16532 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16533 (top level): Use PKGVERSION.
16534 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16535 (print_version): Use PKGVERSION.
16536 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16537 (print_version): Use PKGVERSION.
16538 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16539 (print_version): Use PKGVERSION.
16540 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16541 (print_version): Use PKGVERSION.
16542 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16543 (print_version): Use PKGVERSION.
16544 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16545 (print_version): Use PKGVERSION.
16546 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16547 and BUGURL.
16548 ($(objpfx)memusage): Likewise.
16549 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16550 (do_version): Use PKGVERSION.
16551 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16552 (print_version): Use PKGVERSION.
16553 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16554 ($PKGVERSION): New variable.
16555 ($REPORT_BUGS_TO): Likewise.
16556 (usage): Use $REPORT_BUGS_TO.
16557 (top level): Use $PKGVERSION.
16558 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16559 ($(objpfx)pkgvers.texi): New rule.
16560 ($(objpfx)stamp-pkgvers): Likewise.
16561 * manual/install.texi: Include pkgvers.texi.
16562 (--with-pkgversion): Document new configure option.
16563 (--with-bugurl): Likewise.
16564 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16565 than necessarily for this particular distribution. Use
16566 REPORT_BUGS_TO for where to report bugs.
16567 * INSTALL: Regenerated.
16568 * manual/libc.texinfo: Include pkgvers.texi.
16569 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16570 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16571 (print_version): Use PKGVERSION.
16572 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16573 (print_version): Use PKGVERSION.
16574 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16575 (print_version): Use PKGVERSION.
16576 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16577 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16578 macro.
16579 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16580 (print_version): Use PKGVERSION.
16581 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16582 (print_version): Use PKGVERSION.
16583 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16584 and PKGVERSION.
16585
92e4b6a9
JM
16586 * timezone/checktab.awk: Update from tzcode 2012i.
16587 * timezone/ialloc.c: Likewise.
16588 * timezone/private.h: Likewise.
16589 * timezone/scheck.c: Likewise.
16590 * timezone/tzfile.h: Likewise.
16591 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16592 (TZVERSION): Hardcode tzcode version number.
16593 * timezone/zdump.c: Update from tzcode 2012i.
16594 * timezone/zic.c: Likewise.
16595 * timezone/version.h: New file.
16596 * timezone/README: Describe version.h. Update upstream location.
16597
9bde902c
JM
16598 [BZ #14824]
16599 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16600 (mktemp): Enable declaration.
16601 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16602 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16603 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16604 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16605 Likewise.
16606 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16607 Likewise.
16608 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16609 Likewise.
16610 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16611 Likewise.
16612 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16613 Likewise.
16614 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16615 Likewise.
16616
fb1ae1ee
JM
16617 [BZ #14821]
16618 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16619 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16620 for copies of such integer values.
16621 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16622 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16623
2c1adbcb
AJ
166242012-11-09 Andreas Jaeger <aj@suse.de>
16625
16626 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16627 definitions and declarations that are provided by
16628 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16629
d0f8457e
AK
166302012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16631
3a235abb 16632 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16633 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16634 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16635 definition.
16636
57241e26
MS
166372012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16638
16639 * elf/elf.h: Update comment before AArch64 relocations.
16640
60e8270d
DM
166412012-11-07 David S. Miller <davem@davemloft.net>
16642
16643 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16644 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16645 (__start_context): Declare.
16646 (__makecontext_ret): Delete.
16647 (__makecontext): Hook up __start_context instead of
16648 __makecontext_ret.
16649 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16650 (sysdep_routines): Add __start_context when in stdlib.
16651
0fbb0fbc
JM
166522012-11-07 Joseph Myers <joseph@codesourcery.com>
16653
16654 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16655 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16656 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16657 hardcoded "nm".
16658 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16659 (READELF): New variable. Use it instead of hardcoded "readelf".
16660
eb48db7e
L
166612012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16662
16663 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16664 * sysdeps/x86/Makefile: Here.
16665 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16666 * sysdeps/x86/tst-xmmymm.sh: This.
16667
05bcf62a
JM
166682012-11-07 Joseph Myers <joseph@codesourcery.com>
16669
c4b6cf53
JM
16670 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16671 expectations.
16672 [UNIX98] (pthread_barrier_t): Do not expect.
16673 [UNIX98] (pthread_barrierattr_t): Likewise.
16674 [UNIX98] (pthread_spinlock_t): Likewise.
16675 [UNIX98] (pthread_barrier_destroy): Likewise.
16676 [UNIX98] (pthread_barrier_init): Likewise.
16677 [UNIX98] (pthread_barrier_wait): Likewise.
16678 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16679 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16680 [UNIX98] (pthread_barrierattr_init): Likewise.
16681 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16682 [UNIX98] (pthread_getcpuclockid): Likewise.
16683 [UNIX98] (pthread_mutex_timedlock): Likewise.
16684 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16685 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16686 [UNIX98] (pthread_sigmask): Likewise.
16687 [UNIX98] (pthread_spin_destroy): Likewise.
16688 [UNIX98] (pthread_spin_init): Likewise.
16689 [UNIX98] (pthread_spin_lock): Likewise.
16690 [UNIX98] (pthread_spin_trylock): Likewise.
16691 [UNIX98] (pthread_spin_unlock): Likewise.
16692 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16693 Do not expect.
16694 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16695 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16696 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16697 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16698 [XPG3 || XPG4] (pthread_key_t): Likewise.
16699 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16700 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16701 [XPG3 || XPG4] (pthread_once_t): Likewise.
16702 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16703 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16704 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16705 [XPG3 || XPG4] (pthread_t): Likewise.
16706
cbe6e120
JM
16707 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16708 not expect.
16709 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16710
1b126443
JM
16711 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16712 Change function return type to int.
16713
b961a573
JM
16714 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16715 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16716 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16717 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16718 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16719 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16720 [!POSIX] (posix_madvise): Likewise.
16721 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16722 && !UNIX98].
16723 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16724 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16725 (mode_t): Likewise.
16726 (posix_mem_offset): Likewise.
16727 (posix_typed_mem_get_info): Likewise.
16728 (posix_typed_mem_open): Likewise.
16729
9e188909
JM
16730 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16731 Change condition to [XOPEN2K8].
16732
05bcf62a
JM
16733 * conform/conformtest.pl: Preprocess allow-header data with -x c
16734 instead of from stdin.
16735 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16736 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16737 [C99-based standards] (cerfc): Likewise.
16738 [C99-based standards] (cexp2): Likewise.
16739 [C99-based standards] (cexpm1): Likewise.
16740 [C99-based standards] (clog10): Likewise.
16741 [C99-based standards] (clog1p): Likewise.
16742 [C99-based standards] (clog2): Likewise.
16743 [C99-based standards] (clgamma): Likewise.
16744 [C99-based standards] (ctgamma): Likewise.
16745 [C99-based standards] (cerff): Likewise.
16746 [C99-based standards] (cerfcf): Likewise.
16747 [C99-based standards] (cexp2f): Likewise.
16748 [C99-based standards] (cexpm1f): Likewise.
16749 [C99-based standards] (clog10f): Likewise.
16750 [C99-based standards] (clog1pf): Likewise.
16751 [C99-based standards] (clog2f): Likewise.
16752 [C99-based standards] (clgammaf): Likewise.
16753 [C99-based standards] (ctgammaf): Likewise.
16754 [C99-based standards] (cerfl): Likewise.
16755 [C99-based standards] (cerfcl): Likewise.
16756 [C99-based standards] (cexp2l): Likewise.
16757 [C99-based standards] (cexpm1l): Likewise.
16758 [C99-based standards] (clog10l): Likewise.
16759 [C99-based standards] (clog1pl): Likewise.
16760 [C99-based standards] (clog2l): Likewise.
16761 [C99-based standards] (clgammal): Likewise.
16762 [C99-based standards] (ctgammal): Likewise.
16763 * conform/data/inttypes.h-data [C99-based standards]: Include
16764 stdint.h-data. Remove all expectations for stdint.h contents.
16765 [C99-based standards] (PRI*): Do not allow.
16766 [C99-based standards] (SCN*): Likewise.
16767 [C99-based standards] (*_t): Likewise.
16768 [C99-based-standards] (PRId8): Expect macro.
16769 [C99-based-standards] (PRIi8): Likewise.
16770 [C99-based-standards] (PRIo8): Likewise.
16771 [C99-based-standards] (PRIu8): Likewise.
16772 [C99-based-standards] (PRIx8): Likewise.
16773 [C99-based-standards] (PRIX8): Likewise.
16774 [C99-based-standards] (SCNd8): Likewise.
16775 [C99-based-standards] (SCNi8): Likewise.
16776 [C99-based-standards] (SCNo8): Likewise.
16777 [C99-based-standards] (SCNu8): Likewise.
16778 [C99-based-standards] (SCNx8): Likewise.
16779 [C99-based-standards] (PRIdLEAST8): Likewise.
16780 [C99-based-standards] (PRIiLEAST8): Likewise.
16781 [C99-based-standards] (PRIoLEAST8): Likewise.
16782 [C99-based-standards] (PRIuLEAST8): Likewise.
16783 [C99-based-standards] (PRIxLEAST8): Likewise.
16784 [C99-based-standards] (PRIXLEAST8): Likewise.
16785 [C99-based-standards] (SCNdLEAST8): Likewise.
16786 [C99-based-standards] (SCNiLEAST8): Likewise.
16787 [C99-based-standards] (SCNoLEAST8): Likewise.
16788 [C99-based-standards] (SCNuLEAST8): Likewise.
16789 [C99-based-standards] (SCNxLEAST8): Likewise.
16790 [C99-based-standards] (PRIdFAST8): Likewise.
16791 [C99-based-standards] (PRIiFAST8): Likewise.
16792 [C99-based-standards] (PRIoFAST8): Likewise.
16793 [C99-based-standards] (PRIuFAST8): Likewise.
16794 [C99-based-standards] (PRIxFAST8): Likewise.
16795 [C99-based-standards] (PRIXFAST8): Likewise.
16796 [C99-based-standards] (SCNdFAST8): Likewise.
16797 [C99-based-standards] (SCNiFAST8): Likewise.
16798 [C99-based-standards] (SCNoFAST8): Likewise.
16799 [C99-based-standards] (SCNuFAST8): Likewise.
16800 [C99-based-standards] (SCNxFAST8): Likewise.
16801 [C99-based-standards] (PRId16): Likewise.
16802 [C99-based-standards] (PRIi16): Likewise.
16803 [C99-based-standards] (PRIo16): Likewise.
16804 [C99-based-standards] (PRIu16): Likewise.
16805 [C99-based-standards] (PRIx16): Likewise.
16806 [C99-based-standards] (PRIX16): Likewise.
16807 [C99-based-standards] (SCNd16): Likewise.
16808 [C99-based-standards] (SCNi16): Likewise.
16809 [C99-based-standards] (SCNo16): Likewise.
16810 [C99-based-standards] (SCNu16): Likewise.
16811 [C99-based-standards] (SCNx16): Likewise.
16812 [C99-based-standards] (PRIdLEAST16): Likewise.
16813 [C99-based-standards] (PRIiLEAST16): Likewise.
16814 [C99-based-standards] (PRIoLEAST16): Likewise.
16815 [C99-based-standards] (PRIuLEAST16): Likewise.
16816 [C99-based-standards] (PRIxLEAST16): Likewise.
16817 [C99-based-standards] (PRIXLEAST16): Likewise.
16818 [C99-based-standards] (SCNdLEAST16): Likewise.
16819 [C99-based-standards] (SCNiLEAST16): Likewise.
16820 [C99-based-standards] (SCNoLEAST16): Likewise.
16821 [C99-based-standards] (SCNuLEAST16): Likewise.
16822 [C99-based-standards] (SCNxLEAST16): Likewise.
16823 [C99-based-standards] (PRIdFAST16): Likewise.
16824 [C99-based-standards] (PRIiFAST16): Likewise.
16825 [C99-based-standards] (PRIoFAST16): Likewise.
16826 [C99-based-standards] (PRIuFAST16): Likewise.
16827 [C99-based-standards] (PRIxFAST16): Likewise.
16828 [C99-based-standards] (PRIXFAST16): Likewise.
16829 [C99-based-standards] (SCNdFAST16): Likewise.
16830 [C99-based-standards] (SCNiFAST16): Likewise.
16831 [C99-based-standards] (SCNoFAST16): Likewise.
16832 [C99-based-standards] (SCNuFAST16): Likewise.
16833 [C99-based-standards] (SCNxFAST16): Likewise.
16834 [C99-based-standards] (PRId32): Likewise.
16835 [C99-based-standards] (PRIi32): Likewise.
16836 [C99-based-standards] (PRIo32): Likewise.
16837 [C99-based-standards] (PRIu32): Likewise.
16838 [C99-based-standards] (PRIx32): Likewise.
16839 [C99-based-standards] (PRIX32): Likewise.
16840 [C99-based-standards] (SCNd32): Likewise.
16841 [C99-based-standards] (SCNi32): Likewise.
16842 [C99-based-standards] (SCNo32): Likewise.
16843 [C99-based-standards] (SCNu32): Likewise.
16844 [C99-based-standards] (SCNx32): Likewise.
16845 [C99-based-standards] (PRIdLEAST32): Likewise.
16846 [C99-based-standards] (PRIiLEAST32): Likewise.
16847 [C99-based-standards] (PRIoLEAST32): Likewise.
16848 [C99-based-standards] (PRIuLEAST32): Likewise.
16849 [C99-based-standards] (PRIxLEAST32): Likewise.
16850 [C99-based-standards] (PRIXLEAST32): Likewise.
16851 [C99-based-standards] (SCNdLEAST32): Likewise.
16852 [C99-based-standards] (SCNiLEAST32): Likewise.
16853 [C99-based-standards] (SCNoLEAST32): Likewise.
16854 [C99-based-standards] (SCNuLEAST32): Likewise.
16855 [C99-based-standards] (SCNxLEAST32): Likewise.
16856 [C99-based-standards] (PRIdFAST32): Likewise.
16857 [C99-based-standards] (PRIiFAST32): Likewise.
16858 [C99-based-standards] (PRIoFAST32): Likewise.
16859 [C99-based-standards] (PRIuFAST32): Likewise.
16860 [C99-based-standards] (PRIxFAST32): Likewise.
16861 [C99-based-standards] (PRIXFAST32): Likewise.
16862 [C99-based-standards] (SCNdFAST32): Likewise.
16863 [C99-based-standards] (SCNiFAST32): Likewise.
16864 [C99-based-standards] (SCNoFAST32): Likewise.
16865 [C99-based-standards] (SCNuFAST32): Likewise.
16866 [C99-based-standards] (SCNxFAST32): Likewise.
16867 [C99-based-standards] (PRId64): Likewise.
16868 [C99-based-standards] (PRIi64): Likewise.
16869 [C99-based-standards] (PRIo64): Likewise.
16870 [C99-based-standards] (PRIu64): Likewise.
16871 [C99-based-standards] (PRIx64): Likewise.
16872 [C99-based-standards] (PRIX64): Likewise.
16873 [C99-based-standards] (SCNd64): Likewise.
16874 [C99-based-standards] (SCNi64): Likewise.
16875 [C99-based-standards] (SCNo64): Likewise.
16876 [C99-based-standards] (SCNu64): Likewise.
16877 [C99-based-standards] (SCNx64): Likewise.
16878 [C99-based-standards] (PRIdLEAST64): Likewise.
16879 [C99-based-standards] (PRIiLEAST64): Likewise.
16880 [C99-based-standards] (PRIoLEAST64): Likewise.
16881 [C99-based-standards] (PRIuLEAST64): Likewise.
16882 [C99-based-standards] (PRIxLEAST64): Likewise.
16883 [C99-based-standards] (PRIXLEAST64): Likewise.
16884 [C99-based-standards] (SCNdLEAST64): Likewise.
16885 [C99-based-standards] (SCNiLEAST64): Likewise.
16886 [C99-based-standards] (SCNoLEAST64): Likewise.
16887 [C99-based-standards] (SCNuLEAST64): Likewise.
16888 [C99-based-standards] (SCNxLEAST64): Likewise.
16889 [C99-based-standards] (PRIdFAST64): Likewise.
16890 [C99-based-standards] (PRIiFAST64): Likewise.
16891 [C99-based-standards] (PRIoFAST64): Likewise.
16892 [C99-based-standards] (PRIuFAST64): Likewise.
16893 [C99-based-standards] (PRIxFAST64): Likewise.
16894 [C99-based-standards] (PRIXFAST64): Likewise.
16895 [C99-based-standards] (SCNdFAST64): Likewise.
16896 [C99-based-standards] (SCNiFAST64): Likewise.
16897 [C99-based-standards] (SCNoFAST64): Likewise.
16898 [C99-based-standards] (SCNuFAST64): Likewise.
16899 [C99-based-standards] (SCNxFAST64): Likewise.
16900 [C99-based-standards] (PRIdMAX): Likewise.
16901 [C99-based-standards] (PRIiMAX): Likewise.
16902 [C99-based-standards] (PRIoMAX): Likewise.
16903 [C99-based-standards] (PRIuMAX): Likewise.
16904 [C99-based-standards] (PRIxMAX): Likewise.
16905 [C99-based-standards] (PRIXMAX): Likewise.
16906 [C99-based-standards] (SCNdMAX): Likewise.
16907 [C99-based-standards] (SCNiMAX): Likewise.
16908 [C99-based-standards] (SCNoMAX): Likewise.
16909 [C99-based-standards] (SCNuMAX): Likewise.
16910 [C99-based-standards] (SCNxMAX): Likewise.
16911 [C99-based-standards] (PRIdPTR): Likewise.
16912 [C99-based-standards] (PRIiPTR): Likewise.
16913 [C99-based-standards] (PRIoPTR): Likewise.
16914 [C99-based-standards] (PRIuPTR): Likewise.
16915 [C99-based-standards] (PRIxPTR): Likewise.
16916 [C99-based-standards] (PRIXPTR): Likewise.
16917 [C99-based-standards] (SCNdPTR): Likewise.
16918 [C99-based-standards] (SCNiPTR): Likewise.
16919 [C99-based-standards] (SCNoPTR): Likewise.
16920 [C99-based-standards] (SCNuPTR): Likewise.
16921 [C99-based-standards] (SCNxPTR): Likewise.
16922 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16923 allow.
16924 * conform/data/stdint.h-data: Update comments to clarify
16925 requirements.
16926 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16927 type.
16928 [C99-based standards] (INT8_MAX): Likewise.
16929 [C99-based standards] (INT16_MIN): Likewise.
16930 [C99-based standards] (INT16_MAX): Likewise.
16931 [C99-based standards] (INT32_MIN): Likewise.
16932 [C99-based standards] (INT32_MAX): Likewise.
16933 [C99-based standards] (INT64_MIN): Likewise.
16934 [C99-based standards] (INT64_MAX): Likewise.
16935 [C99-based standards] (UINT8_MAX): Likewise.
16936 [C99-based standards] (UINT16_MAX): Likewise.
16937 [C99-based standards] (UINT32_MAX): Likewise.
16938 [C99-based standards] (UINT64_MAX): Likewise.
16939 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16940 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16941 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16942 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16943 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16944 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16945 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16946 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16947 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16948 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16949 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16950 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16951 [C99-based standards] (INT_FAST8_MIN): Likewise.
16952 [C99-based standards] (INT_FAST8_MAX): Likewise.
16953 [C99-based standards] (INT_FAST16_MIN): Likewise.
16954 [C99-based standards] (INT_FAST16_MAX): Likewise.
16955 [C99-based standards] (INT_FAST32_MIN): Likewise.
16956 [C99-based standards] (INT_FAST32_MAX): Likewise.
16957 [C99-based standards] (INT_FAST64_MIN): Likewise.
16958 [C99-based standards] (INT_FAST64_MAX): Likewise.
16959 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16960 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16961 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16962 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16963 [C99-based standards] (INTPTR_MIN): Likewise.
16964 [C99-based standards] (INTPTR_MAX): Likewise.
16965 [C99-based standards] (UINTPTR_MAX): Likewise.
16966 [C99-based standards] (INTMAX_MIN): Likewise.
16967 [C99-based standards] (INTMAX_MAX): Likewise.
16968 [C99-based standards] (UINTMAX_MAX): Likewise.
16969 [C99-based standards] (PTRDIFF_MIN): Likewise.
16970 [C99-based standards] (PTRDIFF_MAX): Likewise.
16971 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16972 [C99-based standards] (SIZE_MAX): Likewise.
16973 [C99-based standards] (WCHAR_MAX): Likewise.
16974 [C99-based standards] (WINT_MAX): Likewise.
16975 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16976 constraint on value.
16977 [C99-based standards] (WCHAR_MIN): Likewise.
16978 [C99-based standards] (WINT_MIN): Likewise.
16979 [C99-based standards] (*_t): Allow.
16980 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16981 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16982 Include math.h-data and complex.h-data. Remove all expectations
16983 of math.h and complex.h contents.
16984 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16985 at end of line.
16986 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16987 (struct tm): Expect tag.
16988 [C99-based-standards] (wcstof): Expect function.
16989 [C99-based-standards] (wcstold): Likewise.
16990 [C99-based-standards] (wcstoll): Likewise.
16991 [C99-based-standards] (wcstoull): Likewise.
16992 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16993 macro-int-constant. Specify type.
16994 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16995 constraint on value.
16996 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16997 Specify type.
16998 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16999 Specify value.
17000 [ISO C standards]: Do not allow headers.
17001 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17002 wcs[abcdefghijklmnopqrstuvwxyz]*.
17003 [ISO C standards] (*_t): Do not allow.
17004 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17005 Expect function.
17006 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17007 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17008 Specify type.
17009 [ISO C standards]: Do not allow headers.
17010 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17011 is[abcdefghijklmnopqrstuvwxyz]*.
17012 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17013 to[abcdefghijklmnopqrstuvwxyz]*.
17014 [ISO C standards] (*_t): Do not allow.
17015 * conform/data/stdalign.h-data: New file.
17016 * conform/data/stdbool.h-data: Likewise.
17017 * conform/data/stdnoreturn.h-data: Likewise.
17018
7514feb8
RM
170192012-11-07 Roland McGrath <roland@hack.frob.com>
17020
17021 [BZ #14815]
17022 * manual/filesys.texi (Directory Entries): Typo fix.
17023 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17024
19b2ecfc
MS
170252012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17026
17027 * elf/elf.h (EM_AARCH64): New macro.
17028 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17029 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17030 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17031 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17032 (R_AARCH64_TLSDESC): Likewise.
17033 (NT_ARM_TLS): Likewise.
17034 (NT_ARM_HW_BREAK): Likewise.
17035 (NT_ARM_HW_WATCH): Likewise.
17036
60e235ee
JM
170372012-11-07 Joseph Myers <joseph@codesourcery.com>
17038
17039 [BZ #14811]
17040 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17041 (__ieee754_powl): Saturate nonzero exponents with absolute value
17042 below 0x1p-79 to +/- 0x1p-79.
17043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17044 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17045 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17046 nonzero exponents with absolute value below 0x1p-32 to +/-
17047 0x1p-32.
17048 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17049 (__ieee754_powl): Saturate nonzero exponents with absolute value
17050 below 0x1p-79 to +/- 0x1p-79.
17051 * math/libm-test.inc (pow_test): Add more tests.
17052
0ab234b7
AK
170532012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17054
17055 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17056 _dl_s390_cap_flags with kernel. Increase string length.
17057 (_dl_s390_platforms): Add z196 and zEC12.
17058
45832f74
JM
170592012-11-07 Joseph Myers <joseph@codesourcery.com>
17060
17061 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17062 Change XOPEN21K to XOPEN2K.
17063
19218757
MK
170642012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17065
17066 * string/memmove.c: Use memcpy when possible.
17067
c5f45721
AJ
170682012-11-06 Andreas Jaeger <aj@suse.de>
17069
17070 * po/eo.po: Update from translation team.
17071
82477c28
JM
170722012-11-06 Joseph Myers <joseph@codesourcery.com>
17073
17074 [BZ #14793]
17075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17076 exponent and small x and y exponents, scale x or y up. Increase
17077 by 2 the exponent used in scaling up.
17078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17080 * math/libm-test.inc (fma_test): Add more tests.
17081 (fma_test_towardzero): Likewise.
17082 (fma_test_downward): Likewise.
17083 (fma_test_upward): Likewise.
17084
99252c8c
JM
170852012-11-05 Joseph Myers <joseph@codesourcery.com>
17086
acfa885f
JM
17087 [BZ #14805]
17088 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17089 fenv_t *.
17090
99252c8c
JM
17091 [BZ #14801]
17092 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17093 namespace for names of struct fields.
17094 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17095 fenv_t fields.
17096 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17097 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17098
d6d98dea
ST
170992012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17100
17101 [BZ #3665]
17102 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17103
e10bb107
TS
171042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17105
17106 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17107 PTR_DEMANGLE.
17108
17109 [BZ #5246]
17110 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17111 PTR_DEMANGLE.
17112
a0c2940d
JM
171132012-11-04 Joseph Myers <joseph@codesourcery.com>
17114
17115 [BZ #14797]
17116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17117 definitely overflow as x * y not x * y + z.
17118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17119 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17120 * math/libm-test.inc (fma_test): Add more tests.
17121 (fma_test_towardzero): Likewise.
17122 (fma_test_downward): Likewise.
17123 (fma_test_upward): Likewise.
17124
b830319d
TS
171252012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17126
17127 [BZ #157]
17128
17129 * include/stub-tag.h: Remove file.
17130 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17131 '#include' of it.
17132 * manual/maint.texi (Porting): Don't reference it.
17133 * Makerules ($(objpfx)stubs): Likewise.
17134 * dirent/closedir.c: Don't include <stub-tag.h>.
17135 * dirent/dirfd.c: Likewise.
17136 * dirent/fdopendir.c: Likewise.
17137 * dirent/getdents.c: Likewise.
17138 * dirent/getdents64.c: Likewise.
17139 * dirent/opendir.c: Likewise.
17140 * dirent/readdir.c: Likewise.
17141 * dirent/readdir64.c: Likewise.
17142 * dirent/readdir64_r.c: Likewise.
17143 * dirent/readdir_r.c: Likewise.
17144 * dirent/rewinddir.c: Likewise.
17145 * dirent/seekdir.c: Likewise.
17146 * dirent/telldir.c: Likewise.
17147 * gmon/profil.c: Likewise.
17148 * grp/setgroups.c: Likewise.
17149 * inet/if_index.c: Likewise.
17150 * io/access.c: Likewise.
17151 * io/chdir.c: Likewise.
17152 * io/chmod.c: Likewise.
17153 * io/chown.c: Likewise.
17154 * io/close.c: Likewise.
17155 * io/dup.c: Likewise.
17156 * io/dup2.c: Likewise.
17157 * io/dup3.c: Likewise.
17158 * io/euidaccess.c: Likewise.
17159 * io/faccessat.c: Likewise.
17160 * io/fchdir.c: Likewise.
17161 * io/fchmod.c: Likewise.
17162 * io/fchmodat.c: Likewise.
17163 * io/fchown.c: Likewise.
17164 * io/fchownat.c: Likewise.
17165 * io/fcntl.c: Likewise.
17166 * io/flock.c: Likewise.
17167 * io/fstatfs.c: Likewise.
17168 * io/fstatfs64.c: Likewise.
17169 * io/fstatvfs.c: Likewise.
17170 * io/fstatvfs64.c: Likewise.
17171 * io/futimens.c: Likewise.
17172 * io/fxstat.c: Likewise.
17173 * io/fxstat64.c: Likewise.
17174 * io/fxstatat.c: Likewise.
17175 * io/fxstatat64.c: Likewise.
17176 * io/getcwd.c: Likewise.
17177 * io/isatty.c: Likewise.
17178 * io/lchmod.c: Likewise.
17179 * io/lchown.c: Likewise.
17180 * io/link.c: Likewise.
17181 * io/linkat.c: Likewise.
17182 * io/lseek.c: Likewise.
17183 * io/lseek64.c: Likewise.
17184 * io/lxstat64.c: Likewise.
17185 * io/mkdir.c: Likewise.
17186 * io/mkdirat.c: Likewise.
17187 * io/mkfifo.c: Likewise.
17188 * io/mkfifoat.c: Likewise.
17189 * io/open.c: Likewise.
17190 * io/open64.c: Likewise.
17191 * io/openat.c: Likewise.
17192 * io/openat64.c: Likewise.
17193 * io/pipe.c: Likewise.
17194 * io/pipe2.c: Likewise.
17195 * io/poll.c: Likewise.
17196 * io/posix_fadvise.c: Likewise.
17197 * io/posix_fadvise64.c: Likewise.
17198 * io/posix_fallocate.c: Likewise.
17199 * io/posix_fallocate64.c: Likewise.
17200 * io/read.c: Likewise.
17201 * io/readlink.c: Likewise.
17202 * io/readlinkat.c: Likewise.
17203 * io/rmdir.c: Likewise.
17204 * io/sendfile.c: Likewise.
17205 * io/sendfile64.c: Likewise.
17206 * io/statfs.c: Likewise.
17207 * io/statfs64.c: Likewise.
17208 * io/statvfs.c: Likewise.
17209 * io/statvfs64.c: Likewise.
17210 * io/symlink.c: Likewise.
17211 * io/symlinkat.c: Likewise.
17212 * io/ttyname.c: Likewise.
17213 * io/ttyname_r.c: Likewise.
17214 * io/umask.c: Likewise.
17215 * io/unlink.c: Likewise.
17216 * io/unlinkat.c: Likewise.
17217 * io/utime.c: Likewise.
17218 * io/utimensat.c: Likewise.
17219 * io/write.c: Likewise.
17220 * io/xmknod.c: Likewise.
17221 * io/xmknodat.c: Likewise.
17222 * io/xstat.c: Likewise.
17223 * io/xstat64.c: Likewise.
17224 * login/getpt.c: Likewise.
17225 * login/grantpt.c: Likewise.
17226 * login/unlockpt.c: Likewise.
17227 * math/e_acoshl.c: Likewise.
17228 * math/e_acosl.c: Likewise.
17229 * math/e_asinl.c: Likewise.
17230 * math/e_atan2l.c: Likewise.
17231 * math/e_atanhl.c: Likewise.
17232 * math/e_coshl.c: Likewise.
17233 * math/e_expl.c: Likewise.
17234 * math/e_fmodl.c: Likewise.
17235 * math/e_gammal_r.c: Likewise.
17236 * math/e_hypotl.c: Likewise.
17237 * math/e_j0l.c: Likewise.
17238 * math/e_j1l.c: Likewise.
17239 * math/e_jnl.c: Likewise.
17240 * math/e_lgammal_r.c: Likewise.
17241 * math/e_log10l.c: Likewise.
17242 * math/e_log2l.c: Likewise.
17243 * math/e_logl.c: Likewise.
17244 * math/e_powl.c: Likewise.
17245 * math/e_rem_pio2l.c: Likewise.
17246 * math/e_sinhl.c: Likewise.
17247 * math/e_sqrtl.c: Likewise.
17248 * math/fclrexcpt.c: Likewise.
17249 * math/fedisblxcpt.c: Likewise.
17250 * math/feenablxcpt.c: Likewise.
17251 * math/fegetenv.c: Likewise.
17252 * math/fegetexcept.c: Likewise.
17253 * math/fegetround.c: Likewise.
17254 * math/feholdexcpt.c: Likewise.
17255 * math/fesetenv.c: Likewise.
17256 * math/fesetround.c: Likewise.
17257 * math/feupdateenv.c: Likewise.
17258 * math/fgetexcptflg.c: Likewise.
17259 * math/fraiseexcpt.c: Likewise.
17260 * math/fsetexcptflg.c: Likewise.
17261 * math/ftestexcept.c: Likewise.
17262 * math/k_cosl.c: Likewise.
17263 * math/k_rem_pio2l.c: Likewise.
17264 * math/k_sinl.c: Likewise.
17265 * math/k_tanl.c: Likewise.
17266 * math/s_asinhl.c: Likewise.
17267 * math/s_atanl.c: Likewise.
17268 * math/s_cbrtl.c: Likewise.
17269 * math/s_erfl.c: Likewise.
17270 * math/s_expm1l.c: Likewise.
17271 * math/s_log1pl.c: Likewise.
17272 * math/s_tanhl.c: Likewise.
17273 * misc/acct.c: Likewise.
17274 * misc/brk.c: Likewise.
17275 * misc/chflags.c: Likewise.
17276 * misc/chroot.c: Likewise.
17277 * misc/fchflags.c: Likewise.
17278 * misc/fgetxattr.c: Likewise.
17279 * misc/flistxattr.c: Likewise.
17280 * misc/fremovexattr.c: Likewise.
17281 * misc/fsetxattr.c: Likewise.
17282 * misc/fsync.c: Likewise.
17283 * misc/ftruncate.c: Likewise.
17284 * misc/futimes.c: Likewise.
17285 * misc/futimesat.c: Likewise.
17286 * misc/getdomain.c: Likewise.
17287 * misc/getdtsz.c: Likewise.
17288 * misc/gethostid.c: Likewise.
17289 * misc/gethostname.c: Likewise.
17290 * misc/getloadavg.c: Likewise.
17291 * misc/getpagesize.c: Likewise.
17292 * misc/getsysstats.c: Likewise.
17293 * misc/getxattr.c: Likewise.
17294 * misc/gtty.c: Likewise.
17295 * misc/ioctl.c: Likewise.
17296 * misc/lgetxattr.c: Likewise.
17297 * misc/listxattr.c: Likewise.
17298 * misc/llistxattr.c: Likewise.
17299 * misc/lremovexattr.c: Likewise.
17300 * misc/lsetxattr.c: Likewise.
17301 * misc/lutimes.c: Likewise.
17302 * misc/madvise.c: Likewise.
17303 * misc/mincore.c: Likewise.
17304 * misc/mlock.c: Likewise.
17305 * misc/mlockall.c: Likewise.
17306 * misc/mmap.c: Likewise.
17307 * misc/mprotect.c: Likewise.
17308 * misc/msync.c: Likewise.
17309 * misc/munlock.c: Likewise.
17310 * misc/munlockall.c: Likewise.
17311 * misc/munmap.c: Likewise.
17312 * misc/preadv.c: Likewise.
17313 * misc/preadv64.c: Likewise.
17314 * misc/ptrace.c: Likewise.
17315 * misc/pwritev.c: Likewise.
17316 * misc/pwritev64.c: Likewise.
17317 * misc/readv.c: Likewise.
17318 * misc/reboot.c: Likewise.
17319 * misc/remap_file_pages.c: Likewise.
17320 * misc/removexattr.c: Likewise.
17321 * misc/revoke.c: Likewise.
17322 * misc/select.c: Likewise.
17323 * misc/setdomain.c: Likewise.
17324 * misc/setegid.c: Likewise.
17325 * misc/seteuid.c: Likewise.
17326 * misc/sethostid.c: Likewise.
17327 * misc/sethostname.c: Likewise.
17328 * misc/setregid.c: Likewise.
17329 * misc/setreuid.c: Likewise.
17330 * misc/setxattr.c: Likewise.
17331 * misc/sstk.c: Likewise.
17332 * misc/stty.c: Likewise.
17333 * misc/swapoff.c: Likewise.
17334 * misc/swapon.c: Likewise.
17335 * misc/sync.c: Likewise.
17336 * misc/syncfs.c: Likewise.
17337 * misc/syscall.c: Likewise.
17338 * misc/truncate.c: Likewise.
17339 * misc/ualarm.c: Likewise.
17340 * misc/usleep.c: Likewise.
17341 * misc/ustat.c: Likewise.
17342 * misc/utimes.c: Likewise.
17343 * misc/vhangup.c: Likewise.
17344 * misc/writev.c: Likewise.
17345 * posix/_exit.c: Likewise.
17346 * posix/alarm.c: Likewise.
17347 * posix/execve.c: Likewise.
17348 * posix/fexecve.c: Likewise.
17349 * posix/fork.c: Likewise.
17350 * posix/fpathconf.c: Likewise.
17351 * posix/getaddrinfo.c: Likewise.
17352 * posix/getegid.c: Likewise.
17353 * posix/geteuid.c: Likewise.
17354 * posix/getgid.c: Likewise.
17355 * posix/getgroups.c: Likewise.
17356 * posix/getlogin.c: Likewise.
17357 * posix/getlogin_r.c: Likewise.
17358 * posix/getpgid.c: Likewise.
17359 * posix/getpid.c: Likewise.
17360 * posix/getppid.c: Likewise.
17361 * posix/getresgid.c: Likewise.
17362 * posix/getresuid.c: Likewise.
17363 * posix/getsid.c: Likewise.
17364 * posix/getuid.c: Likewise.
17365 * posix/glob64.c: Likewise.
17366 * posix/nanosleep.c: Likewise.
17367 * posix/pathconf.c: Likewise.
17368 * posix/pause.c: Likewise.
17369 * posix/posix_madvise.c: Likewise.
17370 * posix/pread.c: Likewise.
17371 * posix/pread64.c: Likewise.
17372 * posix/pwrite.c: Likewise.
17373 * posix/pwrite64.c: Likewise.
17374 * posix/sched_getaffinity.c: Likewise.
17375 * posix/sched_getp.c: Likewise.
17376 * posix/sched_gets.c: Likewise.
17377 * posix/sched_primax.c: Likewise.
17378 * posix/sched_primin.c: Likewise.
17379 * posix/sched_rr_gi.c: Likewise.
17380 * posix/sched_setaffinity.c: Likewise.
17381 * posix/sched_setp.c: Likewise.
17382 * posix/sched_sets.c: Likewise.
17383 * posix/sched_yield.c: Likewise.
17384 * posix/setgid.c: Likewise.
17385 * posix/setlogin.c: Likewise.
17386 * posix/setpgid.c: Likewise.
17387 * posix/setresgid.c: Likewise.
17388 * posix/setresuid.c: Likewise.
17389 * posix/setsid.c: Likewise.
17390 * posix/setuid.c: Likewise.
17391 * posix/sleep.c: Likewise.
17392 * posix/spawni.c: Likewise.
17393 * posix/sysconf.c: Likewise.
17394 * posix/times.c: Likewise.
17395 * posix/wait.c: Likewise.
17396 * posix/wait3.c: Likewise.
17397 * posix/wait4.c: Likewise.
17398 * posix/waitpid.c: Likewise.
17399 * resolv/gai_sigqueue.c: Likewise.
17400 * resource/getpriority.c: Likewise.
17401 * resource/getrlimit.c: Likewise.
17402 * resource/getrusage.c: Likewise.
17403 * resource/nice.c: Likewise.
17404 * resource/setpriority.c: Likewise.
17405 * resource/setrlimit.c: Likewise.
17406 * resource/ulimit.c: Likewise.
17407 * rt/aio_cancel.c: Likewise.
17408 * rt/aio_fsync.c: Likewise.
17409 * rt/aio_read.c: Likewise.
17410 * rt/aio_sigqueue.c: Likewise.
17411 * rt/aio_suspend.c: Likewise.
17412 * rt/aio_write.c: Likewise.
17413 * rt/clock_getres.c: Likewise.
17414 * rt/clock_gettime.c: Likewise.
17415 * rt/clock_nanosleep.c: Likewise.
17416 * rt/clock_settime.c: Likewise.
17417 * rt/lio_listio.c: Likewise.
17418 * rt/mq_close.c: Likewise.
17419 * rt/mq_getattr.c: Likewise.
17420 * rt/mq_notify.c: Likewise.
17421 * rt/mq_open.c: Likewise.
17422 * rt/mq_receive.c: Likewise.
17423 * rt/mq_send.c: Likewise.
17424 * rt/mq_setattr.c: Likewise.
17425 * rt/mq_timedreceive.c: Likewise.
17426 * rt/mq_timedsend.c: Likewise.
17427 * rt/mq_unlink.c: Likewise.
17428 * rt/shm_open.c: Likewise.
17429 * rt/shm_unlink.c: Likewise.
17430 * rt/timer_create.c: Likewise.
17431 * rt/timer_delete.c: Likewise.
17432 * rt/timer_getoverr.c: Likewise.
17433 * rt/timer_gettime.c: Likewise.
17434 * rt/timer_settime.c: Likewise.
17435 * setjmp/__longjmp.c: Likewise.
17436 * setjmp/setjmp.c: Likewise.
17437 * signal/kill.c: Likewise.
17438 * signal/killpg.c: Likewise.
17439 * signal/raise.c: Likewise.
17440 * signal/sigaction.c: Likewise.
17441 * signal/sigaltstack.c: Likewise.
17442 * signal/sigblock.c: Likewise.
17443 * signal/sigignore.c: Likewise.
17444 * signal/sigintr.c: Likewise.
17445 * signal/signal.c: Likewise.
17446 * signal/sigpause.c: Likewise.
17447 * signal/sigpending.c: Likewise.
17448 * signal/sigqueue.c: Likewise.
17449 * signal/sigreturn.c: Likewise.
17450 * signal/sigset.c: Likewise.
17451 * signal/sigsetmask.c: Likewise.
17452 * signal/sigstack.c: Likewise.
17453 * signal/sigsuspend.c: Likewise.
17454 * signal/sigtimedwait.c: Likewise.
17455 * signal/sigvec.c: Likewise.
17456 * signal/sigwait.c: Likewise.
17457 * signal/sigwaitinfo.c: Likewise.
17458 * signal/sysv_signal.c: Likewise.
17459 * socket/accept.c: Likewise.
17460 * socket/accept4.c: Likewise.
17461 * socket/bind.c: Likewise.
17462 * socket/connect.c: Likewise.
17463 * socket/getpeername.c: Likewise.
17464 * socket/getsockname.c: Likewise.
17465 * socket/getsockopt.c: Likewise.
17466 * socket/isfdtype.c: Likewise.
17467 * socket/listen.c: Likewise.
17468 * socket/recv.c: Likewise.
17469 * socket/recvfrom.c: Likewise.
17470 * socket/recvmsg.c: Likewise.
17471 * socket/send.c: Likewise.
17472 * socket/sendmsg.c: Likewise.
17473 * socket/sendto.c: Likewise.
17474 * socket/setsockopt.c: Likewise.
17475 * socket/shutdown.c: Likewise.
17476 * socket/sockatmark.c: Likewise.
17477 * socket/socket.c: Likewise.
17478 * socket/socketpair.c: Likewise.
17479 * stdio-common/ctermid.c: Likewise.
17480 * stdio-common/cuserid.c: Likewise.
17481 * stdio-common/remove.c: Likewise.
17482 * stdio-common/rename.c: Likewise.
17483 * stdio-common/renameat.c: Likewise.
17484 * stdio-common/tempname.c: Likewise.
17485 * stdlib/getcontext.c: Likewise.
17486 * stdlib/makecontext.c: Likewise.
17487 * stdlib/setcontext.c: Likewise.
17488 * stdlib/swapcontext.c: Likewise.
17489 * stdlib/system.c: Likewise.
17490 * streams/fattach.c: Likewise.
17491 * streams/fdetach.c: Likewise.
17492 * streams/getmsg.c: Likewise.
17493 * streams/getpmsg.c: Likewise.
17494 * streams/putmsg.c: Likewise.
17495 * streams/putpmsg.c: Likewise.
17496 * sysdeps/unix/bsd/getpt.c: Likewise.
17497 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17498 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17499 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17501 Likewise.
17502 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17503 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17504 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17505 * sysvipc/msgctl.c: Likewise.
17506 * sysvipc/msgget.c: Likewise.
17507 * sysvipc/msgrcv.c: Likewise.
17508 * sysvipc/msgsnd.c: Likewise.
17509 * sysvipc/semctl.c: Likewise.
17510 * sysvipc/semget.c: Likewise.
17511 * sysvipc/semop.c: Likewise.
17512 * sysvipc/semtimedop.c: Likewise.
17513 * sysvipc/shmat.c: Likewise.
17514 * sysvipc/shmctl.c: Likewise.
17515 * sysvipc/shmdt.c: Likewise.
17516 * sysvipc/shmget.c: Likewise.
17517 * termios/tcdrain.c: Likewise.
17518 * termios/tcflow.c: Likewise.
17519 * termios/tcflush.c: Likewise.
17520 * termios/tcgetattr.c: Likewise.
17521 * termios/tcgetpgrp.c: Likewise.
17522 * termios/tcsendbrk.c: Likewise.
17523 * termios/tcsetattr.c: Likewise.
17524 * termios/tcsetpgrp.c: Likewise.
17525 * time/adjtime.c: Likewise.
17526 * time/clock.c: Likewise.
17527 * time/getitimer.c: Likewise.
17528 * time/gettimeofday.c: Likewise.
17529 * time/setitimer.c: Likewise.
17530 * time/settimeofday.c: Likewise.
17531 * time/stime.c: Likewise.
17532 * time/time.c: Likewise.
17533
175342012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17535
a20492cf
PT
17536 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17537 /usr/old/bin.
17538
72e182e3
PT
17539 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17540 instead of spaces.
17541 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17542
fbeafede
JM
175432012-11-03 Joseph Myers <joseph@codesourcery.com>
17544
5b5b04d6
JM
17545 [BZ #14796]
17546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17547 FE_TONEAREST before applying Dekker multiplication and Knuth
17548 addition. Clear inexact exceptions and check for exact zero
17549 results afterwards.
17550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17551 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17552 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17553 * math/libm-test.inc (fma_test): Add more tests.
17554 (fma_test_towardzero): Likewise.
17555 (fma_test_downward): Likewise.
17556 (fma_test_upward): Likewise.
17557 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17558 function.
17559 (libc_fesetround): New macro.
17560 (libc_fesetroundf): Likewise.
17561 (libc_fesetroundl): Likewise.
17562 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17563 function.
17564 (libc_fesetround_387): Likewise.
17565 (libc_fesetroundf): New macro.
17566 (libc_fesetround): Likewise.
17567 (libc_fesetroundl): Likewise.
17568 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17569 function.
17570 (libc_fesetroundf): New macro.
17571 (libc_fesetround): Likewise.
17572 (libc_fesetroundl): Likewise.
17573 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17574 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17575 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17576 libm_hidden_ver.
17577 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17578 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17579 libm_hidden_def.
17580 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17581 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17582 libm_hidden_ver.
17583 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17584 libm_hidden_def.
17585
fbeafede
JM
17586 [BZ #3439]
17587 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17588 integer constant usable in #if and use that to give value to enum
17589 constant.
17590 (FE_DIVBYZERO): Likewise.
17591 (FE_UNDERFLOW): Likewise.
17592 (FE_OVERFLOW): Likewise.
17593 (FE_INVALID): Likewise.
17594 (FE_INVALID_SNAN): Likewise.
17595 (FE_INVALID_ISI): Likewise.
17596 (FE_INVALID_IDI): Likewise.
17597 (FE_INVALID_ZDZ): Likewise.
17598 (FE_INVALID_IMZ): Likewise.
17599 (FE_INVALID_COMPARE): Likewise.
17600 (FE_INVALID_SOFTWARE): Likewise.
17601 (FE_INVALID_SQRT): Likewise.
17602 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17603 (FE_TONEAREST): Likewise.
17604 (FE_TOWARDZERO): Likewise.
17605 (FE_UPWARD): Likewise.
17606 (FE_DOWNWARD): Likewise.
17607 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17608 (FE_DIVBYZERO): Likewise.
17609 (FE_OVERFLOW): Likewise.
17610 (FE_UNDERFLOW): Likewise.
17611 (FE_INEXACT): Likewise.
17612 (FE_TONEAREST): Likewise.
17613 (FE_DOWNWARD): Likewise.
17614 (FE_UPWARD): Likewise.
17615 (FE_TOWARDZERO): Likewise.
17616 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17617 (FE_UNDERFLOW): Likewise.
17618 (FE_OVERFLOW): Likewise.
17619 (FE_DIVBYZERO): Likewise.
17620 (FE_INVALID): Likewise.
17621 (FE_TONEAREST): Likewise.
17622 (FE_TOWARDZERO): Likewise.
17623 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17624 (FE_OVERFLOW): Likewise.
17625 (FE_UNDERFLOW): Likewise.
17626 (FE_DIVBYZERO): Likewise.
17627 (FE_INEXACT): Likewise.
17628 (FE_TONEAREST): Likewise.
17629 (FE_TOWARDZERO): Likewise.
17630 (FE_UPWARD): Likewise.
17631 (FE_DOWNWARD): Likewise.
17632 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17633 (FE_DIVBYZERO): Likewise.
17634 (FE_OVERFLOW): Likewise.
17635 (FE_UNDERFLOW): Likewise.
17636 (FE_INEXACT): Likewise.
17637 (FE_TONEAREST): Likewise.
17638 (FE_DOWNWARD): Likewise.
17639 (FE_UPWARD): Likewise.
17640 (FE_TOWARDZERO): Likewise.
17641
105ca950
CM
176422012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17643
17644 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17645
a542b389
AS
176462012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17647
17648 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17649 commands. Quote $PWD.
17650 (blacklist_exports): Don't use remove_newlines. Replace "declare
17651 -x" by "export".
17652 (remove_newlines): Remove.
17653
f62c8abc
L
176542012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17655
17656 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17657 * stdlib/stdlib.h (atof): Moved to ...
17658 * include/bits/stdlib-float.h: Here. New file.
17659 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17660 * stdlib/bits/stdlib-float.h: New file.
17661 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17662 -mno-sse -mno-mmx.
17663 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17664 <xmmintrin.h>.
17665
0155d5b2
JM
176662012-11-02 Joseph Myers <joseph@codesourcery.com>
17667
a68d0680
JM
17668 * conform/conformtest.pl (@headers): Add fenv.h.
17669 * conform/data/fenv.h-data: New file.
17670 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17671 include of <math/fenv.h>.
17672
caf7f573
JM
17673 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17674 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17675 && !UNIX98]. Enables tests for XOPEN2K8.
17676 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17677 POSIX2008]: Likewise.
17678
6c073ad6
JM
17679 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17680 (struct rusage): Do not expect type or its members.
17681
0155d5b2
JM
17682 [BZ #3439]
17683 * math/math.h (FP_NAN): Define macro to integer constant usable in
17684 #if and use that to give value to enum constant.
17685 (FP_INFINITE): Likewise.
17686 (FP_ZERO): Likewise.
17687 (FP_SUBNORMAL): Likewise.
17688 (FP_NORMAL): Likewise.
17689
b5dcacb4
AS
176902012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17691
17692 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17693 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17694 arguments.
17695
f7934be8
RM
176962012-11-02 Roland McGrath <roland@hack.frob.com>
17697
17698 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17699 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17700 autoconf-time if not.
17701 * configure.in: Remove AC_PREREQ.
17702
d7d08bde
TMQMF
177032012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17704
17705 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17706 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17707 of the internal implementation.
17708
dcdae19a
JM
177092012-11-02 Joseph Myers <joseph@codesourcery.com>
17710
17711 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17712 except include of <misc/sys/syslog.h>.
17713
d6cffd3e
AS
177142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17715
17716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17717 function returns with a NULL context exit with zero.
17718
b3563932
TMQMF
177192012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17720
17721 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17722
b288a93d
L
177232012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17724
17725 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17726 (run_program_cmd): This.
17727 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17728 (tst_langinfo): New variable. Use it.
17729
a2421a68
SAS
177302012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17731
17732 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17733 floating point opcodes.
17734
6f796e1b
TS
177352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17736
7402596b
TS
17737 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17738 variable.
17739
d0d4f868
TS
17740 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17741
6f796e1b
TS
17742 * sysdeps/mach/hurd/powerpc: Remove directory.
17743 * sysdeps/mach/powerpc: Likewise.
17744
4da224a2
AS
177452012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17746
17747 * scripts/check-local-headers.sh: Ignore c++ headers.
17748
341dd673
TS
177492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17750
17751 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17752 __libc_cleanup_region_start argument.
17753
473611b2
JM
177542012-11-01 Joseph Myers <joseph@codesourcery.com>
17755
17756 [BZ #14784]
17757 [BZ #14785]
17758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17759 x * y using scaling, not as x * y + z.
17760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17761 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17762 * math/libm-test.inc (fma_test): Add more tests.
17763 (fma_test_towardzero): Likewise.
17764 (fma_test_downward): Likewise.
17765 (fma_test_upward): Likewise.
17766
4078da3d
TS
177672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17768
17769 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17770
903252aa
JM
177712012-10-31 Joseph Myers <joseph@codesourcery.com>
17772
17773 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17774 New variable.
17775
cbc818d0
TS
177762012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17777
17778 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17779
5a03cb1e
AS
177802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17781
17782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17783 Fix sort order.
17784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17785 Likewise.
17786
90aff2ff
TMQMF
177872012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17788
17789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17790 Fix the order of the list for glibc 2.17.
17791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17792 Likewise.
17793
1818fcb7
AS
177942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17795
17796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17797
ef82f4da
JM
177982012-10-31 Joseph Myers <joseph@codesourcery.com>
17799
16a0e2ec
JM
17800 [BZ #14610]
17801 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17802 for low part of x being zero before using __atanl (y).
17803 * math/libm-test.inc (atan2_test): Add another test.
17804
0eb69512
JM
17805 * manual/install.texi (Configuring and compiling): Document
17806 general use of test-wrapper and test-wrapper-env.
17807 * INSTALL: Regenerated.
17808
ef82f4da
JM
17809 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17810 (__fma): Do not extract and scale down low bits on after-rounding
17811 systems when result rounded to normal precision would have normal
17812 exponent.
17813 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17814 (__fmal): Do not extract and scale down low bits on after-rounding
17815 systems when result rounded to normal precision would have normal
17816 exponent.
17817 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17818 (__fmal): Do not extract and scale down low bits on after-rounding
17819 systems when result rounded to normal precision would have normal
17820 exponent.
17821 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17822 macro.
17823 (fma_test): Add more tests.
17824 (fma_test_towardzero): Likewise.
17825 (fma_test_downward): Likewise.
17826 (fma_test_upward): Likewise.
17827
954ef0d9
L
178282012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17829
17830 * sysdeps/i386/tininess.h: Renamed to ...
17831 * sysdeps/x86/tininess.h: This.
17832 * sysdeps/x86_64/tininess.h: Removed.
17833
df61ffb2
JM
178342012-10-30 Joseph Myers <joseph@codesourcery.com>
17835
17836 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17837 input. Use $(build-program-cmd).
17838 ($(objpfx)tst-array1-static.out): Likewise.
17839 ($(objpfx)tst-array2.out): Likewise.
17840 ($(objpfx)tst-array3.out): Likewise.
17841 ($(objpfx)tst-array4.out): Likewise.
17842 ($(objpfx)tst-array5.out): Likewise.
17843 ($(objpfx)tst-array5-static.out): Likewise.
17844
01767843
CM
178452012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17846
47cc1490
CM
17847 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17848 if defined.
17849
01767843
CM
17850 * nss/nsswitch.h (nss_interface_function): Provide new
17851 macro for use with NSS functions.
17852 * grp/initgroups.c: Use new macro.
17853 * nss/getXXbyYY.c: Likewise.
17854 * nss/getXXbyYY_r.c: Likewise.
17855 * nss/getXXent.c: Likewise.
17856 * nss/getXXent_r.c: Likewise.
17857 * sysdeps/posix/getaddrinfo.c: Likewise.
17858
8321aa97
AJ
178592012-10-30 Andreas Jaeger <aj@suse.de>
17860
17861 * po/ru.po: Update Russion translation from translation project.
17862
2a27fd6d
JM
178632012-10-30 Joseph Myers <joseph@codesourcery.com>
17864
8627a232
JM
17865 [BZ #14152]
17866 [BZ #14783]
17867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17868 result and shift together with sticky bit instead of replicating
17869 round-to-nearest rounding.
17870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17872 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17873 missing underflow exceptions.
17874 (fma_test_towardzero): Add more tests.
17875 (fma_test_downward): Likewise.
17876 (fma_test_upward): Likewise.
17877
2a27fd6d
JM
17878 [BZ #14047]
17879 * sysdeps/generic/tininess.h: New file.
17880 * sysdeps/i386/tininess.h: Likewise.
17881 * sysdeps/sh/tininess.h: Likewise.
17882 * sysdeps/x86_64/tininess.h: Likewise.
17883 * stdlib/tst-strtod-underflow.c: Likewise.
17884 * stdlib/tst-tininess.c: Likewise.
17885 * stdlib/strtod_l.c: Include <tininess.h>.
17886 (round_and_return): Do not set errno for exact underflow cases.
17887 Force an underflow exception when setting errno for underflow.
17888 Determine underflow based on rounding to normal precision if
17889 TININESS_AFTER_ROUNDING.
17890 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17891 ERANGE for exact underflow cases.
17892 * stdlib/Makefile (tests): Add tst-tininess and
17893 tst-strtod-underflow.
17894 ($(objpfx)tst-tininess): Use $(link-libm).
17895 ($(objpfx)tst-strtod-underflow): Likewise.
17896
e7170363
AJ
178972012-10-30 Andreas Jaeger <aj@suse.de>
17898
e5088dc6
AJ
17899 [BZ#14767]
17900 * elf/Makefile (tests): Remove conditional for have-initfini-array
17901 since this is now always required and the variable does not exist
17902 anymore.
17903 (tests-static): Likewise.
17904 (modules-names): Likewise.
17905
e7170363 17906 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17907
17908 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17909 merged with constructor/destructor.
17910 (init_array): Likewise.
17911 * elf/tst-array2dep.c (fini_array): Likewise.
17912 (init_array): Likewise.
17913
60457d8a
MF
179142012-10-29 Mike Frysinger <vapier@gentoo.org>
17915
17916 * manual/message.texi: Delete @cartouche tags.
17917
8bece752
PT
179182012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17919
94ce799f
PT
17920 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17921 EOPNOTSUPP.
17922 * sysdeps/mach/hurd/fsync.c: Likewise.
17923
8bece752
PT
17924 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17925 [_POSIX_REALTIME_SIGNALS]: Change condition to
17926 [_POSIX_REALTIME_SIGNALS > 0].
17927
86ebe6b1
AJ
179282012-10-27 Andreas Jaeger <aj@suse.de>
17929
17930 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17931 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17932 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17933 [__WORDSIZE != 64]: Likewise.
17934
54399c08
L
179352012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17936
17937 * iconvdata/tst-table.sh: Remove ${SHELL}.
17938 * iconvdata/tst-tables.sh: Likewise.
17939
e2211bed
DM
179402012-10-25 David S. Miller <davem@davemloft.net>
17941
17942 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17943 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17944 of strtoull.
17945
f303f97c
DM
17946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17947 ifunc-impl-list.c
17948 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17949 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17950 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17951 file.
17952
1e9d84cd
RM
179532012-10-25 Roland McGrath <roland@hack.frob.com>
17954
17955 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17956 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17957 __getdirentries.
17958
df381762
JM
179592012-10-25 Joseph Myers <joseph@codesourcery.com>
17960 Jim Blandy <jimb@codesourcery.com>
17961
17962 * scripts/cross-test-ssh.sh: New file.
17963 * manual/install.texi (Configuring and compiling): Document use of
17964 cross-test-ssh.sh.
17965 * INSTALL: Regenerated.
17966
bff64913
PT
179672012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17968
17969 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17970 EOPNOTSUPP.
17971
25fe8932
JM
179722012-10-25 Joseph Myers <joseph@codesourcery.com>
17973
17974 * Makeconfig (run-program-prefix): Fix comment.
17975
cc1290d0
JM
179762012-10-24 Joseph Myers <joseph@codesourcery.com>
17977 Jim Blandy <jimb@codesourcery.com>
17978
17979 * Makeconfig (test-wrapper): New variable,
17980 (test-wrapper-env): Likewise.
17981 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17982 (run-built-tests): Define to yes.
17983 (run-program-prefix): Use $(test-wrapper).
17984 (built-program-cmd): Likewise.
17985 * Rules (make-test-out): Use $(test-wrapper-env) and
17986 $(host-built-program-cmd).
17987 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17988 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17989 tst-pathopt.sh.
17990 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17991 $(test-wrapper-env) to tst-rtld-load-self.sh.
17992 ($(objpfx)order2.out): Use $(test-wrapper).
17993 ($(objpfx)tst-initorder.out): Likewise.
17994 ($(objpfx)tst-initorder2.out): Likewise.
17995 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17996 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17997 (test_wrapper_env): New variable. Use it to run ld.so.
17998 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17999 Use it to run ld.so.
18000 (test_wrapper_env): Likewise.
18001 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18002 $(test-wrapper) to run-iconv-test.sh.
18003 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18004 (ICONV): Use $test_wrapper.
18005 * posix/Makefile ($(objpfx)globtest.out): Pass
18006 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18007 globtest.sh, not $(run-program-prefix).
18008 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18009 (test_wrapper): Likewise.
18010 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18011 set together with run_via_rtld_prefix.
18012 (run_program_prefix): Define in terms of test_wrapper and
18013 run_via_rtld_prefix.
18014
6e6249d0
RM
180152012-10-24 Roland McGrath <roland@hack.frob.com>
18016
18017 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18018 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18019 Targets removed.
18020
18021 [BZ #14743]
18022 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18023 Declare __clock_getres, __clock_gettime, __clock_settime,
18024 __clock_nanosleep, and __clock_getcpuclockid.
18025 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18026 Remove librt_hidden_def (clock_gettime).
18027 * sysdeps/unix/clock_gettime.c: Likewise.
18028 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18029 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18030 * rt/clock_getres.c: Define __clock_getres as an alias.
18031 * sysdeps/posix/clock_getres.c: Likewise.
18032 * rt/clock_settime.c: Define __clock_settime as an alias.
18033 * sysdeps/unix/clock_settime.c: Likewise.
18034 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18035 * sysdeps/unix/clock_nanosleep.c: Likewise.
18036 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18037 * rt/clock-compat.c: New file.
18038 * rt/Makefile (librt-routines): Add clock-compat and move
18039 $(clock-routines) to ...
18040 (routines): ... here, new variable.
18041 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18042 Don't add get_clockfreq here.
18043 * rt/Versions (libc: GLIBC_2.17): New version set.
18044 Add clock_* symbols here.
18045 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18046 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18047 (GLIBC_2.17): Add clock_* symbols.
18048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18052 Likewise.
18053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18054 Likewise.
18055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18059 * NEWS: Mention the move.
18060
18061 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18062 Use __open, __read, __close rather than their public counterparts.
18063 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18064 (__get_clockfreq_via_cpuinfo): Likewise.
18065 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18066 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18067
18068 * config.h.in (HAVE_IFUNC): New #undef.
18069 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18070 was successful.
18071 * configure: Regenerated.
18072
0cae3f4b
MF
180732012-10-24 Mike Frysinger <vapier@gentoo.org>
18074
18075 * configure.in: Move READELF check to start of file.
18076 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18077 libc_cv_asm_gnu_indirect_function in the process.
18078 * configure: Regenerated.
18079
8175a253
MF
180802012-10-24 Mike Frysinger <vapier@gentoo.org>
18081
18082 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18083 send the output to /dev/null.
18084 (libc_cv_cc_with_libunwind): Likewise.
18085 (libc_cv_as_noexecstack): Likewise.
18086 * configure: Regenerate.
18087
0708a7d1
JM
180882012-10-24 Joseph Myers <joseph@codesourcery.com>
18089
10b40d85
JM
18090 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18091
0708a7d1
JM
18092 * posix/globtest.sh (TMPDIR): Do not set.
18093 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18094 (testout): Likewise.
18095
9fddec1a
AJ
180962012-10-24 Andreas Jaeger <aj@suse.de>
18097
3a8db22f
AJ
18098 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18099 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18100 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18101 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18102 posix_fadvise64, posix_fallocate64.
18103
9fddec1a
AJ
18104 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18105 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18106 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18107 Likewise.
18108 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18109 Likewise.
18110 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18111
18112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18113 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18114 <bits/fcntl-linux.h>.
18115 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18116
18117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18118 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18119 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18120 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18121 [__WORDSIZE != 64]: Likewise.
18122
ebfd1bbd
JM
181232012-10-23 Joseph Myers <joseph@codesourcery.com>
18124
03ac099f
JM
18125 * Makeconfig (run-built-tests): New variable.
18126 * Rules [$(cross-compiling) = yes]: Change condition to
18127 [$(run-built-tests) = no].
18128 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18129 to [$(run-built-tests) = yes].
18130 * elf/Makefile [$(cross-compiling) = no]: Likewise
18131 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18132 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18133 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18134 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18135 * io/Makefile [$(cross-compiling) = no]: Likewise.
18136 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18137 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18138 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18139 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18140 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18141 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18142 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18143 * string/Makefile [$(cross-compiling) = no]: Likewise.
18144
ebfd1bbd
JM
18145 * posix/Makefile ($(objpfx)globtest.out): Pass
18146 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18147 $(rtld-installed-name).
18148 * posix/globtest.sh (elf_objpfx): Remove variable.
18149 (rtld_installed_name): Likewise.
18150 (library_path): Likewise.
18151 (run_program_prefix): New variable. Use for running globtest
18152 binary.
18153
166bca24
JB
181542012-10-23 Jim Blandy <jimb@codesourcery.com>
18155 Joseph Myers <joseph@codesourcery.com>
18156
18157 * Makeconfig (host-built-program-cmd): New variable.
18158 * elf/Makefile (tst-stackguard1-ARGS): Use
18159 $(host-built-program-cmd).
18160 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18161 (tst-spawn-ARGS): Likewise.
18162 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18163
88866099
JM
181642012-10-23 Joseph Myers <joseph@codesourcery.com>
18165 Jim Blandy <jimb@codesourcery.com>
18166
18167 * Makeconfig (run-via-rtld-prefix): New variable.
18168 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18169 (built-program-cmd): Likewise.
18170
b4b4c296
AJ
181712012-10-22 Andreas Jaeger <aj@suse.de>
18172
18173 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18174 __O_RSYNC if it exists, otherwise to O_SYNC.
18175
6fb54a22
JB
181762012-10-22 Jim Blandy <jimb@codesourcery.com>
18177 Joseph Myers <joseph@codesourcery.com>
18178
18179 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18180 /dev/null.
18181 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18182 from /dev/null
18183 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18184 /dev/null.
18185
481b90b9
AJ
181862012-10-22 Andreas Jaeger <aj@suse.de>
18187
2a0e2669
AJ
18188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18189 Define always.
18190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18191
76e38f9a
AJ
18192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18193 bits/fcntl-linux.h.
18194
7cd37b43
AJ
18195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18196 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18197
481b90b9
AJ
18198 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18199 to __O_LARGEFILE.
18200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18201 to __O_LARGEFILE.
18202
aba75984
JB
182032012-10-21 Jim Blandy <jimb@codesourcery.com>
18204 Joseph Myers <joseph@codesourcery.com>
18205
18206 * config.make.in (NM): New variable.
18207
88d4247f
AJ
182082012-10-21 Andreas Jaeger <aj@suse.de>
18209
18210 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18211 definitions and declarations that are provided by
18212 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18213
f2eed205
L
182142012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18215
18216 [BZ #14683]
18217 * elf/Makefile (tests-static): Add tst-leaks1-static.
18218 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18219 ($(objpfx)tst-leaks1-static): New rule.
18220 ($(objpfx)tst-leaks1-static-mem): Likewise.
18221 (tst-leaks1-static-ENV): New macro.
18222 * elf/dl-open.c (dl_open_worker): Check the main application
18223 only if SHARED is defined.
18224 * elf/tst-leaks1-static.c: New file.
18225
335e6931
AJ
182262012-10-20 Andreas Jaeger <aj@suse.de>
18227
18228 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18229 generic values for Linux.
18230 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18231 and declarations that are provided by <bits/fcntl-linux.h> and
18232 include <bits/fcntl-linux.h>.
18233 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18234 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18235
ac5c94d3
RM
182362012-10-20 Roland McGrath <roland@hack.frob.com>
18237
18238 * io/fcntl.h: Move include of <bits/types.h> to the top and
18239 include it unconditionally.
18240
de54b33a
L
182412012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18242
228cfb01
L
18243 * wcsmbs/Makefile (tests-ifunc): New variable.
18244 (tests): Add $(tests-ifunc).
18245 * wcsmbs/test-wcschr-ifunc.c: New file.
18246 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18247 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18248 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18249 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18250 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18251
69f07e5f
L
18252 * string/Makefile (tests-ifunc): New variable.
18253 (tests): Add $(tests-ifunc).
18254 * string/test-memccpy.c (TEST_NAME): New macro.
18255 * string/test-memchr.c (TEST_NAME): Likewise.
18256 * string/test-memcmp.c (TEST_NAME): Likewise.
18257 * string/test-memcpy.c (TEST_NAME): Likewise.
18258 * string/test-memmem.c (TEST_NAME): Likewise.
18259 * string/test-memmove.c (TEST_NAME): Likewise.
18260 * string/test-memset.c (TEST_NAME): Likewise.
18261 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18262 * string/test-stpcpy.c (TEST_NAME): Likewise.
18263 * string/test-stpncpy.c (TEST_NAME): Likewise.
18264 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18265 * string/test-strcasestr.c (TEST_NAME): Likewise.
18266 * string/test-strcat.c (TEST_NAME): Likewise.
18267 * string/test-strchr.c (TEST_NAME): Likewise.
18268 * string/test-strcmp.c(TEST_NAME): Likewise.
18269 * string/test-strcpy.c (TEST_NAME): Likewise.
18270 * string/test-strcspn.c (TEST_NAME): Likewise.
18271 * string/test-strlen.c (TEST_NAME): Likewise.
18272 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18273 * string/test-strncmp.c (TEST_NAME): Likewise.
18274 * string/test-strncpy.c (TEST_NAME): Likewise.
18275 * string/test-strnlen.c (TEST_NAME): Likewise.
18276 * string/test-strpbrk.c (TEST_NAME): Likewise.
18277 * string/test-strrchr.c (TEST_NAME): Likewise.
18278 * string/test-strspn.c (TEST_NAME): Likewise.
18279 * string/test-strstr.c (TEST_NAME): Likewise.
18280 * string/test-bcopy-ifunc.c: New file.
18281 * string/test-bzero-ifunc.c: Likewise.
18282 * string/test-memccpy-ifunc.c: Likewise.
18283 * string/test-memchr-ifunc.c: Likewise.
18284 * string/test-memcmp-ifunc.c: Likewise.
18285 * string/test-memcpy-ifunc.c: Likewise.
18286 * string/test-memmem-ifunc.c: Likewise.
18287 * string/test-memmove-ifunc.c: Likewise.
18288 * string/test-mempcpy-ifunc.c: Likewise.
18289 * string/test-memset-ifunc.c: Likewise.
18290 * string/test-rawmemchr-ifunc.c: Likewise.
18291 * string/test-stpcpy-ifunc.c: Likewise.
18292 * string/test-stpncpy-ifunc.c: Likewise.
18293 * string/test-strcasecmp-ifunc.c: Likewise.
18294 * string/test-strcasestr-ifunc.c: Likewise.
18295 * string/test-strcat-ifunc.c: Likewise.
18296 * string/test-strchr-ifunc.c: Likewise.
18297 * string/test-strchrnul-ifunc.c: Likewise.
18298 * string/test-strcmp-ifunc.c: Likewise.
18299 * string/test-strcpy-ifunc.c: Likewise.
18300 * string/test-strcspn-ifunc.c: Likewise.
18301 * string/test-strlen-ifunc.c: Likewise.
18302 * string/test-strncasecmp-ifunc.c: Likewise.
18303 * string/test-strncat-ifunc.c: Likewise.
18304 * string/test-strncmp-ifunc.c: Likewise.
18305 * string/test-strncpy-ifunc.c: Likewise.
18306 * string/test-strnlen-ifunc.c: Likewise.
18307 * string/test-strpbrk-ifunc.c: Likewise.
18308 * string/test-strrchr-ifunc.c: Likewise.
18309 * string/test-strspn-ifunc.c: Likewise.
18310 * string/test-strstr-ifunc.c: Likewise.
18311
de54b33a
L
18312 * debug/Makefile (tests-ifunc): New variable.
18313 (tests): Add $(tests-ifunc).
18314 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18315 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18316 * debug/test-stpcpy_chk-ifunc.c: New file.
18317 * debug/test-strcpy_chk-ifunc.c: Likewise.
18318
88481c16
SP
183192012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18320
18321 [BZ #13601]
18322 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18323 header is not read in.
18324
135948bd
JM
183252012-10-19 Joseph Myers <joseph@codesourcery.com>
18326
89f1c388
JM
18327 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18328 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18329 directly. Pass built executable to script as
18330 $(built-program-cmd).
18331 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18332 $testprogram without using LD_LIBRARY_PATH and $ldso.
18333
e40a0d21
JM
18334 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18335 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18336 $(rtld-installed-name).
18337 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18338 (rtld_installed_name): Likewise.
18339 (library_path): Likewise.
18340 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18341 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18342 $(run-program-prefix) to tst-tables.sh.
18343 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18344 it to run tst-table-from and tst-table-to.
18345 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18346 Pass it to tst-table.sh.
18347 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18348 $(run-program-prefix) to tst-gettext.sh.
18349 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18350 tst-translit.sh.
18351 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18352 tst-gettext2.sh.
18353 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18354 to run tst-gettext.
18355 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18356 to run tst-gettext2.
18357 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18358 to run tst-translit.
18359 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18360 $(run-program-prefix) to tst-mtrace.sh.
18361 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18362 to run tst-mtrace.
18363 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18364 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18365 $(rtld-installed-name).
18366 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18367 (rtld_installed_name): Likewise.
18368 (run_program_prefix): New variable. Use it to run wordexp-test.
18369
728e272a
JM
18370 * Makeconfig (ARCH): Remove all definitions.
18371 (machine): Likewise.
18372 [ARCH]: Remove conditional code.
18373 [!objdir]: Give error.
18374 [!objdir] (objpfx): Remove.
18375 [!objdir] (common-objpfx): Likewise.
18376 [!objdir] (common-objdir): Likewise.
18377 * configure.in (config_makefile): Remove. Hardcode Makefile in
18378 AC_CONFIG_FILES call.
18379 * configure: Regenerated.
18380
d528cdcf
JM
18381 [BZ #13888]
18382 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18383 or TMPDIR.
18384 (testout): Likewise.
18385
135948bd
JM
18386 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18387 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18388 $(rtld-installed-name).
18389 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18390 (rtld_installed_name): Likwise.
18391 (runit): Remove function.
18392 (run_getconf): New variable, Use it for running getconf binary.
18393
38c78296
L
183942012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18395
18396 [BZ #14716]
18397 * string/test-memmem.c (check_result): New function.
18398 (do_one_test): Use it.
18399 (check1): New function.
18400 (test_main): Use it.
18401
d077f65f
MT
184022012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18403
18404 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18405
ced52c71
JM
184062012-10-18 Joseph Myers <joseph@codesourcery.com>
18407
18408 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18409 (_G_LSEEK64): Likewise.
18410 (_G_MMAP64): Likewise.
18411 (_G_FSTAT64): Likewise.
18412 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18413 (_G_LSEEK64): Likewise.
18414 (_G_MMAP64): Likewise.
18415 (_G_FSTAT64): Likewise.
18416 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18417 unconditional. Call __mmap64 directly.
18418 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18419 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18420 __lseek64 directly.
18421 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18422 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18423 __mmap64 directly.
18424 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18425 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18426 __lseek64 directly.
18427 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18428 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18429 __lseek64 directly.
18430 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18431 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18432 __lseek64 directly.
18433 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18434 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18435 __fxstat64 directly.
18436 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18437 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18438 unconditional.
18439 (freopen64) [!_G_OPEN64]: Remove conditional code.
18440 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18441 unconditional.
18442 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18443 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18444 unconditional.
18445 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18446 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18447 unconditional.
18448 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18449 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18450 unconditional.
18451 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18452 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18453 unconditional.
18454 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18455 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18456 unconditional.
18457 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18458 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18459 unconditional.
18460 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18461
b741de23
SP
184622012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18463
18464 [BZ #12140]
18465 * manual/memory.texi (Malloc Tunable Parameters): Add note
18466 about free list pointers overwriting some perturb bytes.
18467 Wording suggested by Roland McGrath.
18468
f9b9d9c9
JM
184692012-10-17 Joseph Myers <joseph@codesourcery.com>
18470
18471 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18472 (lgamma_test): Likewise.
18473 (tgamma_test): Likewise.
18474
172a631a
FW
184752012-10-16 Florian Weimer <fweimer@redhat.com>
18476
18477 [BZ #14700]
18478 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18479 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18480
e9f37252
MK
184812012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18482
18483 * NEWS: Mention BZ #14716.
18484 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18485 when removing AVAILABLE1_USES_J macro.
18486
d394eb74
L
184872012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18488
18489 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18490 (__bswap_64): __uint64_t for unsigned 64-bit int.
18491
ca38dc17
AS
184922012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18493
18494 * include/string.h (memmem): Declare libc hidden alias.
18495 * string/memmem.c (memmem): Define libc hidden alias.
18496 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18497 __read, __close instead of open, read, close.
18498
9a387d1f
L
184992012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18500
ac49ecaf
L
18501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18502 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18503 global and hidden.
18504 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18505 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18506 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18507 Likewise.
18508 (__rawmemchr_sse2): Likewise.
18509 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18510 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18511 (__strchr_sse2): Likewise.
18512 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18513 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18514 (__strcasecmp_sse2): Likewise.
18515 (__strncasecmp_sse2): Likewise.
18516 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18517 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18518 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18519 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18520 (__strrchr_sse2): Likewise.
18521 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18522 ifunc-impl-list.c.
18523 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18524 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18525 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18526 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18527 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18528 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18529 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18530 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18531 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18532 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18533 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18534 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18535 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18536 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18537 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18538 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18539 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18540 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18541 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18542 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18543 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18544 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18545 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18546 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18547 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18548 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18549 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18550 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18551 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18552 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18553
b090e8ea
L
18554 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18555 global and hidden.
18556 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18557 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18558 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18559 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18560 Likewise.
18561 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18562 Likewise.
18563 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18564 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18565 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18566 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18567 ifunc-impl-list.c.
18568 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18574 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18575 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18576 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18577 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18578 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18579 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18580 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18581 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18582 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18583 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18584 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18585 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18586 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18587 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18588 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18589 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18590 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18591 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18592 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18593 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18594 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18595 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18596 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18597 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18598 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18599 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18600 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18601 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18602 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18603 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18604 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18605 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18606 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18607 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18608 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18609
11dd4af6
L
18610 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18611 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18612 * include/ifunc-impl-list.h: New file.
18613 * misc/ifunc-impl-list.c: Likewise.
18614 * misc/Makefile (routines): Add ifunc-impl-list.
18615 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18616 * string/test-string.h: Include <ifunc-impl-list.h>.
18617 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18618 impl_array): New variables.
18619 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18620 are defined.
18621 (test_init): Call __libc_ifunc_impl_list to initialize
18622 func_list if TEST_IFUNC and TEST_NAME are defined.
18623
9a387d1f
L
18624 * string/Makefile (strop-tests): Add bcopy and bzero.
18625 * string/test-bcopy.c: New file.
18626 * string/test-bzero.c: Likewise.
18627 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18628 defined.
18629 * string/test-memset.c: Support bzero test if TEST_BZERO is
18630 defined.
18631 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18632 __libc_memmove.
18633 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18634 __libc_memset.
18635 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18636 of memset.
18637
472371b9
JM
186382012-10-10 Joseph Myers <joseph@codesourcery.com>
18639
1e4a9536
JM
18640 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18641 * configure: Regenerated.
18642
d173d12e
JM
18643 * Makeconfig (+link-static-before-libc): Don't include
18644 $(link-static-libc).
18645
472371b9
JM
18646 * libio/libio.h (_IO_pos_t): Remove.
18647
89a3ad0b
AO
186482012-10-10 Alexandre Oliva <aoliva@redhat.com>
18649
18650 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18651 McGrath.
18652
e7451425
AO
186532012-10-10 Alexandre Oliva <aoliva@redhat.com>
18654
18655 * crypt/crypt-entry.c: Include fips-private.h.
18656 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18657 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18658 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18659 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18660
4ba74a35
AO
186612012-10-10 Alexandre Oliva <aoliva@redhat.com>
18662
18663 * crypt/crypt-private.h: Include stdbool.h.
18664 (_ufc_setup_salt_r): Return bool.
18665 * crypt/crypt-entry.c: Include errno.h.
18666 (__crypt_r): Return NULL with EINVAL for bad salt.
18667 * crypt/crypt_util.c (bad_for_salt): New.
18668 (_ufc_setup_salt_r): Check that salt is long enough and within
18669 the specified alphabet.
18670 * crypt/badsalttest.c: New file.
18671 * crypt/Makefile (tests): Add it.
18672 ($(objpfx)badsalttest): New.
18673
f96f1242
MK
186742012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18675
18676 * NEWS: Add entry for BZ #14602.
18677
0e8e0c1c
JM
186782012-10-09 Joseph Myers <joseph@codesourcery.com>
18679
18680 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18681 type-generic.
18682 * math/libm-test.inc: Update comment listing what functions and
18683 macros are tested.
18684 (isgreater_test): New function.
18685 (isgreaterequal_test): Likewise.
18686 (isless_test): Likewise.
18687 (islessequal_test): Likewise.
18688 (islessgreater_test): Likewise.
18689 (isunordered_test): Likewise.
18690 (main): Call the new functions.
18691
273edc5e
RM
186922012-10-09 Roland McGrath <roland@hack.frob.com>
18693
b8493de0
RM
18694 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18695 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18696 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18697 * sysdeps/i386/configure: Regenerated.
18698 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18699 * sysdeps/mach/configure: Regenerated.
18700 * sysdeps/mach/hurd/configure: Regenerated.
18701 * sysdeps/powerpc/configure: Regenerated.
18702 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18703 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18704 * sysdeps/s390/s390-32/configure: Regenerated.
18705 * sysdeps/s390/s390-64/configure: Regenerated.
18706 * sysdeps/sh/configure: Regenerated.
18707 * sysdeps/sparc/configure: Regenerated.
18708 * sysdeps/unix/sysv/linux/configure: Regenerated.
18709 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18710 * sysdeps/x86_64/configure: Regenerated.
18711
273edc5e
RM
18712 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18713 defined. Don't check if MAP is NULL.
18714
c8450f70
JM
187152012-10-09 Joseph Myers <joseph@codesourcery.com>
18716
18717 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18718 (_G_stat64): Likewise.
18719 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18720 (_G_stat64): Likewise.
18721 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18722 instead of struct _G_stat64.
18723 * libio/fileops.c (mmap_remap_check): Likewise.
18724 (decide_maybe_mmap): Likewise.
18725 (_IO_new_file_seekoff): Likewise.
18726 (_IO_file_stat): Likewise.
18727 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18728 _G_off64_t.
18729 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18730 instead of struct _G_stat64.
18731 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18732
57e605ba
MK
187332012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18734
18735 [BZ #14602]
18736 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18737 Replace with ...
18738 (CHECK_EOL): New macro.
18739 (two_way_short_needle): Check beginning of haystack for EOL. Use
18740 CHECK_EOL.
18741 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18742 Replace with CHECK_EOL.
18743 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18744 Replace with CHECK_EOL.
18745
ef1bb361
JM
187462012-10-08 Joseph Myers <joseph@codesourcery.com>
18747
18748 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18749 type-generic.
18750 * math/libm-test.inc: Update comment listing what functions and
18751 macros are tested.
18752 (finite_test): New function.
18753 (isinf_test): Likewise.
18754 (isnan_test): Likewise.
18755 (fpclassify_test): Test subnormal input.
18756 (isfinite_test): Likewise.
18757 (isnormal_test): Likewise.
18758 (main): Call the new functions.
18759
55f11534
JN
187602012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18761
18762 [BZ #14660]
18763 * Makerules (%.dynsym): Force C locale when running
18764 $(OBJDUMP) --dynamic-syms.
18765
1ab29350
AS
187662012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18767
18768 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18769 <stdint.h>.
18770
f1ecb7ef
DM
187712012-10-06 David S. Miller <davem@davemloft.net>
18772
18773 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18774 upper 32-bits of the length value in %o2 since we use branch-on-register
18775 tests which consider the entire 64-bit register.
18776
5d41d91a
L
187772012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18778
18779 * string/test-strstr.c (check2): Add a test for page boundary.
18780
3baddb72
DM
187812012-10-05 David S. Miller <davem@davemloft.net>
18782
18783 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18784 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18785 file.
18786 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18787 sysdep_routines.
18788 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18789 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18790 and bzero when HWCAP_SPARC_CRYPTO is present.
18791
9cee5585
L
187922012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18793
d7e0dab9
L
18794 [BZ #14602]
18795 * string/test-strstr.c (check2): New function.
18796 (test_main): Call check2.
18797
03759f47
L
18798 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18799 and bug-strchr1.
18800 * string/bug-strcasestr1.c (do_test): Moved to ...
18801 * string/test-strcasestr.c (check1): Here. New function.
18802 (do_one_test): Break out result checking code into ...
18803 (check_result): This. New function.
18804 (do_one_test): Call check_result.
18805 (test_main): Call check1.
18806 * string/bug-strchr1.c (do_test): Moved to ...
18807 * string/test-strchr.c (check1): Here. New function.
18808 (do_one_test): Break out result checking code into ...
18809 (check_result): This. New function.
18810 (do_one_test): Call check_result.
18811 (test_main): Call check1.
18812 * string/bug-strstr1.c (main): Moved to ...
046f153e 18813 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18814 (do_one_test): Break out result checking code into ...
18815 (check_result): This. New function.
18816 (do_one_test): Call check_result.
18817 (test_main): Call check1.
18818 * string/bug-strcasestr1.c: Removed.
18819 * string/bug-strchr1.c: Likewise.
18820 * string/bug-strstr1.c: Likewise.
18821
53cea63e
L
18822 * elf/Makefile (dl-routines): Add hwcaps.
18823 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18824 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18825 (_dl_important_hwcaps): Moved to ...
18826 * elf/dl-hwcaps.c: Here. New file.
18827 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18828
9cee5585 18829 [BZ #14557]
bb859b06
L
18830 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18831 if IS_IN_rtld isn't defined.
18832
9cee5585
L
18833 * elf/dl-support.c (_dl_sysinfo_map): New.
18834 Include "get-dynamic-info.h" and "setup-vdso.h".
18835 (_dl_non_dynamic_init): Call setup_vdso.
18836 * elf/dynamic-link.h: Don't include <assert.h>.
18837 (elf_get_dynamic_info): Moved to ...
18838 * elf/get-dynamic-info.h: Here. New file.
18839 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18840 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18841 * elf/setup-vdso.h: Here. New file.
18842 * elf/rtld.c: Include "setup-vdso.h".
18843 (dl_main): Call setup_vdso.
18844
23c31b76
JM
188452012-10-05 Joseph Myers <joseph@codesourcery.com>
18846
28234b07
JM
18847 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18848 creal in comment listing functions tested. List finite, isinf,
18849 isnan, isless, islessequal, isgreater, isgreaterequal,
18850 islessgreater, isunordered, lgamma_r and pow10 as functions and
18851 macros not tested. Mention which functions not tested are aliases
18852 for other functions. Fix typo. Note that signs of NaNs are not
18853 tested.
18854
23c31b76
JM
18855 * scripts/config.guess: Update from config.git.
18856 * scripts/config.sub: Likewise.
18857
9043e228
RM
188582012-10-04 Roland McGrath <roland@hack.frob.com>
18859
18860 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18861 * misc/madvise.c (madvise): Renamed to __madvise.
18862 Make madvise a weak alias.
18863 * include/sys/mman.h: Declare __madvise.
18864 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18865 * sysdeps/unix/syscalls.list
18866 (madvise): Make __madvise the strong name, and madvise a weak alias.
18867 * sysdeps/unix/sysv/linux/syscalls.list
18868 (madvise, mmap): Remove redundant entries.
18869 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18870 * malloc/malloc.c (mtrim): Likewise.
18871 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18872
f57f8055
RM
188732012-10-03 Roland McGrath <roland@hack.frob.com>
18874
18875 * sysdeps/mach/hurd/dl-cache.c: File removed.
18876 * config.h.in (USE_LDCONFIG): New #undef.
18877 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18878 * configure: Regenerated.
18879 * elf/Makefile (dl-routines): Add dl-cache only under
18880 [$(use-ldconfig) = yes].
18881 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18882 cache on [USE_LDCONFIG].
18883 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18884 [USE_LDCONFIG].
18885 * elf/rtld.c (dl_main): Likewise.
18886
5bb0c10a
PT
188872012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18888
18889 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18890 _SC_LEVEL4_CACHE_LINESIZE.
18891
010188c6
RM
188922012-10-03 Roland McGrath <roland@hack.frob.com>
18893
18894 * sysdeps/unix/bsd/confstr.h: File removed.
18895
b6c5ec07
AO
188962012-10-02 Alexandre Oliva <aoliva@redhat.com>
18897
18898 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18899 sys/sdt-config.h.
18900
408223d4
RM
189012012-10-02 Roland McGrath <roland@hack.frob.com>
18902
18903 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18904 Make 'mapoff' field ElfW(Off) rather than off_t.
18905
bb9510dc
DL
189062012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18907
fc997c6e
DL
18908 * nscd/Makefile: Remove nscd-cflags and all its users.
18909 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18910 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18911
bb9510dc
DL
18912 [BZ #10631]
18913 * malloc.c (malloc_printerr): Clarify error message.
18914
05699367
L
189152012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18916
18917 [BZ #14648]
18918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18919 Set bit_FMA_Usable if FMA is supported.
18920 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18921 macro.
18922 (bit_FMA4_Usable): Updated.
18923 (index_FMA_Usable): New macro.
18924 (CPUID_FMA): Likewise
18925 (HAS_FMA): Defined with bit_FMA_Usable.
18926
51367701
RM
189272012-10-01 Roland McGrath <roland@hack.frob.com>
18928
18929 * bits/types.h (__swblk_t): Type removed.
18930 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18931 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18933 (__SWBLK_T_TYPE): Likewise.
18934 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18935 (__SWBLK_T_TYPE): Likewise.
18936 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18937 (__SWBLK_T_TYPE): Likewise.
18938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18939 (__SWBLK_T_TYPE): Likewise.
18940
4d57bf63 189412012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18942 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18943
18944 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18945 (xdr_mapname): Use YPMAXMAP as maxsize.
18946 (xdr_peername): Use YPMAXPEER as maxsize.
18947 (xdr_keydat): Use YPAXRECORD as maxsize.
18948 (xdr_valdat): Use YPMAXRECORD as maxsize.
18949
93c65d43
RM
189502012-10-01 Roland McGrath <roland@hack.frob.com>
18951
497a03d6
RM
18952 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18953
93c65d43
RM
18954 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18955 * csu/init-first.c: ... here.
18956 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18957 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18958 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18959 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18960 * sysdeps/i386/init-first.c: File removed.
18961 * sysdeps/sh/init-first.c: File removed.
18962
bec749fd
JM
189632012-10-01 Joseph Myers <joseph@codesourcery.com>
18964
18965 [BZ #14645]
18966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18967 if x * y might underflow to zero and z is zero.
18968 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18969 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18970 * math/libm-test.inc (min_subnorm_value): New variable.
18971 (fma_test): Add more tests.
18972 (fma_test_towardzero): Likewise.
18973 (fma_test_downward): Likewise
18974 (fma_test_upward): Likewise.
18975 (initialize): Set min_subnorm_value.
18976
8ec5b013
JM
189772012-09-29 Joseph Myers <joseph@codesourcery.com>
18978
18979 [BZ #14638]
18980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18981 0 + 0.
18982 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18983 mode for addition resulting in exact zero.
18984 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18985 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18986 exact 0 + 0.
18987 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18988 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18989 * math/libm-test.inc (fma_test): Add more tests.
18990 (fma_test_towardzero): New function.
18991 (fma_test_downward): Likewise.
18992 (fma_test_upward): Likewise.
18993 (main): Call the new functions.
18994
b1fa802e
DM
189952012-09-28 David S. Miller <davem@davemloft.net>
18996
18997 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18998
d3b9fd9e
RM
189992012-09-28 Roland McGrath <roland@hack.frob.com>
19000
ea4d37b3
RM
19001 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19002 instead of SIGALRM.
19003
ac51c949
RM
19004 * sysdeps/gnu/_G_config.h: Moved to ...
19005 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19006 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19007 * sysdeps/generic/_G_config.h: ... here.
19008
28c195f7
RM
19009 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19010
848917f9
RM
19011 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19012
6bacf05b
RM
19013 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19014 Conditionalize target on [libnss_test1.so-version].
19015
91363dbb
RM
19016 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19017
cc87f7d8
RM
19018 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19019 (elfobjdir): Move out of conditionals.
19020
b1c608fe
RM
19021 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19022 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19023 (__nss_lookup_function): Conditionalize label remove_from_tree on
19024 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 19025
1d9a6d96
DM
190262012-09-28 David S. Miller <davem@davemloft.net>
19027
19028 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19029 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19030 file.
19031 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19032 sysdep_routines.
19033 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19034 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19035 when HWCAP_SPARC_CRYPTO is present.
19036
72581615
PT
190372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19038
19039 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19040
715a900c
JL
190412012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19042
19043 [BZ #6530]
19044 * stdio-common/vfprintf.c (process_string_arg): Revert
19045 2000-07-22 change.
19046
190472011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19048
19049 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19050 for testcase.
19051 * stdio-common/tst-sprintf.c: Include <locale.h>
19052 (main): Test sprintf's handling of incomplete multibyte
19053 characters.
19054
9bac1d86
L
190552012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19056
19057 * elf/dl-runtime.c (VERSYMIDX): Removed.
19058 * elf/dl-version.c (VERSYMIDX): Likewise.
19059 * elf/do-rel.h (VERSYMIDX): Likewise.
19060 (VALIDX): Likewise.
19061 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19062 * elf/rtld.c (VALIDX): Likewise.
19063 (ADDRIDX): Likewise.
9bac1d86
L
19064 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19065 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19066 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
19067 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19068 (VALIDX): Likewise.
19069 (ADDRIDX): Likewise.
9bac1d86 19070
b31606c0
PT
190712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19072
19073 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19074
11541177
JL
190752012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19076
19077 [BZ #11438]
19078 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19079 to global scope.
19080 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19081 addresses are in the same scope as 192.0.2/24.
19082 * posix/gai.conf: Document new scope table defaults.
19083
adb26fae
SP
190842012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19085
19086 [BZ #5298]
19087 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19088 for ftell. Compute offsets from write pointers instead.
19089 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19090
4573c6b0
SP
190912012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19092
19093 [BZ #14543]
19094 * libio/Makefile (tests): New test case tst-fseek.
19095 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19096 combination works in wide mode.
19097 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19098 state when the external buffer state changes.
19099
aa9bbfe6
DM
191002012-09-27 David S. Miller <davem@davemloft.net>
19101
19102 [BZ #14376]
19103 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19104 pass reloc->r_addend in as the 'high' argument to
19105 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19106
784421e7
DM
19107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19108
c39bc8b8
PT
191092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19110
19111 * rt/tst-aio2.c: Include <pthread.h>.
19112 * rt/tst-aio3.c: Likewise.
19113
1ccc2399
SE
191142012-09-27 Steve Ellcey <sellcey@mips.com>
19115
19116 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19117
31ed4153
L
191182012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19119
25f5f885
L
19120 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19121 contents on [SHARED].
31ed4153 19122
b7bfe116
MP
191232012-09-26 Marek Polacek <polacek@redhat.com>
19124
19125 [BZ #14530]
19126 [BZ #13741]
19127 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19128 for C++ and GCC <4.3 as well as for non GCC compilers.
19129
43c4edba
MT
191302012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19131
19132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19133
6a1bf82f
RM
191342012-09-25 Roland McGrath <roland@hack.frob.com>
19135
19136 * Makefile.in (all, install): Declare with .PHONY.
19137 Reported by Michael Hope <michael.hope@linaro.org>.
19138
8ad11b9a
TMQMF
191392012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19140
19141 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19142 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19143 system header.
19144 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19145 Likewise.
19146 (sydep_routines): Add the new and the internal functions.
19147 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19148 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19150 (GLIBC_2.17): Add the new function.
19151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19152 (GLIBC_2.17): Likewise.
19153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19154 (GLIBC_2.17): Likewise.
19155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19156 (GLIBC_2.17): Likewise.
19157 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19158
7e2fca8d
AM
191592012-09-25 Alan Modra <amodra@gmail.com>
19160
19161 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19162 Add release barrier before setting once_control to say
19163 initialisation is done. Add hints on lwarx. Use macro in
19164 place of isync.
19165 (clear_once_control): Add release barrier.
19166
b87c4b24
JM
191672012-09-25 Joseph Myers <joseph@codesourcery.com>
19168
d032e0d2
JM
19169 [BZ #13629]
19170 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19171 specially.
19172 * math/s_clog10.c (__clog10): Likewise.
19173 * math/s_clog10f.c (__clog10f): Likewise.
19174 * math/s_clog10l.c (__clog10l): Likewise.
19175 * math/s_clogf.c (__clogf): Likewise.
19176 * math/s_clogl.c (__clogl): Likewise.
19177 * math/Makefile (libm-calls): Add x2y2m1.
19178 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19179 (__x2y2m1): Likewise.
19180 (__x2y2m1l): Likewise.
19181 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19182 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19183 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19184 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19185 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19186 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19187 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19188 * sysdeps/i386/fpu/libm-test-ulps: Update.
19189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19190
b87c4b24
JM
19191 [BZ #14621]
19192 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19193 int as type of variable DEPTH.
19194 (glob): Use size_t instead of int as type of variables NEWCOUNT
19195 and OLD_PATHC.
19196
6d3bf199
LD
191972012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19198
22bf5c17
LD
19199 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19200 Add s_sincosf-sse2.
19201 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19202 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19203 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19204 macros for using routine as __sincosf_ia32.
19205 Use macro for function declaration and weak_alias.
19206 * sysdeps/i386/fpu/libm-test-ulps: Update.
19207
19208 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19210
19211 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19212 subnormal argument.
19213 * math/s_cexpf.c (__cexpf): Likewise.
19214 * math/s_csinf.c (__csinf): Likewise.
19215 * math/s_csinhf.c (__csinhf): Likewise.
19216 * math/s_ctanf.c (__ctanf): Likewise.
19217 * math/s_ctanhf.c (__ctanhf): Likewise.
19218 * math/s_ccosh.c (__ccoshf): Likewise.
19219 * math/s_cexp.c (__cexpl): Likewise.
19220 * math/s_csin.c (__csin): Likewise.
19221 * math/s_csinh.c (__csinh): Likewise.
19222 * math/s_ctan.c (__ctan): Likewise.
19223 * math/s_ctanh.c (ctanh): Likewise.
19224 * math/s_ccoshl.c (__ccoshl): Likewise.
19225 * math/s_cexpl.c (__cexpl): Likewise.
19226 * math/s_csinl.c (__csinl): Likewise.
19227 * math/s_csinhl.c (__csinhl): Likewise.
19228 * math/s_ctanl.c (__ctanl): Likewise.
19229 * math/s_ctanhl.c (__ctanhl): Likewise.
19230
203e5603
JM
192312012-09-25 Joseph Myers <joseph@codesourcery.com>
19232
19233 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19234 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19235 (_IO_off_t): Define to __off_t, not _G_off_t.
19236 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19237 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19238 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19239 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19240 type of __dummy and __dummy2 fields.
19241 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19242 (_G_ssize_t): Likewise.
19243 (_G_off_t): Likewise.
19244 (_G_pid_t): Likewise.
19245 (_G_uid_t): Likewise.
19246 (_G_wchar_t): Likewise.
19247 (_G_wint_t): Likewise.
19248 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19249 (_G_ssize_t): Likewise.
19250 (_G_off_t): Likewise.
19251 (_G_pid_t): Likewise.
19252 (_G_uid_t): Likewise.
19253 (_G_wchar_t): Likewise.
19254 (_G_wint_t): Likewise.
19255 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19256 (_G_ssize_t): Likewise.
19257 (_G_off_t): Likewise.
19258 (_G_pid_t): Likewise.
19259 (_G_uid_t): Likewise.
19260 (_G_wchar_t): Likewise.
19261 (_G_wint_t): Likewise.
19262
9fab36eb
SP
192632012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19264
19265 * malloc/arena.c: Include malloc-sysdep.h.
19266 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19267 is sufficient to shrink the heap or an unmap is needed.
19268 * sysdeps/generic/malloc-sysdep.h: New file. Define
19269 new function check_may_shrink_heap.
19270 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19271 new function check_may_shrink_heap.
19272
2b4f00d1
SP
192732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19274
19275 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19276 comments.
19277
9a9028b1
DL
192782012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19279
57c69bef
DL
19280 * catgets/test-gencat.sh: Add "set -e".
19281 * elf/tst-pathopt.sh: Likewise.
19282 * grp/tst_fgetgrent.sh: Likewise.
19283 * iconvdata/run-iconv-test.sh: Likewise.
19284 * intl/tst-gettext.sh: Likewise.
19285 * intl/tst-gettext2.sh: Likewise.
19286 * intl/tst-gettext4.sh: Likewise.
19287 * intl/tst-gettext6.sh: Likewise.
19288 * intl/tst-translit.sh: Likewise.
19289 * io/ftwtest-sh: Likewise.
19290 * libio/test-freopen.sh: Likewise.
19291 * malloc/tst-mtrace.sh: Likewise.
19292 * posix/globtest.sh: Likewise.
19293 * posix/tst-getconf.sh: Likewise.
19294 * posix/wordexp-tst.sh: Likewise.
19295 * stdio-common/tst-printf.sh: Likewise.
19296 * stdio-common/tst-unbputc.sh: Likewise.
19297 * stdlib/tst-fmtmsg.sh: Likewise.
19298 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19299 * catgets/Makefile: Do not specify -e option when running
19300 testsuite shell scripts.
19301 * elf/Makefile: Likewise.
19302 * grp/Makefile: Likewise.
19303 * iconvdata/Makefile: Likewise.
19304 * intl/Makefile: Likewise.
19305 * io/Makefile: Likewise.
19306 * libio/Makefile: Likewise.
19307 * malloc/Makefile: Likewise.
19308 * posix/Makefile: Likewise.
19309 * stdio-common/Makefile: Likewise.
19310 * stdlib/Makefile: Likewise.
19311 * sysdeps/x86_64/Makefile: Likewise.
19312
9a9028b1
DL
19313 * io/ftwtest-sh: Add copyright header.
19314 * posix/globtest.sh: Likewise.
19315 * posix/tst-getconf.sh: Likewise.
19316 * posix/wordexp-tst.sh: Likewise.
19317 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19318
ced6f16e
L
193192012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19320
94b32c39
L
19321 [BZ #13679]
19322 * Makeconfig (+link): Defined as $(+link-static) if
19323 $(build-shared) isn't yes.
19324 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19325 isn't yes.
19326 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19327
189e935b
L
19328 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19329
ced6f16e
L
19330 [BZ #14562]
19331 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19332 new chunk size with MALLOC_ALIGN_MASK.
19333
a9f8e53a
JM
193342012-09-24 Joseph Myers <joseph@codesourcery.com>
19335
19336 [BZ #5044]
19337 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19338 <rounding-mode.h>.
19339 (__printf_fphex): Determine rounding using get_rounding_mode and
19340 round_away.
19341 * stdio-common/tst-printf-round.c (struct hex_test): New
19342 structure.
19343 (hex_tests): New variable.
19344 (test_hex_in_one_mode): New function.
19345 (do_test): Also run tests for hex float output.
19346
43153109
JM
193472012-09-21 Joseph Myers <joseph@codesourcery.com>
19348
19349 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19350 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19351 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19352 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19353 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19354 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19355 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19356 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19357
8a26625d
JM
193582012-09-20 Joseph Myers <joseph@codesourcery.com>
19359
19360 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19361 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19362 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19363 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19364
f3fd569c
DL
193652012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19366
19367 [BZ #14579]
19368 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19369 mode only.
19370 * elf/tst-rtld-load-self.sh: New test.
19371 * elf/Makefile: Run it.
19372
63bbedd4
JM
193732012-09-18 Joseph Myers <joseph@codesourcery.com>
19374
19375 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19376 (tst-writev-ENV): Remove.
19377 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19378
626f8b6a
CM
193792012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19380
19381 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19382
b7aaa4d6
JM
193832012-09-17 Joseph Myers <joseph@codesourcery.com>
19384
19385 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19386 unconditional.
19387 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19388 Likewise.
19389 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19390 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19391 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19392 Likewise.
19393
65513990
L
193942012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19395
19396 [BZ #14587]
19397 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19398 * config.make.in (have-cpp-asm-debuginfo): Removed.
19399 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19400 * configure: Regenerated.
19401
784761be
JM
194022012-09-14 Joseph Myers <joseph@codesourcery.com>
19403
19404 [BZ #5044]
19405 * stdio-common/printf_fp.c: Include <stdbool.h> and
19406 <rounding-mode.h>.
19407 (___printf_fp): Determine rounding using get_rounding_mode and
19408 round_away.
19409 * stdio-common/tst-printf-round.c: New file.
19410 * stdio-common/Makefile (tests): Add tst-printf-round.
19411 (link-libm): New variable.
19412 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19413
9503345f
L
194142012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19415
19416 [BZ #14576]
19417 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19418 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19419 Likewise.
19420 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19421 Likewise.
19422
ad35fc00
JM
194232012-09-13 Joseph Myers <joseph@codesourcery.com>
19424
19425 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19426 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19427 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19428 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19429
6c9b0f68
JM
194302012-09-12 Joseph Myers <joseph@codesourcery.com>
19431
19432 [BZ #14518]
19433 * include/rounding-mode.h: New file.
19434 * sysdeps/generic/get-rounding-mode.h: Likewise.
19435 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19436 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19437 (MAX_VALUE): New macro.
19438 (MIN_VALUE): Likewise.
19439 (overflow_value): New function.
19440 (underflow_value): Likewise.
19441 (round_and_return): Use overflow_value and underflow_value to
19442 determine return values in overflow and underflow cases. Use
19443 round_away to determine rounding depending on rounding mode.
19444 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19445 determine return values in overflow and underflow cases.
19446 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19447 (struct test_results): New structure.
19448 (struct test): Use struct test_results to store expected results
19449 for all rounding modes.
19450 (TEST): Include expected results for all rounding modes.
19451 (test_in_one_mode): New function.
19452 (do_test): Use test_in_one_mode to compute and check results.
19453 Check results for all rounding modes.
19454 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19455 $(link-libm).
19456
19fcedd5
AM
194572012-12-09 Allan McRae <allan@archlinux.org>
19458
1e9d84cd 19459 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19460
8bbfd2f1
JM
194612012-09-11 Joseph Myers <joseph@codesourcery.com>
19462
19463 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19464 (_G_int32_t): Likewise.
19465 (_G_uint16_t): Likewise.
19466 (_G_uint32_t): Likewise.
19467 (_G_HAVE_BOOL): Likewise.
19468 (_G_HAVE_ATEXIT): Likewise.
19469 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19470 (_G_HAVE_IO_FILE_OPEN): Likewise.
19471 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19472 (_G_int32_t): Likewise.
19473 (_G_uint16_t): Likewise.
19474 (_G_uint32_t): Likewise.
19475 (_G_HAVE_BOOL): Likewise.
19476 (_G_HAVE_ATEXIT): Likewise.
19477 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19478 (_G_HAVE_IO_FILE_OPEN): Likewise.
19479 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19480 (_G_int32_t): Likewise.
19481 (_G_uint16_t): Likewise.
19482 (_G_uint32_t): Likewise.
19483 (_G_HAVE_BOOL): Likewise.
19484 (_G_HAVE_ATEXIT): Likewise.
19485 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19486 (_G_HAVE_IO_FILE_OPEN): Likewise.
19487
b1dc5912
L
194882012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19489
19490 * csu/libc-tls.c: Update copyright years.
19491
0e886ef9
JM
194922012-09-10 Joseph Myers <joseph@codesourcery.com>
19493
28361c5e
JM
19494 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19495 [!_G_USING_THUNKS]: Remove conditional code.
19496 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19497 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19498
0e886ef9
JM
19499 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19500 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19501 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19502 (_G_VTABLE_LABEL_PREFIX): Likewise.
19503 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19504 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19505 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19506 (_G_VTABLE_LABEL_PREFIX): Likewise.
19507 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19508 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19509 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19510 (_G_VTABLE_LABEL_PREFIX): Likewise.
19511 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19512
bcba7aa2
L
195132012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19514
19515 * libio/Makefile: Include ../Makeconfig before tests.
19516 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19517 only if $(build-shared) is yes.
19518
06585ee8
L
19519 * iconv/gconv_db.c: Update copyright years.
19520
80ccd52c
LD
195212012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19522
19523 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19524 unwind info if defined PIC. Fix special cases description.
19525 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19526
19527 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19528 DP_HI_MASK entry.
19529 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19530
691bc9c1
L
195312012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19532
3d9b46b3
L
19533 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19534
de2139a9
L
19535 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19536 is NULL.
19537
5ca78dd0
L
19538 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19539 (LDLIBS-tst-chk4): This.
19540 (LDFLAGS-tst-chk5): Renamed to ...
19541 (LDLIBS-tst-chk5): This.
19542 (LDFLAGS-tst-chk6): Renamed to ...
19543 (LDLIBS-tst-chk6): This.
19544 (LDFLAGS-tst-lfschk4): Renamed to ...
19545 (LDLIBS-tst-lfschk4): This.
19546 (LDFLAGS-tst-lfschk5): Renamed to ...
19547 (LDLIBS-tst-lfschk5): This.
19548 (LDFLAGS-tst-lfschk6): Renamed to ...
19549 (LDLIBS-tst-lfschk6): This.
19550
691bc9c1
L
19551 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19552 on $(common-objpfx)soversions.mk.
19553
65cafb1c
JM
195542012-09-07 Joseph Myers <joseph@codesourcery.com>
19555
19556 [BZ #10014]
19557 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19558 example host name.
19559
c78ab094
SP
195602012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19561
19562 * malloc/arena.c (arena_get_retry): New function that gets
19563 another arena for the caller to try its request on.
19564 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19565 current arena cannot fulfill the request.
19566 (__libc_memalign): Likewise.
19567 (__libc_memalign): Likewise.
19568 (__libc_pvalloc): Likewise.
19569 (__libc_calloc): Likewise.
19570
01f49f59
JT
195712012-09-05 John Tobey <john.tobey@gmail.com>
19572
19573 [BZ #13542]
19574 * manual/arith.texi (Operations on Complex): Fix description
19575 of carg branch cut.
19576
4c23fed5
JM
195772012-09-06 Joseph Myers <joseph@codesourcery.com>
19578
1d3c8572
JM
19579 [BZ #10014]
19580 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19581 host name.
19582
4c23fed5
JM
19583 [BZ #10038]
19584 * manual/memory.texi (Memory): Make order of menu items match
19585 order of sections.
19586
04570aaa
L
195872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19588
19589 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19590 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19591 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19592
b80af2f4
L
195932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19594
19595 * csu/libc-tls.c (static_dtv): Renamed to ...
19596 (_dl_static_dtv): This. Make it global.
19597 (_dl_initial_dtv): Removed.
19598 (__libc_setup_tls): Updated.
19599 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19600 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19601 DL_INITIAL_DTV.
19602
2abe9f15
PM
196032012-09-06 Petr Machata <pmachata@redhat.com>
19604
19605 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19606 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19607 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19608 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19609
0948c3af
L
196102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19611
19612 [BZ #14545]
19613 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19614 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19615 freeing dtv[-1].
19616
a5055ad1
L
196172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19618
19619 [BZ #14544]
19620 * Makeconfig (link-static-before-libc): Replace $(+prector)
19621 with $(+prectorT).
19622 (link-static-after-libc): Replace $(+postctor) with
19623 $(+postctorT).
19624 (link-bounded): Replace $(+prector)/$(+postctor) with
19625 $(+prectorT)/$(+postctorT).
19626 (+prectorT): New macro.
19627 (+postctorT): Likewise.
19628
ed8c2ecd
JM
196292012-09-06 Joseph Myers <joseph@codesourcery.com>
19630
19631 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19632 (round_str): Handle values above the maximum for IBM long double
19633 as inexact.
19634 * stdlib/tst-strtod-round.c (tests): Regenerated.
19635
14c996c8
AK
196362012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19637
19638 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19639 assembler flag.
19640 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19641 zarch_nohighgprs around the zarch optimized routines.
19642 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19643 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19644 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19645 for zarch.
19646
430d6ce6
DM
196472012-09-05 David S. Miller <davem@davemloft.net>
19648
19649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19650
ff04dda4
DM
19651 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19652 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19653 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19654 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19655 entries.
19656
24d4e01b
AO
196572012-09-05 Alexandre Oliva <aoliva@redhat.com>
19658
19659 * malloc/arena.c: Fold copyright years.
19660 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19661
61d58174
AO
196622012-09-05 Alexandre Oliva <aoliva@redhat.com>
19663
19664 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19665
20196a5e
AO
196662012-09-05 Alexandre Oliva <aoliva@redhat.com>
19667
19668 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19669
5c447383
AO
196702012-09-05 Alexandre Oliva <aoliva@redhat.com>
19671
19672 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19673 change internal state upon failure.
19674
fad64255
AO
196752012-09-05 Alexandre Oliva <aoliva@redhat.com>
19676
19677 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19678 * malloc/memusage.c (mmap): Likewise.
19679 (mmap64, mremap): Likewise. Adjust name in comment.
19680
1ffb8c90
SP
196812012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19682
19683 * libio/fileops.c: Fix typos in comments.
19684 * libio/oldfileops.c: Likewise.
19685 * libio/wfileops.c: Likewise.
19686
6ef9cc37
SP
196872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19688
19689 [BZ #1349]
19690 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19691 (tst-malloc-usable-ENV): Set environment for test case.
19692 * malloc/hooks.c (malloc_check_get_size): New function to get
19693 requested size.
19694 * malloc/malloc.c (musable): Use malloc_check_get_size.
19695 * malloc/tst-malloc-usable.c: New test case.
19696
4d038ae3
AS
196972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19698
19699 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19700
c4e85184
AM
197012012-09-05 Allan McRae <allan@archlinux.org>
19702
b9dafc56 19703 [BZ #13966]
c4e85184
AM
19704 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19705 determine header location.
19706 * configure: Regenerated.
19707
e1343020
AS
197082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19709
19710 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19711 float format.
19712 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19713 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19714 format.
e1343020
AS
19715 (test): Regenerate.
19716
0a9f1987
DM
197172012-09-04 David S. Miller <davem@davemloft.net>
19718
19719 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19720 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19721 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19722
29237804
FW
197232012-09-04 Florian Weimer <fweimer@redhat.com>
19724
19725 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19726 failures.
19727
edb3cb88
FW
19728 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19729
60160d83
JM
197302012-09-04 Joseph Myers <joseph@codesourcery.com>
19731
19732 [BZ #9914]
19733 * libio/iogetdelim.c: Include <limits.h>.
19734 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19735 + len + 1 would overflow.
19736
bcd6c8dc
AJ
197372012-09-03 Andreas Jaeger <aj@suse.de>
19738
19739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19740 * sysdeps/i386/fpu/libm-test-ulps: Update.
19741
4ffffbd2
LD
197422012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19743
19744 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19745 Add s_sinf-sse2, s_conf-sse2.
19746
19747 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19748 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19749 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19750 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19751
19752 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19753 for using routine as __sinf_ia32.
19754 Use macro for function declaration and weak_alias.
19755 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19756 for using routine as __cosf_ia32.
19757 Use macro for function declaration and weak_alias.
19758
19759 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19760 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19761
19762 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19763 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19765
19766 * math/libm-test.inc (cos_test): Add more test cases.
19767 (sin_test): Likewise.
19768 (sincos_test): Likewise.
19769
511fa286
AK
197702012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19771
19772 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19773 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19774 hidden.
19775 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19776
5f30cfec
L
197772012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19778
19779 [BZ #14538]
19780 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19781 first element of the GOT.
19782 (elf_machine_load_address): Return the difference between
19783 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19784
0786794f
AM
197852012-09-01 Allan McRae <allan@archlinux.org>
19786
5f30cfec
L
19787 [BZ #13412]
19788 * configure.in (AWK): Require gawk version 3.0 or later.
19789 * configure: Regenerated.
0786794f 19790
26889eac
JM
197912012-09-01 Joseph Myers <joseph@codesourcery.com>
19792
19793 * sysdeps/unix/sysv/linux/kernel-features.h
19794 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19795 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19796 [__NR_clock_getres]: Make code unconditional.
19797 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19798 (clock_getcpuclockid): Remove code left unreachable by removal of
19799 conditionals.
19800 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19801 code unconditional.
19802 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19803 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19804 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19805 Make code unconditional.
19806 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19807 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19808 * sysdeps/unix/sysv/linux/clock_settime.c
19809 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19810 conditional code.
19811 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19812 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19813
d22e28b0
L
198142012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19815
19816 [BZ #14476]
19817 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19818 scripts/test-installation.pl.
19819
19820 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19821 and $ld_so_version if it is set.
19822
050af9c4
SP
198232012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19824
19825 [BZ #14516]
19826 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19827 failure if reading from procfs failed.
19828 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19829
ad845c0b
JM
198302012-08-27 Joseph Myers <joseph@codesourcery.com>
19831
19832 * sysdeps/unix/sysv/linux/kernel-features.h
19833 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19834 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19835 Remove conditional code.
19836 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19837 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19838 Remove conditional code.
19839 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19840 * sysdeps/unix/sysv/linux/i386/fxstat.c
19841 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19842 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19843 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19844 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19845 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19846 * sysdeps/unix/sysv/linux/i386/lxstat.c
19847 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19848 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19849 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19850 Remove conditional code.
19851 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19852 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19853 Remove conditional code.
19854 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19855 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19856 <kernel-features.h>.
19857 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19858 Remove.
19859 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19860 Remove conditional code.
19861 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19862 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19863 Remove conditional.
19864
5dbf56af
MF
198652012-08-27 Mike Frysinger <vapier@gentoo.org>
19866
19867 [BZ #5400]
19868 * NEWS: Add fixed bug number.
19869
d6e70f43
JM
198702012-08-27 Joseph Myers <joseph@codesourcery.com>
19871
7efb4737
JM
19872 [BZ #14519]
19873 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19874 underflowing exponent in case of negative sign.
19875 * stdlib/tst-strtod-round-data: Add more tests.
19876 * stdlib/tst-strtod-round.c (tests): Regenerated.
19877
af92131a
JM
19878 [BZ #3479]
19879 * stdlib/strtod_l.c (NDIG): Remove.
19880 (HEXNDIG): Likewise.
19881 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19882 smallest representable value.
19883 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19884 lie within an exact representation of 1/2 ulp of the result.
19885 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19886 unconditionally.
19887 (TENS_P9_IDX): Define unconditionally.
19888 (TENS_P9_SIZE): Likewise.
19889 (TENS_P10_IDX): Likewise.
19890 (TENS_P10_SIZE): Likewise.
19891 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19892 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19893 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19894 entries for 10^2^13 and 10^2^14.
19895 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19896 (TENS_P13_IDX): Define.
19897 (TENS_P13_SIZE): Likewise.
19898 (TENS_P14_IDX): Likewise.
19899 (TENS_P14_SIZE): Likewise.
19900 (_fpioconst_pow10): Change array size to
19901 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19902 unconditional.
19903 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19904 1024]: Add entries for 10^2^13 and 10^2^14.
19905 [LAST_POW10 > _LAST_POW10]: Remove #error.
19906 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19907 (_fpioconst_pow10): Change array size to
19908 FPIOCONST_POW10_ARRAY_SIZE.
19909 * stdlib/gen-fpioconst.c: New file.
19910 * stdlib/gen-tst-strtod-round.c: Likewise.
19911 * stdlib/tst-strtod-round-data: Likewise.
19912 * stdlib/tst-strtod-round.c: Likewise.
19913 * stdlib/Makefile (tests): Add tst-strtod-round.
19914
d6e70f43
JM
19915 [BZ #14459]
19916 * stdlib/strtod_l.c: Include <stdint.h>.
19917 (NDEBUG): Do not define.
19918 (round_and_return): Change EXPONENT parameter to type intmax_t.
19919 Rearrange calculations to avoid internal overflow possibilities.
19920 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19921 Rearrange calculations to avoid internal overflow possibilities.
19922 Assert that number fits inside MPNSIZE limbs.
19923 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19924 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19925 calculations and add assertions to avoid internal overflow
19926 possibilities. Add casts to avoid signed/unsigned operations.
19927 * stdlib/tst-strtod-overflow.c: New file.
19928 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19929
1f529f7d
MP
199302012-08-25 Marek Polacek <polacek@redhat.com>
19931
19932 * time/time.h: Fix some typos in comments.
19933
59a629f1
RM
199342012-08-23 Roland McGrath <roland@hack.frob.com>
19935
19936 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19937 * posix/tst-rfc3484-2.c: Likewise.
19938 * posix/tst-rfc3484-3.c: Likewise.
19939
d3bafbc9
SM
199402012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19941
19942 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19943 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19944
4efcc022
JM
199452012-08-23 Joseph Myers <joseph@codesourcery.com>
19946
19947 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19948 #include of fxstatat64.c.
19949
3cc3ef96
RM
199502012-08-22 Roland McGrath <roland@hack.frob.com>
19951
f04e2132
RM
19952 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19953 * shadow/getspent_r.c: Likewise.
19954 * shadow/getspnam.c: Likewise.
19955 * shadow/getspnam_r.c: Likewise.
19956 * gshadow/getsgent.c: Likewise.
19957 * gshadow/getsgent_r.c: Likewise.
19958 * gshadow/getsgnam.c: Likewise.
19959 * gshadow/getsgnam_r.c: Likewise.
19960 * inet/getnetbyad.c: Likewise.
19961 * inet/getnetbyad_r.c: Likewise.
19962 * inet/getnetbynm.c: Likewise.
19963 * inet/getnetbynm_r.c: Likewise.
19964 * inet/getnetent.c: Likewise.
19965 * inet/getnetent_r.c: Likewise.
19966 * inet/getproto.c: Likewise.
19967 * inet/getproto_r.c: Likewise.
19968 * inet/getprtent.c: Likewise.
19969 * inet/getprtent_r.c: Likewise.
19970 * inet/getprtname.c: Likewise.
19971 * inet/getprtname_r.c: Likewise.
19972 * inet/getrpcbyname.c: Likewise.
19973 * inet/getrpcbyname_r.c: Likewise.
19974 * inet/getrpcbynumber.c: Likewise.
19975 * inet/getrpcbynumber_r.c: Likewise.
19976 * inet/getrpcent.c: Likewise.
19977 * inet/getrpcent_r.c: Likewise.
19978 * inet/getaliasent.c: Likewise.
19979 * inet/getaliasent_r.c: Likewise.
19980 * inet/getaliasname.c: Likewise.
19981 * inet/getaliasname_r.c: Likewise.
19982 * nscd/getgrgid_r.c: Likewise.
19983 * nscd/getgrnam_r.c: Likewise.
19984 * nscd/gethstbyad_r.c: Likewise.
19985 * nscd/gethstbynm3_r.c: Likewise.
19986 * nscd/getpwnam_r.c: Likewise.
19987 * nscd/getpwuid_r.c: Likewise.
19988 * nscd/getsrvbynm_r.c: Likewise.
19989 * nscd/getsrvbypt_r.c: Likewise.
19990 * nscd/gai.c: Likewise.
19991
c53d909c
RM
19992 * configure.in (build_nscd): New substituted variable, set
19993 by --disable-build-nscd and defaults to $use_nscd.
19994 * configure: Regenerated.
19995 * config.make.in (build-nscd): New substituted variable.
19996 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19997 Change conditional to require [$(build-nscd) = yes] as well.
19998 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19999
3cc3ef96
RM
20000 [BZ# 13696]
20001 * configure.in (use_nscd): New substituted variable, set by
20002 --disable-nscd. If enabled, define USE_NSCD.
20003 * configure: Regenerated.
20004 * config.h.in: Add USE_NSCD.
20005 * config.make.in (use-nscd): New substituted variable.
20006 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20007 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20008 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20009 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20010 (CFLAGS-getgrnam_r.c): Likewise.
20011 (CFLAGS-initgroups.c): Likewise.
20012 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20013 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20014 Variables removed.
20015 * inet/getnetgrent_r.c
20016 (nscd_setnetgrent): New function, broken out of ...
20017 (setnetgrent): ... here. Call it.
20018 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20019 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20020 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20021 * nscd/Makefile (routines, aux): Move definitions after include of
20022 Makeconfig. Conditionalize on [$(use-nscd) != no].
20023 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20024 Conditionalize on [USE_NSCD].
20025 (is_nscd, nscd_init_cb): Likewise.
20026 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20027 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20028 * nss/nss_db/db-init.c: Likewise.
20029 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20030 [USE_NSCD].
20031 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20032 (make_request): Use it.
20033 (cache_valid_p): New function.
20034 (__check_pf): Use it.
20035 * NEWS: Add item for --disable-nscd.
20036
07e51550
DL
200372012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20038
20039 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20040 to support sed >= 4.2.1-20-ga9bf076.
20041 * configure: Regenerated.
20042
35a5b08b
RM
200432012-08-22 Roland McGrath <roland@hack.frob.com>
20044
20045 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20046 Conditionalize whole body on [IREL].
20047
8479f23a
JL
200482012-08-22 Jeff Law <law@redhat.com>
20049
20050 [BZ #14505]
20051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20052 if the family is PF_UNSPEC.
20053
48da0b21
MF
200542012-08-22 Mike Frysinger <vapier@gentoo.org>
20055
20056 * Makerules (lib-version): Rename from V.
20057 (install-lib-nosubdir): Change V to lib-version.
20058
15d0da8c
WS
200592012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20060
20061 [BZ #14252]
20062 * powerpc32/power6/wcschr.c: New file.
20063 * powerpc32/power6/wcscpy.c: New file.
20064 * powerpc32/power6/wcsrchr.c: New file.
20065 * powerpc64/power6/wcschr.c: New file.
20066 * powerpc64/power6/wcscpy.c: New file.
20067 * powerpc64/power6/wcsrchr.c: New file.
20068
bcca0895
MK
200692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20070
20071 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20072 (two_way_short_needle): Use it.
5a4aaa33
RM
20073 * string/strstr.c (AVAILABLE1_USES_J): Define.
20074 * string/strcasestr.c: Likewise.
99677e57
MK
20075
20076 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20077 array references.
20078 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20079
400726de
MK
20080 [BZ #11607]
20081 * NEWS: Add an entry.
20082 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20083 define their defaults.
20084 (two_way_short_needle): Detect end-of-string on-the-fly.
20085 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20086 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20087 * string/bug-strcasestr1.c: New test.
20088 * string/Makefile: Run it.
20089
20a71f2c
MK
200902012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20091
20092 [BZ #11607]
20093 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20094 the first character.
20095
21ad0558
RM
200962012-08-21 Roland McGrath <roland@hack.frob.com>
20097
20098 * csu/elf-init.c (__libc_csu_irel): Function removed.
20099 * csu/libc-start.c (apply_irel): New function.
20100 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20101
0e1d9911
JM
201022012-08-21 Joseph Myers <joseph@codesourcery.com>
20103
20104 * sysdeps/unix/sysv/linux/kernel-features.h
20105 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20106 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20107 <kernel-features.h>.
20108 [__NR_fadvise64_64]: Make code unconditional.
20109 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20110 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20111 !__NR_fadvise64_64)]: Likewise.
20112 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20113 !__NR_fadvise64_64))]: Likewise.
20114 [__NR_fadvise64]: Make code unconditional.
20115 [!__NR_fadvise64]: Remove conditional code.
20116 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20117 <kernel-features.h>.
20118 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20119 unconditional.
20120 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20121 conditional code.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20123 not include <kernel-features.h>.
20124 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20125 unconditional.
20126 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20127 conditional code.
20128 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20129 include <kernel-features.h>.
20130 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20131 unconditional.
20132 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20133 conditional code.
20134
14a50c9d
WS
201352012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20136
20137 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20138 slight instruction rearrangements per scrollpipe analysis.
20139 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20140
c0f4faf0
RM
201412012-08-20 Roland McGrath <roland@hack.frob.com>
20142
696da859
RM
20143 * manual/syslog.texi (syslog; vsyslog, closelog):
20144 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20145 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20146
c0f4faf0
RM
20147 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20148 DSOCAPS to match condition on defining it.
20149
348363b2
JM
201502012-08-20 Joseph Myers <joseph@codesourcery.com>
20151
a35cbf28
JM
20152 * sysdeps/unix/sysv/linux/kernel-features.h
20153 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20155 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20156 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20158 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20159 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20161 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20162 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20163
445f7ecd
JM
20164 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20165 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20166
348363b2
JM
20167 * sysdeps/unix/sysv/linux/kernel-features.h
20168 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20169 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20170 unconditional.
20171 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20172 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20173 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20174 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20175 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20176 Make code unconditional.
20177 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20178 (__mmap64) [!__NR_mmap2]: Likewise.
20179 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20180 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20181 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20182 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20183 [__NR_mmap2]: Make code unconditional.
20184 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20185 (__mmap64) [!__NR_mmap2]: Likewise.
20186
bc5bc0e5
AK
201872012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20188
20189 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20190
88d506de
AJ
201912012-08-18 Andreas Jaeger <aj@suse.de>
20192
20193 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20194
493387d2
MF
201952012-08-18 Mike Frysinger <vapier@gentoo.org>
20196
20197 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20198 * include/unistd.h (__have_sock_cloexec): Likewise.
20199 (__have_pipe2): Likewise.
20200 (__have_dup3): Likewise.
20201
a277af22
MF
202022012-08-18 Mike Frysinger <vapier@gentoo.org>
20203
20204 [BZ #9685]
20205 * include/unistd.h (__have_pipe2): Change define into an extern int.
20206 (__have_dup3): Likewise.
20207 * socket/have_sock_cloexec.c: Include fcntl.h.
20208 (__have_pipe2): New variable.
20209 (__have_dup3): Likewise.
20210
fdab8fd3
MF
202112012-08-17 Mike Frysinger <vapier@gentoo.org>
20212
20213 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20214
31035e80
MP
202152012-08-17 Marek Polacek <polacek@redhat.com>
20216
20217 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20218 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20219
3bd9e993
RM
202202012-08-17 Roland McGrath <roland@hack.frob.com>
20221
c91c505f
RM
20222 * configure.in: Add AC_SUBST for sysheaders.
20223 * configure: Regenerated.
20224 * config.make.in (sysheaders): New substituted variable.
20225
7c6f9d53
RM
20226 * sysdeps/unix/mkfifo.c: Moved ...
20227 * sysdeps/posix/mkfifo.c: ... here.
20228 * sysdeps/unix/mkfifoat.c: Moved ...
20229 * sysdeps/posix/mkfifoat.c: ... here.
20230
20231 * sysdeps/unix/utime.c: Moved ...
20232 * sysdeps/posix/utime.c: ... here.
20233
20234 * sysdeps/unix/time.c: Moved ...
20235 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20236 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20237 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20238
20239 * sysdeps/unix/nice.c: Moved ...
20240 * sysdeps/posix/nice.c: ... here.
20241
20242 * sysdeps/unix/alarm.c: Moved ...
20243 * sysdeps/posix/alarm.c: ... here.
20244
3bd9e993
RM
20245 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20246
d1f09384
JL
202472012-08-17 Jeff Law <law@redhat.com>
20248
20249 * intl/Makefile (codeset_mo): New variable.
20250 ($(codeset_mo)): New target.
20251 (tst-codeset.out): Depend on that. Remove explicit rule.
20252 (tst-gettext3.out, tst-gettext5.out): Likewise.
20253 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20254 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20255 * intl/tst-codeset.sh: Remove.
20256 * intl/tst-gettext3.sh: Likewise.
20257 * intl/tst-gettext5.sh: Likewise.
20258
2ae1ae5c
RM
202592012-08-17 Roland McGrath <roland@hack.frob.com>
20260
c31fdb83
RM
20261 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20262 * sysdeps/unix/syscalls.list: ... here.
20263
a0844057
RM
20264 * sysdeps/posix/getaddrinfo.c
20265 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20266 (gaiconf_init, gaiconf_reload): Use them.
20267 [!_STATBUF_ST_NSEC]
20268 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20269 Define using time_t rather than struct timespec.
20270
750c1f2a
RM
20271 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20272 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20273 Macros removed.
20274 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20275 [!NO_THREADS].
20276 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20277 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20278 Likewise.
20279
2ae1ae5c
RM
20280 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20281 __libc_cleanup_push argument.
20282
e66a42f5
RM
20283 * bits/param.h: New file.
20284 * misc/sys/param.h: New file.
20285 * include/sys/param.h: New file.
20286 * misc/Makefile (headers): Add bits/param.h.
20287 * sysdeps/generic/sys/param.h: File removed.
20288 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20289 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20290 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20291 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20292
b7c08a66
RM
20293 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20294 last change.
20295
b2e1c562
RM
20296 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20297 [_IO_MTSAFE_IO].
20298 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20299 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20300 New macros.
20301
c75ccd4c
RM
20302 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20303 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20304 rather than -D_IO_MTSAFE_IO conditionally.
20305 * stdio-common/Makefile (CPPFLAGS): Likewise.
20306 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20307 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20308 Use $(libio-mtsafe).
20309 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20310 of -D_IO_MTSAFE_IO.
20311 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20312 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20313 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20314 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20315 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20316 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20317 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20318 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20319 (CFLAGS-fread_u_chk.c): Likewise.
20320 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20321 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20322 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20323 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20324 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20325 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20326 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20327 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20328 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20329
20330 * libio/Makefile: Test [$(libc-reentrant) = yes]
20331 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20332
20333 * Makeconfig
20334 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20335 * sysdeps/pthread/configure: File removed.
20336 * sysdeps/pthread/Makeconfig: New file.
20337 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20338 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20339
d9195db8
GB
203402012-08-16 Gary Benson <gbenson@redhat.com>
20341
20342 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20343 unmapping the first object in a namespace.
20344
86466cd9
RM
203452012-08-16 Roland McGrath <roland@hack.frob.com>
20346
20347 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20348 (__internal_setnetgrent): ... this. Add internal_function to
20349 definition. Add libc_hidden_def.
20350 (setnetgrent): Update caller.
20351 (internal_endnetgrent): Renamed to ...
20352 (__internal_endnetgrent): ... this. Add internal_function to
20353 definition. Add libc_hidden_def.
20354 (endnetgrent): Update caller.
20355 (internal_getnetgrent_r): Renamed to ...
20356 (__internal_getnetgrent_r): ... this. Add internal_function to
20357 definition. Add libc_hidden_def.
20358 (__getnetgrent_r): Update caller.
20359 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20360
c3c8283c
JM
203612012-08-16 Joseph Myers <joseph@codesourcery.com>
20362
20363 * stdlib/longlong.h: Update from GCC.
20364
db1ee0a8
RM
203652012-08-16 Roland McGrath <roland@hack.frob.com>
20366
20367 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20368 on _QL, which is set by umul_ppmm but never used.
20369 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20370 variables, which are set by GMP macros but never used.
20371 * stdio-common/_itowa.c (_itowa): Likewise.
20372 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20373 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20374
30f69637
CD
203752012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20376
20377 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20378 struct La_sh_regs is not constant.
20379 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20380 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20381 and struct La_sparc64_regs are not constant.
20382
93a78ac4
JM
203832012-08-16 Joseph Myers <joseph@codesourcery.com>
20384
20385 * sysdeps/unix/sysv/linux/kernel-features.h
20386 (__ASSUME_POSIX_TIMERS): Remove.
20387 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20388 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20389 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20390 Make code unconditional.
20391 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20392 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20393 Make code unconditional.
20394 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20395 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20396 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20397 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20398 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20399 Make code unconditional.
20400 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20401 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20402 (__libc_missing_posix_timers): Remove.
20403
dd924cd7
RM
204042012-08-15 Roland McGrath <roland@hack.frob.com>
20405
4b4f2771
RM
20406 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20407 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20408
601c888b
RM
20409 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20410
176790a7
RM
20411 * elf/dl-sym.c: Include <stdlib.h>.
20412
329bc018
RM
20413 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20414 constants, which avoids warnings in 32-bit builds.
20415
e04e272d
RM
20416 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20417 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20418
952bf94a
RM
20419 * misc/lseek.c: File moved to ...
20420 * io/lseek.c: ... here.
20421
7c99b50a
RM
20422 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20423
dd924cd7
RM
20424 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20425 shifting LEN more than 31 bits at once.
20426
b3f479a8
LD
204272012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20428
20429 [BZ #14195]
8c4ae0d4
RM
20430 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20431 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20432 * string/test-strncasecmp.c (check1): Renamed to...
20433 (bz12205): ...this.
20434 (bz14195): Add new testcase for two empty input strings and N > 0.
20435 (test_main): Call new testcase, adapt for renamed function.
20436
9c55864e
AJ
204372012-08-15 Andreas Jaeger <aj@suse.de>
20438
20439 [BZ #14090]
20440 * crypt/md5test2.c: New test, based on test supplied by Serge
20441 Belyshev <belyshev@depni.sinp.msu.ru>.
20442 * crypt/Makefile (xtests): Add md5test-giant..
20443 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20444
02dcb6c5
PE
204452012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20446
20447 [BZ #14090]
20448 * crypt/md5.c (md5_process_block): Don't assume the buffer
20449 length is less than 2**32.
20450 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20451 length is less than 2**64.
20452
a3f95dcc
RM
204532012-08-15 Roland McGrath <roland@hack.frob.com>
20454
be75d758
RM
20455 * string/str-two-way.h: Include <sys/param.h>.
20456 (MAX): Macro removed.
20457
7312ca90
RM
20458 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20459 Move #define and #undef of memmove to just before and after
20460 including <string.h>.
20461
9a0a5486
RM
20462 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20463 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20464 and after including <string.h>. Move declarations of
20465 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20466 to before #include "string/memmove.c".
20467
67cc348d
RM
20468 * include/dirent.h: Declare __getdirentries.
20469
a3f95dcc
RM
20470 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20471 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20472
ca98e171
MF
204732012-08-14 Mike Frysinger <vapier@gentoo.org>
20474
20475 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20476 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20477 * sysdeps/i386/configure: Regenerated.
20478 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20479 STABS_CURRENT_FILE, and STABS_FUN.
20480 (END): Remove call to STABS_FUN_END.
20481 (STABS_CURRENT_FILE1): Delete.
20482 (STABS_CURRENT_FILE): Likewise.
20483 (STABS_FUN): Likewise.
20484 (STABS_FUN_END): Likewise.
20485 (STABS_FUN2): Likewise.
20486 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20487 * sysdeps/x86_64/configure: Regenerated.
20488
5908bf46
RM
204892012-08-14 Roland McGrath <roland@hack.frob.com>
20490
20491 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20492 * elf/dl-lookup.c: Likewise.
5908bf46 20493
f2c05b9e
JM
204942012-08-14 Joseph Myers <joseph@codesourcery.com>
20495
20496 * sysdeps/unix/sysv/linux/kernel-features.h
20497 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20498 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20499 unconditionally.
20500 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20501 unconditionally.
20502 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20503 condition on __ASSUME_CLONE_THREAD_FLAGS.
20504
e11f5155
AJ
205052012-08-14 Andreas Jaeger <aj@suse.de>
20506
20507 * sysdeps/i386/fpu/libm-test-ulps: Update.
20508
51a9ba86
MK
205092012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20510
2fdd4f78
AJ
20511 * include/atomic.h (atomic_exchange_and_add): Split into ...
20512 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20513 New atomic macros.
51a9ba86 20514
ba6cba9e
MT
205152012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20516
20517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20518
42443a47
JL
205192012-08-13 Jeff Law <law@redhat.com>
20520
20521 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20522 null byte in the output string.
20523
121dce05
JM
205242012-08-10 Joseph Myers <joseph@codesourcery.com>
20525
20526 * sysdeps/unix/sysv/linux/kernel-features.h
20527 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20528 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20529 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20530 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20531 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20532 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20533 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20534
bf51f568
JL
205352012-08-09 Jeff Law <law@redhat.com>
20536
20537 [BZ #13939]
20538 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20539 When avoid_arena is set, don't retry in the that arena. Pick the
20540 next one, whatever it might be.
20541 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20542 (arena_lock): Pass in new parameter to arena_get2.
20543 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20544 arena_get2.
20545 (__libc_malloc): Unify retrying after main arena failure with
20546 __libc_memalign version.
20547 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20548
f85fa270
L
205492012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20550
20551 [BZ #14166]
20552 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20553 to __redirect_strstr.
20554 (__strstr_sse42): Use typeof __redirect_strstr.
20555 (__strstr_ia32): Likewise.
20556 (__libc_strstr): New prototype.
20557 (strstr): Renamed to ...
20558 (__libc_strstr): This.
20559 (strstr): New strong alias of __libc_strstr.
20560 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20561 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20562 __redirect_time.
20563 Include <time.h>.
20564 (__libc_time): New prototype.
20565 (time_ifunc): Replace time with __libc_time.
20566 (time): New strong alias and hidden definition of __libc_time.
20567 (__GI_time): Remove strong alias.
20568 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20569 Include <stddef.h>.
20570 (memmove): Redefined to __redirect_memmove.
20571 (__memmove_sse2): Use typeof __redirect_memmove.
20572 (__memmove_ssse3): Likewise.
20573 (__memmove_ssse3_back): Likewise.
20574 (__libc_memmove): New prototype.
20575 (memmove): Renamed to ...
20576 (__libc_memmove): This.
20577 (memmove): New strong alias of __libc_memmove.
20578
33b4a91e
MS
205792012-08-08 Mark Salter <msalter@redhat.com>
20580
20581 * elf/elf.h
20582 (R_MN10300_TLS_GD): Define.
20583 (R_MN10300_TLS_LD): Likewise.
20584 (R_MN10300_TLS_LDO): Likewise.
20585 (R_MN10300_TLS_GOTIE): Likewise.
20586 (R_MN10300_TLS_IE): Likewise.
20587 (R_MN10300_TLS_LE): Likewise.
20588 (R_MN10300_TLS_DTPMOD): Likewise.
20589 (R_MN10300_TLS_DTPOFF): Likewise.
20590 (R_MN10300_TLS_TPOFF): Likewise.
20591 (R_MN10300_SYM_DIFF): Likewise.
20592 (R_MN10300_ALIGN): Likewise.
20593 (R_MN10300_NUM): Update.
20594
b36137f1
JM
205952012-08-08 Joseph Myers <joseph@codesourcery.com>
20596
20597 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20598 Remove.
20599
cdd915fd
RM
206002012-08-08 Roland McGrath <roland@hack.frob.com>
20601
a2433aac
RM
20602 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20603
cdd915fd
RM
20604 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20605 sysdeps/unix -> sysdeps/posix move.
20606 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20607
bf9b740a
AM
206082012-08-07 Allan McRae <allan@archlinux.org>
20609
20610 [BZ #14303]
20611 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20612 (SUNOS_CPP): Likewise.
20613 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20614 not found.
20615 (open_input): Call CPP using execvp.
20616
93df14ee
JM
206172012-08-07 Joseph Myers <joseph@codesourcery.com>
20618
20619 * sysdeps/unix/sysv/linux/kernel-features.h
20620 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20621 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20622 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20623 (__ASSUME_WAITID_SYSCALL): Likewise.
20624 * sysdeps/unix/sysv/linux/dl-execstack.c
20625 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20626 code unconditional.
20627 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20628 conditional code.
20629 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20630 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20631 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20632 code.
20633 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20634 unconditional.
20635 [__ASSUME_WAITID_SYSCALL]: Likewise.
20636 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20637
d34689de
RM
206382012-08-07 Roland McGrath <roland@hack.frob.com>
20639
a281decc
RM
20640 * sysdeps/unix/closedir.c: Renamed to ...
20641 * sysdeps/posix/closedir.c: ... here.
20642 * sysdeps/unix/dirfd.c: Renamed to ...
20643 * sysdeps/posix/dirfd.c: ... here.
20644 * sysdeps/unix/dirstream.h: Renamed to ...
20645 * sysdeps/posix/dirstream.h: ... here.
20646 * sysdeps/unix/fdopendir.c: Renamed to ...
20647 * sysdeps/posix/fdopendir.c: ... here.
20648 * sysdeps/unix/opendir.c: Renamed to ...
20649 * sysdeps/posix/opendir.c: ... here.
20650 * sysdeps/unix/readdir.c: Renamed to ...
20651 * sysdeps/posix/readdir.c: ... here.
20652 * sysdeps/unix/readdir_r.c: Renamed to ...
20653 * sysdeps/posix/readdir_r.c: ... here.
20654 * sysdeps/unix/rewinddir.c: Renamed to ...
20655 * sysdeps/posix/rewinddir.c: ... here.
20656 * sysdeps/unix/seekdir.c: Renamed to ...
20657 * sysdeps/posix/seekdir.c: ... here.
20658 * sysdeps/unix/telldir.c: Renamed to ...
20659 * sysdeps/posix/telldir.c: ... here.
20660 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20661 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20662 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20663 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20664
22895b47
RM
20665 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20666 * bits/fcntl.h: ... here.
20667
707a53b6
RM
20668 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20669 not 0.
20670 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20671 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20672 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20673 (struct flock): Move l_start, l_len to the beginning.
20674 Use __pid_t for l_pid.
20675 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20676 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20677 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20678 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20679 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20680 [__USE_LARGEFILE64] (struct flock64): New type.
20681 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20682
f0bd3e25
RM
20683 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20684 * bits/dirent.h: ... here.
20685
d34689de
RM
20686 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20687 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20688
6dad2c06
JM
206892012-08-07 Joseph Myers <joseph@codesourcery.com>
20690
20691 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20692 Change from 2.6.0 to 2.6.16.
20693 * sysdeps/unix/sysv/linux/configure: Regenerated.
20694 * sysdeps/unix/sysv/linux/kernel-features.h
20695 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20696 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20697 version.
20698 (__ASSUME_UTIMES): Likewise.
20699 (__ASSUME_CLONE_STOPPED): Remove.
20700 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20701 architectures, not kernel version.
20702 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20703 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20704 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20705 (__ASSUME_WAITID_SYSCALL): Likewise.
20706 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20707 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20708 * README: State 2.6.16 as minimum Linux kernel version. Do not
20709 refer to older versions.
20710
03af9520
RM
207112012-08-06 Roland McGrath <roland@hack.frob.com>
20712
8e49df1d
RM
20713 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20714 Define alphasort64 as an alias.
20715 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20716 Define versionsort64 as an alias.
20717 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20718 Define scandir64 as an alias.
20719 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20720 Define scandirat64 as an alias.
20721 * dirent/alphasort64.c (alphasort64):
20722 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20723 * dirent/versionsort64.c: Likewise.
20724 * dirent/scandir64.c: Likewise.
20725 * dirent/scandirat64.c: Likewise.
20726 * sysdeps/wordsize-64/alphasort.c: File removed.
20727 * sysdeps/wordsize-64/alphasort64.c: File removed.
20728 * sysdeps/wordsize-64/scandir.c: File removed.
20729 * sysdeps/wordsize-64/scandir64.c: File removed.
20730 * sysdeps/wordsize-64/scandirat.c: File removed.
20731 * sysdeps/wordsize-64/scandirat64.c: File removed.
20732 * sysdeps/wordsize-64/versionsort.c: File removed.
20733 * sysdeps/wordsize-64/versionsort64.c: File removed.
20734 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20735 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20736 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20737 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20738 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20739 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20740 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20741 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20742
20743 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20745 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20747 [defined __arch64__ || defined __sparcv9]
20748 (__INO_T_MATCHES_INO64_T): New macro.
20749 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20750 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20751 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20752 * sysdeps/unix/sysv/linux/bits/dirent.h
20753 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20754 (_DIRENT_MATCHES_DIRENT64): New macro.
20755
03af9520
RM
20756 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20757 Define lockf64 as an alias.
20758 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20759 Define fseeko64 as an alias.
20760 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20761 Define ftello64 as an alias.
20762 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20763 Define _IO_fgetpos64 and fgetpos64 as aliases.
20764 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20765 Define _IO_fsetpos64 and fsetpos64 as aliases.
20766 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20767 Conditionalize body on this.
20768 * libio/fseeko64.c: Likewise.
20769 * libio/ftello64.c: Likewise.
20770 * libio/iofgetpos64.c: Likewise.
20771 * libio/iofsetpos64.c: Likewise.
20772 * sysdeps/wordsize-64/lockf.c: File removed.
20773 * sysdeps/wordsize-64/lockf64.c: File removed.
20774 * sysdeps/wordsize-64/fseeko.c: File removed.
20775 * sysdeps/wordsize-64/fseeko64.c: File removed.
20776 * sysdeps/wordsize-64/ftello.c: File removed.
20777 * sysdeps/wordsize-64/ftello64.c: File removed.
20778 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20779 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20780 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20781 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20782 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20784 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20785 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20786 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20787 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20788 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20789 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20790 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20791 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20792
20793 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20795 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20796 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20797 [defined __arch64__ || defined __sparcv9]
20798 (__OFF_T_MATCHES_OFF64_T): New macro.
20799 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20800 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20801 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20802 (__OFF_T_MATCHES_OFF64_T): New macro.
20803
c5757acd
L
208042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20805
20806 * stdlib/secure-getenv.c (__secure_getenv): Replace
20807 GLIBC_2_16 with GLIBC_2_17.
20808
3a31811e
L
208092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20810
20811 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20812 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20813
faa2bccb
DM
208142012-08-03 David S. Miller <davem@davemloft.net>
20815
20816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20817
85fe1997
JM
208182012-08-03 Joseph Myers <joseph@codesourcery.com>
20819
20820 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20821 Remove.
20822 (__ASSUME_CORRECT_SI_PID): Likewise.
20823 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20824 (__ASSUME_TMPFS_NAME): Likewise.
20825 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20826 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20827 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20828 (HAVE_AUX_SECURE): Make definition unconditional.
20829 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20830 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20831
4f75b7a0
RM
208322012-08-03 Roland McGrath <roland@hack.frob.com>
20833
20834 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20835 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20836 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20837 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20838 __eloop_threshold instead of SYMLOOP_MAX.
20839
20840 * sysdeps/generic/eloop-threshold.h: New file.
20841 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20842 of MAXSYMLINKS.
20843 * elf/chroot_canon.c (chroot_canon): Likewise.
20844
7aab07e4
JM
208452012-08-03 Joseph Myers <joseph@codesourcery.com>
20846
20847 [BZ #13717]
20848 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20849 Change to 2.6.0 everywhere.
20850 * sysdeps/unix/sysv/linux/configure: Regenerated.
20851 * sysdeps/unix/sysv/linux/kernel-features.h
20852 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20853 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20854 kernel versions.
20855 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20856 (__ASSUME_FUTEX_REQUEUE): Remove.
20857 (__ASSUME_STATFS64): Define unconditionally.
20858 (__ASSUME_AT_SECURE): Likewise.
20859 (__ASSUME_CORRECT_SI_PID): Likewise.
20860 (__ASSUME_TGKILL): Define without depending on kernel version for
20861 i386.
20862 (__ASSUME_UTIMES): Likewise.
20863 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20864 kernel version.
20865 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20866 (__ASSUME_TMPFS_NAME): Likewise.
20867 * README: Update reference to Linux kernel versions.
20868
b67e9372
MP
208692012-08-02 Marek Polacek <polacek@redhat.com>
20870
1f529f7d 20871 [BZ# 14150]
b67e9372
MP
20872 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20873 libc_cv_asm_type_prefix with %.
20874 * configure: Regenerated.
d2441631
RM
20875 * include/libc-symbols.h: Remove comment about
20876 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20877 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20878 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20879 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20880 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20881 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20882 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20883 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20884 * elf/tst-unique2mod1.c: Likewise.
20885 * elf/tst-unique1mod2.c: Likewise.
20886 * elf/tst-unique1mod1.c: Likewise.
20887 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20888 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20889 Replace ASM_TYPE_DIRECTIVE with .type.
20890 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20891 * sysdeps/i386/sysdep.h: Likewise.
20892 * sysdeps/x86_64/sysdep.h: Likewise.
20893 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20895 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20896 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20897 * sysdeps/powerpc/powerpc32/sysdep.h:
20898 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20899 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20900 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20901 * sysdeps/i386/fpu/e_powf.S: Likewise.
20902 * sysdeps/i386/fpu/e_expl.S: Likewise.
20903 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20904 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20905 * sysdeps/i386/fpu/e_pow.S: Likewise.
20906 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20907 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20908 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20909 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20910 * sysdeps/i386/fpu/e_log2.S: Likewise.
20911 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20912 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20913 * sysdeps/i386/fpu/e_powl.S: Likewise.
20914 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20915 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20916 * sysdeps/i386/fpu/e_logl.S: Likewise.
20917 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20918 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20919 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20920 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20921 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20922 * sysdeps/i386/fpu/e_log.S: Likewise.
20923 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20924 * sysdeps/i386/fpu/e_logf.S: Likewise.
20925 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20926 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20927 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20928 * sysdeps/i386/fpu/e_log10.S: Likewise.
20929 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20930 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20931 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20932 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20933 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20934 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20935 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20936 * sysdeps/i386/i686/strtok.S: Likewise.
20937 * sysdeps/i386/i386-mcount.S: Likewise.
20938 * sysdeps/i386/strtok.S: Likewise.
20939 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20940 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20941 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20942 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20943 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20944 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20945 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20946 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20947 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20948 * sysdeps/x86_64/_mcount.S: Likewise.
20949 * sysdeps/x86_64/strtok.S: Likewise.
20950 * sysdeps/sh/_mcount.S: Likewise.
20951
2747bf9a
RM
209522012-08-01 Roland McGrath <roland@hack.frob.com>
20953
20954 * libio/iofopen.c: Include <fcntl.h>.
20955 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20956 (_IO_fopen64, fopen64): Define as aliases.
20957 * libio/iofopen64.c: Include <fcntl.h>.
20958 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20959 Conditionalize body on this.
20960 * sysdeps/wordsize-64/iofopen.c: File removed.
20961 * sysdeps/wordsize-64/iofopen64.c: File removed.
20962
3fb791b8
MP
209632012-08-01 Marek Polacek <polacek@redhat.com>
20964
20965 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20966 Use dlfcn directly instead of a variable.
20967 (binfmt-subdir): Do not define.
20968 (dlfcn): Likewise.
20969
a9f1039f
JM
209702012-08-01 Joseph Myers <joseph@codesourcery.com>
20971
23bddc06
JM
20972 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20973 Remove all definitions.
20974 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20975 <kernel-features.h>.
20976 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20977 (miss_F_GETOWN_EX): Remove all definitions.
20978 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20979 macro definition.
20980 [!__ASSUME_FCNTL64]: Remove conditional code.
20981 [__ASSUME_FCNTL64]: Make code unconditional.
20982 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20983 <kernel-features.h>.
20984 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20985 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20986 (lockf64) [__NR_fcntl64]: Make code unconditional.
20987 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20988
a9f1039f
JM
20989 * sysdeps/unix/sysv/linux/kernel-features.h
20990 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20991 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20992 Make code unconditional.
20993 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20994 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20996 [__NR_vfork]: Make code unconditional.
20997 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20998 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21000 [__NR_vfork]: Make code unconditional.
21001 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21002 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21003
09c0ee5f
RM
210042012-08-01 Roland McGrath <roland@hack.frob.com>
21005
48aec5b9
RM
21006 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21007 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21008
cd97c966
RM
21009 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21010 Define mkstemp64 as an alias.
3f55550c
RM
21011 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21012 Define mkstemps64 as an alias.
cd97c966
RM
21013 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21014 Define mkostemp64 as an alias.
b8625cfc
RM
21015 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21016 Define mkostemps64 as an alias.
cd97c966
RM
21017 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21018 Conditionalize body on this.
21019 * misc/mkostemp64.c: Likewise.
b8625cfc 21020 * misc/mkostemps64.c: Likewise.
3f55550c 21021 * misc/mkstemps64.c: Likewise.
cd97c966
RM
21022 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21023 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21024 * sysdeps/wordsize-64/mkostemp.c: File removed.
21025 * sysdeps/wordsize-64/mkstemp.c: File removed.
21026 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21027 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21028 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21029 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21030
09c0ee5f
RM
21031 [BZ #14138]
21032 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21033 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21034 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21035 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21036
21037 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21038 compat_symbol macros from <shlib-compat.h> rather than the underlying
21039 default_symbol_version and symbol_version macros, so that DEFAULT
21040 lines in shlib-versions are respected.
21041 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21042
7e66ee51
FW
210432012-08-01 Florian Weimer <fweimer@redhat.com>
21044
21045 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21046 Declare with warn_unused_result.
21047 (setgid, setregid, setegid, setresgid): Likewise.
21048 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21049 Likewise.
21050 * WUR-REPORT: Remove set*id functions.
21051
d2a54255
PT
210522012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21053
21054 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21055
7ecdb005
RM
210562012-07-31 Roland McGrath <roland@hack.frob.com>
21057
b4180a5e 21058 [BZ #10191]
789bd351
RM
21059 * include/sys/socket.h (__libc_accept, __libc_accept4):
21060 Add attribute_hidden.
21061 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21062
40ce302d
RM
21063 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21064 use of PTR_MANGLE.
21065 * inet/getnetgrent_r.c (setup): Likewise.
21066
7ecdb005
RM
21067 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21068
e2eabb2c
DM
210692012-07-31 David S. Miller <davem@davemloft.net>
21070
21071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21072
d0419dbf
JM
210732012-07-31 Joseph Myers <joseph@codesourcery.com>
21074
21075 [BZ #13629]
21076 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21077 value between 1.0 and 2.0 and smaller part has absolute value less
21078 than 1.0.
21079 * math/s_clog10.c (__clog10): Likewise.
21080 * math/s_clog10f.c (__clog10f): Likewise.
21081 * math/s_clog10l.c (__clog10l): Likewise.
21082 * math/s_clogf.c (__clogf): Likewise.
21083 * math/s_clogl.c (__clogl): Likewise.
21084 * math/libm-test.inc (clog_test): Add more tests.
21085 (clog10_test): Likewise.
21086 * sysdeps/i386/fpu/libm-test-ulps: Update.
21087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21088
2bc13872
FW
210892012-07-31 Florian Weimer <fweimer@redhat.com>
21090
21091 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21092 Exit with zero in case no suitable GID is found, and write a
21093 message to standard error.
21094
bea9b193
RM
210952012-07-30 Roland McGrath <roland@hack.frob.com>
21096
21097 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21098 rather than to 1.
21099 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21100 (MAXPATHLEN): Removed.
21101 (NOGROUP, NODEV): New macros.
21102 (setbit, clrbit, isset, isclr): New macros.
21103 (howmany, roundup, powerof2): New macros.
21104 (DEV_BSIZE): New macro.
21105
21106 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21107 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21108
21109 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21110 definition on [!__NO_LONG_DOUBLE_MATH].
21111
21112 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21113 PTR_MANGLE and PTR_DEMANGLE.
21114
21115 * socket/accept4.c (accept4): Rename to __libc_accept4.
21116 Define accept4 as a weak alias.
21117
21118 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21119 on [_DIRENT_HAVE_D_TYPE].
21120 * io/ftw.c (ftw_dir): Likewise.
21121
21122 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21123
21124 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21125
21126 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21127 Use the BSD numbers rather than the arbitrary ones we had.
21128 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21129 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21130 (SIGXCPU, SIGXFSZ): New macros.
21131 (_NSIG): Now 32.
21132
21133 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21134 initializer on [_LIBC_REENTRANT].
21135
21136 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21137 definitions inside [_POSIX_MAPPED_FILES].
21138
21139 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21140
21141 * dirent/opendir.c: Include <fcntl.h>.
21142
21143 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21144 (__libc_getspecific): Likewise.
21145 (__libc_key_create): Likewise.
21146
21147 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21148 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21149 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21150 (tmpfile64): Define as alias.
21151 * sysdeps/wordsize-64/tmpfile.c: File removed.
21152 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21153 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21154 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21155
21156 * stdio-common/vfscanf.c: Include <stdbool.h>.
21157 * nss/makedb.c: Likewise.
21158 * stdio-common/_i18n_number.h: Likewise.
21159 * argp/argp-help.c: Likewise.
21160 * posix/wordexp.c: Likewise.
21161 * sysdeps/posix/spawni.c: Likewise.
21162 * nss/nss_files/files-initgroups.c: Likewise.
21163 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21164 * nss/nss_files/files-initgroups.c: Likewise.
21165 * nss/nss_db/db-netgrp.c: Likewise.
21166 * nss/nss_db/db-initgroups.c: Likewise.
21167 * io/fchmodat.c: Include <sys/stat.h>.
21168
21169 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21170 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21171
21172 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21173 [HAVE_MMAP].
21174
21175 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21176 Add multiple inclusion protection.
21177
e5abc686
DM
211782012-07-27 David S. Miller <davem@davemloft.net>
21179
21180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21181
815e6fa3
GB
211822012-07-27 Gary Benson <gbenson@redhat.com>
21183
21184 [BZ #14298]
21185 * elf/rtld.c: Include <stap-probe.h>.
21186 (dl_main): Added static probes "init_start" and "init_complete".
21187 * elf/dl-load.c: Include <stap-probe.h>.
21188 (lose): Take new parameter "nsid".
21189 Added static probe "map_failed".
21190 (_dl_map_object_from_fd): Pass namespace id to lose.
21191 Added static probe "map_start".
21192 (open_verify): Pass namespace id to lose.
21193 * elf/dl-open.c: Include <stap-probe.h>.
21194 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21195 and "reloc_complete".
21196 * elf/dl-close.c: Include <stap-probe.h>.
21197 (_dl_close_worker): Added static probes "unmap_start" and
21198 "unmap_complete".
21199 * elf/rtld-debugger-interface.txt: New file documenting the above.
21200
9f98c16c
RM
212012012-07-26 Roland McGrath <roland@hack.frob.com>
21202
21203 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21204 rather than a string variable.
21205 * sunrpc/rpc_main.c (h_output): Likewise.
21206 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21207
f3c22df3
PT
212082012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21209
21210 * inet/check_native.c: New file.
21211
3129cfc6
JM
212122012-07-26 Joseph Myers <joseph@codesourcery.com>
21213
da865e95
JM
21214 [BZ #13629]
21215 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21216 if larger part has absolute value 1.0.
21217 * math/s_clog10.c (__clog10): Likewise.
21218 * math/s_clog10f.c (__clog10f): Likewise.
21219 * math/s_clog10l.c (__clog10l): Likewise.
21220 * math/s_clogf.c (__clogf): Likewise.
21221 * math/s_clogl.c (__clogl): Likewise.
21222 * math/libm-test.inc (clog_test): Add more tests.
21223 (clog10_test): Likewise.
21224 * sysdeps/i386/fpu/libm-test-ulps: Update.
21225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21226
3129cfc6
JM
21227 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21228 (pltexit): Likewise.
21229 (La_regs): Likewise.
21230 (La_retval): Likewise.
21231 (int_retval): Likewise.
21232 Update #error for removed macros to refer only to definitions in
21233 tst-audit.h.
21234 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21235 macro.
21236 (pltexit): Likewise.
21237 (La_regs): Likewise.
21238 (La_retval): Likewise.
21239 (int_retval): Likewise.
21240 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21241 macro.
21242 (pltexit): Likewise.
21243 (La_regs): Likewise.
21244 (La_retval): Likewise.
21245 (int_retval): Likewise.
21246 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21247 macro.
21248 (pltexit): Likewise.
21249 (La_regs): Likewise.
21250 (La_retval): Likewise.
21251 (int_retval): Likewise.
21252 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21253 macro.
21254 (pltexit): Likewise.
21255 (La_regs): Likewise.
21256 (La_retval): Likewise.
21257 (int_retval): Likewise.
21258 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21259 macro.
21260 (pltexit): Likewise.
21261 (La_regs): Likewise.
21262 (La_retval): Likewise.
21263 (int_retval): Likewise.
21264 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21265 macro.
21266 (pltexit): Likewise.
21267 (La_regs): Likewise.
21268 (La_retval): Likewise.
21269 (int_retval): Likewise.
21270 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21271 macro definitions in tst-audit.h.
21272 * sysdeps/i386/tst-audit.h: New file.
21273 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21274 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21275 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21276 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21277 * sysdeps/sh/tst-audit.h: Likewise.
21278 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21279 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21280 * sysdeps/x86_64/tst-audit.h: Likewise.
21281
bfc07087
AJ
212822012-07-26 Andreas Jaeger <aj@suse.de>
21283
b1b2aaf8
AJ
21284 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21285 ptrace.
21286
21287 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21288 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21289 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21290 PTRACE_O_MASK.
21291 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21292 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21293 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21294
bfc07087
AJ
21295 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21296 value.
21297
21298 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21299 _sigsys.
21300 (si_call_addr, si_syscall, si_arch): Define new macro.
21301 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21302 _sigsys.
21303 (si_call_addr, si_syscall, si_arch): Define new marcro.
21304 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21305 _sigsys.
21306 (si_call_addr, si_syscall, si_arch): Define new macro.
21307 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21308 _sigsys.
21309 (si_call_addr, si_syscall, si_arch): Define new macro.
21310
89b4b02f
JM
213112012-07-25 Joseph Myers <joseph@codesourcery.com>
21312
21313 [BZ #13717]
21314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21315 Change to 2.4.21 where previously 2.4.1.
21316 * sysdeps/unix/sysv/linux/configure: Regenerated.
21317 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21318 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21319 Linux kernel version.
21320 (__ASSUME_STD_AUXV): Remove.
21321 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21322 kernel version.
21323 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21324 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21325 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21326 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21327 (__ASSUME_NETLINK_SUPPORT): Likewise.
21328 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21329 (__no_netlink_support): Remove conditional definition.
21330 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21331 Remove.
21332 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21333 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21334 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21335 (if_nameindex_ioctl): Remove.
21336 (if_nameindex_netlink): Do not handle __no_netlink_support.
21337 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21338 code.
21339 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21340 Remove conditional code.
21341 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21342 code.
21343 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21344 unconditional.
21345 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21346 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21347 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21348 Remove.
21349 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21350 [!__ASSUME_STD_AUXV]: Remove conditional code.
21351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21352 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21353 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21355 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21356 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21357 code.
21358 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21360 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21361 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21362 conditional code.
21363 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21365 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21366 code.
21367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21368 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21369 conditional code.
21370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21371 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21372 code unconditional.
21373 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21374 conditional code.
21375 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21376 unconditional.
21377 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21378 conditional code.
21379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21380 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21381 unconditional.
21382 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21383 conditional code.
21384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21385 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21386 code unconditional.
21387 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21388 conditional code.
21389 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21390 unconditional.
21391 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21392 conditional code.
21393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21394 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21395 code unconditional.
21396 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21397 conditional code.
21398 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21399 unconditional.
21400 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21401 conditional code.
21402
842a39cd
AS
214032012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21404
21405 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21406 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21407 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21408 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21409 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21410 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21411 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21412 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21413 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21414 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21415 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21416 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21417 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21418 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21419 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21420 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21421 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21422 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21423 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21425 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21426 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21427 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21428
84b3fd84
FW
214292012-07-25 Florian Weimer <fweimer@redhat.com>
21430
21431 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21432 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21433 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21434 Introduce __libc_secure_getenv.
0c7936d5
FW
21435 * stdlib/Versions (2.17): Add secure_getenv
21436 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21437 * stdlib/secure-getenv.c: Rename __secure_getenv to
21438 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21439 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21440 * stdlib/tst-secure-getenv.c: New.
21441 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21442 * manual/startup.texi (Environment Access): Document
21443 secure_getenv.
84b3fd84
FW
21444 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21445 __libc_secure_getenv.
21446 * inet/ruserpass.c (ruserpass): Likewise.
21447 * malloc/mtrace.c (mtrace): Likewise.
21448 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21449 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21450 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21451 * sysdeps/posix/tempname.c: Likewise. Evaluate
21452 HAVE_SECURE_GETENV.
21453 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21454 __secure_getenv to __libc_secure_getenv.
84b3fd84 21455 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21457 Likewise.
21458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21459 Likewise.
21460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21467
56e49b71
JM
214682012-07-25 Joseph Myers <joseph@codesourcery.com>
21469
21470 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21471 (struct La_i86_retval): Likewise.
21472 (struct La_x86_64_regs): Likewise.
21473 (struct La_x86_64_retval): Likewise.
21474 (struct La_x32_regs): Likewise.
21475 (struct La_x32_retval): Likewise.
21476 (struct La_ppc32_regs): Likewise.
21477 (struct La_ppc32_retval): Likewise.
21478 (struct La_ppc64_regs): Likewise.
21479 (struct La_ppc64_retval): Likewise.
21480 (struct La_sh_regs): Likewise.
21481 (struct La_sh_retval): Likewise.
21482 (struct La_s390_32_regs): Likewise.
21483 (struct La_s390_32_retval): Likewise.
21484 (struct La_s390_64_regs): Likewise.
21485 (struct La_s390_64_retval): Likewise.
21486 (struct La_sparc32_regs): Likewise.
21487 (struct La_sparc32_retval): Likewise.
21488 (struct La_sparc64_regs): Likewise.
21489 (struct La_sparc64_retval): Likewise.
21490 (struct audit_ifaces): Remove architecture-specific pltenter and
21491 pltexit members.
21492 * sysdeps/i386/ldsodefs.h: New file.
21493 * sysdeps/powerpc/ldsodefs.h: Likewise.
21494 * sysdeps/s390/ldsodefs.h: Likewise.
21495 * sysdeps/sh/ldsodefs.h: Likewise.
21496 * sysdeps/sparc/ldsodefs.h: Likewise.
21497 * sysdeps/x86_64/ldsodefs.h: Likewise.
21498
354691b7
MP
214992012-07-25 Marek Polacek <polacek@redhat.com>
21500
21501 [BZ #6808]
21502 * math/libm-test.inc (yn_test): Add another test.
21503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21504 to ERANGE when the result is +-Inf.
21505 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21506 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21507 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21508 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21509
bf9e2071
JM
215102012-07-24 Joseph Myers <joseph@codesourcery.com>
21511
21512 * conform/data/time.h-data (NULL): Use macro-constant. Require
21513 equal to 0.
21514 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21515 clock_t.
21516 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21517
57633811
TS
215182012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21519
21520 * configure.in <sysdeps resolving>: Correct printing
21521 Implies_before.
21522 * configure: Regenerate.
21523
c23c33b0
TS
215242012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21525
21526 * math/w_ilogb.c: Include <limits.h>.
21527 * math/w_ilogbl.c: Likewise.
21528
b5982523
JM
215292012-07-20 Joseph Myers <joseph@codesourcery.com>
21530
21531 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21532 va_copy. Document allowing for unavailable va_copy only as
21533 pre-C99 compatibility.
21534 * manual/string.texi (Copying and Concatenation): Use va_copy
21535 instead of __va_copy in concat example.
21536
ac4ea442
PT
215372012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21538
21539 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21540 (__sendto): Use create_address_port. Initialize APORT and deallocate
21541 it if not null.
21542
f98eafbd
PT
21543 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21544 with O_NOLINK passed to __file_name_lookup.
21545
898c7aab
PT
21546 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21547 with O_NOLINK passed to __file_name_lookup.
21548
0ced335a
PT
21549 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21550 negative N or less than NGIDS.
21551
b3404dbd
PT
21552 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21553 type to string_t. Set ERANGE as errno and return it if NAME is not big
21554 enough. Use memcpy instead of strncpy.
21555
0f48659e
JM
215562012-07-20 Joseph Myers <joseph@codesourcery.com>
21557
21558 * elf/Makefile (check-data): Remove.
21559 (localplt.data): New vpath directive.
21560 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21561 instead of $(check-data).
21562 * scripts/data/localplt-generic.data: Move to ...
21563 * sysdeps/generic/localplt.data: ... here.
21564 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21565 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21566 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21568 ... here.
21569 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21571 ... here.
21572 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21574 ... here.
21575 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21577 ... here.
21578 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21580 ... here.
21581 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21583 ... here.
21584
d37cbdaa
AZ
215852012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21586
21587 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21588 PPC32 and PPC64 files.
21589 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21590 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21591
46f85fc2
AK
215922012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21593
21594 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21595 __makecontext_ret to ...
21596 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21597 ... here and call exit if uc_link is NULL. New file.
21598 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21599 __makecontext_ret.S.
21600 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21601 __makecontext_ret to ...
21602 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21603 ... here and call exit if uc_link is NULL. New file.
21604 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21605 __makecontext_ret.S.
21606
08f43f9b
AK
216072012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21608
21609 * elf/elf.h (R_390_IRELATIVE): New definition.
21610 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21611 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21612 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21613 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21614 (elf_machine_lazy_rel): Likewise.
21615 * sysdeps/s390/dl-irel.h: New file.
21616 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21617 * sysdeps/s390/s390-64/memset.S: New asm code.
21618 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21619 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21620 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21621 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21622 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21623 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21624 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21625 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21626 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21627 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21628 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21629 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21630 * sysdeps/s390/s390-32/memset.S: New asm code.
21631 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21632
3b05db33
MP
216332012-07-17 Marek Polacek <polacek@redhat.com>
21634
21635 [BZ #14349]
21636 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21637 * sysdeps/s390/s390-64/configure.in: Likewise.
21638 * sysdeps/sparc/configure.in: Likewise.
21639 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21640 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21641 * sysdeps/i386/configure.in: Likewise.
21642 * sysdeps/x86_64/configure.in: Likewise.
21643 * sysdeps/sh/configure.in: Likewise.
21644 * sysdeps/s390/s390-32/configure: Regenerated.
21645 * sysdeps/s390/s390-64/configure: Likewise.
21646 * sysdeps/x86_64/configure: Likewise.
21647 * sysdeps/sh/configure: Likewise.
21648 * sysdeps/powerpc/powerpc64/configure: Likewise.
21649 * sysdeps/powerpc/powerpc32/configure: Likewise.
21650 * sysdeps/sparc/configure: Likwise.
21651 * sysdeps/i386/configure: Likewise.
21652
a66877c6
MP
21653 * elf/dl-open.c: Comment fixes.
21654
cfc82fd8
JM
216552012-07-17 Joseph Myers <joseph@codesourcery.com>
21656
bd29910a
JM
21657 * Makefile [CXX] (check-data): Remove.
21658 [CXX] (c++-types.data): New vpath directive.
21659 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21660 vpath. Do not allow for C++ type data being missing.
21661 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21662 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21663 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21664 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21665 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21666 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21667 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21669 ... here.
21670 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21672 ... here.
21673 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21675 ... here.
21676 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21678 ... here.
21679 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21681 ... here.
21682 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21684 ... here.
21685 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21687 ... here.
21688 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21690
cfc82fd8
JM
21691 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21692 definitions to architecture-specific files.
21693 (TLS_IE): Likewise.
21694 (TLS_LD): Likewise.
21695 (TLS_GD): Likewise.
21696 * sysdeps/i386/tls-macros.h: New file.
21697 * sysdeps/powerpc/tls-macros.h: Likewise.
21698 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21699 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21700 * sysdeps/sh/tls-macros.h: Likewise.
21701 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21702 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21703 * sysdeps/x86_64/tls-macros.h: Likewise.
21704
f7db3170
TS
217052012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21706
07cbfc23
TS
21707 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21708 zero value for regular exit case.
21709
f7db3170
TS
21710 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21711 (__start_context): Preserve zero value for regular exit case.
21712
dc97c227
TS
217132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21714 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21715
21716 * manual/setjmp.texi (setcontext): Clarify normal process
21717 termination when uc_link is the null pointer.
21718 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21719 exit call.
21720
d0cd7d02
AS
217212012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21722
21723 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21724 preprocessor. Test for each exception mask separately.
21725
dd318934
AJ
217262012-07-16 Andreas Jaeger <aj@suse.de>
21727
21728 * po/ru.po: Update from translation team.
21729
8048311a
JM
217302012-07-15 Joseph Myers <joseph@codesourcery.com>
21731
21732 * conform/data/string.h-data (NULL): Use macro-constant. Require
21733 equal to 0.
21734 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21735 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21736 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21737 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21738 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21739
b637d46e
AJ
217402012-07-13 Andreas Jaeger <aj@suse.de>
21741
21742 * po/fr.po: Update from translation team.
21743
541428fe
MP
217442012-07-12 Marek Polacek <polacek@redhat.com>
21745
21746 [BZ #14173]
21747 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21748 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21749 loop condition.
21750
ec332e94
JM
217512012-07-12 Joseph Myers <joseph@codesourcery.com>
21752
21753 [BZ #13717]
21754 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21755 Change to 2.4.1 where previously 2.4.0.
21756 * sysdeps/unix/sysv/linux/configure: Regenerated.
21757 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21758 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21759 version.
21760 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21761 (__ASSUME_AT_CLKTCK): Remove.
21762 (__ASSUME_AT_PAGESIZE): Likewise.
21763 (__ASSUME_AT_XID): Likewise.
21764 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21765 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21766 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21767 unconditionally.
21768 (HAVE_AUX_PAGESIZE): Likewise.
21769 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21770 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21771 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21772
7b6e99be
JB
217732012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21774
21775 [BZ #14307]
21776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21777 the temporary buffer used to invoke __gethostbyname2_r,
21778 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21779 host_data / struct gaih_addrtuple.
21780 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21781 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21782 header file nss/nsswitch.h.
21783 * nss/nsswitch.h (global scope): Add definition of implementation
21784 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21785 resolv/nss_dns/dns-host.c).
21786
608404eb
AJ
217872012-07-11 Andreas Jaeger <aj@suse.de>
21788
21789 * po/fr.po: Update from translation team.
21790
71220aca
AJ
21791 * po/sv.po: Update from translation team
21792 * po/fr.po: Another update from translation team.
21793
28cfe843
AZ
217942012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21795
21796 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21797 for subnormals or multiply small sinh result by itself.
21798 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21800
6b90f981
DM
218012012-07-11 David S. Miller <davem@davemloft.net>
21802
21803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21804
c6825772
AS
218052012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21806
21807 [BZ #14347]
21808 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21809 (INTERNAL_MARK): Shift it here.
21810
7b8e0d49
MP
218112012-07-10 Marek Polacek <polacek@redhat.com>
21812
21813 [BZ #14151]
21814 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21815 libc_cv_asm_global_directive with .globl.
21816 * configure: Regenerated.
21817 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21818 with .globl.
21819 * sysdeps/i386/configure: Regenerated.
21820 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21821 with .globl.
21822 * sysdeps/x86_64/configure: Regenerated.
21823 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21824 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21825 * elf/tst-unique2mod2.c: Likewise.
21826 * elf/tst-unique2mod1.c: Likewise.
21827 * elf/tst-unique1mod2.c: Likewise.
21828 * elf/tst-unique1mod1.c: Likewise.
21829 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21830 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21831 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21832 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21833 * sysdeps/mach/sysdep.h: Likewise.
21834 * sysdeps/i386/sysdep.h: Likewise.
21835 * sysdeps/i386/i386-mcount.S: Likewise.
21836 * sysdeps/x86_64/_mcount.S: Likewise.
21837 * sysdeps/x86_64/sysdep.h: Likewise.
21838 * sysdeps/sh/_mcount.S: Likewise.
21839 * sysdeps/sh/sysdep.h: Likewise.
21840 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21841 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21842 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21843 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21844 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21845 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21846 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21847 * locale/localeinfo.h: Likewise.
21848 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21849 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21850
6c55cda3
RM
218512012-07-09 Roland McGrath <roland@hack.frob.com>
21852
21853 [BZ #14336]
21854 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21855 system".
21856 * manual/message.texi (The Uniforum approach): Likewise.
21857 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21858 (glibc iconv Implementation): Likewise.
21859
638a572e
JM
218602012-07-09 Joseph Myers <joseph@codesourcery.com>
21861
21862 [BZ #14337]
21863 * math/s_clog.c (__clog): Avoid scaling a value down where that
21864 could result in underflow.
21865 * math/s_clog10.c (__clog10): Likewise.
21866 * math/s_clog10f.c (__clog10f): Likewise.
21867 * math/s_clog10l.c (__clog10l): Likewise.
21868 * math/s_clogf.c (__clogf): Likewise.
21869 * math/s_clogl.c (__clogl): Likewise.
21870 * math/libm-test.inc (clog_test): Add more tests.
21871 (clog10_test): Likewise.
21872 * sysdeps/i386/fpu/libm-test-ulps: Update.
21873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21874
261f4859
AS
218752012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21876
0abaf3e4
AS
21877 [BZ #14283]
21878 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21879 by 7 not 8 to examine high bit of fractional part.
21880
261f4859
AS
21881 [BZ #14042]
21882 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21883 for call to __mcount_internal.
21884 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21885 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21886 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21887
f17ac40d
JM
218882012-07-06 Joseph Myers <joseph@codesourcery.com>
21889
9ad63c23
JM
21890 [BZ #14154]
21891 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21892 approximation for values within 0x1p-13f of an odd multiple of
21893 pi/4.
21894 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21895 exception. Add more tests.
21896 * sysdeps/i386/fpu/libm-test-ulps: Update.
21897
f17ac40d
JM
21898 [BZ #6778]
21899 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21900 inputs and return -1 for them. Do not check for +Inf in case not
21901 reachable for +Inf.
21902 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21903 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21904 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21905 and return -1 for them. Do not check for +Inf in case not
21906 reachable for +Inf.
21907 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21908 define.
21909 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21910 and return -1 for them. Do not check for +Inf in case not
21911 reachable for +Inf.
21912 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21913 spurious underflow.
21914 * sysdeps/i386/fpu/libm-test-ulps: Update.
21915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21916
fb21f89b
MF
219172012-07-06 Mike Frysinger <vapier@gentoo.org>
21918
21919 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21920
cdfe2c5e
JM
219212012-07-05 Joseph Myers <joseph@codesourcery.com>
21922
21923 [BZ #14157]
21924 [BZ #14331]
21925 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21926 could result in spurious underflow. Scale down values above
21927 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21928 * math/s_csqrtf.c (__csqrtf): Likewise.
21929 * math/s_csqrtl.c (__csqrtl): Likewise.
21930 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21931 spurious underflow.
21932 * sysdeps/i386/fpu/libm-test-ulps: Update.
21933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21934
70d35b67
AS
219352012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21936
704bc459
AS
21937 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21938 xopen-msg.sed.
21939 * catgets/xopen-msg.awk: New file.
21940 * catgets/xopen-msg.sed: Removed.
21941
70d35b67
AS
21942 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21943 po2text.sed.
21944 * intl/po2test.awk: New file.
21945 * intl/po2test.sed: Removed.
21946
ca61cf32
JM
219472012-07-04 Joseph Myers <joseph@codesourcery.com>
21948
21949 [BZ #14328]
21950 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21951 or multiply small sinh result by itself.
21952 * math/s_ctanf.c (__ctanf): Likewise.
21953 * math/s_ctanh.c (__ctanh): Likewise.
21954 * math/s_ctanhf.c (__ctanhf): Likewise.
21955 * math/s_ctanhl.c (__ctanhl): Likewise.
21956 * math/s_ctanl.c (__ctanl): Likewise.
21957 * math/libm-test.inc (ctan_test_tonearest): New function.
21958 (ctan_test_towardzero): Likewise.
21959 (ctan_test_downward): Likewise.
21960 (ctan_test_upward): Likewise.
21961 (ctanh_test_tonearest): Likewise.
21962 (ctanh_test_towardzero): Likewise.
21963 (ctanh_test_downward): Likewise.
21964 (ctanh_test_upward): Likewise.
21965 (main): Call these new functions.
21966 * sysdeps/i386/fpu/libm-test-ulps: Update.
21967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21968
ca48a46a
MF
219692012-07-03 Mike Frysinger <vapier@gentoo.org>
21970
21971 * .gitignore: Delete /ports entry.
21972
9d63d37d
AJ
219732012-07-03 Andreas Jaeger <aj@suse.de>
21974
21975 * po/bg.po: Update from translation team.
21976 * po/cs.po: Likewise.
21977 * po/de.po: Likewise.
21978 * po/hr.po: Likewise.
21979 * po/nl.pl: Likewise.
21980 * po/pl.po: Likewise.
21981 * po/vi.po: Likewise.
21982
370ca3d2
JM
219832012-07-03 Joseph Myers <joseph@codesourcery.com>
21984
95f5a9a8
JM
21985 * Makeconfig [!+link] (+link-before-libc): New variable.
21986 [!+link] (+link-after-libc): Likewise.
21987 [!+link] (+link-tests): Likewise.
21988 [!+link] (+link): Define in terms of $(+link-before-libc) and
21989 $(+link-after-libc).
21990 [!+link-static] (+link-static-before-libc): New variable.
21991 [!+link-static] (+link-static-after-libc): Likewise.
21992 [!+link-static] (+link-static-tests): Likewise.
21993 [!+link-static] (+link-static): Define in terms of
21994 $(+link-static-before-libc) and $(+link-static-after-libc).
21995 [build-shared] (link-libc-before-gnulib): New variable.
21996 [build-shared] (link-libc-tests): Likewise.
21997 [build-shared] (link-libc): Define in terms of
21998 $(link-libc-before-gnulib).
21999 [!build-shared] (link-libc-tests): New variable.
22000 (link-libc-static-tests): New variable.
22001 [!gnulib] (gnulib-arch): New variable.
22002 [!gnulib] (gnulib-tests): Likewise.
22003 [!gnulib] (static-gnulib-arch): Likewise.
22004 [!gnulib] (static-gnulib-tests): Likewise.
22005 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22006 Define with "=" instead of ":=".
22007 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22008 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22009 * Rules (binaries-all-notests): New variable.
22010 (binaries-all-tests): Likewise.
22011 (binaries-static-notests): Likewise.
22012 (binaries-static-tests): Likewise.
22013 (binaries-all): Define using $(binaries-all-notests) and
22014 $(binaries-all-tests).
22015 (binaries-static): Define using $(binaries-static-notests) and
22016 $(binaries-static-tests).
22017 (binaries-shared-tests): New variable.
22018 (binaries-shared-notests): Likewise.
22019 (binaries-shared): Remove variable.
22020 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22021 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22022 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22023 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22024 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22025 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22026 * elf/Makefile (sln-modules): New variable.
22027 (extra-objs): Add $(sln-modules:=.o).
22028 (ldconfig-modules): Add static-stubs.
22029 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22030 * elf/static-stubs.c: New file.
22031
7a845b2c
JM
22032 [BZ #14283]
22033 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22034 by 7 not 8 to examine high bit of fractional part. Use volatile
22035 variables when splitting into final array of floats if
22036 __FLT_EVAL_METHOD__ != 0.
22037 * math/libm-test.inc (cos_test): Add another test.
22038 (sin_test): Likewise.
22039 * sysdeps/i386/fpu/libm-test-ulps: Update.
22040
e2283f38
JM
22041 [BZ #14273]
22042 * math/libm-test.inc (cosh_test): Add more tests.
22043
370ca3d2
JM
22044 * version.h (RELEASE): Set to "development".
22045 (VERSION): Set to "2.16.90".
22046
ee9247c3
CD
220472012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22048
22049 * NEWS: Update copyright. Remove last-updated date.
22050 Mention math library bug fixes and timezone data changes.
22051 * README: Mention GNU/Hurd, x32, and HPPA support status.
22052
4648c381
TS
220532012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22054
22055 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22056
aac78a43
AJ
220572012-06-27 Andreas Jaeger <aj@suse.de>
22058
22059 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22060
ed3dbfad
AJ
220612012-06-25 Andreas Jaeger <aj@suse.de>
22062
22063 * sysdeps/s390/fpu/libm-test-ulps: Update.
22064
4d0ee855
AS
220652012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22066 Thomas Schwinge <thomas@codesourcery.com>
22067
22068 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22069 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22070 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22071 fanotify_mark.
22072
af1bce34
TS
220732012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22074
a9fa33ba
TS
22075 * sysdeps/mach/start.c: Remove file.
22076 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22077 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22078 * sysdeps/sh/init-first.c: Likewise.
22079
58f902b8
TS
22080 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22081 registers for frame unwinding purposes, add CFI directives.
22082 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22083 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22084 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22085 Likewise.
22086
1518f58b
TS
22087 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22088 __fortify_fail returning.
22089 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22090
db9b5059
TS
22091 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22092 sysdeps/sh/____longjmp_chk.S.
22093 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22094 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22095 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22096 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22097
967705fe
TS
22098 * sysdeps/sh/abort-instr.h: New file.
22099 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22100 process in case exit returns.
22101
a9def8c4
TS
22102 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22103 initialize the GOT register before use.
22104
2a649725
TS
22105 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22106 calculation of ARGC > 4.
22107
af1bce34
TS
22108 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22109 meaningful names to some local labels.
22110
d230f50a
KK
221112012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22112 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22113
22114 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22115 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22116 (__arch_compare_and_exchange_val_16_acq): Likewise.
22117 (__arch_compare_and_exchange_val_32_acq): Likewise.
22118 (atomic_exchange_and_add): Fix gUSA sequence.
22119 (atomic_add): Likewise.
22120 (atomic_add_negative): Likewise.
22121 (atomic_add_zero): Likewise.
22122 (atomic_bit_test_set): Likewise.
22123
0479b305
AS
221242012-06-22 Andreas Schwab <schwab@redhat.com>
22125
22126 [BZ #13579]
22127 * include/link.h (struct link_map): Add l_free_initfini.
22128 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22129 l_initfini.
22130 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22131 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22132 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22133 set.
22134
0e3933b9
CD
221352012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22136
22137 * configure.in: Use AC_LANG_SOURCE.
22138 * configure: Regenerate.
22139
4248b1b1
RM
221402012-06-22 Roland McGrath <roland@hack.frob.com>
22141
22142 * configure.in (libc_cv_localstatedir): New substituted variable.
22143 * configure: Regenerated.
22144 * config.make.in (localstatedir): New variable, substituted from
22145 libc_cv_localstatedir.
22146 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22147 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22148 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22149 * sysdeps/gnu/configure: Regenerated.
22150
006dd861
JL
221512012-06-21 Jeff Law <law@redhat.com>
22152
22153 [BZ #14277]
22154 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22155 free. Simplify list management for _LIBC case.
22156
79662d42
JM
221572012-06-21 Joseph Myers <joseph@codesourcery.com>
22158
b7abb4bf
JM
22159 [BZ #14273]
22160 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22161 Clear sign bit of 64-bit integer value before comparing against
22162 overflow value.
22163
79662d42
JM
22164 * sysdeps/mach/configure: Regenerated.
22165
1f150908
L
221662012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22167
22168 [BZ #14278]
22169 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22170
28363bbf
JL
221712012-06-21 Jeff Law <law@redhat.com>
22172
22173 [BZ #13882]
22174 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22175 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 22176 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
22177 * elf/dl-open.c (dl_open_worker): Likewise.
22178
09615db4
CD
221792012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22180
22181 * scripts/list-sources.sh: Scan PORTS for translations.
22182 * po/libc.pot: Regenerated.
22183
2174c6dd
AJ
221842012-06-21 Andreas Jaeger <aj@suse.de>
22185
22186 [BZ #12194]
22187 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22188 warning.
22189 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22190 * bits/byteswap-16.h (__bswap_16): Likewise.
22191 * bits/byteswap.h (__bswap_constant_16): Likewise.
22192
3ee947b1
L
221932012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22194
22195 [BZ #14117]
a2f34833
L
22196 * sysdeps/i386/fpu_control.h: Removed.
22197 * sysdeps/x86_64/fpu_control.h: Moved to ...
22198 * sysdeps/x86/fpu_control.h: Here.
22199
3ee947b1
L
22200 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22201 (_FPU_SETCW): Likewise.
22202
ed1825f8
L
222032012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22204
25f1282a
L
22205 [BZ #14117]
22206 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22207 * sysdeps/x86/fpu/bits/mathinline.h: This.
22208 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22209
ed1825f8
L
22210 [BZ #14050]
22211 [BZ #14117]
22212 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22213 functions if __x86_64__ is defined.
22214
36d54b74
CLT
222152012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22216
22217 * string/endian.h: Add !__ASSEMBLER__ condition for including
22218 conversion interfaces.
22219
10285c21
JM
222202012-06-15 Joseph Myers <joseph@codesourcery.com>
22221
22222 [BZ #14241]
22223 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22224 of ABS(x) in calculating zero to negative powers other than odd
22225 integers.
22226 * math/libm-test.inc (pow_test): Add more tests.
22227
06c5abbd
AJ
222282012-06-15 Andreas Jaeger <aj@suse.de>
22229
22230 * manual/contrib.texi (Contributors): Update entry of Liubov
22231 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22232 Machado Filho.
22233
a3aeac40
CH
222342012-06-15 Cyril Hrubis <metan@ucw.cz>
22235
22236 * string/string.h: Add __wur to GNU version of strerror_r.
22237
49bdf4c1
L
222382012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22239
22240 [BZ #14229]
22241 * string/Makefile (tests): Add tst-strtok_r.
22242 * string/tst-strtok_r.c: New file.
22243 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22244 RAX_LP/RDX_LP on SAVE_PTR.
22245
834f9b8d
RM
222462012-06-14 Roland McGrath <roland@hack.frob.com>
22247
22248 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22249
75fa1921
JM
222502012-06-14 Joseph Myers <joseph@codesourcery.com>
22251
22252 * libm_test.inc (csqrt_test): Allow more spurious underflow
22253 exceptions.
22254 (j0_test): Likewise.
22255 (j1_test): Likewise.
22256 (y0_test): Likewise.
22257 (y1_test): Likewise.
22258
771766df
CD
222592012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22260
22261 * po/Makefile (libc.pot): Use UTF-8 charset.
22262
ceb9e56b
PP
222632012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22264
22265 [BZ #14210]
22266 Suppress sign-conversion warning from FD_SET.
22267 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22268 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22269 not unsigned long int.
22270 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22271
ddb28975
L
222722012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22273
22274 [BZ #14050]
22275 [BZ #14117]
22276 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22277 __extern_always_inline instead of __extern_inline.
22278 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22279 (__signbit): Likewise.
22280 (__signbitl): Support C++ namespace.
22281 (lrintf): New inline function.
22282 (lrint): Likewise.
22283 (llrintf): Likewise.
22284 (llrint): Likewise.
22285 (fmaxf): Likewise.
22286 (fmax): Likewise.
22287 (fminf): Likewise.
22288 (fmin): Likewise.
22289 (rint): Likewise.
22290 (rintf): Likewise.
22291 (ceil): Likewise.
22292 (ceilf): Likewise.
22293 (floor): Likewise.
22294 (floorf): Likewise.
22295 (nearbyint): Likewise.
22296 (nearbyintf): Likewise.
22297
d7b4fb26
TS
222982012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22299
22300 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22301 non-default versions.
22302
eb55f5c2
RM
223032012-06-11 Roland McGrath <roland@hack.frob.com>
22304
22305 [BZ #14218]
22306 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22307
366af02c
TS
223082012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22309
99ff6e5c
TS
22310 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22311 (FE_UPWARD, FE_DOWNWARD): Don't define.
22312 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22313 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22314
366af02c
TS
22315 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22316 reading it.
22317 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22318 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22319
793ea851
KK
223202012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22321
22322 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22323 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22324 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22325 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22326
a728a38f
L
223272012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22328
22329 [BZ #14117]
c08010c7
L
22330 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22331 * sysdeps/i386/fpu/Implies: New file.
22332 * sysdeps/x86_64/fpu/Implies: Likewise.
22333 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22334 * sysdeps/x86/fpu/bits/fenv.h: This.
22335
a728a38f
L
22336 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22337 __SSE_MATH__.
22338
6e230d11
SP
223392012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22340
22341 [BZ #14134]
22342 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22343 character 0xffff that matches the last element of the
22344 conversion table.
22345
1b671feb
AZ
223462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22347
22348 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22349 fmodl commit.
22350
6043738b
AZ
223512012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22352
22353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22354 values higher than 25.6283.
22355
34ae0b32
AZ
223562012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22357
22358 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22359 subnormal exponent extraction and add some __builtin_expect.
22360 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22361 Fix for subnormal mantissa calculation.
22362
1214ec8f
MF
223632012-06-04 Mike Frysinger <vapier@gentoo.org>
22364
22365 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22366 cpu2 is -1 and errno is not ENOSYS.
22367
f3d1f93c
L
223682012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22369
22370 [BZ #14117]
0e4a3cd7
L
22371 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22372 * sysdeps/x86/bits/string.h: This.
22373 * sysdeps/x86_64/bits/string.h: Removed.
22374
6704c645
L
22375 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22376 if not compiling for x86-64, but compiling for >= i486.
22377
48495318
L
22378 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22379 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22380
14adcbfc
L
22381 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22382 New macro from Linux kernel 3.4.0.
22383 (FP_XSTATE_MAGIC2): Likewise.
22384 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22385 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22386 (struct _fpx_sw_bytes): New struct.
22387 (struct _xsave_hdr): Likewise.
22388 (struct _ymmh_state): Likewise.
22389 (struct _xstate): Likewise.
22390
68e408ab
L
22391 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22392 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22393 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22394 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22395 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22396 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22397
f3d1f93c
L
22398 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22399 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22400 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22401 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22402 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22403 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22404
d9dc34cd
TMQMF
224052012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22406
22407 [BZ #13743]
22408 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22409 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22410 (sysdep_headers): Include sys/platform/ppc.h.
22411 * sysdeps/powerpc/test-gettimebase.c: Test for
22412 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22413 * manual/Makefile (appendices): Include platform.texi.
22414 * manual/contrib.texi (Contributors): Update @node pointers.
22415 * manual/maint.texi (Maintenance): Likewise.
22416 (Platform): New node.
22417 * manual/platform.texi: New file. Document the new features.
22418
4af3879c
SP
224192012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22420 Jakub Jelinek <jakub@redhat.com>
22421
22422 [BZ #14188]
22423 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22424 where __builtin_expect is unavailable.
22425
2fd6ff13
DM
224262012-06-03 David S. Miller <davem@davemloft.net>
22427
22428 * stdlib/longlong.h: Updated from GCC.
22429
173f7220
AS
224302012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22431
22432 [BZ #14042]
22433 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22434 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22435 __mcount_internal.
22436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22437 (GLIBC_2.16): Likewise.
22438
f34a1c6f
L
224392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22440
22441 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22442
88a4576f
JM
224432012-06-01 Joseph Myers <joseph@codesourcery.com>
22444
ea32bcdd
JM
22445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22446 (default-abi): New variable.
22447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22448 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22449 variable.
22450 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22451 Likewise.
22452 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22453 Likewise.
22454 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22455 Likewise.
22456
88a4576f
JM
22457 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22458 definition. Document in comment.
22459
402fe938
DM
224602012-06-01 David S. Miller <davem@davemloft.net>
22461
22462 * stdlib/longlong.h: Updated from GCC.
22463
3553723f
L
224642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22465
22466 [BZ #14117]
3bd872c4
L
22467 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22468 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22469 sys/debugreg.h sys/io.h here.
22470 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22471 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22472 sys/io.h.
22473 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22474 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22475 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22476 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22477 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22478 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22479
3553723f
L
22480 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22481 Define only if __x86_64__ is defined.
22482
4842e4fe
JM
224832012-06-01 Joseph Myers <joseph@codesourcery.com>
22484
c5bfe3d5
JM
22485 [BZ #14048]
22486 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22487 Use int64_t for variable i.
22488 * math/libm-test.inc (fmod_test): Add more tests.
22489
4842e4fe
JM
22490 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22491 z computation is not scheduled after fetestexcept.
22492 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22493 Use math_force_eval instead of asm to ensure calculation scheduled
22494 before exception test.
22495 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22496 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22497
efb73488
AJ
224982012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22499
22500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22501 computation is not scheduled after fetestexcept.
22502
29bcce7c
L
225032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22504
22505 [BZ #14117]
22506 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22507 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22508
73a68f94
AZ
225092012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22510
22511 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22512 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22513
67b6df78
L
225142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22515
edf2933a 22516 [BZ #14117]
ebc64a18
L
22517 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22518 <bits/wordsize.h>.
22519 (__WCHAR_MIN): Support __WORDSIZE == 64.
22520 (__WCHAR_MAX): Likewise.
22521
edf2933a
L
22522 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22523 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22524
57c6cf40
L
22525 [BZ #14183]
22526 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22527 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22528
67b6df78 22529 [BZ #14117]
8eb6281e
L
22530 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22531 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22532
aac639f4
L
22533 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22534 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22535
67b6df78
L
22536 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22537 Defined to 1 if __x86_64__ isn't defined.
22538 (_STAT_VER_LINUX_OLD): New.
22539 (st_atime): Remove duplicate.
22540 (st_mtime): Likewise.
22541 (st_ctime): Likewise.
22542
1c2cfe81
DM
225432012-05-31 David S. Miller <davem@davemloft.net>
22544
22545 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22546 entries.
22547
5be8418c
AS
225482012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22549
e7725326
AS
22550 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22551 gen-libm-test.pl.
22552
5be8418c
AS
22553 [BZ #14132]
22554 * elf/dl-reloc.c: Include <_itoa.h>.
22555 (_dl_reloc_bad_type): Remove use of INTUSE.
22556 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22557 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22558 * stdio-common/psiginfo.c (psiginfo): Likewise.
22559 * stdio-common/psignal.c (psignal): Likewise.
22560 * string/strsignal.c (strsignal): Likewise.
22561 * include/signal.h (_sys_siglist): Declare hidden proto.
22562 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22563 INTVARDEF with libc_hidden_data_def.
22564 * stdio-common/itoa-udigits.c: Likewise.
22565 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22566 (_itoa_lower_digits_internal): Remove declaration.
22567 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22568 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22569 (_sys_sigabbrev_internal): Remove aliases.
22570 (_sys_siglist): Define hidden alias.
22571
507352f1
MT
225722012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22573
22574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22575 bits/sysctl.h.
22576
42bbb1c3
L
225772012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22578
22579 [BZ #14117]
6bd784b6
L
22580 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22581 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22582
8bca20f0
L
22583 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22584 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22585 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22586 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22587 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22588 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22589
f9e890a9
L
22590 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22591 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22592 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22593
471101a1
L
22594 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22595 with __addr.
22596 (insw): Likewise.
22597 (insl): Likewise.
22598 (outsb): Likewise.
22599 (outsw): Likewise.
22600 (outsl): Likewise.
22601
6451c862
L
22602 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22603 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22604 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22605
a254b8c9
L
22606 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22607 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22608 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22609 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22610 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22611 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22612
b8dfdd92
L
22613 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22614 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22615
578cd270
L
22616 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22617 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22618
de662f5f
L
22619 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22621 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22622
25653439
L
22623 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22624 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22625 to ...
22626 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22627
6bad24a0
L
22628 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22629 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22630 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22631
42bbb1c3
L
22632 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22633 for x86-64.
22634 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22635
2d10d547
JM
226362012-05-31 Joseph Myers <joseph@codesourcery.com>
22637
22638 * math/math.h (M_El): Use two more decimal places.
22639 (M_LOG2El): Likewise.
22640 (M_LOG10El): Likewise.
22641 (M_LN2l): Likewise.
22642 (M_LN10l): Likewise.
22643 (M_PIl): Likewise.
22644 (M_PI_2l): Likewise.
22645 (M_PI_4l): Likewise.
22646 (M_1_PIl): Likewise.
22647 (M_2_PIl): Likewise.
22648 (M_2_SQRTPIl): Likewise.
22649 (M_SQRT2l): Likewise.
22650 (M_SQRT1_2l): Likewise.
22651
f230c29b
DM
226522012-05-31 David S. Miller <davem@davemloft.net>
22653
22654 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22655 values between float registers.
22656 * sysdeps/sparc/sparc64/memset.S: Likewise.
22657 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22658
fed806c3
MF
226592012-05-31 Mike Frysinger <vapier@gentoo.org>
22660
22661 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22662 -D_FORTIFY_SOURCE=1.
22663 (CPPFLAGS-tst-longjmp_chk.c): Define.
22664 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22665 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22666 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22667 CFLAGS-tst-wchar-h.c.
22668
30917259
MP
226692012-05-31 Marek Polacek <polacek@redhat.com>
22670
22671 [BZ #14132]
22672 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22673 __endmntent_internal): Remove declaration.
22674 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22675 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22676 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22677
1c58d5dc
DM
226782012-05-30 David S. Miller <davem@davemloft.net>
22679
22680 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22681 (___Q_simulate_exceptions): Use real FP ops rather than writing
22682 into the %fsr.
22683 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22684 Likewise.
22685
7dc00e0d
L
226862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22687
22688 [BZ #14117]
0bd53985
L
22689 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22690 * sysdeps/x86/bits/xtitypes.h: This.
22691
3a257e66
L
22692 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22693 * sysdeps/x86/bits/wordsize.h: This.
22694
62f62904
L
22695 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22696 * sysdeps/x86/bits/huge_vall.h: This.
22697
404fe9d9
L
22698 * sysdeps/i386/bits/select.h: Removed.
22699 * sysdeps/x86_64/bits/select.h: Renamed to ...
22700 * sysdeps/x86/bits/select.h: This.
22701
d48d0446
L
22702 * sysdeps/i386/bits/setjmp.h: Removed.
22703 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22704 * sysdeps/x86/bits/setjmp.h: This.
22705
7dc00e0d
L
22706 * sysdeps/i386/bits/mathdef.h: Removed.
22707 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22708 * sysdeps/x86/bits/mathdef.h: This.
22709
03277f8f
AS
227102012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22711
22712 [BZ #14132]
22713 * include/sys/socket.h (__connect_internal)
22714 (__libc_sa_len_internal): Remove declaration.
22715 (__connect, __libc_sa_len): Declare hidden_proto.
22716 (SA_LEN): Remove use of INTUSE.
22717 * socket/connect.c: Add libc_hidden_def.
22718 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22719 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22720 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22721 alias.
22722 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22723 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22724 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22725 of adding _internal alias.
22726
13764867
L
227272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22728
22729 [BZ #14117]
6bd97696
L
22730 * sysdeps/i386/bits/link.h: Removed.
22731 * sysdeps/i386/bits/linkmap.h: Likewise.
22732 * sysdeps/x86_64/bits/link.h: Renamed to ...
22733 * sysdeps/x86/bits/link.h: This.
22734 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22735 * sysdeps/x86/bits/linkmap.h: This.
22736
f726f0bb
L
22737 * sysdeps/i386/bits/endian.h: Removed.
22738 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22739 * sysdeps/x86/bits/endian.h: This.
22740
13764867
L
22741 * sysdeps/i386/bits/byteswap.h: Removed.
22742 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22743 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22744 * sysdeps/x86/bits/byteswap.h: This.
22745 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22746 * sysdeps/x86/bits/byteswap-16.h: This.
22747 * sysdeps/i386/Implies: Add x86.
22748 * sysdeps/x86_64/Implies: Likewise.
22749
ae251b0b
DM
227502012-05-30 David S. Miller <davem@davemloft.net>
22751
22752 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22753 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22754 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22755 (FP_TRAPPING_EXCEPTIONS): Define.
22756 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22757 (FP_TRAPPING_EXCEPTIONS): Define.
22758 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22759 subnormals only when inexact has been signalled or underflow
22760 exceptions are enabled.
22761 (_FP_PACK_CANONICAL): Likewise.
22762
d5c90867
L
227632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22764
22765 [BZ #14183]
22766 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22767 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22768
63f1549e
RH
227692012-05-30 Richard Henderson <rth@twiddle.net>
22770
8d8f2279
RH
22771 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22772 with #ifndef NOT_IN_libc.
22773
63f1549e
RH
22774 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22775 marked to avoid plt entry.
22776
0ab0291b
L
227772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22778
22779 [BZ #14112]
22780 * Makeconfig (default-abi): New macro.
22781 (abi-includes): Likewise.
22782 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22783 $(abi-$(default-abi)-lib-soname) for soname if defined.
22784 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22785 abi-variants.
22786 * Makefile (installed-stubs): Likewise.
22787 * include/stubs-biarch.h: Removed.
22788 * scripts/lib-names.awk: Only handle one library at a time.
22789 * scripts/soversions.awk: Remove WORDSIZE support.
22790 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22791 entries.
22792 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22793 Removed.
22794 (syscall-list-default-condition): Likewise.
22795 (syscall-list-default-condition): Likewise.
22796 (syscall-list-includes): Likewise.
22797 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22798 syscall-list-* with abi-*. Handle undefined abi-variants.
22799 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22800 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22801 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22802 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22803 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22804 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22805 Removed.
22806 (syscall-list-32-options): Likewise.
22807 (syscall-list-32-condition): Likewise.
22808 (syscall-list-64-options): Likewise.
22809 (syscall-list-64-condition): Likewise.
22810 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22811 macro.
22812 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22813 Renamed to ...
22814 (abi-*): This.
22815 (abi-64-ld-soname): New macro.
22816 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22817 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22818 Renamed to ...
22819 (abi-*): This.
22820 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22821 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22822
4da0431d
JM
228232012-05-30 Joseph Myers <joseph@codesourcery.com>
22824
3a85279c
JM
22825 * sysdeps/unix/sysv/linux/kernel-features.h
22826 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22827 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22828 include <kernel-features.h>.
22829 [!__NR_ftruncate64]: Remove conditional code.
22830 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22831 [__NR_ftruncate64]: Make code unconditional.
22832 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22833 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22834 include <kernel-features.h>.
22835 [!__NR_ftruncate64]: Remove conditional code.
22836 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22837 [__NR_ftruncate64]: Make code unconditional.
22838 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22840 include <kernel-features.h>.
22841 [!__NR_ftruncate64]: Remove conditional code.
22842 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22843 [__NR_ftruncate64]: Make code unconditional.
22844 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22846 include <kernel-features.h>.
22847 [!__NR_ftruncate64]: Remove conditional code.
22848 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22849 [__NR_ftruncate64]: Make code unconditional.
22850 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22851
4da0431d
JM
22852 * configure.in (libc_cv_fpie): Weaken to a compile test using
22853 LIBC_TRY_CC_OPTION.
22854 * configure: Regenerated.
22855
11ef492c
AK
228562012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22857
22858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22862 Refreshed.
22863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22869 Refreshed.
22870
d66ef399
DM
228712012-05-27 David S. Miller <davem@davemloft.net>
22872
22873 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22874 (___Q_zero): New.
22875 (__Q_simulate_exceptions): Return void. Change to simulate
22876 exceptions by writing into the %fsr.
22877 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22878 (__Qp_handle_exceptions): Likewise.
22879 (numbers): Delete.
22880 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22881 __Qp_handle_exceptions.
22882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22883 __Qp_handle_exceptions.
22884 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22885 as unused and give dummy FP_RND_NEAREST initializer.
22886 (FP_INHIBIT_RESULTS): Define.
22887 (___Q_simulate_exceptions): Update declaration.
22888 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22889 formatting.
22890 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22891 as unused and give dummy FP_RND_NEAREST initializer.
22892 (__Qp_handle_exceptions): Update declaration.
22893 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22894 formatting.
22895
04fb54b5
TS
228962012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22897
22898 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22899 the temporary FPU control word.
22900 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22901 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22902 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22903 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22904 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22905 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22906 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22907 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22908 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22909 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22910 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22911
3f99608f
KK
229122012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22913
22914 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22915 fields.
22916
65a4de4e
CLT
229172012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22918
22919 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22920 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22921 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22922 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22923 Likewise.
22924 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22925 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22926 Likewise.
22927
15749d40
UD
229282012-05-27 Ulrich Drepper <drepper@gmail.com>
22929
22930 * po/h.po: Update from translation team.
22931
25dbcb27
AS
229322012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22933
3d3f8e55
AS
22934 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22935
25dbcb27
AS
22936 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22937 handling of denormals.
22938 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22939 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22940 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22941 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22942 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22944 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22945 Likewise.
22946
7ad47a80 229472012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22948
22949 [BZ #14152]
22950 * math/libm-test.inc (fma_test): Don't always expect underflow
22951 exception.
22952
9c6ea9fa
SP
229532012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22954
22955 [BZ #12416]
22956 * elf/tst-execstack.c: Include stackinfo.h.
22957 (do_test): Adjust test case to ensure that pthread_getattr_np
22958 behaviour remains the same after marking stack executable.
22959
a8239222
JM
229602012-05-25 Joseph Myers <joseph@codesourcery.com>
22961
22962 * sysdeps/unix/sysv/linux/kernel-features.h
22963 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22964 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22965 kernel-features.h.
22966 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22967 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22968 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22969 kernel-features.h.
22970 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22971 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22972
918b5606
L
229732012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22974
22975 * configure.in: Define the default includes to being none.
22976 * configure: Regenerated.
22977
3a097cc7
RM
229782012-05-25 Roland McGrath <roland@hack.frob.com>
22979
8422c9a5
RM
22980 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22981 * sysdeps/x86_64/setjmp.S: Likewise.
22982 * sysdeps/i386/bsd-setjmp.S: Likewise.
22983 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22984 * sysdeps/i386/setjmp.S: Likewise.
22985 * sysdeps/i386/__longjmp.S: Likewise.
22986 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22987 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22988
3a097cc7
RM
22989 * include/stap-probe.h: New file.
22990 * configure.in: Handle --enable-systemtap.
22991 * configure: Regenerated.
22992 * config.h.in (USE_STAP_PROBE): New #undef.
22993 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22994 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22995 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22996
21708942
JM
229972012-05-25 Joseph Myers <joseph@codesourcery.com>
22998
22999 [BZ #13717]
23000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23001 to 2.4.0 where earlier.
23002 * sysdeps/unix/sysv/linux/configure: Regenerated.
23003 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
23012 [__ASSUME_32BITUIDS]: Make code unconditional.
23013 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23014 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23015 <kernel-features.h>.
23016 [__ASSUME_32BITUIDS]: Make code unconditional.
23017 [!__ASSUME_32BITUIDS]: Remove conditional code.
23018 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23019 <kernel-features.h>.
23020 [__ASSUME_32BITUIDS]: Make code unconditional.
23021 [!__ASSUME_32BITUIDS]: Remove conditional code.
23022 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23023 <kernel-features.h>.
23024 [__ASSUME_32BITUIDS]: Make code unconditional.
23025 [!__ASSUME_32BITUIDS]: Remove conditional code.
23026 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23027 <kernel-features.h>.
23028 [__ASSUME_32BITUIDS]: Make code unconditional.
23029 [!__ASSUME_32BITUIDS]: Remove conditional code.
23030 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23031 <kernel-features.h>.
23032 [__ASSUME_32BITUIDS]: Make code unconditional.
23033 [!__ASSUME_32BITUIDS]: Remove conditional code.
23034 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23035 <kernel-features.h>.
23036 [__ASSUME_32BITUIDS]: Make code unconditional.
23037 [!__ASSUME_32BITUIDS]: Remove conditional code.
23038 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23039 <kernel-features.h>.
23040 [__ASSUME_32BITUIDS]: Make code unconditional.
23041 [!__ASSUME_32BITUIDS]: Remove conditional code.
23042 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23043 <kernel-features.h>.
23044 [__ASSUME_32BITUIDS]: Make code unconditional.
23045 [!__ASSUME_32BITUIDS]: Remove conditional code.
23046 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23047 <kernel-features.h>.
23048 [__ASSUME_32BITUIDS]: Make code unconditional.
23049 [!__ASSUME_32BITUIDS]: Remove conditional code.
23050 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23051 <kernel-features.h>.
23052 [__ASSUME_32BITUIDS]: Make code unconditional.
23053 [!__ASSUME_32BITUIDS]: Remove conditional code.
23054 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23055 <kernel-features.h>.
23056 [__NR_setresgid] (__setresgid): Do not declare.
23057 [__ASSUME_32BITUIDS]: Make code unconditional.
23058 [!__ASSUME_32BITUIDS]: Remove conditional code.
23059 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23060 <kernel-features.h>.
23061 [__NR_setresuid] (__setresuid): Do not declare.
23062 [__ASSUME_32BITUIDS]: Make code unconditional.
23063 [!__ASSUME_32BITUIDS]: Remove conditional code.
23064 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23065 <kernel-features.h>.
23066 [__ASSUME_32BITUIDS]: Make code unconditional.
23067 [!__ASSUME_32BITUIDS]: Remove conditional code.
23068 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23069 <kernel-features.h>.
23070 [__ASSUME_32BITUIDS]: Make code unconditional.
23071 [!__ASSUME_32BITUIDS]: Remove conditional code.
23072 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23073 <kernel-features.h>.
23074 [__ASSUME_32BITUIDS]: Make code unconditional.
23075 [!__ASSUME_32BITUIDS]: Remove conditional code.
23076 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23077 <kernel-features.h>.
23078 [__ASSUME_32BITUIDS]: Make code unconditional.
23079 [!__ASSUME_32BITUIDS]: Remove conditional code.
23080 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23081 <kernel-features.h>.
23082 [__ASSUME_32BITUIDS]: Make code unconditional.
23083 [!__ASSUME_32BITUIDS]: Remove conditional code.
23084 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23085 <kernel-features.h>.
23086 [__ASSUME_32BITUIDS]: Make code unconditional.
23087 [!__ASSUME_32BITUIDS]: Remove conditional code.
23088 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23089 <kernel-features.h>.
23090 [__ASSUME_32BITUIDS]: Make code unconditional.
23091 [!__ASSUME_32BITUIDS]: Remove conditional code.
23092 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23093 <kernel-features.h>.
23094 [__ASSUME_32BITUIDS]: Make code unconditional.
23095 [!__ASSUME_32BITUIDS]: Remove conditional code.
23096 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23097 <kernel-features.h>.
23098 [__ASSUME_32BITUIDS]: Make code unconditional.
23099 [!__ASSUME_32BITUIDS]: Remove conditional code.
23100 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23101 <kernel-features.h>.
23102 [__ASSUME_32BITUIDS]: Make code unconditional.
23103 [!__ASSUME_32BITUIDS]: Remove conditional code.
23104 * sysdeps/unix/sysv/linux/kernel-features.h
23105 (__ASSUME_SETRESUID_SYSCALL): Remove.
23106 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23107 (__ASSUME_32BITUIDS): Likewise.
23108 (__ASSUME_LDT_WORKS): Likewise.
23109 (__ASSUME_O_DIRECTORY): Likewise.
23110 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23111 architecture but not kernel version.
23112 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23113 (__ASSUME_MMAP2_SYSCALL): Likewise.
23114 (__ASSUME_STAT64_SYSCALL): Likewise.
23115 (__ASSUME_IPC64): Likewise.
23116 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23117 <kernel-features.h>.
23118 [__ASSUME_32BITUIDS]: Make code unconditional.
23119 [!__ASSUME_32BITUIDS]: Remove conditional code.
23120 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23121 <kernel-features.h>.
23122 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23123 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23124 132096]: Remove conditional code.
23125 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23126 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23127 <kernel-features.h>.
23128 [__ASSUME_32BITUIDS]: Make code unconditional.
23129 [!__ASSUME_32BITUIDS]: Remove conditional code.
23130 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23131 <kernel-features.h>.
23132 [__ASSUME_32BITUIDS]: Make code unconditional.
23133 [!__ASSUME_32BITUIDS]: Remove conditional code.
23134 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23135 <kernel-features.h>.
23136 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23137 unconditional.
23138 (__setresgid): Do not declare.
23139 [__ASSUME_32BITUIDS]: Make code unconditional.
23140 [!__ASSUME_32BITUIDS]: Remove conditional code.
23141 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23142 <kernel-features.h>.
23143 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23144 unconditional.
23145 (__setresuid): Do not declare.
23146 [__ASSUME_32BITUIDS]: Make code unconditional.
23147 [!__ASSUME_32BITUIDS]: Remove conditional code.
23148 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23149 <kernel-features.h>.
23150 [__ASSUME_32BITUIDS]: Make code unconditional.
23151 [!__ASSUME_32BITUIDS]: Remove conditional code.
23152 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23153 <kernel-features.h>.
23154 [__ASSUME_32BITUIDS]: Make code unconditional.
23155 [!__ASSUME_32BITUIDS]: Remove conditional code.
23156
a386f1cc
RH
231572012-05-25 Richard Henderson <rth@twiddle.net>
23158
23159 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23160 dl_hwcap to ifunc resolver.
23161 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23162 elf_ifunc_invoke.
23163 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23164 dl_hwcap to ifunc resolver.
23165 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23166
b6550497
JM
231672012-05-24 Joseph Myers <joseph@codesourcery.com>
23168
23169 [BZ #14153]
23170 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23171 for |x| <= 2**-26, not 2**-57.
23172 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23173 exception.
23174
b0bc23a1
JL
231752012-05-24 Jeff Law <law@redhat.com>
23176
23177 * stdio-common/Makefile (tests): Add bug25.
23178 * stdio-common/bug25.c: New test.
23179
347c92e9
L
231802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23181
23182 [BZ #13576]
23183 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23184 multiple of MALLOC_ALIGNMENT in size.
23185 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23186
6bcc8b3f
JM
231872012-05-24 Joseph Myers <joseph@codesourcery.com>
23188
23189 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23190 Require >= 256.
23191 (FILENAME_MAX): Use macro-int-constant.
23192 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23193 (_IOFBF): Use macro-int-constant.
23194 (_IOLBF): Likewise.
23195 (_IONBF): Likewise.
23196 (SEEK_CUR): Likewise.
23197 (SEEK_END): Likewise.
23198 (SEEK_SET): Likewise.
23199 (TMP_MAX): Likewise.
23200 (EOF): Use macro-int-constant. Require < 0.
23201 (NULL): Use macro-constant. Require == 0.
23202 (stdin): Require type to be FILE *.
23203 (stdout): Likewise.
23204 (stderr): Likewise.
23205 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23206 macro-int-constant.
23207 (EXIT_SUCCESS): Likewise.
23208 (NULL): Use macro-constant. Require == 0.
23209 (RAND_MAX): Use macro-int-constant.
23210 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23211 [C99-based standards] (strtof): Require function.
23212 [C99-based standards] (strtold): Likewise.
23213 [C99-based standards] (strtoll): Likewise.
23214 [C99-based standards] (strtoull): Likewise.
23215 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23216 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23217 [ISO || ISO99 || ISO11] (math.h): Likewise.
23218 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23219 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23220 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23221
d18ea0c5
AS
232222012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23223
23224 [BZ #14132]
56d25bb8
AS
23225 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23226 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23227 * intl/dgettext.c (DCGETTEXT): Likewise.
23228 * intl/gettext.c (DCGETTEXT): Likewise.
23229 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23230 * posix/regex_internal.h (gettext): Likewise.
23231 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23232 Remove declaration.
23233 * include/argz.h (__argz_count_internal)
23234 (__argz_stringify_internal): Remove declaration.
23235 (__argz_count, __argz_stringify): Declare hidden proto.
23236 * intl/dcgettext.c: Remove use of INTDEF.
23237 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23238 * string/argz-stringify.c: Likewise.
23239 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23240 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23241 Declare hidden proto.
d18ea0c5
AS
23242 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23243 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23244 Declare hidden proto.
23245 * include/stdio.h (__asprintf_internal): Don't declare.
23246 (__asprintf): Don't define as macro. Declare hidden proto.
23247 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23248 (__fsetlocking): Declare hidden proto.
23249 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23250 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23251 hidden proto.
23252 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23253 (_IO_setlinebuf): Remove use of INTUSE.
23254 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23255 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23256 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23257 Remove declaration.
23258 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23259 (_IO_do_flush): Remove use of INTUSE.
23260 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23261 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23262 (_IO_adjust_column, _IO_least_wmarker)
23263 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23264 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23265 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23266 (_IO_default_doallocate, _IO_wdefault_doallocate)
23267 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23268 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23269 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23270 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23271 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23272 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23273 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23274 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23275 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23276 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23277 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23278 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23279 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23280 proto.
23281 (_IO_flush_all_internal, _IO_adjust_column_internal)
23282 (_IO_default_uflow_internal, _IO_default_finish_internal)
23283 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23284 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23285 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23286 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23287 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23288 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23289 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23290 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23291 (_IO_file_close_internal, _IO_file_close_it_internal)
23292 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23293 (_IO_file_init_internal, _IO_file_attach_internal)
23294 (_IO_file_fopen_internal, _IO_file_read_internal)
23295 (_IO_file_sync_internal, _IO_file_seek_internal)
23296 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23297 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23298 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23299 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23300 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23301 (_IO_list_all_internal, _IO_link_in_internal)
23302 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23303 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23304 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23305 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23306 (_IO_do_write_internal, _IO_padn_internal)
23307 (_IO_getline_info_internal, _IO_getline_internal)
23308 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23309 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23310 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23311 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23312 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23313 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23314 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23315 with libc_hidden_ver, remove use of INTUSE.
23316 * libio/genops.c: Likewise.
23317 * libio/freopen.c: Likewise.
23318 * libio/freopen64.c: Likewise.
23319 * libio/iofclose.c: Likewise.
23320 * libio/iofdopen.c: Likewise.
23321 * libio/iofflush.c: Likewise.
23322 * libio/iofflush_u.c: Likewise.
23323 * libio/iofgets.c: Likewise.
23324 * libio/iofgets_u.c: Likewise.
23325 * libio/iofopen.c: Likewise.
23326 * libio/iofopncook.c: Likewise.
23327 * libio/iofread.c: Likewise.
23328 * libio/iofread_u.c: Likewise.
23329 * libio/ioftell.c: Likewise.
23330 * libio/iofwrite.c: Likewise.
23331 * libio/iogetline.c: Likewise.
23332 * libio/iogets.c: Likewise.
23333 * libio/iogetwline.c: Likewise.
23334 * libio/iopadn.c: Likewise.
23335 * libio/iopopen.c: Likewise.
23336 * libio/ioseekoff.c: Likewise.
23337 * libio/ioseekpos.c: Likewise.
23338 * libio/iosetbuffer.c: Likewise.
23339 * libio/iosetvbuf.c: Likewise.
23340 * libio/ioungetc.c: Likewise.
23341 * libio/ioungetwc.c: Likewise.
23342 * libio/iovdprintf.c: Likewise.
23343 * libio/iovsprintf.c: Likewise.
23344 * libio/iovsscanf.c: Likewise.
23345 * libio/memstream.c: Likewise.
23346 * libio/obprintf.c: Likewise.
23347 * libio/oldfileops.c: Likewise.
23348 * libio/oldiofclose.c: Likewise.
23349 * libio/oldiofdopen.c: Likewise.
23350 * libio/oldiofopen.c: Likewise.
23351 * libio/oldiopopen.c: Likewise.
23352 * libio/oldstdfiles.c: Likewise.
23353 * libio/putc.c: Likewise.
23354 * libio/setbuf.c: Likewise.
23355 * libio/setlinebuf.c: Likewise.
23356 * libio/stdfiles.c: Likewise.
23357 * libio/strops.c: Likewise.
23358 * libio/vasprintf.c: Likewise.
23359 * libio/vscanf.c: Likewise.
23360 * libio/vsnprintf.c: Likewise.
23361 * libio/vswprintf.c: Likewise.
23362 * libio/wfiledoalloc.c: Likewise.
23363 * libio/wfileops.c: Likewise.
23364 * libio/wgenops.c: Likewise.
23365 * libio/wmemstream.c: Likewise.
23366 * libio/wstrops.c: Likewise.
23367 * libio/__fpurge.c: Likewise.
23368 * libio/__fsetlocking.c: Likewise.
23369 * assert/assert.c: Likewise.
23370 * debug/fgets_chk.c: Likewise.
23371 * debug/fgets_u_chk.c: Likewise.
23372 * debug/fread_chk.c: Likewise.
23373 * debug/fread_u_chk.c: Likewise.
23374 * debug/gets_chk.c: Likewise.
23375 * debug/obprintf_chk.c: Likewise.
23376 * debug/vasprintf_chk.c: Likewise.
23377 * debug/vdprintf_chk.c: Likewise.
23378 * debug/vsnprintf_chk.c: Likewise.
23379 * debug/vsprintf_chk.c: Likewise.
23380 * malloc/mtrace.c: Likewise.
23381 * misc/error.c: Likewise.
23382 * misc/syslog.c: Likewise.
23383 * stdio-common/asprintf.c: Likewise.
23384 * stdio-common/fxprintf.c: Likewise.
23385 * stdio-common/getw.c: Likewise.
23386 * stdio-common/isoc99_fscanf.c: Likewise.
23387 * stdio-common/isoc99_scanf.c: Likewise.
23388 * stdio-common/isoc99_vfscanf.c: Likewise.
23389 * stdio-common/isoc99_vscanf.c: Likewise.
23390 * stdio-common/isoc99_vsscanf.c: Likewise.
23391 * stdio-common/printf-prs.c: Likewise.
23392 * stdio-common/printf_fp.c: Likewise.
23393 * stdio-common/printf_fphex.c: Likewise.
23394 * stdio-common/printf_size.c: Likewise.
23395 * stdio-common/putw.c: Likewise.
23396 * stdio-common/scanf.c: Likewise.
23397 * stdio-common/sprintf.c: Likewise.
23398 * stdio-common/tmpfile.c: Likewise.
23399 * stdio-common/vfprintf.c: Likewise.
23400 * stdio-common/vfscanf.c: Likewise.
23401 * stdlib/strfmon_l.c: Likewise.
23402 * sunrpc/openchild.c: Likewise.
23403 * sunrpc/xdr_stdio.c: Likewise.
23404 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23405 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23406
d6c33fda
RM
234072012-05-24 Roland McGrath <roland@hack.frob.com>
23408
c1487492
RM
23409 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23410
23411 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23412 in the third column, to generate for the shared library an IFUNC
23413 that uses _dl_vdso_vsym.
23414 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23415 * Makeconfig (object-suffixes-noshared): New variable.
23416
23417 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23418 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23419 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23420 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23421
d6c33fda
RM
23422 [BZ #14132]
23423 * include/sys/time.h (__gettimeofday): Remove macro.
23424 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23425 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23426 Remove INTDEF.
23427 (__gettimeofday): Add libc_hidden_def.
23428 (gettimeofday): Add libc_hidden_weak.
23429 * sysdeps/mach/gettimeofday.c: Likewise.
23430 * sysdeps/posix/gettimeofday.c: Likewise.
23431 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23432 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23433 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23434 (__gettimeofday_internal): Remove strong_alias.
23435 (__gettimeofday): Add libc_hidden_def.
23436 (gettimeofday): Add libc_hidden_weak.
23437 * sysdeps/unix/syscalls.list (gettimeofday):
23438 Remove __gettimeofday_internal alias.
23439
b5a2bbe6
L
234402012-05-24 Daniel Jacobowitz <drow@false.org>
23441 H.J. Lu <hongjiu.lu@intel.com>
23442
23443 [BZ #12495]
23444 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23445 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23446 (largebin_index_32_big): New.
23447 (largebin_index): Use it for 16-byte alignment.
23448 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23449 correction with front_misalign.
23450
cfba4fda
L
234512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23452
7f907421
L
23453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23455 Likewise.
23456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23457 Likewise.
23458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23459 Likewise.
23460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23461 Likewise.
23462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23463 Likewise.
23464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23465 Likewise.
23466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23467 Likewise.
23468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23469 Likewise.
23470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23471 Likewise.
23472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23473 Likewise.
23474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23475 Likewise.
23476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23477 Likewise.
23478
cfba4fda
L
23479 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23480 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23481
80bad0cc
JM
234822012-05-24 Joseph Myers <joseph@codesourcery.com>
23483
7a25eb06
JM
23484 [BZ #10846]
23485 [BZ #14036]
23486 * math/libm-test.inc (exp_test): Add test from bug 14036.
23487 (pow_test): Add test from bug 10846.
23488
795405f9
JM
23489 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23490 and other flags.
23491 (special_function): Do not include flags in test name.
23492 (parse_args): Likewise.
23493 * sysdeps/i386/fpu/libm-test-ulps: Update.
23494 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23495 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23496 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23498
80bad0cc
JM
23499 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23500 exceptions.
23501 * math/libm-test.inc ("Philosophy"): Update comment about
23502 exception testing.
23503 (UNDERFLOW_EXCEPTION): New macro.
23504 (UNDERFLOW_EXCEPTION_OK): Likewise.
23505 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23506 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23507 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23508 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23509 (INVALID_EXCEPTION_OK): Update value.
23510 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23511 (OVERFLOW_EXCEPTION_OK): Likewise.
23512 (IGNORE_ZERO_INF_SIGN): Likewise.
23513 (test_exceptions): Handle underflow exceptions.
23514 (acos_test): Update for underflow exception expectations.
23515 (cexp_test): Likewise.
23516 (clog_test): Likewise.
23517 (clog10_test): Likewise.
23518 (csqrt_test): Likewise.
23519 (ctan_test): Likewise.
23520 (ctanh_test): Likewise.
23521 (exp_test): Likewise.
23522 (exp10_test): Likewise.
23523 (exp2_test): Likewise.
23524 (expm1_test): Likewise.
23525 (fma_test): Likewise.
23526 (j0_test): Likewise.
23527 (jn_test): Likewise.
23528 (nexttoward_test): Likewise.
23529 (pow_test): Likewise.
23530 (scalbn_test): Likewise.
23531 (scalbln_test): Likewise.
23532 (tan_test): Likewise.
23533 (y1_test): Likewise.
23534 * sysdeps/i386/fpu/libm-test-ulps: Update.
23535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23536
9e0e3d0b
DM
235372012-05-23 David S. Miller <davem@davemloft.net>
23538
23539 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23540 (__libc_sigaction): Remove unused local variables.
23541
ccd0a08f
L
235422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23543
23544 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23545
62bdf9a6
PE
235462012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23547
f8591f80
PE
23548 mktime: avoid signed integer overflow
23549 * time/mktime.c (__mktime_internal): Do not mishandle the case
23550 where diff == INT_MIN.
23551
94c7d826
PE
23552 mktime: simplify computation of average
23553 * time/mktime.c (ranged_convert): Use new time_t_avg function
23554 instead of rolling our own (probably-slower) code.
23555
ce73d683
PE
23556 mktime: do not assume signed right shift propagates sign bit
23557 * time/mktime.c (isdst_differ): New static function.
23558 (__mktime_internal): No need to normalize tm_isdst now.
23559 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23560 tm_isdst values.
23561
72a22e59
PE
23562 mktime: merge another wrapv change from gnulib
23563 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23564 from some compilers.
23565
68605433
PE
23566 mktime: remove incorrect attempt at unusual arithmetics
23567 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23568 The code didn't really work on such machines anyway.
23569 (TYPE_MINIMUM): Assume two's complement.
23570 (twos_complement_arithmetic): Verify that long_int and time_t
23571 are two's complement (or unsigned, in the latter case).
23572
03cf7fe3
PE
23573 mktime: check signed shifts on long_int and time_t, too
23574 * time/mktime.c (SHR): Check that shifts work as desired
23575 on the types long_int and time_t too, as SHR is used on
23576 such types.
23577
f04dfbc2
PE
23578 mktime: do not assume 'long' is wide enough
23579 * time/mktime.c (verify): Move decl up.
23580 (long_int): New type.
23581 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23582 to remove assumption in the code that 'long' is wide enough to
23583 store year values. This assumption is not true on x32 and on
23584 some non-glibc platforms.
23585
62bdf9a6
PE
23586 mktime: merge wrapv change from gnulib
23587 * time/mktime.c (WRAPV): New macro.
23588 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23589 (guess_time_tm, __mktime_internal): Do not assume that signed
23590 integer overflow wraps around; modern compilers generate code
23591 where this assumption is no longer valid.
23592
5e292e4f
L
235932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23594
23595 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23596 Replace "jmp L(pseudo_end)" with "ret".
23597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23598 Likewise.
23599
8caf8c87
AJ
236002012-05-23 Andreas Jaeger <aj@suse.de>
23601
23602 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23603 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23604
1a09dc56
AJ
236052012-05-23 Andreas Jaeger <aj@suse.de>
23606 Maximilian Attems <max@stro.at>
23607
23608 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23609 New macros.
23610
1c87aba0
L
236112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23612
23613 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23614 code so that pseudo_end is just ret and the stack pointer is
23615 correct also for static library in error case.
23616
40e45bd5
JM
236172012-05-23 Joseph Myers <joseph@codesourcery.com>
23618
c2670533
JM
23619 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23620 move to syscalls.list.
23621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23625
40e45bd5
JM
23626 * manual/install.texi (Running make install): Do not mention Linux
23627 kernel version for which pt_chown is not needed.
23628 (Linux): Do not mention problems with nscd with 2.0 kernels.
23629 * INSTALL: Regenerated.
23630
be08eda5
AJ
236312012-05-23 Andreas Jaeger <aj@suse.de>
23632
23633 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23634 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23635 macro.
23636 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23637 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23638 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23639 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23640 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23641 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23643 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23644 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23645 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23646 * sysdeps/unix/sysv/linux/bits/in.h
23647 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23648
a6a056bb
RM
236492012-05-22 Roland McGrath <roland@hack.frob.com>
23650
23651 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23652 (PREPARE_VERSION): Just use assert instead, it will be elided
23653 under [NDEBUG] anyway.
23654
c9009328
L
236552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23656
23657 * sysdeps/unix/sysv/linux/Makefile: Include
23658 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23659 (sysdep_routines): Remove sysctl.
c9009328
L
23660 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23661 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23662 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23663 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23664 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23665
73338355
AJ
236662012-05-22 Andreas Jaeger <aj@suse.de>
23667
23668 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23669 that pseudo_end is just ret and the stack pointer is correct also
23670 for static library in error case.
23671
d44638b0
PP
236722012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23673
23674 [BZ #14122]
23675 * nss/nsswitch.c (defconfig_entries): New variable.
23676 (__nss_database_lookup): Don't leak defconfig entries.
23677 (nss_parse_service_list): Don't leak on error paths.
23678 (free_database_entries): New function.
23679 (free_defconfig): New function.
23680 (free_mem): Move common code to free_database_entries.
23681
31a39bd8
L
236822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23683
da0331a8
L
23684 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23685 Add arch_prctl.
23686 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23687
31a39bd8
L
23688 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23689 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23691 New macro.
23692 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23693 (INTERNAL_SYSCALL_TYPES): Likewise.
23694 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23695 (LOAD_REGS_TYPES_[1-6]): Likewise.
23696 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23697 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23698
45470df3
AZ
236992012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23700
23701 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23702 copysignl for GLIBC_2_0.
23703 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23704 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23705 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23706 logbl for GLIBC_2_0.
23707 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23708 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23709
98a61bcb
L
237102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23711
a4f6e481
L
23712 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23713 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23714
f63d5db6
L
23715 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23716 Use "neg %eax".
23717
98a61bcb
L
23718 * time/mktime.c: Update copyright years.
23719
95770f14
PE
237202012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23721
6226efbd
PE
23722 mktime: merge comment-quoting-style change from gnulib
23723 * time/mktime.c: Quote 'like this' in comments.
23724 The GNU coding standards suggest that we no longer quote `like this',
23725 as "`" and "'" are typically rendered asymmetrically nowadays.
23726 The typical gnulib style is to quote 'like this' when quoting
23727 code, and "like this" when quoting English.
23728
b99e4f78
PE
23729 * time/mktime.c (compile-command): Add "-I.".
23730
643e01e6
PE
23731 mktime: merge mktime-internal.h change from gnulib
23732 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23733
2554247d
PE
23734 mktime: merge time_r change from gnulib
23735 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23736
826dd0ab
PE
23737 mktime: merge DEBUG change from gnulib
23738 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23739 case system <time.h> has a #define.
23740
bd83aabe
PE
23741 mktime: merge <sys/types.h> change from gnulib
23742 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23743 since <time.t> is now guaranteed to define time_t.
23744
95770f14
PE
23745 mktime: merge HAVE_CONFIG_H change from gnulib
23746 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23747
5e1a27a9
L
237482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23749
0e44a77e
L
23750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23751 Use "neg %eax".
23752
5e1a27a9
L
23753 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23754 __rlim_t cast.
23755 (struct rusage): Use anonymous union to pad each field to
23756 __syscall_slong_t.
23757
46259bec
DM
237582012-05-21 David S. Miller <davem@davemloft.net>
23759
23760 * Makefules (o-iterator): Remove .s cases.
23761 (compile-command.s): Delete.
23762 (COMPILE.s): Delete.
23763 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23764
59f0c22e
JM
237652012-05-21 Joseph Myers <joseph@codesourcery.com>
23766
23767 * configure.in (libc_cv_predef_stack_protector): Only consider
23768 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23769 * configure: Regenerated.
23770
20c07380
L
237712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23772
bbb3154b
L
23773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23774 New macro. Use R*LP on int and pointer.
23775 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23776 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23777 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23778 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23779
20c07380
L
23780 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23781 [__WORDSIZE_TIME64_COMPAT32] instead of
23782 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23783 (struct utmp): Likewise.
23784 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23785 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23786 Renamed to ...
23787 (__WORDSIZE_TIME64_COMPAT32): This.
23788 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23789 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23790 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23791 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23792 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23793 (__WORDSIZE_TIME64_COMPAT32): New macro.
23794
d8d1017e
AJ
237952012-05-21 Andreas Jaeger <aj@suse.de>
23796
23797 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23798 only if [SHARED]. Add prototype for __wcschr_ia32.
23799
6c7fb145
RM
238002012-05-21 Roland McGrath <roland@hack.frob.com>
23801
23802 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23803 of %rbp unmolested in the jmp_buf while mangling the low bits.
23804 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23805 unmolested high bits of %rbp while demangling the low bits.
23806 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23807
66274218
AJ
238082012-05-21 Andreas Jaeger <aj@suse.de>
23809
07c58f8f
AJ
23810 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23811 * sunrpc/svc_simple.c: Use it for registerrpc.
23812 * sunrpc/xcrypt.c: Use it for passwd2des.
23813
66274218
AJ
23814 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23815
61f65140
L
238162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23817
23818 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23819 Don't define if [__SYSCALL_WORDSIZE != 32].
23820 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23821 New macro.
23822
5fefb436
AJ
238232012-05-21 Bruno Haible <bruno@clisp.org>
23824 Andreas Jaeger <aj@suse.de>
23825
23826 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23827 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23828 inptr and inend for must_buffer_ch.
23829 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23830 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23831 * stdio-common/Makefile (tests): Remove bug15.
23832 (bug15-ENV): Remove macro.
23833 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23834 anymore.
23835
d8e272ab
AJ
238362012-05-19 Andreas Jaeger <aj@suse.de>
23837 Roland McGrath <roland@hack.frob.com>
23838
23839 * manual/contrib.texi: Completely rewritten. It contains now an
23840 alphabetical list of contributors and their contributions.
23841
4a56a162
RH
238422012-05-21 Richard Henderson <rth@twiddle.net>
23843
23844 * misc/getauxval.c (__getauxval): Use unsigned long int.
23845 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23846 (getauxval): Use unsigned long int.
23847
d024d23c
L
238482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23849
23850 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23851
cbc00a03
RM
238522012-05-21 Roland McGrath <roland@hack.frob.com>
23853
23854 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23855 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23856 __alignof__ (long double).
23857
478143fa
AZ
238582012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23859
23860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23861
c7683a6d
RH
238622012-05-20 Richard Henderson <rth@twiddle.net>
23863
23864 * misc/getauxval.c: New file.
23865 * misc/sys/auxv.h: New file.
23866 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23867 (routines): Add getauxval.
23868 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23869 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23870 * elf/dl-sysdep.c (_dl_auxv): Remove.
23871 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23872 * elf/dl-support.c (_dl_auxv): New variable.
23873 (_dl_aux_init): Initialize it.
23874 * manual/startup.texi (Auxiliary Vector): New node.
23875 * sysdeps/generic/bits/hwcap.h: New file.
23876 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23877 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23878 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23879 * sysdeps/sparc/sysdep.h: ... here. Include it.
23880 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23881 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23883 Update.
c7683a6d
RH
23884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23887 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23892
a6f1845d
AZ
238932012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23894
23895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23896
cbcbe830
DM
238972012-05-19 David S. Miller <davem@davemloft.net>
23898
23899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23900
e0b16cc2
JM
239012012-05-19 Joseph Myers <joseph@codesourcery.com>
23902
23903 [BZ #14123]
23904 * math/s_ccosh.c: Include <float.h>
23905 (__ccosh): Avoid internal overflow calculating sinh and cosh
23906 values before multiplying by sin and cos values.
23907 * math/s_ccoshf.c: Likewise.
23908 * math/s_ccoshl.c: Likewise.
23909 * math/s_csin.c: Likewise.
23910 * math/s_csinf.c: Likewise.
23911 * math/s_csinl.c: Likewise.
23912 * math/s_csinh.c: Likewise.
23913 * math/s_csinhf.c: Likewise.
23914 * math/s_csinhl.c: Likewise.
23915 * math/libm-test.inc (ccos_test): Add more tests.
23916 (ccosh_test): Likewise.
23917 (csin_test): Likewise.
23918 (csinh_test): Likewise.
23919 * sysdeps/i386/fpu/libm-test-ulps: Update.
23920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23921
6ad13e08
L
239222012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23923
f66f0ce8
L
23924 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23925 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23926
6ad13e08
L
23927 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23928
b1d072a7
JM
239292012-05-19 Joseph Myers <joseph@codesourcery.com>
23930
23931 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23932 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23933 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23934 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23935 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23936 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23937 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23938 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23939 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23940 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23941 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23942 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23943 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23944 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23945 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23946 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23947 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23948 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23949 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23950 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23951 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23952 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23953 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23954 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23955 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23956 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23957 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23958 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23959 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23960 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23961 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23962
9eae47cb
AJ
239632012-05-18 Andreas Jaeger <aj@suse.de>
23964
23965 * csu/.gitignore: Delete.
23966
bb07f69f
L
239672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23968
23969 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23970 (timex): Use __syscall_slong_t.
23971
e6bdb741
AJ
239722012-05-18 Andreas Jaeger <aj@suse.de>
23973 Carlos O'Donell <carlos_odonell@mentor.com>
23974
23975 * manual/install.texi (Configuring and compiling): Update
23976 description about files modified in the source directory.
d6c33fda 23977 * INSTALL: Regenerated.
e6bdb741 23978
1b74487e
L
239792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23980
23981 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23982 value. Use "or" to set return value to -1.
23983 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23984 negate return value.
23985
a88b64b9
TMQMF
239862012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23987
23988 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23989 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23990 failure if the compiler has Graphite support disabled.
23991 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23992 Likewise.
23993 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23994 CFLAGS-memmove.c): Likewise.
23995 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23996 Likewise.
23997
3707636e
L
239982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23999
610b8622
L
24000 * sysdeps/x86_64/x32/_itoa.h: New file.
24001
7cd195df
L
24002 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24003 getdents system call only if kernel and user dirents have the
24004 same d_ino and d_off.
24005
94b07d20
L
24006 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24007 LLONG_MAX != LONG_MAX.
24008 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24009 (_fitoa_word): Likewise.
24010
18298070
L
24011 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24012 years.
24013 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24014 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24015 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24016
553c7ea4
L
24017 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24018 include <bits/wordsize.h>. Check __x86_64__ instead of
24019 __WORDSIZE.
24020 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24021 if __x86_64__ is defined. Use anonymous union on fpstate.
24022
3707636e
L
24023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24024 anonymous union.
24025
b53ef01a
AS
240262012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24027
37fb1dc0
AS
24028 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24029 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24030 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24031 Refer to _rtld_local_ro instead of _rtld_global_ro.
24032 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24033 Likewise.
24034 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24035 Likewise.
24036 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24037 Likewise.
24038 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24039 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24040 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24041
b53ef01a
AS
24042 * sysdeps/powerpc/powerpc32/dl-machine.c
24043 (__elf_machine_runtime_setup) [PROF]: Don't reference
24044 _dl_prof_resolve.
24045
7a185db2
AJ
240462012-05-18 Andreas Jaeger <aj@suse.de>
24047
24048 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24049 function only available for GCCs before 3.4 since GCC 3.4
24050 introduced a builtin.
24051 (lrint): Likewise.
24052 (llrintf): Likewise.
24053 (llrint): Likewise.
24054 (fmaxf): Likewise.
24055 (fmax): Likewise.
24056 (fminf): Likewise.
24057 (fmin): Likewise.
24058 (rint): Likewise.
24059 (rintf): Likewise.
24060 (nearbyint): Likewise.
24061 (nearbyintf): Likewise.
24062 (ceil): Likewise.
24063 (ceilf): Likewise.
24064 (floor): Likewise.
24065 (floorf): Likewise.
24066
3e5aef87
L
240672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24068
428bd707
L
24069 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24070 on both fields and cast pointer to __syscall_ulong_t.
24071
3e5aef87
L
24072 * bits/types.h (__fsword_t): New type.
24073 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24074 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24076 (__FSWORD_T_TYPE): Likewise.
24077 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24078 (__FSWORD_T_TYPE): Likewise.
24079 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24080 (__FSWORD_T_TYPE): Likewise.
24081 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24082 (__FSWORD_T_TYPE): Likewise.
24083 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24084 __SWORD_TYPE with __fsword_t.
24085 (statfs64): Likewise.
24086
1ba7c3dc
DM
240872012-05-17 David S. Miller <davem@davemloft.net>
24088
24089 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24090
59910343
AJ
240912012-05-17 Andreas Jaeger <aj@suse.de>
24092
24093 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24094 warning.
24095
2e4c1e9e
L
240962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24097
24098 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24099
de7f5ce7
AJ
241002012-05-17 Andreas Jaeger <aj@suse.de>
24101
24102 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24103 when it is used.
24104
286abc3d
CM
241052012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24106
24107 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24108
477cc68e
L
241092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24110
24111 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24112 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24113
1a0994f5
CD
241142012-05-17 Andreas Jaeger <aj@suse.de>
24115 Carlos O'Donell <carlos_odonell@mentor.com>
24116
24117 [BZ #14059]
24118 * sysdeps/x86_64/multiarch/init-arch.h
24119 (bit_YMM_Usable): Rename to...
24120 (bit_AVX_Usable): ... this.
24121 (bit_FMA4_Usable): New macro.
24122 (bit_XMM_state): New macro.
24123 (bit_YMM_state): New macro.
24124 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24125 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24126 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24127 (CPUID_OSXSAVE): New macro.
24128 (CPUID_AVX): New macro.
24129 (CPUID_FMA4): New macro.
24130 (index_YMM_Usable): Rename to...
24131 (index_AVX_Usable): ... this.
24132 (HAS_AVX): Use HAS_ARCH_FEATURE.
24133 (HAS_FMA4): Likewise.
24134 (HAS_YMM_USABLE): Remove.
24135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24136 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24137 are present.
24138 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24139 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24140 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24141 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24142 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24143
0af797de
CM
241442012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24145
24146 * math/libm-test.c: Support platforms without multiple rounding modes.
24147 * math/bug-nextafter.c: Support platforms without FP exceptions.
24148 * math/bug-nexttoward.c: Likewise.
24149 * math/test-fenv.c: Likewise.
24150 * math/test-misc.c: Likewise.
24151 * stdlib/bug-getcontext.c: Likewise.
24152
e39745ff
AJ
241532012-05-17 Andreas Jaeger <aj@suse.de>
24154
24155 * manual/examples/search.c (critter_cmp): Change signature to
24156 avoid warnings.
24157 * manual/string.texi (Collation Functions): Likewise.
24158
48970aba
L
241592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24160
24161 * bits/types.h: Fold copyright years.
24162 * bits/typesizes.h: Likewise.
24163 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24165 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24167 * time/time.h: Likewise.
24168
bedee953
PP
241692012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24170
24171 [BZ #208]
24172 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24173 in instead of returning them. Return void.
24174 (__libc_mallinfo): Accumulate over all arenas.
24175 (__malloc_stats): Adjust for change in int_mallinfo interface.
24176
61653dfb
RM
241772012-05-16 Roland McGrath <roland@hack.frob.com>
24178
30b99d79
RM
24179 [BZ #10375]
24180 * configure.in (NM): Add AC_CHECK_TOOL for it.
24181 (libc_extra_cflags): New substituted variable.
24182 Check for -fstack-protector being used implicitly.
24183 * configure: Regenerated.
24184 * config.make.in (config-extra-cflags): New variable,
24185 gets @libc_extra_cflags@.
24186 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24187
61653dfb
RM
24188 [BZ #10375]
24189 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24190 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24191 * configure: Regenerated.
24192 * config.make.in (CPPUNDEFS): New substituted variable.
24193 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24194 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24195 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24196
661768bb
L
241972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24198
24199 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24200 (mq_attr): Use __syscall_slong_t.
24201
d4261567
L
242022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24203
24204 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24205 Check __x86_64__ instead of __WORDSIZE.
24206 (_STAT_VER_LINUX): Likewise.
24207 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24208 __syscall_ulong_t and __syscall_slong_t.
24209 (stat64): Likewise.
24210
cf3ff365
L
242112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24212
24213 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24214
76cf3e4d
L
242152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24216
24217 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24218
a637753a
L
242192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24220
24221 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24222 __syscall_ulong_t.
24223
d5e05119
L
24224 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24225 include <bits/wordsize.h>. Check __x86_64__ instead of
24226 __WORDSIZE.
24227 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24228 defined.
24229 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24230
f62ee380
L
24231 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24232 include <bits/wordsize.h>. Check __x86_64__ instead of
24233 __WORDSIZE.
24234 (user_regs_struct): Use "__extension__ unsigned long long"
24235 instead of "unsigned long" if __x86_64__ is defined.
24236 (user): Likewise. Pad after pointer field if __ILP32__ is
24237 defined.
24238
4e124ced
JM
242392012-05-16 Joseph Myers <joseph@codesourcery.com>
24240
6a3951a0
JM
24241 * configure.in (makeinfo): Require version 4.5 or later. Allow
24242 versions 5 to 9.
24243 * configure: Regenerated.
24244 * manual/install.texi (texinfo): Increase version requirement to
24245 4.5 or later.
24246 * INSTALL: Regenerated.
24247
4e124ced
JM
24248 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24249
953ca31a
L
242502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24251
24252 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24253
617aca05
L
24254 * sysdeps/x86_64/x32/ffs.c: New file.
24255
5762f7ae
L
24256 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24257 __syscall_ulong_t.
24258 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24259 defined. Use __syscall_ulong_t.
24260 (shminfo): Use __syscall_ulong_t.
24261 (shm_info): Likewise.
24262
a26b6856
L
24263 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24264 __syscall_ulong_t.
24265
cb2b9ef7
L
24266 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24267 <bits/wordsize.h>.
24268 (msgqnum_t): Use __syscall_ulong_t.
24269 (msglen_t): Likewise.
24270 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24271 __syscall_ulong_t.
24272
34683bb0
L
24273 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24274 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24275
84a68786
L
24276 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24277
48baa5f1
L
24278 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24279 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24280
180be88b
L
24281 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24282 __syscall_slong_t.
24283
5e90c8ad
L
24284 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24285 include <bits/wordsize.h>. Check __x86_64__ instead of
24286 __WORDSIZE.
24287
23dfb58b
L
24288 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24289 "unsigned long long int" if __x86_64__ is defined.
24290 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24291
ce5d54b0
L
24292 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24293 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24294 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24295
13dc9eac
L
24296 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24297 <stdint.h>.
24298 (GET_PC): Cast to uintptr_t first.
24299 (GET_FRAME): Likewise.
24300 (GET_STACK): Likewise.
24301
a7895d15
L
24302 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24303 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24304 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24305 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24306 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24307 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24308 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24309 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24310 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24311 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24312 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24313 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24314 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24315 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24316 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24317 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24318 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24319 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24320 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24321 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24322 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24323 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24324 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24325 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24326 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24327 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24328 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24329 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24330 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24331
656416c9
AS
243322012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24333
5bd66283
AS
24334 * Makerules (+depfiles): Also collect depfiles from .oS in
24335 $(extra-objs).
24336 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24337 .oS, $(libnldbl-routines)).
24338
656416c9
AS
24339 * Makerules (native-compile-mkdep-flags): Define.
24340 * sunrpc/Makefile (extra-objs): Add $(addprefix
24341 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24342 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24343 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24344 calling $(make-target-directory).
24345
a46f2169
L
243462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24347
24348 * bits/types.h (__snseconds_t): Removed.
24349 * time/time.h (struct timespec): Replace __snseconds_t with
24350 __syscall_slong_t.
24351 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24352 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24353 Likewise.
24354 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24355 (__SNSECONDS_T_TYPE): Likewise.
24356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24357 (__SNSECONDS_T_TYPE): Likewise.
24358 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24359 (__SNSECONDS_T_TYPE): Likewise.
24360
6af6528b
L
243612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24362
24363 * sysdeps/mach/hurd/bits/typesizes.h
24364 (__SYSCALL_SLONG_TYPE): New macro.
24365 (__SYSCALL_ULONG_TYPE): Likewise.
24366
de986b56
L
243672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24368
24369 * bits/types.h (__syscall_slong_t): New type.
24370 (__syscall_ulong_t): Likewise.
24371
24372 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24373 (__SYSCALL_ULONG_TYPE): Likewise.
24374 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24375 (__SYSCALL_SLONG_TYPE): Likewise.
24376 (__SYSCALL_ULONG_TYPE): Likewise.
24377 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24378 (__SYSCALL_SLONG_TYPE): Likewise.
24379 (__SYSCALL_ULONG_TYPE): Likewise.
24380 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24381 (__SYSCALL_SLONG_TYPE): Likewise.
24382 (__SYSCALL_ULONG_TYPE): Likewise.
24383
85736dc7
L
243842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24385
24386 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24387 Add sigaltstack-offsets.sym.
24388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24389 <sigaltstack-offsets.h>.
24390 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24391 longjmp_msg pointer.
24392 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24393 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24394 signal stack.
24395 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24396
cc03b296
JM
243972012-05-15 Joseph Myers <joseph@codesourcery.com>
24398
a9538892
JM
24399 * elf/stackguard-macros.h: Remove file.
24400 * sysdeps/generic/stackguard-macros.h: New file.
24401 * sysdeps/i386/stackguard-macros.h: Likewise.
24402 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24403 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24404 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24405 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24406 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24407 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24408 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24409 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24410 <elf/stackguard-macros.h>.
24411
cc03b296
JM
24412 [BZ #14109]
24413 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24414 __aligned__ in attribute.
24415 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24416 (gregset_t): Likewise.
24417
93171016
L
244182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24419
24420 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24421 * sysdeps/x86_64/64/Implies-after: Here. New file.
24422 * sysdeps/x86_64/x32/Implies-after: New file.
24423
d86813a0
L
244242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24425
24426 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24427 and access return value for _dl_profile_fixup. Use R10_LP to
24428 load frame size.
24429
2953ec75
L
244302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24431
24432 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24433
3b550e9e
L
244342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24435
24436 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24437 * sysdeps/x86_64/x32/sysdep.h: New file.
24438
eda41706
L
244392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24440
24441 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24442 * sysdeps/x86_64/setjmp.S: Likewise.
24443
9ea01d93
AZ
244442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24445
24446 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24447 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24448 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24449 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24450 remove unused global constant.
24451
02a91938
CM
244522012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24453
24454 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24455 include of <not-cancel.h>.
24456
6540185f
RM
244572012-05-15 Roland McGrath <roland@hack.frob.com>
24458
24459 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24460
509072a0
AJ
244612012-05-15 Jeff Law <law@redhat.com>
24462 Andreas Jaeger <aj@suse.de>
24463
24464 [BZ #13594]
24465 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24466 out from...
24467 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24468 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24469 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24470 code changing __hst_map_handle.map.
24471
ba75122d
RM
244722012-05-15 Roland McGrath <roland@hack.frob.com>
24473
24474 * configure.in (sysnames): Look for Implies-before and Implies-after
24475 files.
24476 * configure: Regenerated.
24477
890d8bd8
L
244782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24479
24480 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24481 8-byte data alignment with LP_SIZE alignment.
24482
f6ee6623
L
244832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24484
24485 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24486 into R10_LP.
24487
ea2626f6
L
244882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24489
24490 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24491
085f715e
L
244922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24493
24494 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24495 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24496 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24497 Likewise.
24498 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24499
be8498fc
L
245002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24501
24502 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24503 (stackinfo_sub_sp): Likewise.
24504
70bc83b9
L
245052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24506
24507 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24508 RAX_LP.
24509
9bc0b730
L
245102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24511
24512 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24513 into R*_LP.
24514
6d2850e7
L
245152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24516
24517 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24518 sizes into R*_LP.
24519
3cb84561
L
245202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24521
24522 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24523
54e2ed81
L
245242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24525
24526 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24527 into R11_LP and load __x86_64_shared_cache_size_half into
24528 R8_LP.
24529
8a17f349
L
245302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24531
24532 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24533 R8_LP.
24534
777b1eea
AZ
245352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24536
24537 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24538 logb for POWER7.
24539 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24540 logbf for POWER7.
24541 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24542 logbl for POWER7.
24543 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24544 powerpc32/power7/fpu/s_logb.c via #include.
24545 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24546 powerpc32/power7/fpu/s_logbf.c via #include.
24547 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24548 powerpc32/power7/fpu/s_logbl.c via #include.
24549
d20d4ac2
JM
245502012-05-15 Joseph Myers <joseph@codesourcery.com>
24551
24552 * README.libm: Remove file.
24553
6cdef1ab
L
245542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24555
24556 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24557 count for x32. Use R*_LP and omit operand-size suffix.
24558
0b254d8f
L
245592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24560
24561 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24562 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24563 * sysdeps/x86_64/x32/shlib-versions: New file.
24564
ceb809dc
RM
245652012-05-14 Roland McGrath <roland@hack.frob.com>
24566
24567 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24568 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24569 Use _dl_fatal_printf instead.
24570
37f1abd4
JM
245712012-05-14 Joseph Myers <joseph@codesourcery.com>
24572
24573 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24574 set if not set by the user. Do not allow for being unset.
24575 * sysdeps/unix/sysv/linux/configure: Regenerated.
24576
11de3a33
L
245772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24578
24579 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24580 the `q' suffix from lea and replace .quad with ASM_ADDR.
24581
e02f153a
L
245822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24583
24584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24585 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24586 instead of $17.
24587 (PTR_DEMANGLE): Likewise.
24588
520ae0fd
L
245892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24590
24591 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24592 (LP_OP): Likewise.
24593 (ASM_ADDR): Likewise.
24594 (RAX_LP): Likewise.
24595 (RBP_LP): Likewise.
24596 (RBX_LP): Likewise.
24597 (RCX_LP): Likewise.
24598 (RDI_LP): Likewise.
24599 (RSI_LP): Likewise.
24600 (RSP_LP): Likewise.
24601 (R8_LP): Likewise.
24602 (R9_LP): Likewise.
24603 (R10_LP): Likewise.
24604 (R10_LP): Likewise.
24605 (R11_LP): Likewise.
24606 (R12_LP): Likewise.
24607 (R13_LP): Likewise.
24608 (R14_LP): Likewise.
24609 (R15_LP): Likewise.
24610
b985be81
L
246112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24612
24613 * sysdeps/x86_64/x32/dl-machine.h: New file.
24614
6a4888ff
AJ
246152012-05-14 Andreas Jaeger <aj@suse.de>
24616
24617 * manual/Makefile (subdir): Remove export of subdir.
24618 (all): Remove target.
24619 (.PHONY): Remove all from list.
24620 (mkinstalldirs): Remove.
24621 (.PHONY): Remove installdirs from list.
24622 ($(inst_infodir)/libc.info): Use make-target-directory.
24623 (installdirs): Remove.
24624 (subdir_%): Remove.
24625 (glibc-targets): Remove.
24626 (lib): Remove.
24627 (stubs): Remove.
24628 ($(objpfx)stubs ../po/manual.pot): Remove.
24629 ($(objpfx)stamp%): Remove.
24630 (make-target-directory): Remove.
24631 (subdir_install): Remove.
24632 (routines): Remove.
24633 (aux): Remove.
24634 (sources): Remove.
24635 (objects): Remove.
24636 (headers): Remove.
24637
24638 [BZ #13750]
24639 * manual/.gitignore: Remove, it's not needed anymore.
24640 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24641 all files in it.
24642 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24643 directory.
24644 (texis): Renamed to $(objpfx)texis.
24645 (texis-path): New, contains path to generated files.
24646 (chapters.%): Use texis-path for complete path, add extra argument
24647 libc-texinfo.sh.
24648 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24649 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24650 (summary,texi, stamp-summary): Use complete path of
24651 files. Generate files in build dir.
24652 (dir-add.texi): Build in build dir.
24653 (libm-err.texi,stamp-libm-err): Likewise.
24654 (version.texi, stamp-version): Likewise.
24655 (.%c.texi): Likewise.
24656 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24657 (mostlyclean): Remove target.
24658 (realclean): Remove target.
24659 (generated): Add new variable with contents from mostlyclean and
24660 realclean, remove entries duplicated in common-mostlyclean, add
24661 stamp-libm-err and stamp-version.
24662 (generated-dirs): Add libc directory.
24663 ($(inst_infodir)/libc.info): Install files from build dir.
24664
24665 * manual/install.texi (Configuring and compiling): Adjust since
24666 the info files are not part of the tar ball anymore.
24667
7ac77294
AJ
246682012-05-14 Andreas Jaeger <aj@suse.de>
24669
24670 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24671 variable.
24672
ffb7875d
JM
246732012-05-14 Joseph Myers <joseph@codesourcery.com>
24674
24675 [BZ #13717]
24676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24677 to 2.2.0 where earlier.
24678 * sysdeps/unix/sysv/linux/configure: Regenerated.
24679 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24680 Remove conditional code.
24681 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24682 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24683 Remove conditional code.
24684 [!__NR_lchown]: Likewise.
24685 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24686 [__NR_lchown]: Likewise.
24687 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24688 comment referencing __ASSUME_LCHOWN_SYSCALL.
24689 * sysdeps/unix/sysv/linux/i386/sigaction.c
24690 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24691 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24692 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24693 Remove conditional code.
24694 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24695 (__protocol_available): Remove #if 0 code.
24696 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24697 conditional code.
24698 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24699 * sysdeps/unix/sysv/linux/kernel-features.h
24700 (__ASSUME_GETCWD_SYSCALL): Don't define.
24701 (__ASSUME_REALTIME_SIGNALS): Likewise.
24702 (__ASSUME_PREAD_SYSCALL): Likewise.
24703 (__ASSUME_PWRITE_SYSCALL): Likewise.
24704 (__ASSUME_POLL_SYSCALL): Likewise.
24705 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24706 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24707 non-SPARC.
24708 (__ASSUME_SIOCGIFNAME): Don't define.
24709 (__ASSUME_MSG_NOSIGNAL): Likewise.
24710 (__ASSUME_SENDFILE): Define unconditionally.
24711 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24712 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24713 conditional code.
24714 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24715 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24716 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24717 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24718 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24719 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24720 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24722 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24725 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24728 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24731 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24734 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24735 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24737 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24738 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24740 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24741 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24743 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24745 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24746 Remove conditional code.
24747 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24748 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24749 Remove conditional code.
24750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24751 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24752 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24753 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24754 Remove conditional code.
24755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24756 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24757 Remove conditional code.
24758 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24759 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24760 Remove conditional code.
24761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24762 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24763 Remove conditional code.
24764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24765 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24766 Remove conditional code.
24767 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24768 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24769 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24771 * sysdeps/unix/sysv/linux/sigaction.c
24772 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24773 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24774 * sysdeps/unix/sysv/linux/sigpending.c
24775 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24776 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24777 * sysdeps/unix/sysv/linux/sigprocmask.c
24778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24780 * sysdeps/unix/sysv/linux/sigsuspend.c
24781 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24782 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24783 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24784 (__libc_missing_rt_sigs): Remove.
24785 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24786 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24787 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24788 Remove conditional code.
24789 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24790 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24791 return 1.
24792 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24793 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24794 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24795 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24796
1bfb7291
AJ
247972012-05-14 Andreas Jaeger <aj@suse.de>
24798
caae5a81
AJ
24799 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24800 it's not used in glibc.
24801 (__coshm1): Likewise.
24802 (__acosh1p): Likewise.
24803 (__sgn): Likewise.
24804
1bfb7291
AJ
24805 * manual/string.texi (Copying and Concatenation): Add missing
24806 variable in concat example.
24807 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24808
c044d724
L
248092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24810
144c5467 24811 [BZ #14103]
c044d724
L
24812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24813 __builtin_clzl with __builtin_clzll.
24814
2523c62b
L
248152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24816
24817 [BZ #14104]
24818 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24819 libc_freeres_ptr.
24820
d7bb4c42
LD
248212012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24822
24823 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24824 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24825 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24826 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24827
9dc4e1fb
MF
248282012-05-14 Mike Frysinger <vapier@gentoo.org>
24829
24830 * NEWS: Update ia64 info.
24831
c7df0112
AS
248322012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24833
24834 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24835 used as bcopy.
24836
dc70356c
TS
248372012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24838
24839 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24840 * sysdeps/unix/syscalls.list (dup3): Likewise.
24841 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24842 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24843
9fb1a21f
L
248442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24845
24846 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24847 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24848
4822a2a5
L
248492012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24850
24851 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24852 thread pointer.
24853 (TLS_IE): Use mov/add instead of movq/addq to load thread
24854 pointer.
24855 (TLS_GD_PREFIX): New.
24856 (TLS_GD): Use it.
24857
842b81d6
DM
248582012-05-11 David S. Miller <davem@davemloft.net>
24859
24860 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24861 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24862 (_FPU_SETCW): Likewise.
24863
1cf463cd
L
248642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24865
24866 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24867 is 32-byte aligned.
24868
60cc4a18
AS
248692012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24870
24871 [BZ #11837]
24872 * iconvdata/gb18030.c: Update tables.
24873 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24874 characters specially.
24875 (BODY for TO_LOOP): Add encoding of missing ranges.
24876
febb44a4
TS
248772012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24878
24879 [BZ #13673]
24880 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24881 * sysdeps/mach/hurd/dup3.c: Likewise.
24882 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24883 * sysdeps/powerpc/memmove.c:: Likewise.
24884
0a10fb9e
L
248852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24886
24887 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24888 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24889
df8a552f
L
248902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24891
24892 * elf/elf.h (R_X86_64_RELATIVE64): New.
24893 (R_X86_64_NUM): Updated.
24894 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24895 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24896 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24897 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24898 tst-quad1pie tst-quad2pie
24899 (modules-names): Add tst-quadmod1 tst-quadmod2.
24900 ($(objpfx)tst-quad1): New dependency.
24901 ($(objpfx)tst-quad2): Likewise.
24902 ($(objpfx)tst-quad1pie): Likewise.
24903 ($(objpfx)tst-quad2pie): Likewise.
24904 * sysdeps/x86_64/tst-quad1.c: New file.
24905 * sysdeps/x86_64/tst-quad1pie.c: New file.
24906 * sysdeps/x86_64/tst-quad2.c: Likewise.
24907 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24908 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24909 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24910 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24911 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24912
f34d6f84
ST
249132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24914
f42d41d1
ST
24915 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24916 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24917 * streams/stropts.h (t_scalar_t): Define type.
24918
3c3571fc
ST
24919 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24920 (_PATH_PRESERVE): Set to "/var/lib".
24921 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24922
61f06bd3
ST
24923 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24924 instead of int.
24925
918d4d71
ST
24926 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24927 if __dir_mkfile succeeded.
24928
f34d6f84
ST
24929 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24930 checking for _hurd_dtablesize. Unlock it right after having
24931 finished _hurd_dtable allocation.
24932
10589b4a
TS
249332012-05-10 Thomas Schwinge <thomas@schwinge.name>
24934
674cdbc7
TS
24935 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24936 * sysdeps/mach/hurd/configure: Regenerated.
24937 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24938 special-casing to...
24939 * sysdeps/gnu/configure.in: ... this new file.
24940 * sysdeps/unix/sysv/linux/configure: Regenerated.
24941 * sysdeps/gnu/configure: New generated file.
24942
8e41b99f
TS
24943 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24944 for Linux: use nsec instead of usec, as well as:
24945 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24946 members of type struct timespec.
24947 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24948 New macros.
24949 (struct stat64): Likewise.
24950 (_STATBUF_ST_NSEC): New macro.
24951 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24952
10589b4a
TS
24953 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24954 __strtoul_internal rather than strtoul.
24955
63643c85
PT
249562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24957
24958 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24959 and reject them.
24960
3faebe6a
ST
249612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24962
24963 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24964 which preserves existing values.
24965 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24966
c6474b07
PT
249672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24968
24969 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24970 TIMEOUT values. Return EINVAL for NFDS values either negative or
24971 greater than FD_SETSIZE.
24972
1043890b
ST
249732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24974
24975 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24976 allocated, call __vm_protect to finish enabling the existing space, and
24977 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24978 allocate the remainder.
24979
37ed8b9b
PT
249802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24981
24982 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24983 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24984
db653660
ST
249852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24986
37ed8b9b
PT
24987 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24988 sysdeps/mach/hurd/readlink.c.
b29d4053 24989
db653660
ST
24990 * posix/tst-sysconf.c (posix_options): Only use
24991 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24992 _POSIX_SYNCHRONIZED_IO when they are defined
24993 * sysdeps/mach/hurd/bits/posix_opt.h:
24994 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24995 (_XOPEN_REALTIME): Undefine macro.
24996 (_XOPEN_REALTIME_THREADS): Undefine macro.
24997 (_XOPEN_SHM): Undefine macro.
24998 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24999 macro to -1.
25000 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25001 macro to -1.
25002 (_POSIX_ASYNC_IO): Undefine macro.
25003 (_POSIX_PRIORITIZED_IO): Undefine macro.
25004 (_POSIX_SPIN_LOCKS): Define macro to -1.
25005
ee16e894
ST
25006 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25007 SA_NODEFER, SA_RESETHAND.
25008 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25009 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25010 F_DUPFD_CLOEXEC.
25011
6103ae3b
TS
250122012-05-10 Thomas Schwinge <thomas@schwinge.name>
25013
25014 * elf/Makefile (pldd-modules): Define unconditionally.
25015
80b4e5f3
TS
250162012-05-10 Thomas Schwinge <thomas@schwinge.name>
25017
25018 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25019
edadcbd6
ST
250202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25021
25022 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25023 Return ENOENT when name is empty.
25024 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25025
80694780
TS
250262012-05-10 Thomas Schwinge <thomas@schwinge.name>
25027
1792c087
TS
25028 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25029
80694780
TS
25030 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25031
6b645f0d
ST
250322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25033
80694780
TS
25034 Fix mlock in all cases except non-readable pages.
25035 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25036 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 25037
6b645f0d
ST
25038 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25039 (__mkdir): When path is `/', just fail with EEXIST.
25040 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25041
e468f8a3
TS
250422012-05-10 Thomas Schwinge <thomas@schwinge.name>
25043
25044 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25045 <sys/uio.h> (for writev).
25046 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25047 and <sys/param.h> (for MIN).
25048
a4186cff
PT
250492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25050
25051 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25052 REQUESTED_TIME. Properly set the remaining time and return EINTR
25053 if interrupted.
25054
510bbf14
TS
250552012-05-10 Thomas Schwinge <thomas@schwinge.name>
25056
25057 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25058 Depend on against $(link-rpcuserlibs).
25059
5d5722e8
ST
250602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25061
a4186cff
PT
25062 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25063 (__libc_stack_end): Do not use attribute_relro.
25064 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25065 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 25066 to libthread-provided value.
a4186cff
PT
25067 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25068 attribute_relro.
5d5722e8 25069
37233df9
TS
250702012-05-10 Thomas Schwinge <thomas@schwinge.name>
25071
be971a2b
TS
25072 [BZ #3748]
25073 * bits/libc-lock.h (__libc_once_get): New macro.
25074 * sysdeps/mach/bits/libc-lock.h: Likewise.
25075 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25076 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25077 instead of using implementation details.
25078
37233df9
TS
25079 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25080 * libio/freopen.c: Likewise.
25081 * libio/freopen64.c: Likewise.
25082 * misc/syslog.c: Likewise.
25083 * nscd/connections.c: Likewise.
25084 * nscd/netgroupcache.c: Likewise.
25085 * sysdeps/posix/getcwd.c: Likewise.
25086
38de94a5
RM
250872012-05-10 Roland McGrath <roland@hack.frob.com>
25088
25089 * math/w_ilogbf.c: Add #include <limits.h>.
25090
67530489
ST
250912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25092
a4186cff 25093 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
25094 path instead of returning without unlocking.
25095
67530489
ST
25096 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25097 immediate-write ioctls.
25098 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25099
5aa3a74a
TS
251002012-05-10 Thomas Schwinge <thomas@schwinge.name>
25101
18bad2ae
TS
25102 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25103 __builtin_frame_address instead of making assumptions about the
25104 location of the return address relative to DATA. Force early load of
25105 the return address.
25106 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25107 __builtin_frame_address.
25108
5aa3a74a
TS
25109 dup3 for GNU Hurd.
25110 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25111 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25112 implement dup3 and do some further code clean-ups.
25113 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25114 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25115
ecd0de9a
ST
251162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25117
cd9fa985
ST
25118 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25119
a4186cff
PT
25120 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25121 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25122 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25123 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25124 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25125 d->port.lock.
802ca5a5 25126
a4186cff
PT
25127 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25128 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25129 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 25130
bcf55240
TS
251312012-05-10 Thomas Schwinge <thomas@schwinge.name>
25132
6960eb42
TS
25133 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25134 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25135 definitions.
25136
eb43375f
TS
25137 accept4 for GNU Hurd.
25138 * include/sys/socket.h (__libc_accept4): New prototype.
25139 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25140 to implement __libc_accept4.
25141 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25142 __libc_accept4.
25143 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25144
bcf55240
TS
25145 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25146 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25147 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25148 signal-defines.sym.
25149
6178c55b
ST
251502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25151
a4186cff 25152 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 25153
6f080c2f
TS
251542012-05-10 Thomas Schwinge <thomas@schwinge.name>
25155
25156 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25157 assertion on O_CLOEXEC flag.
25158 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25159 * hurd/intern-fd.c: Likewise.
25160 * hurd/port2fd.c: Likewise.
25161
bcfe3a54
ST
251622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25163
25164 [BZ #3906]
25165 * bits/in.h (IPV6_PKTINFO): Define new macro.
25166 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25167
89c9aa49
AZ
251682012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25169
25170 [BZ #13954]
25171 [BZ #13955]
25172 [BZ #13956]
25173 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25175 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25176 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25177 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25178 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25179 * math/libm-test.inc (logb_test) : Additional logb tests.
25180
021db4be
AJ
251812012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25182 Andreas Jaeger <aj@suse.de>
25183
25184 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25185 * configure: Regenerated.
25186 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25187 * config.make.in (link-obsolete-rpc): New substituted variable.
25188 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25189 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25190 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25191 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25192 so that libc.a contains the symbols.
25193 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25194 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25195 * sunrpc/auth_none.c: Likewise.
25196 * sunrpc/auth_unix.c: Likewise.
25197 * sunrpc/authdes_prot.c: Likewise.
25198 * sunrpc/authuxprot.c: Likewise.
25199 * sunrpc/clnt_gen.c: Likewise.
25200 * sunrpc/clnt_perr.c: Likewise.
25201 * sunrpc/clnt_raw.c: Likewise.
25202 * sunrpc/clnt_simp.c: Likewise.
25203 * sunrpc/clnt_tcp.c: Likewise.
25204 * sunrpc/clnt_udp.c: Likewise.
25205 * sunrpc/clnt_unix.c: Likewise.
25206 * sunrpc/des_crypt.c: Likewise.
25207 * sunrpc/des_soft.c: Likewise.
25208 * sunrpc/get_myaddr.c: Likewise.
25209 * sunrpc/key_call.c: Likewise.
25210 * sunrpc/key_prot.c: Likewise.
25211 * sunrpc/netname.c: Likewise.
25212 * sunrpc/pm_getmaps.c: Likewise.
25213 * sunrpc/pm_getport.c: Likewise.
25214 * sunrpc/pmap_clnt.c: Likewise.
25215 * sunrpc/pmap_prot.c: Likewise.
25216 * sunrpc/pmap_prot2.c: Likewise.
25217 * sunrpc/pmap_rmt.c: Likewise.
25218 * sunrpc/publickey.c: Likewise.
25219 * sunrpc/rpc_cmsg.c: Likewise.
25220 * sunrpc/rpc_common.c: Likewise.
25221 * sunrpc/rpc_dtable.c: Likewise.
25222 * sunrpc/rpc_prot.c: Likewise.
25223 * sunrpc/rpc_thread.c: Likewise.
25224 * sunrpc/rtime.c: Likewise.
25225 * sunrpc/svc.c: Likewise.
25226 * sunrpc/svc_auth.c: Likewise.
25227 * sunrpc/svc_raw.c: Likewise.
25228 * sunrpc/svc_run.c: Likewise.
25229 * sunrpc/svc_tcp.c: Likewise.
25230 * sunrpc/svc_udp.c: Likewise.
25231 * sunrpc/svc_unix.c: Likewise.
25232 * sunrpc/svcauth_des.c: Likewise.
25233 * sunrpc/xcrypt.c: Likewise.
25234 * sunrpc/xdr.c: Likewise.
25235 * sunrpc/xdr_array.c: Likewise.
25236 * sunrpc/xdr_float.c: Likewise.
25237 * sunrpc/xdr_intXX_t.c: Likewise.
25238 * sunrpc/xdr_mem.c: Likewise.
25239 * sunrpc/xdr_rec.c: Likewise.
25240 * sunrpc/xdr_ref.c: Likewise.
25241 * sunrpc/xdr_sizeof.c: Likewise.
25242 * sunrpc/xdr_stdio.c: Likewise.
25243
b5c086a2
RM
252442012-05-10 Roland McGrath <roland@hack.frob.com>
25245
25246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25247 change. Update copyright years.
25248
6d74dd09
JM
252492012-05-10 Joseph Myers <joseph@codesourcery.com>
25250
25251 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25252
28e72501
MK
252532012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25254 Joseph Myers <joseph@codesourcery.com>
25255 Paul Pluzhnikov <ppluzhnikov@google.com>
25256
25257 [BZ #14012]
25258 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25259 requiring rpcgen.
25260 [cross-compiling] (extra-libs): Likewise.
25261 [cross-compiling] (extra-libs-others): Likewise.
25262 [cross-compiling] (librpcsvc-routines): Likewise.
25263 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25264 [cross-compiling] (omit-deps): Likewise.
25265 (sunrpc-CPPFLAGS): New variable.
25266 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25267 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25268 (cross-rpcgen-objs): New variable.
25269 (extra-objs): Append $(cross-rpcgen-objs).
25270 ($(cross-rpcgen-objs)): New rule.
25271 ($(objpfx)cross-rpcgen): Likewise.
25272 (rpcgen-cmd): Define to use $(built-program-file). Expand
25273 comment.
25274 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25275 ($(objpfx)x%.stmp): Likewise.
25276 * sunrpc/proto.h [IS_IN_build] (_): Define.
25277 [IS_IN_build] (_libc_intl_domainname): Likewise.
25278
c8c59454
L
252792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25280
25281 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25282 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25283 and R_X86_64_TPOFF64.
25284
6f27cd16
JM
252852012-05-10 Joseph Myers <joseph@codesourcery.com>
25286
25287 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25288 sysdeps/unix/sysv/syscalls.list.
25289 (stime): Likewise.
25290 (utime): Likewise.
25291 * sysdeps/unix/sysv/syscalls.list: Remove file.
25292
02467e1c
PE
252932012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25294
25295 [BZ #3440]
25296 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25297 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25298 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25299 (__LC_IDENTIFICATION): Make these macros useful in #if
25300 expressions, as required by C99.
25301
da392631
AS
253022012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25303
25304 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25305 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25306 after this.
25307
8115f29b
L
253082012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25309
25310 * stdlib/longlong.h: Updated from GCC.
25311
bdd74070
AJ
253122012-05-09 Andreas Jaeger <aj@suse.de>
25313
edfe0dbe
AJ
25314 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25315 default is first entry.
25316 (run_mode): Set type.
25317 (main): Remove informal message about syslog.
25318 (options): Fix typo.
25319
bcfe3a54
ST
25320 [BZ #14053]
25321 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25322 to asm.
bcfe3a54
ST
25323 (lrint): Likewise.
25324 (llrintf): Likewise.
25325 (llrint): Likewise.
25326 (rint): Likewise.
25327 (rintf): Likewise.
25328 (nearbyint): Likewise.
25329 (nearbyintf): Likewise.
bdd74070 25330
91d8d69e
AJ
253312012-05-09 Andreas Jaeger <aj@suse.de>
25332 Pedro Alves <palves@redhat.com>
25333
25334 * nscd/nscd.c (run_mode): Use enum.
25335 (main): Cleanup coding style issue.
25336
bb90b80b
AJ
253372012-05-09 Alexandre Oliva <aoliva@redhat.com>
25338 Andreas Jaeger <aj@suse.de>
25339
bcfe3a54
ST
25340 * nscd/nscd.c (go_background): Replaced with...
25341 (run_mode): ... this.
bb90b80b 25342 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25343 (options): Add -F --foreground.
25344 (main): Implement it.
25345 (parse_opt): Parse it.
bb90b80b 25346
1a4b75a1
AJ
253472012-05-09 Andreas Jaeger <aj@suse.de>
25348
25349 [BZ #14083]
25350 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25351 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25352 -Wconversion warning.
25353 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25354 Likewise.
25355
b1cc2472
JM
253562012-05-09 Joseph Myers <joseph@codesourcery.com>
25357
25358 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25359 == 0.
25360 (LC_ALL): Use macro-int-constant.
25361 (LC_COLLATE): Likewise.
25362 (LC_CTYPE): Likewise.
25363 (LC_MESSAGES): Likewise.
25364 (LC_MONETARY): Likewise.
25365 (LC_NUMERIC): Likewise.
25366 (LC_TIME): Likewise.
25367 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25368 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25370 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25371 Specify type.
25372 [C99-based standards] (float_t): Expect type.
25373 [C99-based standards] (double_t): Expect type.
25374 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25375 type.
25376 [C99-based standards] (HUGE_VALL): Likewise.
25377 [C99-based standards] (INFINITY): Likewise.
25378 [C99-based standards] (NAN): Likewise.
25379 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25380 [C99-based standards] (FP_NAN): Likewise.
25381 [C99-based standards] (FP_NORMAL): Likewise.
25382 [C99-based standards] (FP_SUBNORMAL): Likewise.
25383 [C99-based standards] (FP_ZERO): Likewise.
25384 [C99-based standards] (FP_FAST_FMA): Use
25385 optional-macro-int-constant. Specify type. Require == 1.
25386 [C99-based standards] (FP_FAST_FMAF): Likewise.
25387 [C99-based standards] (FP_FAST_FMAL): Likewise.
25388 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25389 [C99-based standards] (FP_ILOGBNAN): Likewise.
25390 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25391 Specify type.
25392 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25393 [C99-based standards] (math_errhandling): Specify type.
25394 [ISO99 || ISO11] (signgam): Do not allow.
25395 [non-C99-based standards] (copysignf): Do not allow.
25396 [non-C99-based standards] (exp2f): Likewise.
25397 [non-C99-based standards] (log2f): Likewise.
25398 [non-C99-based standards] (modff): Allow.
25399 [non-C99-based standards] (erff): Do not allow.
25400 [non-C99-based standards] (erfcf): Likewise.
25401 [non-C99-based standards] (gammaf): Likewise.
25402 [non-C99-based standards] (hypotf): Likewise.
25403 [non-C99-based standards] (j0f): Likewise.
25404 [non-C99-based standards] (j1f): Likewise.
25405 [non-C99-based standards] (jnf): Likewise.
25406 [non-C99-based standards] (lgammaf): Likewise.
25407 [non-C99-based standards] (tgammaf): Likewise.
25408 [non-C99-based standards] (y0f): Likewise.
25409 [non-C99-based standards] (y1f): Likewise.
25410 [non-C99-based standards] (ynf): Likewise.
25411 [non-C99-based standards] (isnanf): Likewise.
25412 [non-C99-based standards] (acoshf): Likewise.
25413 [non-C99-based standards] (asinhf): Likewise.
25414 [non-C99-based standards] (atanhf): Likewise.
25415 [non-C99-based standards] (cbrtf): Likewise.
25416 [non-C99-based standards] (expm1f): Likewise.
25417 [non-C99-based standards] (ilogbf): Likewise.
25418 [non-C99-based standards] (log1pf): Likewise.
25419 [non-C99-based standards] (logbf): Likewise.
25420 [non-C99-based standards] (nextafterf): Likewise.
25421 [non-C99-based standards] (remainderf): Likewise.
25422 [non-C99-based standards] (rintf): Likewise.
25423 [non-C99-based standards] (scalbf): Likewise.
25424 [non-C99-based standards] (copysignl): Likewise.
25425 [non-C99-based standards] (exp2l): Likewise.
25426 [non-C99-based standards] (log2l): Likewise.
25427 [non-C99-based standards] (modfl): Allow.
25428 [non-C99-based standards] (erfl): Do not allow.
25429 [non-C99-based standards] (erfcl): Likewise.
25430 [non-C99-based standards] (gammal): Likewise.
25431 [non-C99-based standards] (hypotl): Likewise.
25432 [non-C99-based standards] (j0l): Likewise.
25433 [non-C99-based standards] (j1l): Likewise.
25434 [non-C99-based standards] (jnl): Likewise.
25435 [non-C99-based standards] (lgammal): Likewise.
25436 [non-C99-based standards] (tgammal): Likewise.
25437 [non-C99-based standards] (y0l): Likewise.
25438 [non-C99-based standards] (y1l): Likewise.
25439 [non-C99-based standards] (ynl): Likewise.
25440 [non-C99-based standards] (isnanl): Likewise.
25441 [non-C99-based standards] (acoshl): Likewise.
25442 [non-C99-based standards] (asinhl): Likewise.
25443 [non-C99-based standards] (atanhl): Likewise.
25444 [non-C99-based standards] (cbrtl): Likewise.
25445 [non-C99-based standards] (expm1l): Likewise.
25446 [non-C99-based standards] (ilogbl): Likewise.
25447 [non-C99-based standards] (log1pl): Likewise.
25448 [non-C99-based standards] (logbl): Likewise.
25449 [non-C99-based standards] (nextafterl): Likewise.
25450 [non-C99-based standards] (remainderl): Likewise.
25451 [non-C99-based standards] (rintl): Likewise.
25452 [non-C99-based standards] (scalbl): Likewise.
25453 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25454 [non-C99-based standards] (FP_*): Do not allow.
25455 [C99-based standards] (FP_*): Change to
25456 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25457 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25458 allow.
25459 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25460 (SIG_ERR): Likewise.
25461 [X/Open-based standards] (SIG_HOLD): Likewise.
25462 (SIG_IGN): Likewise.
25463 (SIGABRT): Use macro-int-constant. Specify type. Require
25464 positive value.
25465 (SIGFPE): Likewise.
25466 (SIGILL): Likewise.
25467 (SIGINT): Likewise.
25468 (SIGSEGV): Likewise.
25469 (SIGTER): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25471 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25472 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25474 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25480 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25481 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25482 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25483 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25484 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25485 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25486 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25487 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25488 [X/Open-based standards] (SIGTRAP): Likewise.
25489 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25490 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25491 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25492 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25493 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25494 allow.
25495
b9f1922d
IW
254962012-05-08 Ian Wienand <ianw@vmware.com>
25497
25498 [BZ #14080]
25499 * time/tzset.c (__tzset_parse_tz): Update default rules for
25500 daylight time changes in the Energy Policy Act of 2005.
25501
1db86e88
AJ
255022012-05-09 Andreas Jaeger <aj@suse.de>
25503
25504 [BZ #13983]
25505 * elf/ldconfig.c (parse_conf): Change string to make clear that
25506 ldconfig only issued a warning if ld.so.conf does not exist.
25507
dee4a4e3
DM
255082012-05-08 David S. Miller <davem@davemloft.net>
25509
ee0db190
DM
25510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25511 movxtod instead of popping the value on the stack.
25512
dee4a4e3
DM
25513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25514
6a43ec98
CD
255152012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25516
25517 * config.h.in: Add HAVE_ARM_PCS_VFP.
25518
05c2c961
RMG
255192012-05-08 Roland Mc Grath <roland@hack.frob.com>
25520
bcfe3a54
ST
25521 [BZ #13979]
25522 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25523 checking but the checks are disabled for any reason.
05c2c961 25524
4b30f61a
L
255252012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25526
25527 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25528 and ELF64_R_TYPE with ELFW(R_TYPE).
25529
eee2bc67
JM
255302012-05-08 Joseph Myers <joseph@codesourcery.com>
25531
7ea5391a
JM
25532 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25533 (ulimit): Likewise.
25534
eee2bc67
JM
25535 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25536 (settimeofday): Likewise.
25537
abb66a67
MF
255382012-05-08 Mike Frysinger <vapier@gentoo.org>
25539
25540 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25541 a struct th_u2 inside the union, and move tu_block/tu_code into
25542 a new th_u3 union of tu_block/tu_code inside of that. Move
25543 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25544 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25545 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25546 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25547 (th_stuff): Change to th_u1.tu_stuff.
25548 (th_data): Define.
25549 (th_msg): Change to th_u1.th_u2.tu_data.
25550
7f18b530
DM
255512012-05-07 David S. Miller <davem@davemloft.net>
25552
05760585
DM
25553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25554
7f18b530
DM
25555 [BZ #14074]
25556 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25557 (SETUP_PIC_REG): Use it.
25558 (SETUP_PIC_REG_LEAF): Use it.
25559
495fd99f
JM
255602012-05-07 Joseph Myers <joseph@codesourcery.com>
25561
25562 [BZ #13885]
25563 [BZ #13923]
25564 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25565 USE_AS_EXPM1L.
25566 (EXPL_FINITE): Likewise.
25567 (FLDLOG): Likewise.
25568 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25569 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25570 e_expl.S.
25571 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25572 USE_AS_EXPM1L.
25573 (EXPL_FINITE): Likewise.
25574 (FLDLOG): Likewise.
25575 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25576 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25577 e_expl.S.
25578 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25579 test of -max_value argument for long double.
25580 * sysdeps/i386/fpu/libm-test-ulps: Update.
25581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25582
6693d694
DM
255832012-05-06 David S. Miller <davem@davemloft.net>
25584
25585 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25586 quad soft-float symbols whose references which are compiler
25587 generated.
25588 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25589
6c23e11c
JM
255902012-05-06 Joseph Myers <joseph@codesourcery.com>
25591
d8b82cad
JM
25592 [BZ #13884]
25593 [BZ #13914]
25594 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25595 USE_AS_EXP10L.
25596 (EXPL_FINITE): Likewise.
25597 (FLDLOG): Likewise.
25598 (c0): Likewise.
25599 (c1): Likewise.
25600 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25601 Adjust comments for base varying.
25602 (__expl_finite): Change alias to EXPL_FINITE.
25603 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25604 e_expl.S.
25605 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25606 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25607 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25608 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25609 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25610 USE_AS_EXP10L.
25611 (EXPL_FINITE): Likewise.
25612 (FLDLOG): Likewise.
25613 (c0): Likewise.
25614 (c1): Likewise.
25615 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25616 Adjust comments for base varying.
25617 (__expl_finite): Change alias to EXPL_FINITE.
25618 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25619 tests for bugs.
25620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25621
6c23e11c
JM
25622 [BZ #14064]
25623 * math/libm-test.inc (check_float_internal): Correct ulp
25624 calculation for subnormal expected results.
25625
29ba805c
AJ
256262012-05-06 Andreas Jaeger <aj@suse.de>
25627
25628 * Makeconfig (+math-flags): New, set to -frounding-math.
25629 (+cflags): Add +math-flags so that all of glibc gets compiled with
25630 it.
25631
25632 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25633
7b17aeda
JM
256342012-05-05 Joseph Myers <joseph@codesourcery.com>
25635
5779f134
JM
25636 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25637 Disable one test.
25638
41498f4d
JM
25639 [BZ #13787]
25640 [BZ #13922]
25641 [BZ #14036]
25642 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25643 (__ieee754_expl): Allow for and saturate large arguments.
25644 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25645 (u_threshold): Likewise.
25646 (__exp): Call __ieee754_exp before checking for overflow and
25647 underflow.
25648 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25649 (u_threshold): Likewise.
25650 (__expf): Call __ieee754_expf before checking for overflow and
25651 underflow.
25652 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25653 (u_threshold): Likewise.
25654 (__expl): Call __ieee754_expl before checking for overflow and
25655 underflow.
25656 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25657 (__ieee754_expl): Allow for and saturate large arguments.
25658 * math/libm-test.inc (exp_test): Add another test. Do not allow
25659 missing overflow exception on overflow.
25660 (expm1_test): Do not allow missing overflow exception on overflow.
25661
6698b8bf
JM
25662 * sysdeps/i386/fpu/e_expl.c: Move to ...
25663 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25664 rather than using inline asm.
25665 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25666 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25667 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25668
7b17aeda
JM
25669 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25670 (nice): Likewise.
25671 (poll): Likewise.
25672 (signal): Likewise.
25673 (time): Likewise.
25674 (times): Likewise.
25675
f7c85819
JM
256762012-05-04 Joseph Myers <joseph@codesourcery.com>
25677
25678 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25679 sysdeps/unix/common/syscalls.list.
25680 (fchmod): Likewise.
25681 (fchown): Likewise.
25682 (ftruncate): Likewise.
25683 (getrusage): Likewise.
25684 (gettimeofday): Likewise.
25685 (setpgid): Likewise.
25686 (setregid): Likewise.
25687 (setreuid): Likewise.
25688 (sigaction): Likewise.
25689 (truncate): Likewise.
25690 (vhangup): Likewise.
25691 * sysdeps/unix/common/syscalls.list: Remove file.
25692 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25693 * sysdeps/unix/sysv/linux/Implies: Likewise.
25694
336270d0
L
256952012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25696
25697 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25699 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25700 Moved to ...
25701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25702 Here.
25703 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25704 to ...
25705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25706 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25707 to ...
25708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25709 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25710 to ...
25711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25712 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25713 to ...
25714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25715 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25716 to ...
25717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25718 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25719 to ...
25720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25721 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25722 to ...
25723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25724 Here.
25725 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25726 to ...
25727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25728 Here.
25729 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25730 to ...
25731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25732 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25733 Moved to ...
25734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25735 Here.
25736 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25737 to ...
25738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25739
d128e450
JM
257402012-05-04 Joseph Myers <joseph@codesourcery.com>
25741
fa8ee516
JM
25742 * sysdeps/unix/common/bits/dirent.h: Remove file.
25743 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25744
d128e450
JM
25745 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25746 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25747 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25748 * sysdeps/unix/bsd/isatty.c: Likewise.
25749 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25750 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25751 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25752
ff8faaf0 257532012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25754
62881be4 25755 [BZ #13563]
31dc8730
AZ
25756 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25757 long double comparison inaccuracies.
25758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25760
6fef930c
AS
257612012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25762
25763 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25764 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25765
8f203e6c
JM
257662012-05-04 Joseph Myers <joseph@codesourcery.com>
25767
25768 [BZ #14049]
25769 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25770 nonzero digits before rounding a hex value.
25771 * stdlib/tst-strtod.c (tests): Add another test.
25772
5197d9c2
AK
257732012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25774
25775 * sysdeps/s390/fpu/libm-test-ulps: Update.
25776
f0c1dedf
AJ
257772012-05-03 Andreas Jaeger <aj@suse.de>
25778
25779 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25780 does not get optimized out.
25781 (malloc_opt_barrier): New.
25782
a65ef2ae 257832012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25784 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25785
2b942cb7 25786 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25787 intermediate file deletion.
2b942cb7 25788 (generated): Add .symlist files.
a65ef2ae 25789
54b71e02
JM
257902012-05-03 Joseph Myers <joseph@codesourcery.com>
25791
25792 [BZ #13775]
25793 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25794 Redirect under this condition.
25795 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25796 [__USE_GNU] (__dprintf_chk): Not under this condition.
25797 [__USE_GNU] (__vdprintf_chk): Likewise.
25798 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25799 under this condition.
25800 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25801 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25802 [__USE_XOPEN2K8] (vdprintf): Likewise.
25803 [__USE_GNU] (__dprintf_chk): Not under this condition.
25804 [__USE_GNU] (__vdprintf_chk): Likewise.
25805 [__USE_GNU] (dprintf): Likewise.
25806 [__USE_GNU] (vdprintf): Likewise.
25807
d3dfcc41
RM
258082012-05-03 Roland McGrath <roland@hack.frob.com>
25809
25810 * elf/Makefile (common-generated): Set this instead of generated for
25811 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25812 $(all-built-dso)-derived lists.
25813
7ac30cc5
AJ
258142012-05-03 Andreas Jaeger <aj@suse.de>
25815
0c51e550
AJ
25816 * sysdeps/i386/fpu/libm-test-ulps: Update.
25817
7ac30cc5
AJ
25818 * FAQ: Removed.
25819 * FAQ.in: Likewise.
25820 * scripts/gen-FAQ.pl: Likewise.
25821 * manual/install.texi (Installation): Point to online location of
25822 FAQ.
25823 * Makefile (files-for-dist): Remove FAQ.
25824 (FAQ): Remove.
25825
d4c2917f
AM
258262012-05-02 Allan McRae <allan@archlinux.org>
25827
25828 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25829 (LDFLAGS-reldepmod5.so): Likewise.
25830 (LDFLAGS-reldep6mod1.so): Likewise.
25831 (LDFLAGS-reldep6mod4.so): Likewise.
25832 (LDFLAGS-reldep8mod3.so): Likewise.
25833 (LDFLAGS-unload4mod1.so): Likewise.
25834 (LDFLAGS-unload4mod2.so): Likewise.
25835 (LDFLAGS-tst-initorder): Likewise.
25836 (LDFLAGS-tst-initordera2.so): Likewise.
25837 (LDFLAGS-tst-initordera3.so): Likewise.
25838 (LDFLAGS-tst-initordera4.so): Likewise.
25839 (LDFLAGS-tst-initorderb2.so): Likewise.
25840 (LDFLAGS-noload): Likewise.
25841 (LDFLAGS-next): Likewise.
25842 (LDFLAGS-order2mod1.so): Likewise.
25843 (LDFLAGS-order2mod2.so): Likewise.
25844 (LDFLAGS-tst-initorder2): Likewise.
25845 (LDFLAGS-tst-initorder2a.so): Likewise.
25846 (LDFLAGS-tst-initorder2b.so): Likewise.
25847 (LDFLAGS-tst-initorder2c.so): Likewise.
25848 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25849
d77f993f
DM
258502012-05-02 David S. Miller <davem@davemloft.net>
25851
25852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25853
171a70b4
PP
258542012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25855
25856 [BZ #14055]
25857 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25858
0be196ad
AJ
258592012-05-02 Andreas Jaeger <aj@suse.de>
25860
25861 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25862 since we manipulate rounding mode.
25863 (CPPFLAGS-test-idouble.c): Likewise.
25864 (CPPFLAGS-test-ifloat.c): Likewise.
25865 (CFLAGS-test-ldouble.c): Likewise.
25866 (CFLAGS-test-double.c): Likewise.
25867 (CFLAGS-test-float.c): Likewise.
25868 (CFLAGS-test-misc.c): Likewise.
25869 (CFLAGS-test-test-fenv.c): Likewise.
25870
4f9d04aa
AZ
258712012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25872
2b942cb7
RM
25873 [BZ #2550]
25874 [BZ #2570]
25875 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25876 comparisons to determine direction to adjust input.
4f9d04aa 25877
82a79e7d
RM
258782012-05-01 Roland McGrath <roland@hack.frob.com>
25879
f5a01ca9
RM
25880 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25881 output to the target.
25882
90fe4186
RM
25883 * scripts/localplt.awk: New file.
25884 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25885 (check-localplt-CFLAGS): Variable removed.
25886 ($(all-built-dso:=.jmprel)): New static pattern rule.
25887 (generated): Add those targets.
25888 (localplt-built-dso): New variable.
25889 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25890
25891 * elf/check-localplt.c: File removed.
25892
82397ed6
RM
25893 * scripts/check-execstack.awk: New file.
25894 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25895 (check-execstack-CFLAGS): Variable removed.
25896 ($(objpfx)check-execstack.h): Target removed.
25897 ($(objpfx)execstack-default): New target.
25898 (generated): Add that instead of check-execstack.h.
25899 ($(all-built-dso:=.phdr)): New static pattern rule.
25900 (generated): Add those targets.
25901 * elf/check-execstack.c: File removed.
25902
82a79e7d
RM
25903 * scripts/check-textrel.awk: New file.
25904 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25905 (check-textrel-CFLAGS): Variable removed.
25906 (all-built-dso): Use := to define.o
25907 ($(all-built-dso:=.dyn)): New static pattern rule.
25908 (generated): Add those targets.
25909 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25910 * config.make.in (READELF): New substituted variable.
25911 * elf/check-textrel.c: File removed.
25912
62fde54f 259132012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25914
615605c9
JM
25915 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25916 allow.
25917 * conform/data/ctype.h-data [C99-based standards] (isblank):
25918 Expect function.
25919 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25920 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25921 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25922 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25923 Specify type. Require positive value.
25924 (EILSEQ): Likewise.
25925 (ERANGE): Likewise.
25926 [ISO || POSIX] (EILSEQ): Do not expect.
25927 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25928 Specify type. Require positive value.
25929 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25931 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25932 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25933 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25934 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25935 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25936 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25937 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25938 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25939 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25940 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25941 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25942 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25943 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25944 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25945 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25946 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25947 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25948 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25949 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25950 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25951 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25952 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25953 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25954 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25955 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25956 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25957 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25958 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25959 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25960 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25961 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25962 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25963 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25964 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25965 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25966 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25967 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25968 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25969 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25970 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25971 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25972 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25973 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25974 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25975 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25976 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25977 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25978 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25979 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25980 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25981 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25982 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25983 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25984 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25985 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25986 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25987 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25988 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25989 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25990 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25991 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25992 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25993 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25994 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25995 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25996 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25997 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25998 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25999 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26000 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26001 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26002 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26003 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26004 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26005 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26006 Require >= 2.
26007 (FLT_ROUNDS): Expect as macro, not constant.
26008 (FLT_MANT_DIG): Use macro-int-constant.
26009 (DBL_MANT_DIG): Likewise.
26010 (LDBL_MANT_DIG): Likewise.
26011 (FLT_DIG): Likewise.
26012 (DBL_DIG): Likewise.
26013 (LDBL_DIG): Likewise.
26014 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26015 (DBL_MIN_EXP): Likewise.
26016 (LDBL_MIN_EXP): Likewise.
26017 (FLT_MAX_EXP): Use macro-int-constant.
26018 (DBL_MAX_EXP): Likewise.
26019 (LDBL_MAX_EXP): Likewise.
26020 (FLT_MAX_10_EXP): Likewise.
26021 (DBL_MAX_10_EXP): Likewise.
26022 (LDBL_MAX_10_EXP): Likewise.
26023 (FLT_MAX): Use macro-constant.
26024 (DBL_MAX): Likewise.
26025 (LDBL_MAX): Likewise.
26026 (FLT_EPSILON): Use macro-constant. Give upper bound.
26027 (DBL_EPSILON): Likewise.
26028 (LDBL_EPSILON): Likewise.
26029 (FLT_MIN): Likewise.
26030 (DBL_MIN): Likewise.
26031 (LDBL_MIN): Likewise.
26032 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26033 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26034 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26035 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26036 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26037 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26038 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26039 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26040 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26041 [ISO11] (FLT_TRUE_MIN): Likewise.
26042 [ISO11] (LDBL_TRUE_MIN): Likewise.
26043 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26044 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26045 (SCHAR_MIN): Use macro-int-constant. Specify type.
26046 (SCHAR_MAX): Likewise.
26047 (UCHAR_MAX): Likewise.
26048 (CHAR_MIN): Likewise.
26049 (CHAR_MAX): Likewise.
26050 (MB_LEN_MAX): Use macro-int-constant.
26051 (SHRT_MIN): Use macro-int-constant. Specify type.
26052 (SHRT_MAX): Likewise.
26053 (USHRT_MAX): Likewise.
26054 (INT_MAX): Likewise.
26055 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26056 bound negative.
26057 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26058 bound with "U".
26059 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26060 bound with "L".
26061 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26062 bound negative. Suffix upper bound with "L".
26063 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26064 bound with "UL".
26065 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26066 Specify type.
26067 [C99-based standards] (LLONG_MAX): Likewise.
26068 [C99-based standards] (ULLONG_MAX): Likewise.
26069 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26070 == 0.
26071 [ISO11] (max_align_t): Require type.
26072 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26073
c9140a62
JM
26074 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26075 from $CFLAGS, without defining away __attribute__ calls.
26076 (checknamespace): Use $CFLAGS_namespace.
26077
9af0bf29
JM
26078 * conform/conformtest.pl (@keywords): Only include C99 keywords
26079 for standards based on C99 or C11.
26080
343222a2
JM
26081 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26082 Disable tests.
26083 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26084 UNIX98]: Likewise.
26085
661f8cf0
JM
26086 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26087 usability of symbols in #if.
26088
ee74b9cb
JM
26089 * conform/conformtest.pl: If macro or constant types start
26090 "promoted:", expect the symbol to be of the following type
26091 promoted by the integer promotions.
62fde54f 26092
aafc49b3
JM
26093 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26094 in one place. Also handle "macro-constant".
26095
fefdf574
JM
26096 * conform/conformtest.pl: Only accept expected macro values with
26097 "==". Parse all "macro" lines in one place.
26098 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26099
f2d922fe
JM
26100 * conform/conformtest.pl: Handle braced types on "constant" lines
26101 instead of handling "typed-constant".
26102 * conform/data/signal.h-data: Use "constant" instead of
26103 "typed-constant".
26104
d22956c9
JM
26105 * conform/conformtest.pl: Handle "optional-" at start of lines in
26106 one place rather than duplicating several cases. Handle each
26107 format of "macro" line with initial "optional-".
26108
028e2e38
JM
26109 * conform/conformtest.pl: Only accept expected constant or
26110 optional-constant values with "==". Parse all "constant" lines in
26111 one place. Parse all "optional-constant" lines in one place.
26112 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26113 * conform/data/fmtmsg.h-data: Likewise.
26114 * conform/data/netinet/in.h-data: Likewise.
26115 * conform/data/tar.h-data: Likewise.
26116 * conform/data/limits.h-data: Use "==" form on "constant" and
26117 "optional-constant" lines.
26118
1b8f2850
JM
26119 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26120 Use -std=c99 for XOPEN2K.
26121 (@knownproblems): Remove.
26122 (newtoken): Don't check %isknown.
26123
a05a144b
JM
26124 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26125 Do not expect macro.
26126 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26127 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26128 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26129 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26130 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26131 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26132 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26133 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26134 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26135 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26136 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26137 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26138 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26139 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26140 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26141 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26142 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26143 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26144 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26145 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26146 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26147 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26148 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26149 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26150 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26151 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26152 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26153 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26154 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26155 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26156 [XPG3] (acosh): Likewise.
26157 [XPG3] (asinh): Likewise.
26158 [XPG3] (atanh): Likewise.
26159 [XPG3] (cbrt): Likewise.
26160 [XPG3] (expm1): Likewise.
26161 [XPG3] (ilogb): Likewise.
26162 [XPG3] (log1p): Likewise.
26163 [XPG3] (logb): Likewise.
26164 [XPG3] (nextafter): Likewise.
26165 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26166 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26167 [XPG3] (remainder): Likewise.
26168 [XPG3] (rint): Likewise.
26169 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26170 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26171 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26172 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26173 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26174 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26175 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26176 [UNIX98 || XOPEN2K] (scalb): Expect.
26177 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26178 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26179 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26180 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26181 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26182 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26183 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26187 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26193 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26194 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26195 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26199 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26213 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26214 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26215 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26216 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26217 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26218 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26219 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26220 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26221 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26222 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26223 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26224 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26225 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26238 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26239 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26240 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26242 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26243 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26244 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26245 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26246 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26247 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26248 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26249 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26250 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26251 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26252 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26253 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26254 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26255 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26256 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26257 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26258 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26259 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26260 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26261 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26262 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26263 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26264 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26265 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26266 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26267 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26268 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26269 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26270 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26271 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26272 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26274 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26275 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26276 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26277 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26278 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26279 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26280 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26281 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26282 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26283 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26284 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26285 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26286 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26287 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26288 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26289 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26290 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26291 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26292 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26293 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26294 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26295 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26296 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26297 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26298 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26299 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26300 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26301 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26302 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26303 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26304 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26305 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26306 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26307 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26308 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26309 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26310 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26311 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26312 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26313 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26314
73c5ebe3
JM
26315 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26316 _XOPEN_SOURCE_EXTENDED for XPG4.
26317
39c33b6c
JM
26318 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26319
62fde54f
JM
26320 * Makeconfig (localtime): Remove variable.
26321 (inst_localtime-file): Likewise.
26322
0741d64c
AS
263232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26324
26325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26326 Update.
26327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26328 Update.
26329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26330 Update.
26331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26332 Update.
26333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26334 Update.
26335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26336 Update.
26337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26338 Update.
26339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26340 Update.
26341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26342 Update.
26343
7cb029ee
JM
263442012-05-01 Joseph Myers <joseph@codesourcery.com>
26345
26346 [BZ #2550]
26347 [BZ #2570]
26348 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26349 comparisons to determine direction to adjust input.
26350 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26351 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26352 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26353 Likewise.
26354 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26355 Likewise.
26356 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26357 Likewise.
26358 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26359 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26360 Likewise.
26361 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26362 Likewise.
26363 * math/libm-test.inc (nexttoward_test): Add more tests.
26364
412bd966
AS
263652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26366
26367 [BZ #14040]
26368 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26369 in version GLIBC_2.1, not GLIBC_2.0.
26370 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26371 Likewise.
26372
9568c0c2
JM
263732012-04-30 Joseph Myers <joseph@codesourcery.com>
26374
adfbc8ac
JM
26375 [BZ #13942]
26376 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26377 (1 - x) * (1 + x).
26378 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26379 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26380 * math/libm-test.inc (acos_test): Add more tests.
26381 (asin_test): Likewise.
26382 * sysdeps/i386/fpu/libm-test-ulps: Update.
26383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26384
5ba3cc69
JM
26385 [BZ #14034]
26386 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26387 of square root.
26388 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26389 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26390 * math/libm-test.inc (acos_test_tonearest): New function.
26391 (acos_test_towardzero): Likewise.
26392 (acos_test_downward): Likewise.
26393 (acos_test_upward): Likewise.
26394 (asin_test_tonearest): Likewise.
26395 (asin_test_towardzero): Likewise.
26396 (asin_test_downward): Likewise.
26397 (asin_test_upward): Likewise.
26398 (main): Call the new functions.
26399 * sysdeps/i386/fpu/libm-test-ulps: Update.
26400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26401
9568c0c2
JM
26402 [BZ #13884]
26403 [BZ #13924]
26404 * math/e_exp10.c: Include <float.h>.
26405 (__ieee754_exp10): Handle underflow here rather than multiplying
26406 large negative argument by M_LN10.
26407 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26408 of __ieee754_expf.
26409 * math/e_exp10l.c: Include <float.h>.
26410 (__ieee754_exp10l): Handle underflow here rather than multiplying
26411 large negative argument by M_LN10l.
26412 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26413 spurious overflow exception on underflow.
26414
5ac3ea17
MP
264152012-04-29 Marek Polacek <polacek@redhat.com>
26416
26417 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26418 (__fortify_function): New macro.
26419 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26420 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26421 __extern_always_inline.
26422 * libio/bits/stdio2.h: Likewise.
26423 * libio/bits/stdio.h: Likewise.
26424 * string/string.h: Likewise.
26425 * string/bits/string3.h: Likewise.
26426 * include/stdio.h: Likewise.
26427 * stdlib/bits/stdlib.h: Likewise.
26428 * stdlib/stdlib.h: Likewise.
26429 * rt/bits/mqueue2.h: Likewise.
26430 * rt/mqueue.h: Likewise.
26431 * posix/bits/unistd.h: Likewise.
26432 * posix/unistd.h: Likewise.
26433 * io/bits/poll2.h: Likewise.
26434 * io/bits/fcntl2.h: Likewise.
26435 * io/fcntl.h: Likewise.
26436 * io/sys/poll.h: Likewise.
26437 * misc/bits/syslog.h: Likewise.
26438 * misc/bits/syslog-ldbl.h: Likewise.
26439 * misc/sys/syslog.h: Likewise.
26440 * socket/bits/socket2.h: Likewise.
26441 * socket/sys/socket.h: Likewise.
26442 * debug/tst-chk1.c: Likewise.
26443 * wcsmbs/bits/wchar2.h: Likewise.
26444 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26445 * wcsmbs/wchar.h: Likewise.
26446
ecf0ebfb
AJ
264472012-04-29 Andreas Jaeger <aj@suse.de>
26448
26449 * Makerules (tests): Remove enable-check-abi protection.
26450 (check-abi-warn): Remove.
26451 (check-abi-%): Remove check-abi-warn usage.
26452
26453 * configure.in: Remove check-abi configure option.
26454 * configure: Regenerated.
26455 * config.make.in (enable-check-abi): Remove.
26456
6d5c57fa
AS
264572012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26458
24c5d07e 26459 [BZ #14033]
ded5180a
AS
26460 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26461 double functions to double *_finite functions.
26462
7e0d315d
AS
26463 [BZ #13941]
26464 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26465 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26466 LDBL_MIN_EXP.
26467 * stdio-common/Makefile (tests): Add tst-sprintf3.
26468 * stdio-common/tst-sprintf3.c: New file.
26469
6d5c57fa
AS
26470 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26471 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26472
0749ff8b
JM
264732012-04-28 Joseph Myers <joseph@codesourcery.com>
26474
26475 * conform/conformtest.pl: Remove duplicate typed-constant
26476 handling.
26477
8dbd5d7b
DM
264782012-04-28 David S. Miller <davem@davemloft.net>
26479
26480 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26481 (check-abi-%): Remove AWK script prerequisite and explicit
26482 abilist directory.
26483 (check-abi): Rewrite to just diff the symlist with the abilist.
26484 (config-tls, config-abi-config): Delete, no longer used.
26485 (update-abi-%): Remove AWK script and explicit abilist directory.
26486 (update-abi): Rewrite to simply compare and conditionally copy the
26487 symlist and the sysdep abilist file. Remove update-abi-config
26488 checks.
26489 * abilist/ld.abilist: Remove.
26490 * abilist/libBrokenLocale.abilist: Remove.
26491 * abilist/libanl.abilist: Remove.
26492 * abilist/libcrypt.abilist: Remove.
26493 * abilist/libdl.abilist: Remove.
26494 * abilist/librt.abilist: Remove.
26495 * abilist/libthread_db.abilist: Remove.
26496 * abilist/libutil.abilist: Remove.
26497 * scripts/extract-abilist.awk: Remove.
26498 * scripts/merge-abilist.awk: Remove.
26499 * sysdeps/generic/libcidn.abilist: New file.
26500 * sysdeps/generic/libnss_compat.abilist: New file.
26501 * sysdeps/generic/libnss_db.abilist: New file.
26502 * sysdeps/generic/libnss_dns.abilist: New file.
26503 * sysdeps/generic/libnss_files.abilist: New file.
26504 * sysdeps/generic/libnss_hesiod.abilist: New file.
26505 * sysdeps/generic/libnss_nis.abilist: New file.
26506 * sysdeps/generic/libnss_nisplus.abilist: New file.
26507 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26508 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26509 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26510 file.
26511 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26512 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26513 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26514 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26515 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26516 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26517 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26518 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26519 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26520 file.
26521 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26522 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26523 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26524 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26525 file.
26526 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26527 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26528 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26529 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26530 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26531 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26532 file.
26533 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26534 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26535 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26536 file.
26537 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26539 New file.
26540 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26541 New file.
26542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26543 New file.
26544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26545 New file.
26546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26547 New file.
26548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26549 New file.
26550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26551 New file.
26552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26553 New file.
26554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26555 New file.
26556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26557 New file.
26558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26559 New file.
26560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26561 New file.
26562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26563 New file.
26564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26565 file.
26566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26567 New file.
26568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26569 New file.
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26571 file.
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26573 New file.
26574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26575 New file.
26576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26577 file.
26578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26579 New file.
26580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26581 New file.
26582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26583 New file.
26584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26585 New file.
26586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26587 New file.
26588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26589 New file.
26590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26592 file.
26593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26594 New file.
26595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26596 file.
26597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26598 file.
26599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26600 file.
26601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26602 file.
26603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26604 file.
26605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26606 New file.
26607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26608 file.
26609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26610 file.
26611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26612 New file.
26613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26614 file.
26615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26617 file.
26618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26619 New file.
26620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26621 file.
26622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26623 file.
26624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26625 file.
26626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26627 file.
26628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26629 file.
26630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26631 New file.
26632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26633 file.
26634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26635 file.
26636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26637 New file.
26638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26639 file.
26640 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26641 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26642 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26643 file.
26644 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26645 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26646 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26647 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26648 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26649 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26650 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26651 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26652 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26653 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26656 file.
26657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26658 New file.
26659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26660 file.
26661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26662 file.
26663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26664 file.
26665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26666 file.
26667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26668 file.
26669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26670 New file.
26671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26672 New file.
26673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26674 file.
26675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26676 New file.
26677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26678 file.
26679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26681 file.
26682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26683 New file.
26684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26685 file.
26686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26687 file.
26688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26689 file.
26690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26691 file.
26692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26693 file.
26694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26695 New file.
26696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26697 New file.
26698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26699 file.
26700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26701 New file.
26702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26703 file.
26704
41d73a1b
JM
267052012-04-28 Joseph Myers <joseph@codesourcery.com>
26706
26707 * conform/conformtest.pl: Fix typo in handling typed-constant from
26708 allow-header.
26709
28aeeda4
JM
267102012-04-27 Joseph Myers <joseph@codesourcery.com>
26711
adae8f5e
JM
26712 * README: Cut down references to pre-2.6 Linux kernels and
26713 Linuxthreads. Update lists of configurations in libc and ports
26714 and sort alphabetically. Say "or newer" with Linux kernel version
26715 requirements.
26716
28aeeda4
JM
26717 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26718
a462cb63
RA
267192012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26720
26721 [BZ #887]
26722 * math/libm-test.inc (logb_test_downward): New test to expose
26723 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26724 rounding mode.
26725
6ad3493e
JM
267262012-04-27 Joseph Myers <joseph@codesourcery.com>
26727
26728 [BZ #14027]
26729 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26730 to be done.
26731 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26732 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26733
2ce4f015
JM
267342012-04-26 Joseph Myers <joseph@codesourcery.com>
26735
5aeb141a
JM
26736 * sysdeps/unix/i386/brk.S: Remove file.
26737 * sysdeps/unix/i386/dl-brk.S: Likewise.
26738 * sysdeps/unix/i386/pipe.S: Likewise.
26739 * sysdeps/unix/i386/sigreturn.S: Likewise.
26740 * sysdeps/unix/i386/syscall.S: Likewise.
26741 * sysdeps/unix/i386/vfork.S: Likewise.
26742 * sysdeps/unix/i386/wait.S: Likewise.
26743
7143acae
JM
26744 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26745 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26746
2ce4f015
JM
26747 * configure.in (arm*-none*): Do not allow without
26748 --enable-hacker-mode.
26749 (netbsd*): Remove case setting base_os.
26750 (386bsd*): Likewise.
26751 (freebsd*): Likewise.
26752 (bsdi*): Likewise.
26753 (osf*): Likewise.
26754 (sunos*): Likewise.
26755 (ultrix*): Likewise.
26756 (newsos*): Likewise.
26757 (dynix*): Likewise.
26758 (*bsd*): Likewise.
26759 (sysv*): Likewise.
26760 (isc*): Likewise.
26761 (esix*): Likewise.
26762 (sco*): Likewise.
26763 (minix*): Likewise.
26764 (irix4*): Likewise.
26765 (irix6*): Likewise.
26766 (solaris[2-9]*): Likewise.
26767 (none): Likewise.
26768 * configure: Regenerated.
26769
0ac229c8
AZ
267702012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26771
26772 [BZ #11521]
26773 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26774 overflow or cancellation in calculating denominator.
26775 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26776 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26777 down expression to avoid unexpected rounding in newer GCCs.
26778 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26779
33f244f4
DM
267802012-04-26 David S. Miller <davem@davemloft.net>
26781
26782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26783 long-double compat symbols.
26784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26797
cfa1f3e8
DM
267982012-04-25 David S. Miller <davem@davemloft.net>
26799
26800 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26801 HWCAP_* values only after the memory barriers have been defined.
26802 (atomic_full_barrier): Define.
26803 (atomic_read_barrier): Define.
26804 (atomic_write_barrier): Define.
26805
6e236b92
SP
268062012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26807
26808 * shlib-versions: Add libgcc_s version information.
26809 * sysdeps/generic/libgcc_s.h: Remove.
26810 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26811 libgcc_s.h.
26812 * sysdeps/gnu/unwind-resume.c: Likewise.
26813 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26814
aab39a09
DM
268152012-04-25 David S. Miller <davem@davemloft.net>
26816
26817 * sysdeps/unix/sparc/brk.S: Delete.
26818 * sysdeps/unix/sparc/dl-brk.S: Delete.
26819 * sysdeps/unix/sparc/pipe.S: Delete.
26820 * sysdeps/unix/sparc/sysdep.S: Delete.
26821 * sysdeps/unix/sparc/sysdep.h: Delete.
26822 * sysdeps/unix/sparc/vfork.S: Delete.
26823 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26824 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26825 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26826 ret_ERRVAL, r0, r1, MOVE): Define.
26827 (JUMPTARGET): Remove.
26828 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26829 sysdeps/unix/sparc/sysdep.h
26830 (ENTRY, END): Remove.
26831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26832
a3cc4f48
JM
268332012-04-25 Joseph Myers <joseph@codesourcery.com>
26834
2ed8cda2
JM
26835 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26836 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26837 -DIS_IN_build.
26838
35d76d59
JM
26839 * timezone/README: Update upstream location and email address for
26840 tzcode and tzdata.
26841 * timezone/zdump.c: Update from tzcode 2012b.
26842 * timezone/zic.c: Likewise.
26843
a3cc4f48
JM
26844 * configure.in (libc_cv_as_needed): Remove test.
26845 * configure: Regenerated.
26846 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26847 conditional definition.
26848 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26849 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26850 * config.make.in (have-as-needed): Remove variable.
26851
ceab42c3
SP
268522012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26853 Paul Pluzhnikov <ppluzhnikov@google.com>
26854
26855 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26856 strings correctly.
26857
3ce2865f
CLT
268582012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26859
26860 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26861 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26862 * sysdeps/sh/strlen.S: Likewise.
26863
f37e0d68
JM
268642012-04-24 Joseph Myers <joseph@codesourcery.com>
26865
ae186e9a
JM
26866 * sysdeps/unix/fork.S: Remove file.
26867 * sysdeps/unix/i386/fork.S: Likewise.
26868 * sysdeps/unix/sparc/fork.S: Likewise.
26869
b96914af
JM
26870 * sysdeps/unix/system.c: Remove file.
26871 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26872
f37e0d68
JM
26873 * sysdeps/unix/getegid.S: Remove file.
26874 * sysdeps/unix/geteuid.S: Likewise.
26875
87ef29ca
RM
268762012-04-24 Roland McGrath <roland@hack.frob.com>
26877
83bcd236
RM
26878 * scripts/check-localplt.awk: New file.
26879 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26880 of diff.
26881 * scripts/data/localplt-generic.data: Add a comment.
26882
87ef29ca
RM
26883 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26884 NODE when __dir_mkfile failed.
26885 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26886 Reported by Ludovic Courtès <ludo@gnu.org>.
26887
e5a6e567
AJ
268882012-04-24 Andreas Jaeger <aj@suse.de>
26889
26890 * Makerules (common-clean): Also remove gen-as-const-headers
26891 files.
26892
c1820385
JM
268932012-04-24 Joseph Myers <joseph@codesourcery.com>
26894
26895 * Makerules (native-compile): Do not change working directory for
26896 build. Use $(OUTPUT_OPTION) in command.
26897 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26898
94e02fc4
AZ
268992012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26900
26901 [BZ #13886]
26902 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26903 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26904 * math/libm-test.inc (floor_test): Add more tests.
26905 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26906
3a533ca3
JM
269072012-04-24 Joseph Myers <joseph@codesourcery.com>
26908
940ab4b3
JM
26909 * sysdeps/unix/getdents.c: Remove file.
26910 * sysdeps/unix/sysv/getdents.c: Likewise.
26911 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26912
90e037bd
JM
26913 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26914 sysdeps/unix/mman/syscalls.list.
26915 (mmap): Likewise.
26916 (mprotect): Likewise.
26917 (msync): Likewise.
26918 (munmap): Likewise.
26919 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26920 * sysdeps/unix/mman/syscalls.list: Remove.
26921 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26922
3a533ca3
JM
26923 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26924 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26925 * configure: Regenerated.
26926 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26927 $(libgcc_s_suffix).
26928 * config.make.in (libgcc_s_suffix): Remove variable.
26929
1ad743de
JM
269302012-04-23 Joseph Myers <joseph@codesourcery.com>
26931
4ad451e2
JM
26932 * sysdeps/unix/sysv/gethostname.c: Move to ...
26933 * sysdeps/posix/gethostname.c: ... here.
26934
5e37ce39
JM
26935 * sysdeps/unix/execve.S: Remove file.
26936
1ad743de
JM
26937 * sysdeps/unix/_exit.S: Remove file.
26938
4e681b5b
AJ
269392012-04-23 Andreas Jaeger <aj@suse.de>
26940
26941 [BZ #13739]
26942 * manual/Makefile: Remove make dist support, there's no
26943 need for a stand-alone documentation tar ball.
26944 (TEXI2DVI): Define always, it's not in Makeconfig.
26945 (dist): Removed.
26946 (tar-it): Removed.
26947 (edition): Removed.
26948 (glibc-doc-$(edition).tar): Removed
26949 (%.Z): Removed.
26950 (%.gz): Removed.
26951 (%.uu): Removed.
26952 (ETAGS): Remove, it's in Makeconfig.
26953 (move-if-change): Remove, it's in Makeconfig.
26954
38686a03 269552012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26956
26957 [BZ #13970]
26958 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26959 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26960 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26961 (strtod_l, strtof_l, strtold_l): Remove __wur.
26962 It is not necessarily an error to ignore strtol's return value.
26963 One can reliably look at the stored endptr to decide whether
26964 the number had valid syntax.
26965
7c0616fa
AJ
269662012-04-21 Andreas Jaeger <aj@suse.de>
26967
803cb6b7 26968 [BZ #13739]
7c0616fa
AJ
26969 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26970
b0fe253f
JM
269712012-04-21 Joseph Myers <joseph@codesourcery.com>
26972
26973 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26974 * sysdeps/unix/sysv/Versions: Remove file.
26975
8280f22d
MT
269762012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26977
26978 [BZ #13927]
26979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26980
75ce411f 269812012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26982
26983 [BZ #7064]
26984 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26985 version from __vm86.
26986
097d59fa
JM
269872012-04-20 Joseph Myers <joseph@codesourcery.com>
26988
a90f3bcb
JM
26989 * sysdeps/unix/common/lxstat.c: Remove file.
26990 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26991
edc7ea78
JM
26992 * sysdeps/unix/sysv/Makefile: Remove file.
26993
cb78c221
JM
26994 * sysdeps/unix/sysv/direct.h: Remove file.
26995
efa6a45f
JM
26996 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26997 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26998 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26999 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27000 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27001 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27002 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27003
9c9f2d0c
JM
27004 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27005
4541c83b
JM
27006 * sysdeps/unix/xmknod.c: Remove file.
27007 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27008
f5d153a0
JM
27009 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27010
aa746595
JM
27011 * sysdeps/unix/sysv/i386/time.S: Remove file.
27012
cce5905e
JM
27013 * sysdeps/unix/fxstat.c: Remove file.
27014 * sysdeps/unix/xstat.c: Likewise.
27015 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27016
37fa3841
JM
27017 * sysdeps/unix/sysv/sigaction.c: Remove file.
27018
ff1962a3
JM
27019 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27020 (sysdep_headers): Remove variable.
27021 [termio.h not in sysdep_headers] (generated): Likewise.
27022 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27023 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27024 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27025 * sysdeps/unix/sysv/tcflow.c: Likewise.
27026 * sysdeps/unix/sysv/tcflush.c: Likewise.
27027 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27028 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27029 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27030 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27031 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27032
e7740d31
JM
27033 * sysdeps/unix/siglist.c: Remove file.
27034
ee06f18b
JM
27035 * sysdeps/unix/getppid.S: Remove file.
27036
097d59fa
JM
27037 * sysdeps/unix/mkdir.c: Remove file.
27038 * sysdeps/unix/rmdir.c: Likewise.
27039
ff3d51ec
AS
270402012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27041
27042 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27043 ERR_MAX value.
27044 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27045 errlist-compat value.
27046
50f81fd7
DM
270472012-04-18 David S. Miller <davem@davemloft.net>
27048
27049 * sysdeps/generic/memcopy.h (reg_char): Delete.
27050 * debug/strcat_chk.c: Use char, not reg_char.
27051 * debug/strcpy_chk.c: Likewise.
27052 * debug/strncat_chk.c: Likewise.
27053 * debug/strncpy_chk.c: Likewise.
27054 * string/memchr.c: Likewise.
27055 * string/memrchr.c: Likewise.
27056 * string/rawmemchr.c: Likewise.
27057 * string/strcat.c: Likewise.
27058 * string/strchr.c: Likewise.
27059 * string/strchrnul.c: Likewise.
27060 * string/strcmp.c: Likewise.
27061 * string/strcpy.c: Likewise.
27062 * string/strncat.c: Likewise.
27063 * string/strncmp.c: Likewise.
27064 * string/strncpy.c: Likewise.
27065
8ff41c46
WS
270662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27067
27068 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27069 __builtin_memcopy is called when src and dest ranges are known to not
27070 overlap.
27071
6b652f46
WS
270722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27073
27074 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27075 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27076 fwd_align_merge macro call.
27077 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27078 bwd_align_merge macro call.
27079 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27080
b282631e
WS
270812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27082
27083 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27084 bwd_align_merge macros.
27085 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27086 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27087 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27088
95aa737c
DM
270892012-04-18 David S. Miller <davem@davemloft.net>
27090
27091 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27092
7a99a614
AJ
270932012-04-18 Andreas Jaeger <aj@suse.de>
27094
27095 [BZ# 6794]
27096 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27097 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27098 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27099
27100 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27101 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27102 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27103
27104 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27105 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27106 Adjust for changed ldbl-128 files.
27107
27108 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27109 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27110 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27111
e5270c23
DM
271122012-04-17 David S. Miller <davem@davemloft.net>
27113
27114 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27115
fb5e92c9
AS
271162012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27117
27118 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27119 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27120 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27121 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27122 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27123 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27124
76da7265
AZ
271252012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27126
27127 [BZ #6794]
27128 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27129 * math/libm-test.inc: Add ilogb errno and exception tests.
27130 * math/w_ilogb.c: New file: ilogb wrapper.
27131 * math/w_ilogbf.c: New file: ilogbf wrapper.
27132 * math/w_ilogbl.c: New file: ilogbl wrapper.
27133 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27134 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27135 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27136 exception being thrown with 0.0 as argument.
27137 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27138 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27139 exception being thrown with 0.0 as argument.
27140 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27141 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27142 exception being thrown with 0.0 as argument.
27143 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27144 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27145 exception being thrown with 0.0 as argument.
27146 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27147 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 27148 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
27149 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27150 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27151 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27152 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27153 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27154 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27155
0396e69d
PB
271562012-04-17 Petr Baudis <pasky@ucw.cz>
27157
27158 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27159 with altivec.
27160
750b5926
MP
271612012-04-16 Marek Polacek <polacek@redhat.com>
27162
27163 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27164
751728a1
MP
271652012-04-16 Marek Polacek <polacek@redhat.com>
27166
27167 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27168 operands of fdivp instruction.
27169
34a27407
L
271702012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27171
27172 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27173 * elf/tst-auditmod3b.c: Likewise.
27174 * elf/tst-auditmod4b.c: Likewise.
27175 * elf/tst-auditmod5b.c: Likewise.
27176 * elf/tst-auditmod6b.c: Likewise.
27177 * elf/tst-auditmod6c.c: Likewise.
27178 * elf/tst-auditmod7b.c: Likewise.
27179 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27180 * sysdeps/x86_64/preconfigure.in: Likewise.
27181 * sysdeps/x86_64/preconfigure: Regenerated.
27182
7e73e17d
L
271832012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27184
27185 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27186 __ILP32__.
27187
c7a6ab72
AB
271882012-04-13 Antoine Balestrat <merkil33@gmail.com>
27189
27190 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27191 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27192
a9e8e0e0
CL
271932012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27194
27195 [BZ #13973]
27196 * locale/iso-639.def: Fix gl language name. Spotted by
27197 Yaron Shahrabani.
27198
ec98af7d
RM
271992012-04-12 Roland McGrath <roland@hack.frob.com>
27200
27201 [BZ #2074]
27202 * libio/libio.h (__io_write_fn): Update comment.
27203
247c3ede
PB
272042012-04-12 Petr Baudis <pasky@ucw.cz>
27205
27206 [BZ #2074]
27207 * stdio.texi (Hook Functions): The user provided writer function
27208 is not allowed to return -1.
27209
55939d6d
DM
272102012-04-11 David S. Miller <davem@davemloft.net>
27211
27212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27213
90020f5a
MF
272142012-04-11 Mike Frysinger <vapier@gentoo.org>
27215
27216 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27217 Add a leading slash to rtkaio.
27218
288f9098
JM
272192012-04-11 Jim Meyering <meyering@redhat.com>
27220
90020f5a
MF
27221 [BZ #11959]
27222 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27223 It is not necessarily an error to ignore fwrite's return
27224 value. One can reliably use ferror to test for errors after
27225 the fact.
288f9098 27226
4be2b570
L
272272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27228
27229 * bits/types.h (__snseconds_t): New type.
27230 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27231
27232 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27234 (__SNSECONDS_T_TYPE): Likewise.
27235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27236 (__SNSECONDS_T_TYPE): Likewise.
27237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27238 (__SNSECONDS_T_TYPE): Likewise.
27239
288f9098 272402012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27241
27242 [BZ #2636]
27243 * manual/time.texi (Processor Time): Return type of times is
27244 elapsed real time since an arbitrary point in the past.
27245 (CPU Time): Move CLK_TCK from here...
27246 (Processor Time): ...to here. Correct description.
27247 * manual/conf.texi (Constants for Sysconf): Correct description of
27248 _SC_CLK_TCK.
27249
d7dd4413
DM
272502012-04-10 David S. Miller <davem@davemloft.net>
27251
27252 [BZ #13967]
27253 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27254 where the is a gap between DT_REL(A) and DT_JMPREL.
27255
b46068fc
L
272562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27257
27258 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27259 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27260 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27261
73d65cc3
SP
272622012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27263
27264 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27265 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27266 (dl_main): Handle --inhibit-cache.
27267 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27268 _dl_inhibit_cache.
27269 * elf/dl-load.c (_dl_map_object): Use it.
27270 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27271
bcc8d661
JM
272722012-04-09 Joseph Myers <joseph@codesourcery.com>
27273
8f9a2fae
JM
27274 [BZ #13872]
27275 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27276 (__ieee754_powl): Saturate large exponents rather than testing for
27277 overflow of y*log2(x).
27278 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27279 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27280 exceptions.
27281
bcc8d661
JM
27282 [BZ #11521]
27283 * math/s_ctan.c: Include <float.h>.
27284 (__ctan): Avoid internal overflow or cancellation in calculating
27285 denominator.
27286 * math/s_ctanf.c: Likewise.
27287 * math/s_ctanl.c: Likewise.
27288 * math/s_ctanh.c: Likewise.
27289 * math/s_ctanhf.c: Likewise.
27290 * math/s_ctanhl.c: Likewise.
27291 * math/libm-test.inc (ctan_test): Add more tests.
27292 (ctanh_test): Likewise.
27293 * sysdeps/i386/fpu/libm-test-ulps: Update.
27294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27295
823fbbb4
AJ
272962012-04-09 Andreas Jaeger <aj@suse.de>
27297
03879793
AJ
27298 [BZ #6894]
27299 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27300 is an optional BSD extension.
27301
823fbbb4
AJ
27302 [BZ #10254]
27303 * manual/stdio.texi (Opening Streams): Document additional fopen
27304 parameters.
27305
8de131cb
RM
273062012-04-09 Roland McGrath <roland@hack.frob.com>
27307
27308 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27309 %eax without telling the compiler.
27310
c0ed9d7d
CD
273112012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27312
27313 [BZ # 13963]
27314 * manual/install.texi: Use sourceware.org.
27315
c483f6b4
JM
273162012-04-09 Joseph Myers <joseph@codesourcery.com>
27317
d7dd9453
JM
27318 [BZ #13873]
27319 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27320 (__ieee754_pow): Generate overflow and underflow using huge*huge
27321 and tiny*tiny rather than just returning constant infinity or zero
27322 for large exponents.
27323 * math/libm-test.inc (pow_test): Require overflow exceptions for
27324 applicable cases of large exponents.
27325
c483f6b4
JM
27326 [BZ #706]
27327 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27328 (__ieee754_pow): Use iterative multiplication algorithm only for
27329 integer exponents with absolute value below 1024. Check for odd
27330 integer exponents when using algorithm for real exponents.
27331 * math/libm-test.inc (pow_test): Add more tests.
27332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27333
d2de7579
JM
273342012-04-08 Joseph Myers <joseph@codesourcery.com>
27335
27336 [BZ #13705]
27337 * math/libm-test.inc (exp_test): Do not allow overflow exception
27338 on underflow test.
27339
f77f1232
AJ
273402012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27341
27342 [BZ #13705]
27343 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27344 instead of __kernel_standard_f.
27345
3884932b
MF
273462012-04-08 Mike Frysinger <vapier@gentoo.org>
27347
27348 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27349 * sysdeps/x86_64/memset_chk.S: Likewise.
27350
54472e9c
AJ
273512012-04-08 Andreas Jaeger <aj@suse.de>
27352
6ab0fbfc
AJ
27353 [BZ #10153]
27354 * manual/startup.texi (Environment Access): Describe return value
27355 for putenv and setenv.
27356
61efba8c
AJ
27357 [BZ #6895]
27358 * manual/filesys.texi (Directory Entries): Add description for
27359 DT_LNK.
27360
95c3f29a
AJ
27361 [BZ #6890]
27362 * manual/filesys.texi (Directory Entries): Clarify that it's file
27363 system not operating system in the description of DT_UNKNOWN.
27364
54472e9c
AJ
27365 [BZ #6578]
27366 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27367
624254b1
SC
273682012-04-08 Stephen Compall <s11@member.fsf.org>
27369
27370 [BZ #6649]
27371 * manual/llio.texi (Opening and Closing Files): Add cross
27372 reference to explain mode argument.
27373
1e4920e0
MF
273742012-04-07 Mike Frysinger <vapier@gentoo.org>
27375
27376 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27377 * sysdeps/x86_64/memset_chk.S: Likewise.
27378
5ed848f3
DM
273792012-04-07 David S. Miller <davem@davemloft.net>
27380
27381 * elf/elf.h (R_SPARC_WDISP10): Define.
27382 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27383 R_SPARC_SIZE32.
27384 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27385 R_SPARC_SIZE64 and R_SPARC_H34.
27386
96154cd8
CD
273872012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27388
27389 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27390 conditions and remove no longer applicable assertion.
27391
9904dc47
L
273922012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27393
27394 * bits/byteswap.h: Include <features.h>.
27395 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27396 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27397
f8887d0a
L
273982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27399
27400 * bits/byteswap.h (__bswap_16): Removed.
27401 Include <bits/byteswap-16.h> to get __bswap_16.
27402 * sysdeps/i386/bits/byteswap.h: Likewise.
27403 * sysdeps/s390/bits/byteswap.h: Likewise.
27404 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27405 * bits/byteswap-16.h: New file.
27406 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27407 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27408 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27409 * string/Makefile (headers): Add bits/byteswap-16.h.
27410
62470f60
PP
274112012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27412
27413 [BZ #13895]
27414 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27415 extra indirection.
27416 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27417 * nss/tst-nss-static.c: New.
27418
4dad7bab
RM
274192012-04-06 Robert Millan <rmh@gnu.org>
27420
27421 [BZ #6486]
27422 * manual/llio.texi (File Position Primitive): lseek
27423 refers to WHENCE when it really means OFFSET.
27424
e9142a17
AJ
274252012-04-06 Andreas Jaeger <aj@suse.de>
27426
2c040eff
AJ
27427 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27428 strncmp declarations.
27429
e9142a17
AJ
27430 * abilist/libc.abilist: Add __poll and __ppoll.
27431
ff9f1c5f
DM
274322012-04-05 David S. Miller <davem@davemloft.net>
27433
dcd2ae90
DM
27434 * scripts/check-local-headers.sh: Accept a host triplet in the
27435 path matched by the exclude regexp.
27436
993eb054
DM
27437 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27438 definition.
27439 * sysdeps/powerpc/powerpc32/dl-machine.h
27440 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27441 * sysdeps/s390/s390-32/dl-machine.h
27442 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27443 * sysdeps/sparc/sparc32/dl-machine.h
27444 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27445 * sysdeps/sparc/sparc64/dl-machine.h
27446 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27447
ff9f1c5f
DM
27448 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27449 lazy binding.
48e2e132 27450 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27451 undefined symbol errors.
27452
48e2e132 27453 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27454 DT_NEEDED entries.
27455
e80d6f94
MM
274562012-04-05 Michael Matz <matz@suse.de>
27457
27458 [BZ #13592]
27459 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27460
349fa79f
AJ
274612012-04-05 Andreas Jaeger <aj@suse.de>
27462
27463 [BZ #13908]
27464 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27465 comment.
27466
f402708f
KK
274672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27468
27469 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27470 which ROUND is no valid rounding mode.
27471
2ecccfc9
KK
274722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27473
27474 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27475 read again.
27476 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27477
8a53f50f
KK
274782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27479
27480 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27481 an exception using FPU order intentionally.
27482
274832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27484
27485 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27486 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27487 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27488 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27489
d653abb7
SJ
274902012-04-05 Simon Josefsson <simon@josefsson.org>
27491
27492 [BZ #12340]
27493 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27494 EINVAL when BUFLEN is too smal.
27495
c3b1bf7d
TS
274962012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27497
27498 [BZ #13553]
27499 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27500 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27501
b1aa60f3
AJ
275022012-04-03 Andreas Jaeger <aj@suse.de>
27503
c3b1bf7d 27504 [BZ #13938]
67f60a26
AJ
27505 * manual/setjmp.texi (System V contexts): Fix sentence.
27506
b1aa60f3
AJ
27507 [BZ #13926]
27508 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27509 New macro for this case.
27510 [!__GNUC__] (__bswap_64): New inline function for this case.
27511 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27512 * bits/byteswap.h: Likewise.
27513 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27514 ull, guard with __GLIBC_HAVE_LONG_LONG.
27515
27516 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27517 __GLIBC_HAVE_LONG_LONG.
27518
27519 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27520 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27521
39c59c35
TMQMF
275222012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27523
27524 [BZ #13691]
27525 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27526 inptr and inend, rather than using last_ch.
27527
135ffda8
DM
275282012-04-02 David S. Miller <davem@davemloft.net>
27529
27530 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27531 * stdio-common/printf-parse.h (read_int): Change return type to
27532 'int', return -1 on INT_MAX overflow.
27533 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27534 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27535 overflows INT_MAX. Check for overflow of in-format-string precision
27536 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27537 SIZE_MAX not INT_MAX for integer overflow test.
27538 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27539 skip the construct in the format string but do not record anything.
27540 * stdio-common/bug22.c: Adjust to test both width/prevision
27541 INT_MAX overflow as well as total length INT_MAX overflow. Check
27542 explicitly for proper errno values.
27543
228c019e
TS
275442012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27545
302cadd3
TS
27546 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27547 CHAR_MAX.
27548 * string/test-strcmp.c [! WIDE]: Likewise.
27549 * time/tst-mktime2.c: Likewise for INT_MAX.
27550 * string/test-string.h: #include <sys/param.h> for MIN.
27551
228c019e
TS
27552 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27553 * sysdeps/i386/init-first.c (init): Likewise.
27554 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27555 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27556 * sysdeps/sh/init-first.c (init): Likewise.
27557
cfa633f5
UD
275582012-04-01 Ulrich Drepper <drepper@gmail.com>
27559
27560 * po/ru.po: Update from translation team.
d1635ef8 27561 * po/vi.po: Likewise.
cfa633f5 27562
6cd0a5ea
SP
275632012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27564
27565 * resolv/nss_dns/dns-host.c: Merge copyright years.
27566
4b43400f
LD
275672012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27568
27569 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27570 Optimize memcpy with prefetch if
27571 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27572 src, dst pointers have unequal 16 byte alignments.
27573
48c41d04
SP
275742012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27575
27576 [BZ #13928]
27577 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27578 from a CNAME entry and return the minimum ttl for the query.
27579 (gaih_getanswer_slice): Likewise.
27580
b8dc394d
JL
275812012-03-30 Jeff Law <law@redhat.com>
27582
27583 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27584 due to long keys.
27585 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27586 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27587
2f5a5ed0
JL
27588 * resolv/nss_dns/dns-host.c: Update copyright year.
27589
1d39e359
UD
275902012-03-30 Ulrich Drepper <drepper@gmail.com>
27591
c030f70c 27592 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27593 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27594
1d39e359
UD
27595 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27596 comments for sendmmsg.
27597
275982012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27599
27600 [BZ #13691]
27601 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27602 with only 1 character between 0x0041 and 0x01b0.
27603 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27604 * wcsmbs/tst-mbsnrtowcs.c: New file.
27605
20fde227
DM
276062012-03-29 David S. Miller <davem@davemloft.net>
27607
27608 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27609 small copies by hand.
27610
984a4237
JL
276112012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27612
27613 [BZ #13761]
27614 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27615 _nss_compat_initgroups_dyn): Fall back to malloc/free
27616 for large group memberships.
27617
18c9d62b
DM
276182012-03-28 David S. Miller <davem@davemloft.net>
27619
88d85d4f
DM
27620 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27621 that branches into memcpy.
27622 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27623 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27624 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27625 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27627 bits.
27628 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27629 implementation too.
27630 * sysdeps/sparc/mempcpy.S: New file.
27631
e5aa83e1
DM
27632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27633 the IFUNC routine in the libc case.
27634 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27635
88570753
DM
27636 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27637 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27638 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27639 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27640 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27641 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27642 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27643 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27644
249d7567
DM
27645 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27646 loop to 256 bytes instead of 64 bytes and fix test signedness.
27647
18c9d62b
DM
27648 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27649 * sysdeps/sparc/sparc32/Makefile: rather than here...
27650 * sysdeps/sparc/sparc64/Makefile: and here.
27651
05f3d1f6
UD
276522012-03-28 Ulrich Drepper <drepper@gmail.com>
27653
27654 * malloc/mallocbug.c: Avoid warnings about unused variables.
27655
86ae07a8
JL
276562012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27657
27658 [BZ #13760]
27659 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27660 in the right place. Discard and retry query if response is
27661 larger than input buffer size.
27662
41bf21a1
JM
276632012-03-28 Joseph Myers <joseph@codesourcery.com>
27664
d6270972
JM
27665 [BZ #369]
27666 [BZ #2678]
27667 [BZ #3866]
27668 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27669 x for large integer exponent.
27670 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27671 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27672 sign of result as needed afterwards.
27673 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27674 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27675 result for underflowing pow the same as for overflow.
27676 (__kernel_standard_l): Handle powl overflow and underflow here
27677 rather than calling __kernel_standard.
27678 * math/libm-test.inc (pow_test): Add more tests.
27679
414fca03 27680 [BZ #3868]
41bf21a1
JM
27681 [BZ #13879]
27682 [BZ #13910]
27683 [BZ #13911]
27684 [BZ #13912]
27685 [BZ #13913]
27686 [BZ #13915]
27687 [BZ #13916]
27688 [BZ #13917]
27689 [BZ #13918]
27690 [BZ #13919]
27691 [BZ #13920]
27692 [BZ #13921]
27693 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27694 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27695 (__kernel_standard_l): New function.
27696 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27697 __kernel_standard.
27698 * math/w_acosl.c (__acosl): Likewise.
27699 * math/w_asinl.c (__asinl): Likewise.
27700 * math/w_atan2l.c (__atan2l): Likewise.
27701 * math/w_atanhl.c (__atanhl): Likewise.
27702 * math/w_coshl.c (__coshl): Likewise.
27703 * math/w_exp10l.c (__exp10l): Likewise.
27704 * math/w_exp2l.c (__exp2l): Likewise.
27705 * math/w_fmodl.c (__fmodl): Likewise.
27706 * math/w_hypotl.c (__hypotl): Likewise.
27707 * math/w_j0l.c (__j0l, __y0l): Likewise.
27708 * math/w_j1l.c (__j1l, __y1l): Likewise.
27709 * math/w_jnl.c (__jnl, __ynl): Likewise.
27710 * math/w_lgammal.c (__lgammal): Likewise.
27711 * math/w_log10l.c (__log10l): Likewise.
27712 * math/w_log2l.c (__log2l): Likewise.
27713 * math/w_logl.c (__logl): Likewise.
27714 * math/w_powl.c (__powl): Likewise.
27715 * math/w_remainderl.c (__remainderl): Likewise.
27716 * math/w_scalbl.c (sysv_scalbl): Likewise.
27717 * math/w_sinhl.c (__sinhl): Likewise.
27718 * math/w_sqrtl.c (__sqrtl): Likewise.
27719 * math/w_tgammal.c (__tgammal): Likewise.
27720 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27721 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27722 * math/libm-test.inc (acos_test): Add more tests.
27723 (acosh_test): Likewise.
27724 (asin_test): Likewise.
27725 (atanh_test): Likewise.
27726 (exp_test): Likewise.
27727 (exp10_test): Likewise.
27728 (exp2_test): Likewise.
27729 (expm1_test): Likewise.
27730 (lgamma_test): Likewise.
27731 (log_test): Likewise.
27732 (log10_test): Likewise.
27733 (log1p_test): Likewise.
27734 (log2_test): Likewise.
27735 (pow_test): Do not allow some spurious overflow exceptions.
27736 (sqrt_test): Add more tests.
27737 (tgamma_test): Likewise.
27738 (y0_test): Likewise.
27739 (y1_test): Likewise.
27740 (yn_test): Likewise.
27741
dd62fda6
AB
277422012-03-27 Anton Blanchard <anton@samba.org>
27743
27744 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27745 MAP_HUGETLB.
27746 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27747 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27748 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27749
1e3cdfda
AJ
277502012-03-27 David S. Miller <davem@davemloft.net>
27751
b855ab85
DM
27752 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27753
1e3cdfda
AJ
27754 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27755 have-as-vis3 check.
27756
277572012-03-27 Andreas Jaeger <aj@suse.de>
27758
27759 * sysdeps/x86_64/elf/configure.in: Moved to ...
27760 * sysdeps/x86_64/configure.in: ... here.
27761 * sysdeps/x86_64/elf/start.S: Moved to ...
27762 * sysdeps/x86_64/start.S: ... here.
27763 * sysdeps/x86_64/elf/configure: Delete.
27764
27765 * sysdeps/x86_64/configure.in: Merge contents from
27766 sysdeps/i386/configure.in (without i686 check).
27767
27768 * sysdeps/i386/elf/Versions: Merge into ...
27769 * sysdeps/i386/Versions: ... this.
27770 * sysdeps/i386/elf/Versions: Delete file.
27771 * sysdeps/i386/elf/start.S: Moved to ...
27772 * sysdeps/i386/start.S: ...here.
27773 * sysdeps/i386/elf/configure.in: Merge into...
27774 * sysdeps/i386/configure.in: ...here.
27775 * sysdeps/i386/elf/configure.in: Delete file.
27776 * sysdeps/i386/elf/configure: Delete file.
27777
27778 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27779 * debug/backtracesyms.c: ... here.
27780 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27781 * debug/backtracesymsfd.c: ... here.
27782 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27783 * sysdeps/generic/ifunc-sel.h: ... here.
27784
27785 * sysdeps/unix/i386/start.c: Delete file.
27786 * sysdeps/unix/sparc/start.c: Delete file.
27787 * sysdeps/unix/start.c: Delete file.
27788
27789 * sysdeps/sh/elf/configure.in: Moved to ...
27790 * sysdeps/sh/configure.in: ... here.
27791 * sysdeps/sh/elf/start.S: Moved to ...
27792 * sysdeps/sh/start.S: ... here.
27793 * sysdeps/sh/elf/configure: Delete file.
27794
27795 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27796 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27797 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27798 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27799 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27800 * sysdeps/powerpc/powerpc64/start.S: here.
27801 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27802 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27803 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27804 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27805 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27806
27807 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27808 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27809 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27810 * sysdeps/powerpc/powerpc32/start.S: ... here.
27811 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27812 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27813 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27814
27815 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27816 * sysdeps/powerpc/ifunc-sel.h: ... here.
27817 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27818 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27819
27820 * sysdeps/sparc/elf/configure.in: Moved to ...
27821 * sysdeps/sparc/configure.in: ... here.
27822 * sysdeps/sparc/elf/configure: Delete file.
27823 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27824 * sysdeps/sparc/sparc32/start.S: ... here.
27825 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27826 * sysdeps/sparc/sparc64/start.S: ... here.
27827 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27828 * sysdeps/sparc/sparc32/Makefile: ... this.
27829 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27830 * sysdeps/sparc/sparc64/Makefile: ... this.
27831
27832 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27833 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27834 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27835 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27836 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27837 * sysdeps/s390/s390-32/setjmp.S: ... here.
27838 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27839 * sysdeps/s390/s390-32/configure.in: ... here.
27840 * sysdeps/s390/s390-32/elf/configure: Delete file.
27841 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27842 * sysdeps/s390/s390-32/start.S: ... here.
27843
27844 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27845 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27846 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27847 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27848 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27849 * sysdeps/s390/s390-64/setjmp.S: ... here.
27850 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27851 * sysdeps/s390/s390-64/configure.in: ... here
27852 * sysdeps/s390/s390-64/elf/configure: Delete file.
27853 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27854 * sysdeps/s390/s390-64/start.S: ... here.
27855 * sysdeps/s390/s390-64/elf/configure: Delete.
27856
27857 * configure.in: Remove support for elf directories in sysdeps.
27858
27859 * configure: Regenerated.
27860 * sysdeps/i386/configure: Regenerated.
27861 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27862 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27863 * sysdeps/s390/s390-32/configure: Regenerated.
27864 * sysdeps/s390/s390-64/configure: Regenerated.
27865 * sysdeps/sh/configure: Regenerated.
27866 * sysdeps/sparc/configure: Regenerated.
27867 * sysdeps/x86_64/configure: Regenerated.
27868
a3f61311
AS
278692012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27870
c876e002
AS
27871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27872
a3f61311
AS
27873 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27874 denormal result into account.
27875
ac4c54f0
RM
278762012-03-25 Roland McGrath <roland@hack.frob.com>
27877
27878 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27879 Reported by Allan McRae <allan@archlinux.org>.
27880
6a9b9c02
JL
278812012-03-23 Jeff Law <law@redhat.com>
27882
27883 * nss/getnssent.c (__nss_getent): Fix typo.
27884
4c42a0c1
DM
278852012-03-23 David S. Miller <davem@davemloft.net>
27886
27887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27888
1532c7ac
L
278892012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27890
27891 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27892 to pad to uint64_t for each field.
27893 (dl_tls_index): Replace unsigned long with uint64_t.
27894
3ff42526
PP
278952012-03-23 Daniel Jacobowitz <dmj@google.com>
27896 Paul Pluzhnikov <ppluzhnikov@google.com>
27897
27898 [BZ #6528]
27899 * grp/Makefile (otherlibs): Don't set it.
27900 * inet/Makefile (otherlibs): Likewise.
27901 * login/Makefile (otherlibs): Likewise.
27902 * nscd/Makefile (otherlibs): Likewise.
27903 * posix/Makefile (otherlibs): Likewise.
27904 * pwd/Makefile (otherlibs): Likewise.
27905 * rt/Makefile (otherlibs): Likewise.
27906 * sunrpc/Makefile (otherlibs): Likewise.
27907 * nss/Makefile (otherlibs): Likewise.
27908 Add libnss_files to routines and static-only-routines.
27909 ($(objpfx)getent): Remove rule.
27910 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27911 static-only-routines.
27912
7c69cd14
JM
279132012-03-22 Joseph Myers <joseph@codesourcery.com>
27914
27915 [BZ #13892]
27916 * math/s_cexp.c: Include <float.h>.
27917 (__cexp): Handle exp result overflowing not necessarily
27918 overflowing both real and imaginary parts of result.
27919 * math/s_cexpf.c: Likewise.
27920 * math/s_cexpl.c: Likewise.
27921 * math/libm-test.inc (cexp_test): Add more tests.
27922 * sysdeps/i386/fpu/libm-test-ulps: Update.
27923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27924
81b035fe
L
279252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27926
27927 * include/link.h (ELFW): New macro.
27928 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27929 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27930
1da7940c
L
279312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27932
27933 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27934 with uint64_t.
27935
b749dbb9
L
279362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27937
27938 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27939 declaration.
27940 (struct La_x32_retval): Likewise.
27941
2ff87f3f
L
279422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27943
27944 * sysdeps/x86_64/preconfigure.in: New file.
27945 * sysdeps/x86_64/preconfigure: New generated file.
27946
c0df8e69
JM
279472012-03-22 Joseph Myers <joseph@codesourcery.com>
27948
48e44791
JM
27949 [BZ #13824]
27950 * math/e_exp2l.c: Include <float.h>.
27951 (__ieee754_exp2l): Handle overflow and underflow cases
27952 separately. Only pass fractional part of argument to
27953 __ieee754_expl.
27954 * math/libm-test.inc (exp2_test): Add more tests.
27955
c0df8e69
JM
27956 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27957 negating x to take absolute value.
27958 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27959 Likewise.
27960 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27961 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27962 Likewise.
27963 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27964 computing low part if x was negated.
27965 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27966
c8e43ba7
L
279672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27968
27969 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27970 la_x32_gnu_pltexit.
27971 (pltexit): Cast int_retval to ptrdiff_t.
27972 * elf/tst-auditmod3b.c: Likewise.
27973 * elf/tst-auditmod4b.c: Likewise.
27974 * elf/tst-auditmod5b.c: Likewise.
27975 * elf/tst-auditmod6b.c: Likewise.
27976 * elf/tst-auditmod6c.c: Likewise.
27977 * elf/tst-auditmod7b.c: Likewise.
27978
27979 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27980 and x32_gnu_pltexit.
27981
27982 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27983 __ELF_NATIVE_CLASS.
27984 (La_x32_regs): New macro.
27985 (La_x32_retval): Likewise.
27986 (la_x32_gnu_pltenter): New function prototype.
27987 (la_x32_gnu_pltexit): Likewise.
27988
7998fa78
AS
279892012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27990
dcb33988
AS
27991 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27992 exponent.
27993
233fc563
AS
27994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27995
7998fa78
AS
27996 * configure.in (libc_cv_cc_nofma): Check for option to disable
27997 generation of FMA instructions.
27998 * configure: Regenerate.
27999 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28000 * sysdeps/ieee754/dbl-64/Makefile: New file.
28001 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28002 Remove brandred-fma4.
28003 (CFLAGS-brandred-fma4.c): Remove.
28004 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28005 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28006 define.
28007 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28008 define.
28009
8e95c99a
L
280102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28011
28012 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28013 LLONG_MAX != LONG_MAX.
28014 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28015 (_fitoa_word): Likewise.
28016 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28017 LLONG_MAX != LONG_MAX.
28018 * stdio-common/_itowa.h: Include <_itoa.h>.
28019 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28020 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28021 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28022 only if not defined.
28023 (_ITOA_WORD_TYPE): Likewise.
28024 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28025 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28026
6f4db457
DM
280272012-03-21 David S. Miller <davem@davemloft.net>
28028
28029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28030
7785fe5a
L
280312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28032
28033 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28034 of x86_64 when setting libc_cv_slibdir, libdir and
28035 libc_cv_localedir.
28036 * sysdeps/unix/sysv/linux/configure: Regenerated.
28037
4535cd55
JM
280382012-03-21 Joseph Myers <joseph@codesourcery.com>
28039
28040 * manual/lang.texi (Old Varargs): Remove section.
28041 (How Variadic): Update menu.
28042 (va_start): Do not mention varargs.h.
28043
17228132
TS
280442012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28045 Joseph Myers <joseph@codesourcery.com>
28046
28047 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28048 link test.
28049 * configure: Regenerated.
28050
8149f976
TS
280512012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28052
05f3d1f6
UD
28053 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28054 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28055 conformtest.pl
8149f976 28056
1a4ac776
JM
280572012-03-21 Joseph Myers <joseph@codesourcery.com>
28058
be22ce65
JM
28059 * NOTES: Remove.
28060 * Makefile (files-for-dist): Remove NOTES.
28061 (NOTES): Remove rule.
28062 * README: Don't refer to NOTES.
28063 * manual/creature.texi: Don't include macros.texi.
28064 * manual/intro.texi (creature.texi): Remove comment referring to
28065 NOTES.
28066
40b601fb
JM
28067 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28068 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28069 * configure: Regenerated.
28070 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28071 LIBC_TRY_CC_OPTION.
28072 (libc_cv_as_i686): Likewise.
28073 (libc_cv_cc_avx): Likewise.
28074 (libc_cv_cc_sse2avx): Likewise.
28075 (libc_cv_cc_fma4): Likewise.
28076 (libc_cv_cc_novzeroupper): Likewise.
28077 * sysdeps/i386/configure: Regenerated.
28078
1a4ac776
JM
28079 [BZ #13883]
28080 * sysdeps/i386/fpu/s_cexp.S: Remove.
28081 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28082 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28083 * math/libm-test.inc (cexp_test): Add more tests.
28084 * sysdeps/i386/fpu/libm-test-ulps: Update.
28085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28086
a458e7fe
AM
280872012-03-21 Allan McRae <allan@archlinux.org>
28088
28089 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28090
0cb7efc5
JM
280912012-03-21 Joseph Myers <joseph@codesourcery.com>
28092
28093 [BZ #13871]
28094 * math/w_exp2.c: Do not include <float.h>.
28095 (o_threshold, u_threshold): Remove.
28096 (__exp2): Calculate result before checking finiteness and calling
28097 __kernel_standard.
28098 * math/w_exp2f.c: Likewise.
28099 * math/w_exp2l.c: Likewise.
28100 * math/libm-test.inc (exp2_test): Require overflow exception for
28101 1e6 input.
2460d3aa
JM
28102
28103 [BZ #3866]
28104 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28105 range of signed 64-bit integers before using fistpll. Remove
28106 checks for whether integers fit in mantissa bits.
28107 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28108 the range of signed 32-bit integers before using fistpl. Remove
28109 checks for whether integers fit in mantissa bits.
28110 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28111 (__ieee754_powl): Test for y outside the range of signed 64-bit
28112 integers before using fistpll. Reduce 64-bit values to 63-bit
28113 ones as needed.
28114 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28115 divide-by-zero is raised for zero to large negative powers.
28116 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28117 (__ieee754_powl): Test for y outside the range of signed 64-bit
28118 integers before using fistpll. Reduce 64-bit values to 63-bit
28119 ones as needed.
28120 * math/libm-test.inc (pow_test): Add more tests.
28121
eb96ffb0
L
281222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28123
28124 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28125 <stdio-common/_itoa.h>.
28126 * debug/segfault.c: Likewise.
28127 * elf/dl-cache.c: Likewise.
28128 * elf/dl-minimal.c: Likewise.
28129 * elf/dl-misc.c: Likewise.
28130 * elf/dl-sysdep.c: Likewise.
28131 * elf/dl-version.c: Likewise.
28132 * elf/rtld.c: Likewise.
28133 * hurd/hurdsock.c: Likewise.
28134 * hurd/lookup-retry.c: Likewise.
28135 * malloc/malloc.c: Likewise.
28136 * malloc/mtrace.c: Likewise.
28137 * nscd/nscd_getgr_r.c: Likewise.
28138 * nscd/nscd_getpw_r.c: Likewise.
28139 * nscd/nscd_getserv_r.c: Likewise.
28140 * posix/getopt_init.c: Likewise.
28141 * posix/wordexp.c: Likewise.
28142 * stdio-common/_itoa.c: Likewise.
28143 * stdio-common/printf_fphex.c: Likewise.
28144 * stdio-common/vfprintf.c: Likewise.
28145 * string/_strerror.c: Likewise.
28146 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28147 * sysdeps/i386/i686/hp-timing.h: Likewise.
28148 * sysdeps/mach/_strerror.c: Likewise.
28149 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28150 * sysdeps/mach/hurd/sethostid.c: Likewise.
28151 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28152 * sysdeps/mach/xpg-strerror.c: Likewise.
28153 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28154 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28155 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28156 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28157 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28158 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28159 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28160 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28161 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28162 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28163 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28164 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28165 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28166 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28167 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28168 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28169 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28170 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28171 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28172 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28173 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28174
28175 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28176
28177 * stdio-common/_itoa.h: Moved to ...
28178 * sysdeps/generic/_itoa.h: Here.
28179
28180 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28181
28182 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28183 instead of "_itoa.h" and "_itowa.h".
28184 * stdio-common/vfprintf.: Likewise.
28185
d1af992d
L
281862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28187
28188 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28189 <bits/wordsize.h>.
28190 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28191 (__signbit): Likwise.
28192 (llrintf): Likwise.
28193 (llrint): Likwise.
28194
114883e0
L
281952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28196
28197 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28198 __WORDSIZE != 64.
28199
c135cc1b
JM
282002012-03-20 Joseph Myers <joseph@codesourcery.com>
28201
28202 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28203 OVERFLOW_EXCEPTION_OK.
28204 * math/libm-test.inc ("Philosophy"): Update comment about
28205 exception testing.
28206 (OVERFLOW_EXCEPTION): Define.
28207 (OVERFLOW_EXCEPTION_OK): Likewise.
28208 (INVALID_EXCEPTION_OK): Renumber.
28209 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28210 (IGNORE_ZERO_INF_SIGN): Likewise.
28211 (test_exceptions): Handle FE_OVERFLOW.
28212 (exp10_test): Expect overflow exceptions.
28213 (exp2_test): Likewise.
28214 (expm1_test): Likewise.
28215 (nextafter_test): Likewise.
28216 (pow_test): Likewise.
28217 (scalbn_test): Likewise.
28218 (scalbln_test): Likewise.
28219
95443d88
L
282202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28221
28222 * sysdeps/x86_64/bits/atomic.h
28223 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28224 64bit integer.
28225 (atomic_exchange_acq): Likewise.
28226 (__arch_exchange_and_add_body): Likewise.
28227 (__arch_add_body): Likewise.
28228 (atomic_add_negative): Likewise.
28229 (atomic_add_zero): Likewise.
28230
490df6c4
L
282312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28232
c2722551 28233 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28234 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28235
5e52b189
L
282362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28237
28238 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28239 Check __x86_64__ instead of __WORDSIZE.
28240
a9879d4c
L
282412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28242
28243 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28244
5df98260
DM
282452012-03-19 David S. Miller <davem@davemloft.net>
28246
e1497744
DM
28247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28248
5df98260
DM
28249 * sysdeps/sparc/fpu/fenv_private.h: New file.
28250 * sysdeps/sparc/fpu/math_private.h: Use it.
28251 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28252 Remove.
28253 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28254 (libc_feholdexcept_setroundl): Remove.
28255 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28256 Remove.
28257 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28258 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28259
b4c35121
L
282602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28261
28262 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28263 int64_t instead of long int.
28264 (INSERT_WORDS64): Likwise.
28265
56965fd7
L
282662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28267
28268 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28269 _Unwind_GetCFA return to _Unwind_Ptr first.
28270
83d1aec8
JM
282712012-03-19 Joseph Myers <joseph@codesourcery.com>
28272
1897ad44
JM
28273 [BZ #13629]
28274 * math/s_clog.c: Include <float.h>.
28275 (__clog): Scale large or subnormal inputs.
28276 * math/s_clogf.c: Likewise.
28277 * math/s_clogl.c: Likewise.
28278 * math/s_clog10.c: Include <float.h>.
28279 (M_LOG10_2): Define.
28280 (__clog10): Scale large or subnormal inputs.
28281 * math/s_clog10f.c: Likewise.
28282 * math/s_clog10l.c: Likewise.
28283 * math/libm-test.inc (clog_test): Add more tests.
28284 (clog10_test): Likewise.
28285 * sysdeps/i386/fpu/libm-test-ulps: Update.
28286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28287
7726d6a9
JM
28288 [BZ #11451]
28289 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28290 x and y.
28291 * math/libm-test.inc (atan2_test): Add another test.
28292
83d1aec8
JM
28293 * Makerules (common-objdir-compile): Remove.
28294 * sysdeps/unix/Makefile (config-generated): Do not add
28295 $(unix-generated) to variable.
28296 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28297 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28298 Remove rule.
28299 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28300 Likewise.
28301 [generic bits/local_lim.h] (before-compile): Do not append to
28302 variable.
28303 [generic bits/local_lim.h] (common-generated): Likewise.
28304 [generic sys/param.h] (before-compile): Do not append to variable.
28305 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28306 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28307 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28308 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28309 include.
28310 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28311 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28312 [generic sys/param.h] ($(addprefix
28313 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28314 [generic sys/param.h] (common-generated): Do not append to
28315 variable.
28316 [generic sys/param.h] (sysdep_headers): Likewise.
28317 [generic bits/errno.h] (before-compile): Do not append to
28318 variable.
28319 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28320 rule.
28321 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28322 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28323 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28324 [generic bits/errno.h] (common-generated): Do not append to
28325 variable.
28326 [generic bits/ioctls.h] (before-compile): Do not append to
28327 variable.
28328 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28329 rule.
28330 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28331 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28332 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28333 rule.
28334 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28335 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28336 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28337 [generic bits/ioctls.h] (common-generated): Do not append to
28338 variable.
28339 [generic sys/syscall.h] (syscall.h): Remove variable.
28340 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28341 rule.
28342 [generic sys/syscall.h] (before-compile): Do not append to
28343 variable.
28344 [generic sys/syscall.h] (common-generated): Likewise.
28345 * sysdeps/unix/errnos-tmpl.c: Remove file.
28346 * sysdeps/unix/errnos.awk: Likewise.
28347 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28348 * sysdeps/unix/ioctls.awk: Likewise.
28349 * sysdeps/unix/mk-local_lim.c: Likewise.
28350 * sysdeps/unix/snarf-ioctls: Likewise.
28351
4851a949
RH
283522012-03-19 Richard Henderson <rth@twiddle.net>
28353
bd37f2ee
RH
28354 * sysdeps/i386/fpu/fenv_private.h: New file.
28355 * sysdeps/i386/fpu/math_private.h: Use it.
28356 (math_opt_barrier, math_force_eval): Remove.
28357 (libc_feholdexcept_setround_53bit): Remove.
28358 (libc_feupdateenv_53bit): Remove.
28359 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28360 (math_opt_barrier, math_force_eval): Remove.
28361 (libc_feholdexcept): Remove.
28362 (libc_feholdexcept_setround): Remove.
28363 (libc_fetestexcept, libc_fesetenv): Remove.
28364 (libc_feupdateenv_test): Remove.
28365 (libc_feupdateenv, libc_feholdsetround): Remove.
28366 (libc_feresetround): Remove.
28367
d0adc922
RH
28368 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28369 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28370
0fe0f1f8
RH
28371 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28372 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28373 (libc_feupdateenv_testl): New.
28374 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28375 (libc_feupdateenv_testf): New.
28376 (libc_feupdateenv): Use libc_feupdateenv_test.
28377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28378 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28379
eb92c487
RH
28380 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28381 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28382 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28383 (libc_feresetround_noex): New.
28384 (libc_feresetround_noexf): New.
28385 (libc_feresetround_noexl): New.
28386 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28387 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28388 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28389 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28390 SET_RESTORE_ROUND.
28391 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28392 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28393 (__cos): Likewise.
28394 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28395 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28396 SET_RESTORE_ROUND_NOEX.
28397 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28398 SET_RESTORE_ROUND_NOEXF.
28399 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28400 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28401 (libc_feholdsetroundf): New.
28402 (libc_feresetround, libc_feresetroundf): New.
28403
7d2e8012
RH
28404 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28405 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28406 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28407
b4dabbb4
RH
28408 * sysdeps/generic/math_private.h: Include <fenv.h>.
28409 (default_libc_feholdexcept): New.
28410 (default_libc_feholdexcept_setround): New.
28411 (default_libc_fesetenv, default_libc_feupdateenv): New.
28412 (libc_feholdexcept): Only define if undefined.
28413 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28414 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28415 (libc_feholdexcept_setroundl): Likewise.
28416 (libc_feholdexcept_setround_53bit): Likewise.
28417 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28418 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28419 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28420 (libc_feupdateenv_53bit): Likewise.
28421 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28422 (libc_feholdexcept): Convert from macro to inline function.
28423 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28424 (libc_fesetenv, libc_feupdateenv): Likewise.
28425
4851a949
RH
28426 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28427 not previously defined.
28428 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28429 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28430 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28431 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28432 * sysdeps/ieee754/flt-32/math_private.h: New file.
28433 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28434 math_private.h below SET_FLOAT_WORD.
28435 (__isnan, __isinf_ns, __finite): Remove.
28436 (__isnanf, __isinf_nsf, __finitef): Remove.
28437
e79d442e
AS
284382012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28439
28440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28441
90b80344
DM
284422012-03-17 David S. Miller <davem@davemloft.net>
28443
28444 [BZ #6471]
28445 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28446 for 2.16.
28447
edc21804
DM
284482012-03-16 David S. Miller <davem@davemloft.net>
28449
77e927af
DM
28450 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28451 warnings.
28452
374976dd
DM
28453 [BZ #6471]
28454 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28455 properly.
28456 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28457 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28458 sysdep_routines when subdir is sysvipc.
28459 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28460 __getshmlba helper.
28461
edc21804
DM
28462 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28463
473c3ef3
L
284642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28465
28466 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28467 [__LP64__].
28468
eb0f39b6
L
284692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28470
28471 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28472 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28473 (__lround): Renamed to ...
28474 (__llround): This. Replace long int with long long int.
28475 Define lround functions as aliases of llround functions.
28476 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28477
6b6cd74b
L
284782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28479
28480 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28481 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28482 adresses to uintptr_t. Replace "long int" and "unsigned long
28483 int" with "greg_t" on va_arg.
28484
f1a77b01
L
284852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28486
28487 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28488 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28489
28490 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28491 Move e_machine check before EI_CLASS check. Handle x32
28492 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28493 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28494 SKIP_EM_IA_64 and include
28495 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28496
28497 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28498 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28499 (add_system_dir): New macro.
28500
28501 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28502 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28503
11b90b9f
JM
285042012-03-16 Joseph Myers <joseph@codesourcery.com>
28505
c36e1d23
JM
28506 [BZ #2551]
28507 [BZ #2552]
28508 [BZ #2553]
28509 [BZ #2554]
28510 [BZ #2562]
28511 [BZ #2563]
28512 [BZ #2565]
28513 [BZ #2566]
28514 [BZ #2576]
28515 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28516 (y0): Likewise.
28517 * math/w_j0f.c (j0f): Likewise.
28518 (y0f): Likewise.
28519 * math/w_j0l.c (__j0l): Likewise.
28520 (__y0l): Likewise.
28521 * math/w_j1.c (j1): Likewise.
28522 (y1): Likewise.
28523 * math/w_j1f.c (j1f): Likewise.
28524 (y1f): Likewise.
28525 * math/w_j1l.c (__j1l): Likewise.
28526 (__y1l): Likewise.
28527 * math/w_jn.c (jn): Likewise.
28528 (yn): Likewise.
28529 * math/w_jnf.c (jnf): Likewise.
28530 (ynf): Likewise.
28531 * math/w_jnl.c (__jnl): Likewise.
28532 (__ynl): Likewise.
28533 * math/libm-test.inc (j0_test): Add more tests.
28534 (j1_test): Likewise.
28535 (jn_test): Likewise. Add trailing semicolon to existing test.
28536 (y0_test): Likewise.
28537 (y1_test): Likewise.
28538 * sysdeps/i386/fpu/libm-test-ulps: Update.
28539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28540
11b90b9f
JM
28541 [BZ #13851]
28542 [BZ #13854]
28543 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28544 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28545 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28546 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28547 (__tanl): Set errno for infinite argument.
28548 * sysdeps/i386/fpu/mptan.c: Remove.
28549 * sysdeps/i386/fpu/s_tan.S: Likewise.
28550 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28551 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28552 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28553 * math/libm-test.inc (tan_test): Add more tests and enable more
28554 tests for double and long double.
28555 * sysdeps/i386/fpu/libm-test-ulps: Update.
28556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28557
6a1bd2a1
JK
285582012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28559
28560 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28561 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28562
10a803e0
RM
285632012-03-16 Roland McGrath <roland@hack.frob.com>
28564
28565 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28566 * configure.in: Use it for both main tree and add-ons.
28567 * configure: Regenerated.
28568
f196c7f7
L
285692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28570
28571 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28572
8848d99d
JM
285732012-03-16 Joseph Myers <joseph@codesourcery.com>
28574
96cbe7f4
JM
28575 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28576 in comment.
28577
8848d99d
JM
28578 [BZ #13851]
28579 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28580 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28581 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28582 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28583 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28584 infinite argument.
28585 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28587 != 0 for prec == 2.
28588 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28589 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28590 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28591 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28592 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28593 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28594 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28595 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28596 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28597 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28598 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28599 * math/libm-test.inc (cos_test): Add more tests and enable more
28600 tests for long double.
28601 (sin_test): Likewise.
28602 (sincos_test): Likewise.
28603 * sysdeps/i386/fpu/libm-test-ulps: Update.
28604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28605
dd7f4703
DM
286062012-03-16 David S. Miller <davem@davemloft.net>
28607
28608 * sysdeps/sparc/fpu/math_private.h: New file.
28609
006f1daa
DM
286102012-03-15 David S. Miller <davem@davemloft.net>
28611
c0c83bc8
DM
28612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28613 file.
e6a62e18 28614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28616 file.
e6a62e18
DM
28617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28623 sysdep routines.
28624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28625
88cb87d9
DM
28626 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28627 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28628
006f1daa 28629 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28631 sparc-ifunc.h
006f1daa 28632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28634 Likewise.
28635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28636 Likewise.
006f1daa
DM
28637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28641 Likewise.
006f1daa
DM
28642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28647 Likewise.
28648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28649 Likewise.
006f1daa
DM
28650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28656 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28657 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28668 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28669 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28671 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28673 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28674
11e0098e
AS
286752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28676
28677 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28678 scaling.
28679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28680
e85b09d0
AJ
286812012-03-15 Andreas Jaeger <aj@suse.de>
28682
28683 [BZ #13852]
28684 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28685 ieee754/flt-32 implementation for sin, cos and sincos.
28686 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28687 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28688 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28689 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28690 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28691 ieee754/flt-32 implementation for tan.
28692
28693 * math/libm-test.inc (cos_test): Enable some large input tests for
28694 float as well
28695 (sin_test): Likewise.
28696 (sincos_test): Likewise.
28697 (tan_test): Add tests for large input.
28698
28699 * sysdeps/i386/fpu/libm-test-ulps: Update.
28700
81c64153
AJ
287012012-03-15 Andreas Jaeger <aj@suse.de>
28702
28703 [BZ #13658]
28704 * math/libm-test.inc (cos_test): Add more test cases.
28705 (sin_test): Likewise.
28706 (sincos_test): Likewise.
28707
7bbfa5c6
AJ
287082012-03-15 Andreas Jaeger <aj@suse.de>
28709
28710 [BZ #13837]
28711 * math/libm-test.inc (cos_test): Add a test case for large input
28712 value.
28713 (sin_test): Likewise.
28714 (sincos_test): Likewise.
28715
287162012-03-15 Andreas Jaeger <aj@suse.de>,
28717 Joseph Myers <joseph@codesourcery.com>
28718
28719 [BZ #13658]
0671f479 28720 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28721 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28722 * sysdeps/i386/fpu/branred.c: Likewise.
28723 * sysdeps/i386/fpu/dosincos.c: Likewise.
28724 * sysdeps/i386/fpu/mpa.c: Likewise.
28725 * sysdeps/i386/fpu/s_cos.S: Likewise.
28726 * sysdeps/i386/fpu/s_sin.S: Likewise.
28727 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28728 * sysdeps/i386/fpu/sincos32.c: Likewise.
28729
28730 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28731 Define.
28732 (libc_feupdateenv_53bit): Define.
28733 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28734 Define.
28735 (libc_feupdateenv_53bit): Define.
28736
28737 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28738 53 bit (without extend i386 double precision).
28739
28740 * math/libm-test.inc (sincos_test): Add tests for large input.
28741 (sin): Likewise.
28742 (cos): Likewise.
28743
28744 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28745
9cad04ea
AS
287462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28747
28748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28749
f7062b9a
DM
287502012-03-15 David S. Miller <davem@davemloft.net>
28751
28752 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28753 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28754 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28755 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28768 file.
f7062b9a 28769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28771 file.
f7062b9a 28772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28774 file.
f7062b9a 28775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28777 file.
f7062b9a
DM
28778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28779 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28780 fmin/fmax sysdep routines.
28781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28782
7bd951ff
DM
287832012-03-14 David S. Miller <davem@davemloft.net>
28784
559398ab
DM
28785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28789 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28790 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28791 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28792 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28805 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28806 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28807 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28809 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28810 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28811 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28814 routines.
28815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28816 file.
559398ab 28817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28819 file.
559398ab 28820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28822 file.
559398ab 28823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28825 file.
559398ab 28826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28828 file.
559398ab 28829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28831 file.
28832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28833 file.
28834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28835 file.
28836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28837 file.
28838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28839 New file.
28840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28841 file.
28842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28843 file.
559398ab 28844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28846 file.
559398ab 28847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28849 file.
559398ab 28850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28852 file.
559398ab 28853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28855 VIS3 routines.
559398ab
DM
28856
28857 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28858 New file.
28859
5a1c1e32
DM
28860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28861
eae47a36
DM
28862 * sysdeps/sparc/configure.in: New file.
28863 * sysdeps/sparc/configure: Generate.
28864 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28865 * configure: Regenerate.
28866 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28867 * config.make.in (have-as-vis3): New.
28868 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28869 available use -Av9d instead of -Av9a.
28870 * sysdeps/sparc/sparc64/Makefile: Likewise.
28871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28873 New file.
28874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28875 file.
28876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28877 New file.
28878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28879 file.
eae47a36
DM
28880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28882 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28883 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28884 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28885
c0c83bc8
DM
28886 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28887 fzeros/fnegs to load 0x80000000 into a float register instead of
28888 using the stack.
7bd951ff
DM
28889 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28890
bd951ccb
JM
288912012-03-14 Joseph Myers <joseph@codesourcery.com>
28892
28893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28894 bits/syscall.h.
28895 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28896 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28897 ($(inst_includedir)/bits/syscall.h): Remove rule.
28898 ($(objpfx)bits/syscall.d): Include instead of
28899 $(objpfx)syscall-list.d.
28900 (generated): Change syscall-list.h and syscall-list.d to
28901 bits/syscall.h and bits/syscall.d.
28902
bb4e6db2
RM
289032012-03-14 Roland McGrath <roland@hack.frob.com>
28904
28905 [BZ #13846]
28906 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28907
aa4a2ae1
JM
289082012-03-14 Joseph Myers <joseph@codesourcery.com>
28909
e456826d
JM
28910 [BZ #13841]
28911 * math/s_csqrt.c: Include <float.h>.
28912 (__csqrt): Scale large or subnormal inputs.
28913 * math/s_csqrtf.c: Likewise.
28914 * math/s_csqrtl.c: Likewise.
28915 * math/libm-test.inc (csqrt_test): Add more tests.
28916 * sysdeps/i386/fpu/libm-test-ulps: Update.
28917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28918
aa4a2ae1
JM
28919 [BZ #13840]
28920 * math/libm-test.inc (hypot_test): Add more tests.
28921
7c10fd35
DM
289222012-03-13 David S. Miller <davem@davemloft.net>
28923
28924 [BZ #13840]
28925 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28926 double-precision for the calculation instead of scaling.
28927
f453b98b
JM
289282012-03-13 Joseph Myers <joseph@codesourcery.com>
28929
28930 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28931 manipulate bits before adding and subtracting TWO52[sx].
28932 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28933 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28934 Likewise.
28935 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28936
09a3453f
DM
289372012-03-13 David S. Miller <davem@davemloft.net>
28938
8e59da90
DM
28939 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28940 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28942 rtld-global-offsets.h
28943 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28944
2a8ab7f2
DM
28945 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28946 large parameters.
28947
10f62770
DM
28948 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28949
5f0bdb18
DM
28950 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28951 'err' in the ifdef scope in which it is actually used.
28952
09a3453f
DM
28953 * nss/nss_db/db-init.c: Include string.h
28954
b4b2eb5e
DM
289552012-03-12 David S. Miller <davem@davemloft.net>
28956
98bb2f1c
DM
28957 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28958 masking out of the most significant byte of random value used.
28959 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28960 Fix coding style in previous change.
28961
b4b2eb5e
DM
28962 * sysdeps/unix/sysv/linux/kernel-features.h
28963 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28964 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28965 expression.
28966 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28967 later.
28968
6e226b09
DM
289692012-03-11 David S. Miller <davem@davemloft.net>
28970
a1bcbd40
DM
28971 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28972 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28973 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28974 for 'resultvar' otherwise things get truncated on 64-bit.
28975
cb9d6174
DM
28976 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28977 Fix masking out of the most significant byte of random value used.
28978
6e226b09
DM
28979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28980
058c132d
AS
289812012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28982
28983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28984
2d2cd515
DM
289852012-03-09 David S. Miller <davem@davemloft.net>
28986
28987 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28988 variables with appropriate CPP guards.
28989 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28990 frame pointer, not the stack pointer. Correct layout comments. Fix test
28991 on resulting framesize and the management of the outregs buffer for pltexit.
28992 Preserve floating point return values across _dl_call_pltexit call.
28993 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28994 framesize and the management of the outregs buffer for pltexit.
28995 Preserve floating point return values across _dl_call_pltexit
28996 call.
28997 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28998 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28999 (print_exit): Fix format string for return register value.
29000
9a07f9d0
JM
290012012-03-10 Joseph Myers <joseph@codesourcery.com>
29002
29003 * sunrpc/Makefile (others): Add rpcgen.
29004 ($(objpfx)rpcgen): Remove special build rule and dependency on
29005 libc.
29006 * sunrpc/rpcgen.c: New file.
29007
547b5e30
PE
290082012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29009
c524201a
PE
29010 [BZ #13673]
29011 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29012 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29013 * sysdeps/i386/crti.S: Likewise.
29014 * sysdeps/i386/crtn.S: Likewise.
29015 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29016 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29017 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29018 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29019 * sysdeps/sh/crti.S: Likewise.
29020 * sysdeps/sh/crtn.S: Likewise.
29021 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29022
7b6235f2
PE
29023 [BZ #13673]
29024 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29025 with URL.
29026 * locale/programs/locfile-kw.gperf: Likewise.
29027 * locale/programs/charmap-kw.h: Regenerated.
29028 * locale/programs/locfile-kw.h: Likewise.
29029
547b5e30
PE
29030 [BZ #13673]
29031 * intl/plural.y: Replace FSF snail mail address with URL.
29032 * intl/plural.c: Regenerated.
29033
5f0a5dae
RH
290342012-03-09 Richard Henderson <rth@twiddle.net>
29035
29036 * include/math_private.h: Remove file.
29037 * math/math_private.h: Move file ...
29038 * sysdeps/generic/math_private.h: ... here.
29039
b8c03620
RH
29040 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29041 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29042 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29043
4e234f5d 29044 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
29045 and <math_private.h>.
29046 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29047 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29048 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29049 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29050 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29059 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29060 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29061 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29062 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29063 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29064 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29065 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29067 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29068 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29070 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29071 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29072 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29075 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29076 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29077 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29078 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29079 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29080 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29081 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29082 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29083 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29084 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29085 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29086 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29087 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29088 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29089 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29090 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29091 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29092 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29093 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29094 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29095 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29096 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29097 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29098 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29099 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29100 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29101 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29102 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29103 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29104 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29105 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29106 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29109 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29110 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29111 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29112 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29113 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29114 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29115 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29116 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29117 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29118 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29121 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29124 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29125 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29126 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29127 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29128 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29129 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29130 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29132 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29133 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29134 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29135 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29136 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29137 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29138 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29139 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29140 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29141 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29142 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29143 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29144 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29145 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29146 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29147 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29148 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29149 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29150 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29151 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29152 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29153 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29154 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29156 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29157 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29158 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29159 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29160 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29161 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29162 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29163 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29164 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29165 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29166 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29167 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29168 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29169 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29170 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29171 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29172 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29173 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29174 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29175 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29176 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29177 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29178 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29179 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29180 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29181 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29182 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29183 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29184 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29185 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29186 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29187 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29188 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29189 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29190 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29191 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29192 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29193 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29194 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29195 * sysdeps/ieee754/k_standard.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29229 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29235 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29236 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29237 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29238 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29239 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29240 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29242 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29246 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29247 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29248 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29252 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29263 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29269 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29273 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29280 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29281 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29282 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29283 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29284 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29285 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29287 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29289 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29290 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29291 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29292 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29293 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29294 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29295 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29299 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29300 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29303 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29304 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29305 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29306 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29307 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29308 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29311 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29314 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29315 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29316 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29318 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29320 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29321 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29323 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29324 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29325 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29326 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29327 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29328 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29329 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29330 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29331 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29332 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29333 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29334 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29335 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29336 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29337 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29338 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29339 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29340 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29341 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29342 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29343 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29344 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29345 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29346 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29347 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29348 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29349 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29350 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29351 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29352 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29353 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29354 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29355 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29356 * sysdeps/ieee754/s_lib_version.c: Likewise.
29357 * sysdeps/ieee754/s_matherr.c: Likewise.
29358 * sysdeps/ieee754/s_signgam.c: Likewise.
29359 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29360 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29361 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29362 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29363 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29364 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29365 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29366 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29367 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29368 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29369 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29370 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29371 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29372 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29373 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29374 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29375 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29376 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29378 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29380
1991fa03
JM
293812012-03-09 Joseph Myers <joseph@codesourcery.com>
29382
29383 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29384 * sunrpc/rpc_main.c: Likewise.
29385 * sunrpc/rpc_svcout.c: Likewise.
29386
60d6f5a6
DM
293872012-03-09 David S. Miller <davem@davemloft.net>
29388
29389 * include/math_private.h: New file.
29390
4962050e
JM
293912012-03-09 Joseph Myers <joseph@codesourcery.com>
29392
02a6f887
JM
29393 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29394 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29395 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29396 from <bits/socket_type.h>.
29397 (enum __socket_type): Don't define here.
29398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29400 bits/socket_type.h.
29401
c6e013c1
JM
29402 [BZ #13566]
29403 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29404 checking __USE_GNU.
29405
4962050e
JM
29406 * Makerules ($(inst_includedir)/%.h): New rule.
29407 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29408 (install-others): Remove variable setting.
29409 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29410
38842f45
RH
294112012-03-08 Richard Henderson <rth@twiddle.net>
29412
67bb6da6
RH
29413 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29414 from macro to inline function; merge with the
29415 !__LIBC_INTERNAL_MATH_INLINES version.
29416 (__ieee754_sqrtf): Likewise.
29417
15194b4b
RH
29418 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29419 to inline function.
29420 (__rintf, __floor, __floorf): Likewise.
29421
64e21ede
RH
29422 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29423 macro to inline function.
29424 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29425
38842f45
RH
29426 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29427 not <math/math_private.h>.
29428
c64bf5fe
DM
294292012-03-08 David S. Miller <davem@davemloft.net>
29430
29431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29432 copyright year.
29433 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29434
82d86f28
TS
294352012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29436
29437 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29438 normalization.
29439 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29440 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29441
aea5d727
UD
294422012-03-08 Ulrich Drepper <drepper@gmail.com>
29443
29444 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29445 be defined individually, they must be defined as a block. Define
29446 S for printing a string instead of hidint the different by using a
29447 macro for adding the 'l'.
29448 * stdio-common/tst-fphex-wide.c: Adjust.
29449
70bca0a3
MP
294502012-03-07 Marek Polacek <polacek@redhat.com>
29451
29452 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29453
65b81130
MP
294542012-03-08 Marek Polacek <polacek@redhat.com>
29455
29456 [BZ #13806]
29457 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29458 * stdio-common/tst-fphex.c: Define a few macros to make the
29459 test reusable. Use them.
29460 * stdio-common/tst-fphex-wide.c: New file.
29461
07037eeb
JM
294622012-03-08 Joseph Myers <joseph@codesourcery.com>
29463
a7a93d50
JM
29464 [BZ #6911]
29465 * manual/macros.texi (gnusystems): New macro.
29466 (nongnusystems): Likewise.
29467 (gnulinuxhurdsystems): Likewise.
29468 (gnuhurdsystems): Likewise..
29469 (gnulinuxsystems): Likewise.
29470 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29471 variants of the GNU system, not "GNU system".
29472 * manual/conf.texi: Likewise.
29473 * manual/errno.texi: Likewise. Update example of errno macro
29474 expansion.
29475 * manual/filesys.texi: Likewise.
29476 (getumask): Document as specific to GNU/Hurd.
29477 * manual/install.texi: Likewise. Reword some references to
29478 GNU/Linux.
29479 * manual/intro.texi: Likewise.
29480 * manual/io.texi: Likewise.
29481 (File Name Portability): Detail which constraints are inapplicable
29482 to all GNU systems and which are only inapplicable to GNU/Hurd.
29483 * manual/job.texi: Likewise.
29484 * manual/llio.texi: Likewise.
29485 (O_NOCTTY): Document as present on GNU/Linux.
29486 * manual/maint.texi: Likewise.
29487 * manual/memory.texi: Likewise.
29488 * manual/pattern.texi: Likewise.
29489 * manual/pipe.texi: Likewise.
29490 * manual/process.texi: Likewise.
29491 * manual/resource.texi: Likewise.
29492 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29493 child on GNU/Hurd.
29494 * manual/setjmp.texi: Likewise.
29495 * manual/signal.texi: Likewise.
29496 * manual/startup.texi: Likewise.
29497 * manual/stdio.texi: Likewise.
29498 * manual/terminal.texi: Likewise.
29499 (ONLCR): Document as POSIX.
29500 (OXTABS): Document availability on GNU/Linux as XTABS.
29501 (ONOEOT): Document availability separately from other bits.
29502 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29503 * manual/time.texi: Likewise.
29504 * manual/users.texi: Likewise.
29505 * INSTALL: Regenerated.
29506 * sysdeps/gnu/errlist.c: Regenerated.
29507
07037eeb
JM
29508 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29509 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29510 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29511 puts.
29512 * configure: Regenerated.
29513
d1d3431a
JM
295142012-03-07 Joseph Myers <joseph@codesourcery.com>
29515
af6a1e37
JM
29516 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29517 default includes instead of AC_HEADER_CHECK.
29518 * sysdeps/i386/configure: Regenerated.
29519
d1d3431a
JM
29520 [BZ #10716]
29521 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29522 * math/s_cacoshf.c (__cacoshf): Likewise.
29523 * math/s_cacoshl.c (__cacoshl): Likewise.
29524 * math/s_casinh.c (__casinh): Set signs of result from argument.
29525 * math/s_casinhf.c (__casinhf): Likewise.
29526 * math/s_casinhl.c (__casinhl): Likewise.
29527 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29528 (casinh_test): Add more tests.
29529 * sysdeps/i386/fpu/libm-test-ulps: Update.
29530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29531
482ff4da
UD
295322012-03-07 Ulrich Drepper <drepper@gmail.com>
29533
872fda05
UD
29534 * po/zh_TW.po: Update from translation team.
29535
a4300c7a
UD
29536 * login/Makefile (distribute): Remove variable.
29537 * catgets/Makefile: Likewise.
29538 * mach/Makefile: Likewise.
29539 * malloc/Makefile: Likewise.
29540 * misc/Makefile: Likewise.
29541 * iconv/Makefile: Likewise.
29542 * nscd/Makefile: Likewise.
29543 * hurd/Makefile: Likewise.
29544 * manual/Makefile: Likewise.
29545 * locale/Makefile: Likewise.
29546 * intl/Makefile: Likewise.
29547 * conform/Makefile: Likewise.
29548 * nss/Makefile: Likewise.
29549 * time/Makefile: Likewise.
29550 * soft-fp/Makefile: Likewise.
29551 * dirent/Makefile: Likewise.
29552 * gmon/Makefile: Likewise.
29553 * po/Makefile: Likewise.
29554 * rt/Makefile: Likewise.
29555 * socket/Makefile: Likewise.
29556 * math/Makefile: Likewise.
29557 * signal/Makefile: Likewise.
29558 * debug/Makefile: Likewise.
29559 * elf/Makefile: Likewise.
29560 * timezone/Makefile: Likewise.
29561 * stdlib/Makefile: Likewise.
29562 * iconvdata/Makefile: Likewise.
29563 * sunrpc/Makefile: Likewise.
29564 * io/Makefile: Likewise.
29565 * argp/Makefile: Likewise.
29566 * inet/Makefile: Likewise.
29567 * hesiod/Makefile: Likewise.
29568 * grp/Makefile: Likewise.
29569 * csu/Makefile: Likewise.
29570 * wctype/Makefile: Likewise.
29571 * crypt/Makefile: Likewise.
29572 * libio/Makefile: Likewise.
29573 * string/Makefile: Likewise.
29574 * nis/Makefile: Likewise.
29575 * resolv/Makefile: Likewise.
29576 * stdio-common/Makefile: Likewise.
29577 * wcsmbs/Makefile: Likewise.
29578 * dlfcn/Makefile: Likewise.
29579 * posix/Makefile: Likewise.
29580
3b7c4e74 29581 [BZ #6959]
482ff4da
UD
29582 * timezone/Makefile: Don't install timezone files, just the programs
29583 and scripts.
29584
f72ed77d
UD
295852012-03-06 Ulrich Drepper <drepper@gmail.com>
29586
a000466f
UD
29587 * nss/databases.def: Add missing gshadow entry.
29588
f72ed77d
UD
29589 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29590
a53b7a4e
MP
295912012-03-06 Marek Polacek <polacek@redhat.com>
29592
29593 [BZ #13726]
29594 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29595 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29596 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29597 * stdio-common/tst-long-dbl-fphex.c: New file.
29598
e9258400
DM
295992012-03-06 David S. Miller <davem@davemloft.net>
29600
29601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29602 (set_obp_int): New function.
29603 (get_obp_int): New function.
29604 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29605 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29606 Avoid unused variable warnings on 'val' and use builtin_expect.
29607 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29608 __builtin_expect.
e9258400
DM
29609 (INLINE_CLONE_SYSCALL): Likewise.
29610
3bd2c723
DM
296112012-03-05 David S. Miller <davem@davemloft.net>
29612
29613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29614
bbb78d03
AS
296152012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29616
884c5db4
AS
29617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29618
bbb78d03
AS
29619 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29620 only for |x| >= 40.
29621 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29622
1c9f702a 296232012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29624
29625 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29626 Replace gettimeofday with __vdso_gettimeofday.
29627
7be16f82
RM
29628 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29629 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29630 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29631
29632 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29633 time with __vdso_time.
29634
ed58a00f
JM
296352012-03-05 Joseph Myers <joseph@codesourcery.com>
29636
29637 * manual/lang.texi (size_t): Note types to which size_t may be
29638 equivalent with the GNU C Library, but do not describe when
29639 differences between them are significant.
29640
30ee4ced
AJ
296412012-03-05 Andreas Jaeger <aj@suse.de>
29642
29643 * sysdeps/i386/fpu/libm-test-ulps: Update.
29644
b7cd39e8
JM
296452012-03-05 Joseph Myers <joseph@codesourcery.com>
29646
29647 [BZ #3976]
29648 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29649 (__ieee754_pow): Save and restore rounding mode and use
29650 round-to-nearest for main computations.
29651 * math/libm-test.inc (pow_test_tonearest): New function.
29652 (pow_test_towardzero): Likewise.
29653 (pow_test_downward): Likewise.
29654 (pow_test_upward): Likewise.
29655 (main): Call the new functions.
29656 * sysdeps/i386/fpu/libm-test-ulps: Update.
29657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29658
29659 [BZ #3976]
29660 * math/libm-test.inc (cosh_test_tonearest): New function.
29661 (cosh_test_towardzero): Likewise.
29662 (cosh_test_downward): Likewise.
29663 (cosh_test_upward): Likewise.
29664 (sinh_test_tonearest): Likewise.
29665 (sinh_test_towardzero): Likewise.
29666 (sinh_test_downward): Likewise.
29667 (sinh_test_upward): Likewise.
29668 (main): Call the new functions.
29669 * sysdeps/i386/fpu/libm-test-ulps: Update.
29670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29671
6c6a98c9
TV
296722012-03-05 Tom de Vries <tom@codesourcery.com>
29673
29674 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29675 default stack guard is set in last bytes.
29676 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29677
21bb2d2e 296782012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29679
21bb2d2e 29680 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29681
21bb2d2e
AJ
29682 [BZ #13656]
29683 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29684 possibly allocate from heap instead of stack.
29685 * stdio-common/bug-vfprintf-nargs.c: New file.
29686 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29687
c6922934
AS
296882012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29689
29690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29691
bc957d53
MP
296922012-03-03 Marek Polacek <polacek@redhat.com>
29693
29694 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29695 * math/math_private.h: Likewise.
29696 * stdlib/tst-strtod.c: Likewise.
29697 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29698 * sysdeps/x86_64/bits/atomic.h: Likewise.
29699
6358490d
DM
297002012-03-02 David S. Miller <davem@davemloft.net>
29701
29702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29706 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29707 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29708 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29709 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29710
01ae168d
RM
297112012-03-02 Roland McGrath <roland@hack.frob.com>
29712
d9a17c07
RM
29713 [BZ #13792]
29714 * manual/examples/README: New file, says the example source files
29715 can be used under GPL>=2.
29716 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29717 line containing just "*/".
29718 * manual/examples/add.c: Add copyright header (GPL>=2).
29719 * manual/examples/argp-ex1.c: Likewise.
29720 * manual/examples/argp-ex2.c: Likewise.
29721 * manual/examples/argp-ex3.c: Likewise.
29722 * manual/examples/argp-ex4.c: Likewise.
29723 * manual/examples/atexit.c: Likewise.
29724 * manual/examples/db.c: Likewise.
29725 * manual/examples/dir.c: Likewise.
29726 * manual/examples/dir2.c: Likewise.
29727 * manual/examples/execinfo.c: Likewise.
29728 * manual/examples/filecli.c: Likewise.
29729 * manual/examples/filesrv.c: Likewise.
29730 * manual/examples/fmtmsgexpl.c: Likewise.
29731 * manual/examples/genpass.c: Likewise.
29732 * manual/examples/inetcli.c: Likewise.
29733 * manual/examples/inetsrv.c: Likewise.
29734 * manual/examples/isockad.c: Likewise.
29735 * manual/examples/longopt.c: Likewise.
29736 * manual/examples/memopen.c: Likewise.
29737 * manual/examples/memstrm.c: Likewise.
29738 * manual/examples/mkfsock.c: Likewise.
29739 * manual/examples/mkisock.c: Likewise.
29740 * manual/examples/mygetpass.c: Likewise.
29741 * manual/examples/pipe.c: Likewise.
29742 * manual/examples/popen.c: Likewise.
29743 * manual/examples/rprintf.c: Likewise.
29744 * manual/examples/search.c: Likewise.
29745 * manual/examples/select.c: Likewise.
29746 * manual/examples/setjmp.c: Likewise.
29747 * manual/examples/sigh1.c: Likewise.
29748 * manual/examples/sigusr.c: Likewise.
29749 * manual/examples/stpcpy.c: Likewise.
29750 * manual/examples/strdupa.c: Likewise.
29751 * manual/examples/strftim.c: Likewise.
29752 * manual/examples/strncat.c: Likewise.
29753 * manual/examples/subopt.c: Likewise.
29754 * manual/examples/swapcontext.c: Likewise.
29755 * manual/examples/termios.c: Likewise.
29756 * manual/examples/testopt.c: Likewise.
29757 * manual/examples/testpass.c: Likewise.
29758 * manual/examples/timeval_subtract.c: Likewise.
29759
01ae168d
RM
29760 [BZ #13792]
29761 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29762 function to ...
29763 * manual/timeval_subtract.c.texi: ... here, new file.
29764
49efa33d
DM
297652012-03-02 David S. Miller <davem@davemloft.net>
29766
29767 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29768
28afd92d
JM
297692012-03-02 Joseph Myers <joseph@codesourcery.com>
29770
804360ed
JM
29771 [BZ #3976]
29772 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29773 (__sin): Save and restore rounding mode and use round-to-nearest
29774 for all computations.
29775 (__cos): Save and restore rounding mode and use round-to-nearest
29776 for all computations.
29777 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29778 <fenv.h>.
29779 (tan): Save and restore rounding mode and use round-to-nearest for
29780 all computations.
29781 * math/libm-test.inc (cos_test_tonearest): New function.
29782 (cos_test_towardzero): Likewise.
29783 (cos_test_downward): Likewise.
29784 (cos_test_upward): Likewise.
29785 (sin_test_tonearest): Likewise.
29786 (sin_test_towardzero): Likewise.
29787 (sin_test_downward): Likewise.
29788 (sin_test_upward): Likewise.
29789 (tan_test_tonearest): Likewise.
29790 (tan_test_towardzero): Likewise.
29791 (tan_test_downward): Likewise.
29792 (tan_test_upward): Likewise.
29793 (main): Call the new functions.
29794 * sysdeps/i386/fpu/libm-test-ulps: Update.
29795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29796
a6d06d7b
JM
29797 [BZ #10135]
29798 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29799 small n, then large n, before computing and testing k+n.
29800 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29801 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29802 Likewise.
29803 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29804 Likewise.
29805 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29806 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29807 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29808 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29809 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29810 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29811 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29812 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29813 * math/libm-test.inc (scalbn_test): Add more tests.
29814 (scalbln_test): Likewise.
29815
07e12bb3
JM
29816 * manual/filesys.texi (mode_t): Describe constraints on size and
29817 signedness, not exact equivalence to a particular type.
29818 (ino_t): Likewise.
29819 (ino64_t): Likewise.
29820 (dev_t): Likewise.
29821 (nlink_t): Likewise.
29822 (blkcnt_t): Likewise.
29823 (blkcnt64_t): Likewise.
29824 * manual/llio.texi (off_t): Likewise.
29825
28afd92d
JM
29826 [BZ #3976]
29827 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29828 (__ieee754_exp): Save and restore rounding mode and use
29829 round-to-nearest for all computations.
29830 * math/libm-test.inc (exp_test_tonearest): New function.
29831 (exp_test_towardzero): Likewise.
29832 (exp_test_downward): Likewise.
29833 (exp_test_upward): Likewise.
29834 (main): Call the new functions.
29835 * sysdeps/i386/fpu/libm-test-ulps: Update.
29836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29837
b1eeb65d
CD
298382012-03-01 Chris Demetriou <cgd@google.com>
29839
29840 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29841 have predictable order.
29842
53362a4b
DM
298432012-03-01 David S. Miller <davem@davemloft.net>
29844
3c969083
DM
29845 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29846
759707de
DM
29847 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29848 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29849 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29850 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29851
dfdb8ff2
DM
29852 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29853 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29854 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29856 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29857 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29858 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29859 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29860 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29861
ead89f96
DM
29862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29863
7f66bd07
DM
29864 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29865 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29866 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29867
53362a4b
DM
29868 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29869 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29870 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29871 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29872 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29874 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29875 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29876 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29877 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29878 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29879 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29881 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29882 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29883 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29884 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29885 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29886 * sysdeps/sparc/elf/configure: Regenerated.
29887
7b1902cb
JM
298882012-03-01 Joseph Myers <joseph@codesourcery.com>
29889
bec039bc
JM
29890 * configure.in (AS, LD): Require binutils 2.20 or later.
29891 * configure: Regenerated.
29892 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29893 as required minimum version.
29894 * INSTALL: Regenerated.
29895
7b1902cb
JM
29896 [BZ #2541]
29897 [BZ #4108]
29898 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29899 before squaring exponent.
29900 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29901 bottom long double and 27 bits of top long double before squaring
29902 exponent.
29903 * math/libm-test.inc (erfc_test): Add more tests.
29904 * sysdeps/i386/fpu/libm-test-ulps: Update.
29905 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29907
f775c276
KT
299082012-03-01 Kai Tietz <ktietz@redhat.com>
29909
29910 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29911 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29912 containing bit-fields.
29913 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29914 * soft-fp/single.h (_FP_UNION_S): Likewise.
29915 * soft-fp/double.h (_FP_UNION_D): Likewise.
29916
5b8a4d4a
JM
299172012-02-29 Joseph Myers <joseph@codesourcery.com>
29918
0bab47b6
JM
29919 [BZ #13786]
29920 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29921 not include ../strcmp.S.
29922 [USE_AS_STRNCASECMP_L]: Likewise.
29923 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29924 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29925 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29926 (__strncasecmp_l_ia32): Define as alias to
29927 __strncasecmp_l_nonascii.
29928
0fcad3e2
JM
29929 [BZ #5794]
29930 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29931 * sysdeps/i386/fpu/libm-test-ulps: Update.
29932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29933
5b8a4d4a
JM
29934 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29936
8fdceb2e
JL
299372012-02-29 Jeff Law <law@redhat.com>
29938
29939 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29940 out of bounds read.
29941
1f393a11
MP
299422012-02-29 Marek Polacek <polacek@redhat.com>
29943
29944 [BZ #13706]
29945 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29946 * elf/Makefile: Add rules to run tst-unused-dep.out.
29947
8847f037
DM
299482012-02-28 David S. Miller <davem@davemloft.net>
29949
29950 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29951 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29952 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29953 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29954 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29955 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29956
169d7f11
JM
299572012-02-29 Joseph Myers <joseph@codesourcery.com>
29958
29959 * math/libm-test.inc (llround_test): Move one test from
29960 lround_test. Use TEST_f_L in moved test.
29961 (lround_test): Move misplaced test to llround_test. Add testcase
29962 from bug 2561.
29963
39adf059
UD
299642012-02-28 Ulrich Drepper <drepper@gmail.com>
29965
29966 * sysdeps/x86_64/fpu/e_expf.S: New file.
29967 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29968
71b5d1c5
SB
299692012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29970
29971 [BZ #13637]
29972 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29973 of remain_len that may cause incomplete multi-byte character and
29974 false match.
29975 * posix/bug-regex33.c: New file.
29976 * posix/Makefile (tests): Add bug-regex33.
29977
1f77f049
JM
299782012-02-28 Joseph Myers <joseph@codesourcery.com>
29979
29980 * manual/macros.texi: New file.
29981 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29982 * manual/libc.texinfo: Include macros.texi.
29983 * manual/creatute.texi: Likewise.
29984 * manual/install.texi: Likewise.
29985 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29986 @glibcadj{} in references to the GNU C Library.
29987 * manual/charset.texi: Likewise.
29988 * manual/conf.texi: Likewise.
29989 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29990 when not using those macros.
29991 * manual/creature.texi: Likewise.
29992 * manual/crypt.texi: Likewise.
29993 * manual/errno.texi: Likewise.
29994 * manual/filesys.texi: Likewise.
29995 * manual/header.texi: Likewise.
29996 * manual/install.texi: Likewise.
29997 * manual/intro.texi: Likewise.
29998 * manual/io.texi: Likewise.
29999 * manual/job.texi: Likewise.
30000 * manual/lang.texi: Likewise.
30001 * manual/libc.texiinfo: Likewise.
30002 * manual/llio.texi: Likewise.
30003 * manual/locale.texi: Likewise.
30004 * manual/maint.texi: Likewise.
30005 * manual/math.texi: Likewise.
30006 * manual/memory.texi: Likewise.
30007 * manual/message.texi: Likewise.
30008 * manual/nss.texi: Likewise.
30009 * manual/pattern.texi: Likewise.
30010 * manual/process.texi: Likewise.
30011 * manual/resource.texi: Likewise.
30012 * manual/search.texi: Likewise.
30013 * manual/setjmp.texi: Likewise.
30014 * manual/signal.texi: Likewise.
30015 * manual/socket.texi: Likewise.
30016 * manual/startup.texi: Likewise.
30017 * manual/stdio.texi: Likewise.
30018 * manual/string.texi: Likewise.
30019 * manual/sysinfo.texi: Likewise.
30020 * manual/syslog.texi: Likewise.
30021 * manual/terminal.texi: Likewise.
30022 * manual/time.texi: Likewise.
30023 * manual/users.texi: Likewise.
30024 * INSTALL: Regenerated.
30025 * NOTES: Regenerated.
d40c5d54 30026 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 30027
450bf206
AS
300282012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30029
30030 * include/dirent.h: Include <dirstream.h> before
30031 <dirent/dirent.h>.
30032
741a235b
DM
300332012-02-28 David S. Miller <davem@davemloft.net>
30034
30035 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30036 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30037 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30038 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30039
d6b5aa58
DM
300402012-02-27 David S. Miller <davem@davemloft.net>
30041
1aff59a3
DM
30042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30044 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30045 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30046
d6b5aa58
DM
30047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30048 frame pointer instead of stack pointer relative arg slot.
30049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30050 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30051 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30052
433f48bf
CD
300532012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30054
30055 [BZ #3992]
30056 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30057
d674b76d
DM
300582012-02-27 David S. Miller <davem@davemloft.net>
30059
30060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30064 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30065 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30066 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30067 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30068
0e7727f7
JM
300692012-02-27 Joseph Myers <joseph@codesourcery.com>
30070
30071 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30072 later. Allow versions 5-9.
43be4ca2 30073 * configure: Regenerated.
0e7727f7
JM
30074 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30075 required minimum version and 4.6 as recommended version. Do not
30076 mention bugs in GCC 2.7 and 2.8.
43be4ca2 30077 * INSTALL: Regenerated.
0e7727f7 30078
a78bc654
DM
300792012-02-27 David S. Miller <davem@davemloft.net>
30080
428d5830
DM
30081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30085 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30086 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30087 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30088 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30089
a78bc654
DM
30090 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30091 manipulate bits before adding and subtracting TWO112[sx].
30092 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30093
4579f81c
RM
300942012-02-27 Roland McGrath <roland@hack.frob.com>
30095
36c8acb4
RM
30096 [BZ #13775]
30097 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30098 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30099 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30100 being in POSIX, because they are in 1003.1-2008.
30101
84ad622b
RM
30102 * rt/tst-aio.c: Include <fcntl.h>.
30103 * rt/tst-aio7.c: Likewise.
30104 * rt/tst-aio64.c: Likewise.
30105
4579f81c
RM
30106 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30107
abd923db
JM
301082012-02-27 Joseph Myers <joseph@codesourcery.com>
30109
30110 * manual/install.texi (--with-headers): Describe headers as
30111 interface headers, not private headers.
30112 (Specific advice for GNU/Linux systems): Describe use of headers
30113 from "make headers_install", not private headers from older
30114 kernels.
43be4ca2 30115 * INSTALL: Regenerated.
abd923db
JM
30116 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30117 Change to 2.6.19.
30118 * sysdeps/unix/sysv/linux/configure: Regenerated.
30119
6664049b
JM
30120 * manual/llio.texi (fclean): Remove documentation.
30121
bb8b6697
JM
30122 * manual/Makefile (libc-texi-generated): New variable. Include
30123 version.texi.
30124 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30125 $(libc-texi-generated), not duplicated list of files.
30126 (version.texi, stamp-version): New rules.
30127 (realclean): Remove $(libc-texi-generated), not individual files
30128 from that list. Do not remove dir-add.texinfo.
30129 * manual/libc.texinfo: Comment out uses of edition numbers and
30130 references to printed manual. Remove last-updated dates.
30131 (EDITION): Comment out.
30132 (ISBN): Likewise.
30133 (VERSION, UPDATED): Remove.
30134 (version.texi): Include.
30135
12e5c3b9
AS
301362012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30137
30138 * sysdeps/posix/spawni.c: Include <signal.h>.
30139 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30140 * sysdeps/pthread/aio_fsync.c: Likewise.
30141
4efeffc1 301422012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 30143
ba63ba08
UD
30144 * conform/Makefile (tests): Run only when not cross-compiling and
30145 when fast-check is not defined.
30146
d94a4670
UD
30147 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30148 * conform/data/limits.h-data: Fixes for POSIX2008.
30149 * conform/run-conformtest.sh: Run all tests.
30150 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30151 headers.
30152 * include/bits/dlfcn.h: Likewise.
30153 * include/langinfo.h: Likewise.
30154 * include/monetary.h: Likewise.
30155 * include/sys/poll.h: Likewise.
30156
30157 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30158 for __USE_GNU.
30159 * posix/spawn.h: Define __need_sigset_t.
30160 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30161 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30162 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30163 to get sigevent_t only.
30164 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30165 only for __USE_GNU.
30166 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30167 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30168 process_vm_writev only for __USE_GNU.
30169 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
30170
30171 * conform/Makefile: For now ignore errors from run-conformtest.
30172 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30173 POSIX to avoid namespace pollution. Don't prepend headers.
30174 * conform/data/aio.h-data: Fixes for POSIX testing.
30175 * conform/data/fcntl.h-data: Likewise.
30176 * conform/data/glob.h-data: Likewise.
30177 * conform/data/grp.h-data: Likewise.
30178 * conform/data/pthread.h-data: Likewise.
30179 * conform/data/pwd.h-data: Likewise.
30180 * conform/data/signal.h-data: Likewise.
30181 * conform/data/spawn.h-data: Likewise.
30182 * conform/data/stdio.h-data: Likewise.
30183 * conform/data/stdlib.h-data: Likewise.
30184 * conform/data/stropts.h-data: Likewise.
30185 * conform/data/sys/mman.h-data: Likewise.
30186 * conform/data/sys/stat.h-data: Likewise.
30187 * conform/data/sys/types.h-data: Likewise.
30188 * conform/data/sys/wait.h-data: Likewise.
30189 * conform/data/time.h-data: Likewise.
30190 * conform/data/unistd.h-data: Likewise.
30191 * conform/data/utime.h-data: Likewise.
30192
30193 * io/sys/stat.h: fchmod was always in POSIX.
30194 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30195 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30196 * rt/aio.h: Define __need_timespec before including <time.h>.
30197 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30198 struct. Add forward declaration of pthread_attr_t and use it in
30199 sigevent.
30200 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30201 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30202 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30203 always remove CLK_TCK definition.
30204
c20105c3
AS
302052012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30206
30207 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30208
7a270350
UD
302092012-02-25 Ulrich Drepper <drepper@gmail.com>
30210
31341567
UD
30211 * conform/run-conformtest.sh: New file.
30212 * conform/Makefile: Run run-conformtest for tests.
30213 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30214 support.
30215
30216 * conform/data/uchar.h-data: New file.
30217 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30218 * conform/data/arpa/inet.h-data: Likewise.
30219 * conform/data/assert.h-data: Likewise.
30220 * conform/data/complex.h-data: Likewise.
30221 * conform/data/cpio.h-data: Likewise.
30222 * conform/data/ctype.h-data: Likewise.
30223 * conform/data/dirent.h-data: Likewise.
30224 * conform/data/dlfcn.h-data: Likewise.
30225 * conform/data/errno.h-data: Likewise.
30226 * conform/data/fcntl.h-data: Likewise.
30227 * conform/data/float.h-data: Likewise.
30228 * conform/data/fmtmsg.h-data: Likewise.
30229 * conform/data/fnmatch.h-data: Likewise.
30230 * conform/data/ftw.h-data: Likewise.
30231 * conform/data/glob.h-data: Likewise.
30232 * conform/data/grp.h-data: Likewise.
30233 * conform/data/iconv.h-data: Likewise.
30234 * conform/data/inttypes.h-data: Likewise.
30235 * conform/data/langinfo.h-data: Likewise.
30236 * conform/data/libgen.h-data: Likewise.
30237 * conform/data/limits.h-data: Likewise.
30238 * conform/data/locale.h-data: Likewise.
30239 * conform/data/math.h-data: Likewise.
30240 * conform/data/monetary.h-data: Likewise.
30241 * conform/data/mqueue.h-data: Likewise.
30242 * conform/data/ndbm.h-data: Likewise.
30243 * conform/data/net/if.h-data: Likewise.
30244 * conform/data/netdb.h-data: Likewise.
30245 * conform/data/netinet/in.h-data: Likewise.
30246 * conform/data/nl_types.h-data: Likewise.
30247 * conform/data/poll.h-data: Likewise.
30248 * conform/data/pthread.h-data: Likewise.
30249 * conform/data/pwd.h-data: Likewise.
30250 * conform/data/regex.h-data: Likewise.
30251 * conform/data/sched.h-data: Likewise.
30252 * conform/data/search.h-data: Likewise.
30253 * conform/data/semaphore.h-data: Likewise.
30254 * conform/data/setjmp.h-data: Likewise.
30255 * conform/data/signal.h-data: Likewise.
30256 * conform/data/spawn.h-data: Likewise.
30257 * conform/data/stdarg.h-data: Likewise.
30258 * conform/data/stdio.h-data: Likewise.
30259 * conform/data/stdlib.h-data: Likewise.
30260 * conform/data/string.h-data: Likewise.
30261 * conform/data/strings.h-data: Likewise.
30262 * conform/data/stropts.h-data: Likewise.
30263 * conform/data/sys/ipc.h-data: Likewise.
30264 * conform/data/sys/mman.h-data: Likewise.
30265 * conform/data/sys/msg.h-data: Likewise.
30266 * conform/data/sys/resource.h-data: Likewise.
30267 * conform/data/sys/select.h-data: Likewise.
30268 * conform/data/sys/sem.h-data: Likewise.
30269 * conform/data/sys/shm.h-data: Likewise.
30270 * conform/data/sys/socket.h-data: Likewise.
30271 * conform/data/sys/stat.h-data: Likewise.
30272 * conform/data/sys/statvfs.h-data: Likewise.
30273 * conform/data/sys/time.h-data: Likewise.
30274 * conform/data/sys/timeb.h-data: Likewise.
30275 * conform/data/sys/times.h-data: Likewise.
30276 * conform/data/sys/types.h-data: Likewise.
30277 * conform/data/sys/uio.h-data: Likewise.
30278 * conform/data/sys/un.h-data: Likewise.
30279 * conform/data/sys/utsname.h-data: Likewise.
30280 * conform/data/sys/wait.h-data: Likewise.
30281 * conform/data/syslog.h-data: Likewise.
30282 * conform/data/tar.h-data: Likewise.
30283 * conform/data/termios.h-data: Likewise.
30284 * conform/data/utime.h-data: Likewise.
30285 * conform/data/utmpx.h-data: Likewise.
30286 * conform/data/varargs.h-data: Likewise.
30287 * conform/data/wchar.h-data: Likewise.
30288 * conform/data/wctype.h-data: Likewise.
30289 * conform/data/wordexp.h-data: Likewise.
30290
30291 * include/stropts.h: New file.
30292 * include/uchar.h: New file.
30293 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30294 * include/assert.h: Likewise.
30295 * include/ctype.h: Likewise.
30296 * include/dirent.h: Likewise.
30297 * include/dlfcn.h: Likewise.
30298 * include/fcntl.h: Likewise.
30299 * include/fnmatch.h: Likewise.
30300 * include/glob.h: Likewise.
30301 * include/grp.h: Likewise.
30302 * include/libio.h: Likewise.
30303 * include/locale.h: Likewise.
30304 * include/math.h: Likewise.
30305 * include/net/if.h: Likewise.
30306 * include/netdb.h: Likewise.
30307 * include/netinet/in.h: Likewise.
30308 * include/pthread.h: Likewise.
30309 * include/pwd.h: Likewise.
30310 * include/regex.h: Likewise.
30311 * include/sched.h: Likewise.
30312 * include/search.h: Likewise.
30313 * include/setjmp.h: Likewise.
30314 * include/signal.h: Likewise.
30315 * include/stdio.h: Likewise.
30316 * include/stdlib.h: Likewise.
30317 * include/string.h: Likewise.
30318 * include/sys/cdefs.h: Likewise.
30319 * include/sys/mman.h: Likewise.
30320 * include/sys/msg.h: Likewise.
30321 * include/sys/resource.h: Likewise.
30322 * include/sys/select.h: Likewise.
30323 * include/sys/socket.h: Likewise.
30324 * include/sys/stat.h: Likewise.
30325 * include/sys/statvfs.h: Likewise.
30326 * include/sys/time.h: Likewise.
30327 * include/sys/times.h: Likewise.
30328 * include/sys/uio.h: Likewise.
30329 * include/sys/utsname.h: Likewise.
30330 * include/sys/wait.h: Likewise.
30331 * include/termios.h: Likewise.
30332 * include/time.h: Likewise.
30333 * include/ulimit.h: Likewise.
30334 * include/unistd.h: Likewise.
30335 * include/utime.h: Likewise.
30336 * include/wchar.h: Likewise.
30337 * include/wctype.h: Likewise.
30338 * include/wordexp.h: Likewise.
30339
30340 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30341
7a270350
UD
30342 * time/time.h: TIME_UTC must be a macro.
30343 Make timespec_get available for ISO C11 only as well.
30344
7724defc
UD
303452012-02-24 Ulrich Drepper <drepper@gmail.com>
30346
30347 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30348 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30349
6b1d1d46
JM
303502012-02-24 Joseph Myers <joseph@codesourcery.com>
30351
30352 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30353
0f8bbd69
JM
303542012-02-24 Joseph Myers <joseph@codesourcery.com>
30355
30356 * manual/texinfo.tex: Update to version 2012-01-19.16.
30357
66ab80bc
JM
303582012-02-24 Joseph Myers <joseph@codesourcery.com>
30359
30360 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30361
74981cc5
RM
303622012-02-24 Roland McGrath <roland@hack.frob.com>
30363
ee968201
RM
30364 [BZ #13738]
30365 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30366 * manual/fdl-1.3.texi: New file.
30367 * manual/fdl-1.1.texi: File removed.
30368
74981cc5
RM
30369 [BZ #13738]
30370 * manual/libc.texinfo (FDL_VERSION): New @set.
30371 Use it for mention of FDL in cover text.
30372 (Documentation License): Use it in @include file name.
30373
7bb764bc
JM
303742012-02-22 Joseph Myers <joseph@codesourcery.com>
30375 Roland McGrath <roland@hack.frob.com>
30376
30377 [BZ #5461]
30378 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30379 not LONG_LONG_MAX and LONG_LONG_MIN.
30380 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30381 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30382 name.
30383 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30384
6cbeae47
JM
303852012-02-22 Joseph Myers <joseph@codesourcery.com>
30386
30387 [BZ #2547]
30388 [BZ #11365]
30389 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30390 manipulate bits before adding and subtracting TWO23[sx].
30391 * math/libm-test.inc (nearbyint_test): Add more tests.
30392
fe45ce09
JM
303932012-02-22 Joseph Myers <joseph@codesourcery.com>
30394
30395 [BZ #2548]
30396 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30397 bits before adding and subtracting TWO23[sx].
30398 * math/libm-test.inc (rint_test): Add more tests.
30399 (rint_test_tonearest): Likewise.
30400 (rint_test_towardzero): Likewise.
30401 (rint_test_downward): Likewise.
30402 (rint_test_upward: Likewise.
30403
ff3b3d82
JM
304042012-02-22 Joseph Myers <joseph@codesourcery.com>
30405
30406 [BZ #10110]
30407 * include/stdc-predef.h: New file. Extracted from features.h.
30408 * include/features.h: Include stdc-predef.h.
30409 * Makefile (headers): Add stdc-predef.h.
30410 * CONFORMANCE (Compiler limitations): Update.
30411
ef0aab35
JM
304122012-02-22 Joseph Myers <joseph@codesourcery.com>
30413
30414 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30415
58639409
DM
304162012-02-21 David S. Miller <davem@davemloft.net>
30417
30418 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30419 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30420
c0e70b25
DM
304212012-02-20 David S. Miller <davem@davemloft.net>
30422
30423 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30424 using a normal save/restore sequence, rather than allocating a
30425 dummy stack frame just to store a frame pointer and restore.
30426 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30427
fb06851d
JM
304282012-02-21 Joseph Myers <joseph@codesourcery.com>
30429
30430 * manual/install.texi: Fix stray word in line-wrapped comment.
30431
7a8b71c3
DM
304322012-02-20 David S. Miller <davem@davemloft.net>
30433
d510c123
DM
30434 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30435 both binutils and gcc support GOTDATA.
30436
0722d7c2
DM
30437 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30438 "rd %pc" in the PIC register setup sequences.
30439
3d2b3019
DM
30440 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30441 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30442 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30443 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30444 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30446 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30447 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30448 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30449 (SYSCALL_ERROR_HANDLER): Likewise.
30450 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30451 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30453 (SYSCALL_ERROR_HANDLER): Likewise.
30454
c80098a9
DM
30455 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30456 (HAVE_GCC_GOTDATA): New.
30457 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30458 relocation support in both binutils and gcc.
30459 * sysdeps/sparc/elf/configure: Regenerate.
30460
3a2545a0
DM
30461 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30462 * sysdeps/sparc/sparc32/elf/configure: Delete.
30463 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30464 * sysdeps/sparc/sparc64/elf/configure: Delete.
30465 * sysdeps/sparc/elf/configure.in: New file.
30466 * sysdeps/sparc/elf/configure: Generate.
30467
7a8b71c3
DM
30468 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30469 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30470 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30471 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30472 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30473
f1e86fca
JM
304742012-02-21 Joseph Myers <joseph@codesourcery.com>
30475
30476 * manual/install.texi: Do not mention specific glibc version
30477 numbers.
30478 * manual/libc.texinfo (VERSION, UPDATED): Update.
30479 (@copying): Use @copyright{} and range of years.
30480
0e7dfaef
JM
304812012-02-21 Joseph Myers <joseph@codesourcery.com>
30482
30483 [BZ #13695]
30484 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30485 [crti.S not in sysdirs] (generated): Do not append.
30486 [crti.S not in sysdirs] (omit-deps): Likewise.
30487 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30488 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30489 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30490 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30491 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30492 Likewise.
30493 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30494 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30495 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30496 * csu/defs.awk: Remove file.
30497 * sysdeps/generic/initfini.c: Likewise.
30498 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30499 variable.
30500 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30501 Likewise.
30502
599af3ca
JM
305032012-02-20 Joseph Myers <joseph@codesourcery.com>
30504
30505 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30506 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30507 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30508 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30509 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30510 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30511 <bits/epoll.h>.
30512 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30513 (__EPOLL_PACKED): Define to empty if not defined by
30514 <bits/epoll.h>.
30515 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30517 bits/epoll.h.
30518
0e499750
JM
305192012-02-20 Joseph Myers <joseph@codesourcery.com>
30520
30521 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30522 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30523 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30524 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30525 <bits/timerfd.h>.
30526 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30528 bits/timerfd.h.
30529
5ad91f6e
JM
305302012-02-20 Joseph Myers <joseph@codesourcery.com>
30531
30532 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30533 in C locale.
30534 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30535 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30536 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30538
06b99b02
AJ
305392012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30540
30541 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30542 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30543
7638c0fd
AS
305442012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30545
30546 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30547 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30548 defined.
30549 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30550 Likewise.
30551 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30552 entry for 2.16.
30553
92221550
AJ
305542012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30555
30556 * math/w_acos.c: Use non-signaling floating-point comparisons.
30557 * math/w_acosf.c: Likewise.
30558 * math/w_acosh.c: Likewise.
30559 * math/w_acoshf.c: Likewise.
30560 * math/w_acoshl.c: Likewise.
30561 * math/w_acosl.c: Likewise.
30562 * math/w_asin.c: Likewise.
30563 * math/w_asinf.c: Likewise.
30564 * math/w_asinl.c: Likewise.
30565 * math/w_atanh.c: Likewise.
30566 * math/w_atanhf.c: Likewise.
30567 * math/w_atanhl.c: Likewise.
30568 * math/w_exp2.c: Likewise.
30569 * math/w_exp2f.c: Likewise.
30570 * math/w_exp2l.c: Likewise.
30571 * math/w_j0.c: Likewise.
30572 * math/w_j0f.c: Likewise.
30573 * math/w_j0l.c: Likewise.
30574 * math/w_j1.c: Likewise.
30575 * math/w_j1f.c: Likewise.
30576 * math/w_j1l.c: Likewise.
30577 * math/w_jn.c: Likewise.
30578 * math/w_jnf.c: Likewise.
30579 * math/w_log.c: Likewise.
30580 * math/w_log10.c: Likewise.
30581 * math/w_log10f.c: Likewise.
30582 * math/w_log10l.c: Likewise.
30583 * math/w_log2.c: Likewise.
30584 * math/w_log2f.c: Likewise.
30585 * math/w_log2l.c: Likewise.
30586 * math/w_logf.c: Likewise.
30587 * math/w_logl.c: Likewise.
30588 * math/w_sqrt.c: Likewise.
30589 * math/w_sqrtf.c: Likewise.
30590 * math/w_sqrtl.c: Likewise.
30591 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30592 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30593 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30594 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30595 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30596
ebaf36eb
JM
305972012-02-19 Joseph Myers <joseph@codesourcery.com>
30598
30599 [BZ #9739]
30600 * manual/string.texi (strnlen): Use correct parameter name in
30601 equivalent expression.
30602
71c254a6
JM
306032012-02-19 Joseph Myers <joseph@codesourcery.com>
30604
30605 [BZ #11174]
30606 * manual/users.texi (seteuid): Consistently use neweuid for
30607 argument name.
30608
16d2c631
JM
306092012-02-19 Joseph Myers <joseph@codesourcery.com>
30610
30611 [BZ #13704]
30612 * manual/nss.texi (Services in the NSS configuration): Correct
30613 list of services in example configuration file.
30614
cd837b09
NB
306152012-02-19 Nick Bowler <nbowler@draconx.ca>
30616
30617 [BZ #11322]
30618 * manual/arith.texi: Remove statements about negative zero
30619 behaving identically to zero.
30620
02c4bbad
JM
306212012-02-18 Joseph Myers <joseph@codesourcery.com>
30622
30623 [BZ #5993]
30624 * manual/install.texi: Do not document upgrading from libc5.
30625
366842e7
JM
306262012-02-18 Joseph Myers <joseph@codesourcery.com>
30627
30628 [BZ #4596]
30629 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30630
dd54084d
DM
306312012-02-18 David S. Miller <davem@davemloft.net>
30632
30633 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30634 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30635 %o7 across the call.
30636 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30637 instead.
30638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30639 SETUP_PIC_REG_LEAF.
30640 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30641 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30642 * sysdeps/sparc/crtn.S: Likewise.
30643
2bcc53a3
UD
306442012-02-17 Ulrich Drepper <drepper@gmail.com>
30645
30646 * aout/Makefile: Remove.
30647
09c093b5
RK
306482012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30649
30650 [BZ #13058]
30651 * manual/examples/argp-ex1.c (main): Format definition in GNU
30652 style.
30653 * manual/examples/argp-ex2.c (main): Likewise.
30654 * manual/examples/argp-ex3.c (main): Likewise.
30655 * manual/examples/argp-ex4.c (main): Likewise.
30656 * manual/examples/longopt.c (main): Use new-style prototype
30657 definition.
30658 * manual/examples/strncat.c (main): Specify return type and use
30659 (void) for arguments.
30660 * manual/examples/subopt.c (main): Use char **argv argument.
30661
2ee633a2
JM
306622012-02-17 Joseph Myers <joseph@codesourcery.com>
30663
30664 [BZ #5077]
30665 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30666 rounding modes.
30667
0520adde
FB
306682012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30669
30670 [BZ #6907]
30671 * manual/string.texi (strchr): Change when strchrnul is
30672 recommended.
30673
3f4081cd
DGM
306742012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30675
30676 [BZ #174]
30677 * manual/locale.texi (setlocale): Document LOCPATH.
30678
d1b10e78
JM
306792012-02-17 Joseph Myers <joseph@codesourcery.com>
30680
30681 [BZ #10210]
30682 * manual/process.texi (execle): Move @dots{} before last argument.
30683
79c6869c
PB
306842012-02-17 Paul Bolle <pebolle@tiscali.nl>
30685
30686 [BZ #12047]
30687 * manual/charset.texi (Generic Charset Conversion): Fix typo
30688 (LC_TYPE -> LC_CTYPE).
30689
cc6e48bc
NB
306902012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30691
30692 [BZ #5805]
30693 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30694 (scalbnf): Likewise.
30695 (scalbnl): Likewise.
30696 (scalbln): Likewise.
30697 (scalblnf): Likewise.
30698 (scalblnl): Likewise.
30699 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30700 (vwarnx): Likewise.
30701 (verr): Likewise.
30702 (verrx): Likewise.
30703 * manual/filesys.texi (telldir): Use braces around return type.
30704 * manual/llio.texi (mmap): Add space after comma.
30705 (mmap64): Likewise.
30706 * manual/math.texi (jn): Use @var{} on parameter names.
30707 (jnf): Likewise.
30708 (jnl): Likewise.
30709 (yn): Likewise.
30710 (ynf): Likewise.
30711 (ynl): Likewise.
30712 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30713 line.
30714 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30715 "...".
30716 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30717 (sched_get_priority_max): Likewise.
30718 * manual/signal.texi (sigvec): Add space after comma.
30719 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30720 names.
30721 (if_indextoname): Likewise.
30722 (if_freenameindex): Likewise.
30723 (sendto): Use ',' instead of '.' in prototype.
30724 * manual/startup.texi (syscall): Use @dots{} instead of literal
30725 "...".
30726 * manual/stdio.texi (__fpending): Separate initial words of
30727 paragraph from @deftypefun line.
30728 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30729 "...".
30730 (vsyslog): Use @var{} on parameter names.
30731 * manual/terminal.texi (stty): Use @var{} on parameter names.
30732 * manual/users.texi (getutmp): Use @var{} on parameter names.
30733 (getutmpx): Likewise.
30734
5b23062f
JM
307352012-02-17 Joseph Myers <joseph@codesourcery.com>
30736
30737 [BZ #6884]
30738 * manual/stdio.texi (fopen): Fix typos in description of
30739 ",ccs=STRING".
30740
8dee4833
AJ
307412012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30742
30743 [BZ #4026]
30744 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30745 get clock_id definition.
30746
9078ce93
TS
307472012-02-17 Thomas Schwinge <thomas@schwinge.name>
30748
30749 [BZ #4822]
30750 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30751 (madvise): Cast every argument to void on its own.
30752
3835c55f
JM
307532012-02-17 Joseph Myers <joseph@codesourcery.com>
30754
30755 [BZ #9902]
30756 * manual/startup.texi (Exit Status): Fix typo.
30757
35c47e37
JM
307582012-02-17 Joseph Myers <joseph@codesourcery.com>
30759
30760 [BZ #10140]
30761 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30762 * manual/examples/argp-ex2.c: Likewise.
30763 * manual/examples/argp-ex3.c: Likewise.
30764
e3b69ca7
RH
307652012-02-16 Richard Henderson <rth@redhat.com>
30766
30767 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30768 * sysdeps/s390/s390-32/initfini.c: Remove.
30769 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30770 * sysdeps/s390/s390-64/initfini.c: Remove.
30771
df83af67
KK
307722012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30773
30774 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30775 compiler output for sysdeps/generic/initfini.c.
30776 * sysdeps/sh/elf/initfini.c: Remove file.
30777
f63f3380
DM
307782012-02-16 David S. Miller <davem@davemloft.net>
30779
fb59b3a4
DM
30780 [BZ #11494]
30781 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30782
f63f3380
DM
30783 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30784 * sysdeps/sparc/crti.S: New file.
30785 * sysdeps/sparc/crtn.S: New file.
30786 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30787 * sysdeps/sparc/sparc64/Makefile: Likewise.
30788
df6a4a4a
MF
307892012-02-15 Mike Frysinger <vapier@gentoo.org>
30790
6dd8f3dc 30791 [BZ #3335]
df6a4a4a
MF
30792 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30793
1cac7236
RM
307942012-02-15 Roland McGrath <roland@hack.frob.com>
30795
d2c736f8
RM
30796 [BZ #4822]
30797 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30798
1cac7236
RM
30799 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30800 (write, read, close): Likewise.
30801 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30802
8e475601
JM
308032012-02-15 Joseph Myers <joseph@codesourcery.com>
30804
30805 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30806 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30807 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30808 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30809 <bits/signalfd.h>.
30810 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30812 bits/signalfd.h.
30813
ed656b40
MP
308142012-02-14 Marek Polacek <polacek@redhat.com>
30815
30816 * sysdeps/x86_64/crti.S: New file.
30817 * sysdeps/x86_64/crtn.S: New file.
30818 * sysdeps/x86_64/elf/initfini.c: Remove file.
30819
2a979d3a
JM
308202012-02-13 Joseph Myers <joseph@codesourcery.com>
30821
30822 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30823 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30824 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30825 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30826 <bits/inotify.h>.
30827 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30829 bits/inotify.h.
30830
2a418ac3
JM
308312012-02-13 Joseph Myers <joseph@codesourcery.com>
30832
30833 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30834 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30835 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30836 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30837 <bits/eventfd.h>.
30838 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30840 bits/eventfd.h.
30841
fb779be7
TS
308422012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30843
e19e83c5
RM
30844 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30845 __feraiseexcept instead of feraiseexcept.
7c35ffed 30846
fb779be7
TS
30847 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30848 nanosleep invocations.
30849 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30850 strings, and add error checking for a nanosleep invocations.
30851
59ba27a6
PE
308522012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30853
30854 Replace FSF snail mail address with URLs, as per GNU coding standards.
30855 Most of the snail mail addresses were wrong anyway, and omitting
30856 them makes the source code easier to maintain. Almost all of the
30857 changes are to license notices and to locale LC_IDENTIFICATION
30858 addresses, except for this one:
30859 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30860 not its snail mail address.
30861
57b957eb
RH
308622012-02-09 Richard Henderson <rth@twiddle.net>
30863
af850b1c
RH
30864 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30865 of kernel-features.h.
30866
57b957eb
RH
30867 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30868
6b73181a
MP
308692012-02-08 Marek Polacek <polacek@redhat.com>
30870
30871 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30872 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30873 * sysdeps/gnu/_G_config.h: Likewise.
30874 * sysdeps/generic/_G_config.h: Likewise.
30875
26ecc33a
AS
308762012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30877
6c6dbc63
AS
30878 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30879 tests.
30880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30881
e216c012
AS
30882 * sysdeps/powerpc/powerpc32/crti.S: New file.
30883 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30884 * sysdeps/powerpc/powerpc64/crti.S: New file.
30885 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30886
26ecc33a
AS
30887 * Makeconfig (have-initfini): Don't set.
30888 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30889 * configure.in (nopic_initfini): Don't substitute.
30890 * config.h.in (HAVE_INITFINI): Don't #undef.
30891 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30892 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30893
3add8e13
JM
308942012-02-08 Joseph Myers <joseph@codesourcery.com>
30895
30896 Support crti.S and crtn.S provided directly by architectures.
30897 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30898 [crti.S in sysdirs] (omit-deps): Likewise.
30899 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30900 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30901 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30902 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30903 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30904 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30905 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30906 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30907 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30908 compiler output for sysdeps/generic/initfini.c.
30909 * sysdeps/i386/elf/Makefile: Remove file.
30910 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30911
a22f12b4
MP
309122012-02-07 Marek Polacek <polacek@redhat.com>
30913
30914 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30915 * sysdeps/gnu/_G_config.h: Likewise.
30916 * sysdeps/mach/hurd/_G_config.h: Likewise.
30917
148cf100
MP
309182012-02-07 Marek Polacek <polacek@redhat.com>
30919
30920 * math/Makefile (tests): Add tst-CMPLX2.
30921 * math/tst-CMPLX2.c: New file.
30922
cfdc0dd7
AS
309232012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30924
84ba42c4
AS
30925 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30926
cfdc0dd7
AS
30927 * math/libm-test.inc (jn_test): Add missing L suffix.
30928
622c86f4
MP
309292012-02-06 Marek Polacek <polacek@redhat.com>
30930
30931 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30932 * sysdeps/i386/fpu/e_powf.S: Likewise.
30933 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30934 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30935 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30936 * sysdeps/i386/fpu/e_pow.S: Likewise.
30937 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30938 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30939 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30940 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30941 * sysdeps/i386/fpu/e_log2.S: Likewise.
30942 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30943 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30944 * sysdeps/i386/fpu/e_powl.S: Likewise.
30945 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30946 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30947 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30948 * sysdeps/i386/fpu/e_logl.S: Likewise.
30949 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30950 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30951 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30952 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30953 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30954 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30955 * sysdeps/i386/fpu/e_log.S: Likewise.
30956 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30957 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30958 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30959 * sysdeps/i386/fpu/e_logf.S: Likewise.
30960 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30961 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30962 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30963 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30964 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30965 * sysdeps/i386/fpu/e_log10.S: Likewise.
30966 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30967 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30968 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30969 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30970 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30971 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30972 * sysdeps/i386/asm-syntax.h: Likewise.
30973 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30974 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30975 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30976 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30977 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30978 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30979 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30980 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30981 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30982 * sysdeps/powerpc/sysdep.h: Likewise.
30983 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30984 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30985
d4a54ac6
JM
309862012-02-06 Joseph Myers <joseph@codesourcery.com>
30987
30988 [BZ #411]
30989 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30990
314054ea
JM
309912012-02-06 Joseph Myers <joseph@codesourcery.com>
30992
30993 * sysdeps/i386/sysdep.h: Include <features.h>.
30994 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30995 version.
30996
d8e0ca50
JM
309972012-02-05 Joseph Myers <joseph@codesourcery.com>
30998
30999 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31000 Define.
31001 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31002 LOAD_PIC_REG_STR.
31003
b1da7dd9
JM
310042012-02-03 Joseph Myers <joseph@codesourcery.com>
31005
31006 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31007 (SETUP_PIC_REG): Use GET_PC_THUNK.
31008 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31009 macro.
31010
9a1d9254
JM
310112012-02-03 Joseph Myers <joseph@codesourcery.com>
31012
31013 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31014 for non-PIC compilation.
31015 (SETUP_PIC_REG): Add .p2align directive.
31016 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31017 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31018 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31019 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31020 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31021 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31022 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31023 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31024 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31025 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31026 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31027 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31028 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31029 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31030 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31031 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31032 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31033 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31034 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31035 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31036 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31038 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31039 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31040 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31043 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31044 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31045 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31046 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31047 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31048 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31049 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31050 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31051 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31052 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31053 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31054 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31055 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31056 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31057
65dc3b75
JM
310582012-02-03 Joseph Myers <joseph@codesourcery.com>
31059
31060 * math/tst-CMPLX.c: Include <stdio.h>.
31061
d55bf177
JM
310622012-01-31 Joseph Myers <joseph@codesourcery.com>
31063
31064 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31065 float.
31066 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31067 * sysdeps/sparc/bits/mathdef.h: Likewise.
31068
69db4f8f
MP
310692012-01-31 Marek Polacek <polacek@redhat.com>
31070
31071 * libio/libio.h: Don't define _PARAMS.
31072 * locale/programs/config.h: Don't define PARAMS.
31073 * stdlib/strtol_l.c: Likewise.
31074 (__strtol_l): Remove PARAMS from the prototype.
31075
41b81892
UD
310762012-01-31 Ulrich Drepper <drepper@gmail.com>
31077
3b49edc0
UD
31078 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31079 names. Just use the correct names. Remove unnecessary wrapper
31080 functions.
31081 * malloc/arena.c: Likewise.
31082 * malloc/hooks.c: Likewise.
31083
41b81892
UD
31084 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31085 ARENA_TEST says not to. Simplify test for creation of a new arena.
31086 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31087
27a25b6e
UD
310882012-01-30 Ulrich Drepper <drepper@gmail.com>
31089
31090 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31091 into tail calls.
31092 (update_get_addr): New function.
31093 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31094 GET_ADDR_MODULE parameter.
31095
c8a89e7d
JM
310962012-01-30 Joseph Myers <joseph@codesourcery.com>
31097
31098 * crypt/cert.c: Remove __STDC__ conditionals.
31099 * crypt/crypt-entry.c: Likewise.
31100 * crypt/crypt_util.c: Likewise.
31101 * libio/filedoalloc.c: Likewise.
31102 * libio/fileops.c: Likewise.
31103 * libio/genops.c: Likewise.
31104 * libio/iofclose.c: Likewise.
31105 * libio/iofdopen.c: Likewise.
31106 * libio/iofopen.c: Likewise.
31107 * libio/iofopen64.c: Likewise.
31108 * libio/iogetdelim.c: Likewise.
31109 * libio/iopopen.c: Likewise.
31110 * libio/obprintf.c: Likewise.
31111 * libio/oldfileops.c: Likewise.
31112 * libio/oldiofclose.c: Likewise.
31113 * libio/oldiofdopen.c: Likewise.
31114 * libio/oldiofopen.c: Likewise.
31115 * libio/oldiopopen.c: Likewise.
31116 * libio/wfiledoalloc.c: Likewise.
31117 * libio/wgenops.c: Likewise.
31118 * locale/programs/xmalloc.c: Likewise.
31119 * misc/syslog.c: Likewise.
31120 * stdio-common/xbug.c: Likewise.
31121 * string/memchr.c: Likewise.
31122 * string/memcmp.c: Likewise.
31123 * string/memrchr.c: Likewise.
31124 * string/rawmemchr.c: Likewise.
31125 * sysdeps/posix/getcwd.c: Likewise.
31126 * time/strftime_l.c: Likewise.
31127
3b100462
JM
311282012-01-30 Joseph Myers <joseph@codesourcery.com>
31129
31130 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
31131 * config.make.in (config-cflags-sse2avx): Define.
31132 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31133 Fix typo.
31134
607998af
CM
311352012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31136
31137 * scripts/config.guess: Update from upstream config git repository.
31138 * scripts/config.sub: Likewise.
31139
3601428f
CM
311402012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31141
3ac8b282
CM
31142 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31143 (EM_NUM): Update.
31144 (R_TILEPRO_*, R_TILEGX_*): New macros.
31145
e034841e
CM
31146 * scripts/firstversions.awk: Fix bug in version range handling.
31147
540d7568
CM
31148 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31149
3601428f
CM
31150 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31151
463de862
CM
31152 * include/sys/epoll.h: New file.
31153 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31154 libc_hidden_def.
31155
73139a76
UD
311562012-01-28 Ulrich Drepper <drepper@gmail.com>
31157
96bc5b45
UD
31158 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31159 Avoid unnecessary __WORDSIZE == 64 test.
31160 (fmaxf): Use VEX format if possible.
31161 (fmax): Likewise.
31162 (fminf): Likewise.
31163 (fmin): Likewise.
31164
56f6f6a2
UD
31165 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31166 * math/math_private.h: Remove libc_fegetround* and
31167 libc_fesetround*.
31168 * sysdeps/i386/configure.in: Check for -msse2avx.
31169 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31170 also if SSE2AVX is defined.
31171 Remove libc_fegetround* and libc_fesetround*.
31172 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31173 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31174 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31175 of HAS_YMM_USABLE.
31176 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31177 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31178 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31179 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31180 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31181
73139a76
UD
31182 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31183
d73f93a4
AZ
311842012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31185
31186 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31187 size is not set.
31188 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31189
6ee65ed6
UD
311902012-01-27 Ulrich Drepper <drepper@gmail.com>
31191
31192 [BZ #13618]
31193 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31194 relocation.
31195 * Makeconfig (libm): Define.
31196 * elf/Makefile: Add rules to build and run tst-relsort1.
31197 * elf/tst-relsort1.c: New file.
31198 * elf/tst-relsort1mod1.c: New file.
31199 * elf/tst-relsort1mod2.c: New file.
31200
8db21882
JM
312012012-01-27 Joseph Myers <joseph@codesourcery.com>
31202
31203 * math/s_ldexp.c: Remove __STDC__ conditionals.
31204 * math/s_ldexpf.c: Likewise.
31205 * math/s_ldexpl.c: Likewise.
31206 * math/s_nextafter.c: Likewise.
31207 * math/s_nexttowardf.c: Likewise.
31208 * math/s_significand.c: Likewise.
31209 * math/s_significandf.c: Likewise.
31210 * math/s_significandl.c: Likewise.
31211 * math/w_jnl.c: Likewise.
31212 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31213 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31214 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31215 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31216 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31217 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31218 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31219 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31220 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31221 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31222 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31223 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31224 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31225 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31226 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31227 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31228 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31229 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31231 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31232 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31233 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31234 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31235 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31236 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31237 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31238 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31239 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31240 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31241 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31242 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31243 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31244 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31245 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31246 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31247 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31248 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31249 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31250 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31251 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31252 * sysdeps/ieee754/k_standard.c: Likewise.
31253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31254 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31257 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31260 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31261 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31262 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31263 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31264 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31265 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31266 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31267 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31269 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31270 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31271 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31272 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31275 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31276 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31277 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31278 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31279 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31280 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31282 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31283 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31284 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31285 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31286 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31287 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31288 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31289 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31290 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31291 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31292 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31293 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31295 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31296 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31297 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31298 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31299 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31300 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31301 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31302 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31303 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31306 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31307 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31308 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31309 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31310 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31311 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31312 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31313 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31314 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31315 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31316 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31317 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31318 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31319 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31320 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31321 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31322 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31323 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31324 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31325 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31326 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31327 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31328 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31329 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31330 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31331 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31332 * sysdeps/ieee754/s_matherr.c: Likewise.
31333 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31334 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31337
965a54a4
JM
313382012-01-26 Joseph Myers <joseph@codesourcery.com>
31339
31340 * crypt/md5.h: Remove __STDC__ conditionals.
31341 * libio/libioP.h: Likewise.
31342 * locale/programs/config.h: Likewise.
31343 * sysdeps/generic/sysdep.h: Likewise.
31344 * sysdeps/i386/asm-syntax.h: Likewise.
31345 * sysdeps/s390/asm-syntax.h: Likewise.
31346 * sysdeps/unix/sysdep.h: Likewise.
31347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31349
7071ad79
JM
313502012-01-26 Joseph Myers <joseph@codesourcery.com>
31351
31352 * libio/libio.h: Remove __STDC__ conditionals.
31353 * malloc/obstack.h: Likewise.
31354 * math/complex.h: Likewise.
31355 * math/math.h: Likewise.
31356 * sysdeps/generic/_G_config.h: Likewise.
31357 * sysdeps/gnu/_G_config.h: Likewise.
31358 * sysdeps/mach/hurd/_G_config.h: Likewise.
31359 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31360 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31361 * sysdeps/sparc/bits/mathdef.h: Likewise.
31362
afc5ed09
UD
313632012-01-26 Ulrich Drepper <drepper@gmail.com>
31364
31365 [BZ #13583]
31366 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31367 Clean up HAS_* macros.
afc5ed09 31368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31369 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31370 possible.
31371 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31372 HAS_AVX.
31373 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31374 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31375 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31376 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31378
bdb6de1d
JM
313792012-01-25 Joseph Myers <joseph@codesourcery.com>
31380
31381 * elf/tst-unique3.cc (gets): Remove declaration.
31382 * elf/tst-unique3lib.cc (gets): Likewise.
31383 * elf/tst-unique3lib2.cc (gets): Likewise.
31384 * elf/tst-unique4.cc (gets): Likewise.
31385
b15549e6
UD
313862012-01-24 Ulrich Drepper <drepper@gmail.com>
31387
31388 * include/stdio.h: Add C++ protection. Add gets declarations and
31389 definitions.
31390 * debug/tst-chk1.c: Don't declare gets here.
31391 * stdio-common/tst-gets.c: Likewise.
31392
a037381f
JM
313932012-01-24 Joseph Myers <joseph@codesourcery.com>
31394
31395 * posix/glob: Remove directory.
31396
f1d4aa75
JM
313972012-01-24 Joseph Myers <joseph@codesourcery.com>
31398
31399 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31400
81c0c964
PT
314012012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31402
31403 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31404 of the non-standard EPFNOSUPPORT.
31405
0ea698ae
ST
314062011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31407
31408 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31409 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31410 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31411
d220b117
UD
314122012-01-21 Ulrich Drepper <drepper@gmail.com>
31413
31414 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31415
3e1aa84e
UD
314162012-01-20 Ulrich Drepper <drepper@gmail.com>
31417
31418 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31419 transient errors.
31420 * nscd/grpcache.c (cache_addgr): Likewise.
31421 * nscd/hstcache.c (cache_addhst): Likewise.
31422 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31423 * nscd/pwdcache.c (cache_addpw): Likewise.
31424 * nscd/servicescache.c (cache_addserv): Likewise.
31425
400aa020
UD
314262012-01-16 Ulrich Drepper <drepper@gmail.com>
31427
d77e7869
UD
31428 * malloc/malloc.c: Various cleanups.
31429 * malloc/hooks.c: Likewise.
31430
400aa020
UD
31431 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31432 * stdlib/bug-fmtmsg1.c: New file.
31433
31434 * stdlib/fmtmsg.c (init): Add missing unlock.
31435 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31436
e0a309cf
MP
314372012-01-12 Marek Polacek <polacek@redhat.com>
31438
31439 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31440 and _GNU_SOURCE.
31441
929d11c7
WS
314422012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31443
31444 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31445 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31446 macro to ensure uniqueness of label name.
31447 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31448 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31449
41d0e869
UD
314502012-01-11 Ulrich Drepper <drepper@gmail.com>
31451
0cc5ed3b
UD
31452 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31453
41d0e869
UD
31454 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31455 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31456 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31458
a47a831a
UD
314592012-01-10 Ulrich Drepper <drepper@gmail.com>
31460
daa891c0
UD
31461 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31462
31463 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31464 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31465 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31466
e58ef0f2
UD
31467 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31468
a47a831a 31469 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31470 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31471 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31472 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31473
31474 * math/bits/math-finite.h: Add ldexp support.
31475
a0bfc9c7
MP
314762012-01-10 Marek Polacek <polacek@redhat.com>
31477
31478 * locale/programs/localedef.h (show_archive_content): Add noreturn
31479 attribute.
31480
d6e97a1d
UD
314812012-01-09 Ulrich Drepper <drepper@gmail.com>
31482
31483 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31484
d5835c26
UD
314852012-01-08 Ulrich Drepper <drepper@gmail.com>
31486
e5f484c6
UD
31487 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31488
d5835c26
UD
31489 * io/Makefile (headers): Add bits/poll2.h.
31490
d1f741e9
WS
314912011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31492
31493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31494 typo #include statement.
31495
ec09c1c4
UD
314962012-01-08 Ulrich Drepper <drepper@gmail.com>
31497
31498 * include/sys/cdefs.h: Define __attribute_alloc_size.
31499 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31500 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31501 * elf/pldd.c: Likewise.
31502 * iconv/iconv_charmap.c: Likewise.
31503 * iconv/iconvconfig.c: Likewise.
31504 * iconv/strtab.c: Likewise.
31505 * locale/programs/locale.c: Likewise.
31506 * locale/programs/localedef.h: Likewise.
31507 * locale/programs/simple-hash.c: Likewise.
31508 * nscd/nscd.h: Likewise.
31509 * nss/makedb.c: Likewise.
31510 * sysdeps/generic/ldconfig.h: Likewise.
31511 * locale/programs/localedef.c: Remove xmalloc prototype.
31512 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31513
20b38e03
PP
315142012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31515
31516 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31517 appropriate.
31518
a0da5fe1
UD
315192012-01-08 Ulrich Drepper <drepper@gmail.com>
31520
1d5a644a 31521 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31522 * math/tst-CMPLX.c: New file.
1d5a644a 31523
8784a6db
UD
31524 * math/complex.h (CMPLXL): Fix typo.
31525
d9a216c0
UD
31526 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31527 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31528 GLIBC_2.16.
31529 * debug/tst-chk1.c: Add poll and ppoll tests.
31530 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31531 * include/sys/poll.h: Add hidden proto for ppoll.
31532 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31533 * sysdeps/mach/hurd/ppoll.c: Likewise.
31534 * io/ppoll.c: Likewise.
31535 * debug/poll_chk.c: New file.
31536 * debug/ppoll_chk.c: New file.
31537 * include/bits/poll2.h: New file.
31538 * io/bits/poll2.h: New file.
31539
ac097f5c
UD
31540 [BZ #1350]
31541 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31542
2119dcfa
UD
31543 * configure.in: static is always set to yes. Remove.
31544 * config.make.in: Don't set build-static.
31545 * Makeconfig: Remove use of build-static.
31546 * dlfcn/Makefile: Likewise.
31547 * elf/Makefile: Likewise.
31548 * math/Makefile: Likewise.
31549 * misc/Makefile: Likewise.
31550 * nptl/Makefile: Likewise.
31551 * sysdeps/mach/hurd/Makefile: Likewise.
31552
121766a9
UD
31553 * configure.in: PWD_P is not used anymore.
31554 * config.make.in: Remove PWD_P entry.
31555
51a1d39c 31556 * configure.in: Remove last remnants of RANLIB.
8720d066 31557 No need to check for signed size_t anymore.
215f4bdc
UD
31558 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31559 and IA-64.
3857022a 31560 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31561 * aclocal.m4: Likewise.
31562
d3ed7225
UD
31563 * wcsmbs/mbrtoc16.c: Implement using towc function.
31564 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31565 * wcsmbs/wcsmbsload.c: Likewise.
31566 * iconv/gconv_simple.c: Likewise.
31567 * iconv/gconv_int.h: Likewise.
31568 * iconv/gconv_builtin.h: Likewise.
31569 * iconv/iconv_prog.c: Remove CHAR16 handling.
31570
31571 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31572
31573 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31574
a0da5fe1
UD
31575 * configure.in: Remove --with-elf and --enable-bounded options.
31576 Dont set base_machine for ia64. More non-ELF conditions removed.
31577 Remove testing and setting of leading underscore information.
31578 * config.make.in (build-bounded): Set to no.
31579 * config.h.in: Remove NO_UNDERSCORES entry.
31580 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31581 them.
31582 * csu/start.c: Remove !NO_UNDERSCORE code.
31583 * locale/localeinfo.h: Likewise.
31584 * sysdeps/generic/machine-gmon.h: Likewise.
31585 * sysdeps/generic/sysdep.h: Likewise.
31586 * sysdeps/i386/sysdep.h: Likewise.
31587 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31588 * sysdeps/mach/sysdep.h: Likewise.
31589 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31590 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31591 * sysdeps/sh/sysdep.h: Likewise.
31592 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31593 * sysdeps/unix/i386/sysdep.S: Likewise.
31594 * sysdeps/unix/sparc/start.c: Likewise.
31595 * sysdeps/unix/sparc/sysdep.S: Likewise.
31596 * sysdeps/unix/sparc/sysdep.h: Likewise.
31597 * sysdeps/unix/start.c: Likewise.
31598 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31599 * sysdeps/x86_64/sysdep.h: Likewise.
31600
df78418a
UD
316012012-01-07 Ulrich Drepper <drepper@gmail.com>
31602
a784e502
UD
31603 [BZ #13553]
31604 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31605 for non-gcc.
31606 * argp/argp-fmtstream.h: Use const instead __const.
31607 * argp/argp.h: Likewise.
31608 * assert/assert.h: Likewise.
31609 * bits/fenv.h: Likewise.
31610 * bits/sched.h: Likewise.
31611 * bits/sigset.h: Likewise.
31612 * bits/sigthread.h: Likewise.
31613 * catgets/nl_types.h: Likewise.
31614 * conform/data/pthread.h-data: Likewise.
31615 * crypt/crypt-private.h: Likewise.
31616 * crypt/crypt.h: Likewise.
31617 * crypt/crypt_util.c: Likewise.
31618 * ctype/ctype.h: Likewise.
31619 * debug/execinfo.h: Likewise.
31620 * debug/mbsnrtowcs_chk.c: Likewise.
31621 * debug/mbsrtowcs_chk.c: Likewise.
31622 * debug/wcsnrtombs_chk.c: Likewise.
31623 * debug/wcsrtombs_chk.c: Likewise.
31624 * debug/wcstombs_chk.c: Likewise.
31625 * dirent/dirent.h: Likewise.
31626 * dlfcn/dlfcn.h: Likewise.
31627 * elf/neededtest4.c: Likewise.
31628 * grp/grp.h: Likewise.
31629 * gshadow/gshadow.h: Likewise.
31630 * iconv/gconv.h: Likewise.
31631 * iconv/gconv_int.h: Likewise.
31632 * iconv/gconv_simple.c: Likewise.
31633 * iconv/iconv.h: Likewise.
31634 * iconv/loop.c: Likewise.
31635 * iconv/skeleton.c: Likewise.
31636 * include/aio.h: Likewise.
31637 * include/aliases.h: Likewise.
31638 * include/argz.h: Likewise.
31639 * include/arpa/inet.h: Likewise.
31640 * include/assert.h: Likewise.
31641 * include/dirent.h: Likewise.
31642 * include/dlfcn.h: Likewise.
31643 * include/execinfo.h: Likewise.
31644 * include/fcntl.h: Likewise.
31645 * include/fenv.h: Likewise.
31646 * include/glob.h: Likewise.
31647 * include/grp.h: Likewise.
31648 * include/libintl.h: Likewise.
31649 * include/mntent.h: Likewise.
31650 * include/netdb.h: Likewise.
31651 * include/pwd.h: Likewise.
31652 * include/rpc/netdb.h: Likewise.
31653 * include/sched.h: Likewise.
31654 * include/search.h: Likewise.
31655 * include/shadow.h: Likewise.
31656 * include/signal.h: Likewise.
31657 * include/stdio.h: Likewise.
31658 * include/stdlib.h: Likewise.
31659 * include/string.h: Likewise.
31660 * include/sys/socket.h: Likewise.
31661 * include/sys/stat.h: Likewise.
31662 * include/sys/statfs.h: Likewise.
31663 * include/sys/statvfs.h: Likewise.
31664 * include/sys/syslog.h: Likewise.
31665 * include/sys/time.h: Likewise.
31666 * include/sys/uio.h: Likewise.
31667 * include/time.h: Likewise.
31668 * include/unistd.h: Likewise.
31669 * include/utmp.h: Likewise.
31670 * include/wchar.h: Likewise.
31671 * include/wctype.h: Likewise.
31672 * inet/aliases.h: Likewise.
31673 * inet/arpa/inet.h: Likewise.
31674 * inet/netinet/ether.h: Likewise.
31675 * inet/netinet/in.h: Likewise.
31676 * intl/libintl.h: Likewise.
31677 * io/bits/fcntl2.h: Likewise.
31678 * io/fcntl.h: Likewise.
31679 * io/ftw.h: Likewise.
31680 * io/sys/poll.h: Likewise.
31681 * io/sys/stat.h: Likewise.
31682 * io/sys/statfs.h: Likewise.
31683 * io/sys/statvfs.h: Likewise.
31684 * io/utime.h: Likewise.
31685 * libio/bits/stdio.h: Likewise.
31686 * libio/bits/stdio2.h: Likewise.
31687 * libio/libio.h: Likewise.
31688 * libio/libioP.h: Likewise.
31689 * libio/stdio.h: Likewise.
31690 * locale/lc-ctype.c: Likewise.
31691 * locale/locale.h: Likewise.
31692 * login/utmp.h: Likewise.
31693 * malloc/arena.c: Likewise.
31694 * malloc/malloc.c: Likewise.
31695 * malloc/malloc.h: Likewise.
31696 * malloc/mcheck.c: Likewise.
31697 * malloc/mtrace.c: Likewise.
31698 * math/bits/mathcalls.h: Likewise.
31699 * math/fenv.h: Likewise.
31700 * math/math_private.h: Likewise.
31701 * misc/bits/error.h: Likewise.
31702 * misc/bits/syslog.h: Likewise.
31703 * misc/err.h: Likewise.
31704 * misc/error.h: Likewise.
31705 * misc/fstab.h: Likewise.
31706 * misc/mntent.h: Likewise.
31707 * misc/regexp.h: Likewise.
31708 * misc/search.h: Likewise.
31709 * misc/sgtty.h: Likewise.
31710 * misc/sys/mman.h: Likewise.
31711 * misc/sys/syslog.h: Likewise.
31712 * misc/sys/uio.h: Likewise.
31713 * misc/sys/xattr.h: Likewise.
31714 * misc/ttyent.h: Likewise.
31715 * nis/rpcsvc/ypclnt.h: Likewise.
31716 * nss/nss.h: Likewise.
31717 * posix/bits/unistd.h: Likewise.
31718 * posix/fnmatch.h: Likewise.
31719 * posix/glob.h: Likewise.
31720 * posix/sched.h: Likewise.
31721 * posix/spawn.h: Likewise.
31722 * posix/sys/wait.h: Likewise.
31723 * posix/unistd.h: Likewise.
31724 * posix/wordexp.h: Likewise.
31725 * pwd/pwd.h: Likewise.
31726 * resolv/netdb.h: Likewise.
31727 * resource/sys/resource.h: Likewise.
31728 * rt/aio.h: Likewise.
31729 * rt/bits/mqueue2.h: Likewise.
31730 * rt/mqueue.h: Likewise.
31731 * shadow/shadow.h: Likewise.
31732 * signal/signal.h: Likewise.
31733 * socket/send.c: Likewise.
31734 * socket/sendto.c: Likewise.
31735 * socket/sys/socket.h: Likewise.
31736 * stdio-common/printf.h: Likewise.
31737 * stdlib/bits/stdlib.h: Likewise.
31738 * stdlib/fmtmsg.h: Likewise.
31739 * stdlib/monetary.h: Likewise.
31740 * stdlib/stdlib.h: Likewise.
31741 * stdlib/ucontext.h: Likewise.
31742 * streams/stropts.h: Likewise.
31743 * string/argz.h: Likewise.
31744 * string/bits/string2.h: Likewise.
31745 * string/string.h: Likewise.
31746 * string/strings.h: Likewise.
31747 * sunrpc/rpc/auth.h: Likewise.
31748 * sunrpc/rpc/auth_des.h: Likewise.
31749 * sunrpc/rpc/clnt.h: Likewise.
31750 * sunrpc/rpc/netdb.h: Likewise.
31751 * sunrpc/rpc/pmap_clnt.h: Likewise.
31752 * sunrpc/rpc/xdr.h: Likewise.
31753 * sysdeps/generic/inttypes.h: Likewise.
31754 * sysdeps/generic/net/if.h: Likewise.
31755 * sysdeps/generic/sys/swap.h: Likewise.
31756 * sysdeps/gnu/net/if.h: Likewise.
31757 * sysdeps/gnu/utmpx.h: Likewise.
31758 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31759 * sysdeps/i386/i486/bits/string.h: Likewise.
31760 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31761 * sysdeps/s390/bits/string.h: Likewise.
31762 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31763 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31764 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31765 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31766 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31767 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31768 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31769 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31770 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31771 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31772 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31773 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31774 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31775 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31776 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31777 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31778 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31780 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31781 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31782 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31783 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31784 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31785 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31786 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31787 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31788 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31789 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31790 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31791 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31792 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31793 * sysvipc/sys/ipc.h: Likewise.
31794 * sysvipc/sys/msg.h: Likewise.
31795 * sysvipc/sys/sem.h: Likewise.
31796 * sysvipc/sys/shm.h: Likewise.
31797 * termios/termios.h: Likewise.
31798 * time/sys/time.h: Likewise.
31799 * time/time.h: Likewise.
31800 * wcsmbs/bits/wchar2.h: Likewise.
31801 * wcsmbs/uchar.h: Likewise.
31802 * wcsmbs/wchar.h: Likewise.
31803 * wctype/wctype.h: Likewise.
31804
0269750c
UD
31805 [BZ #13551]
31806 * Makeconfig: Remove all but ELF support including AIX support.
31807 * Makerules: Likewise.
31808 * config.h.in: Likewise.
31809 * config.make.in: Likewise.
31810 * configure: Likewise.
31811 * configure.in: Likewise.
31812 * csu/Makefile: Likewise.
31813 * csu/version.c: Likewise.
31814 * debug/Makefile: Likewise.
31815 * dlfcn/Makefile: Likewise.
31816 * elf/Makefile: Likewise.
31817 * extra-lib.mk: Likewise.
31818 * iconv/Makefile: Likewise.
31819 * include/libc-symbols.h: Likewise.
31820 * include/shlib-compat.h: Likewise.
31821 * resolv/Makefile: Likewise.
31822 * resolv/res_libc.c: Likewise.
31823 * rt/Makefile: Likewise.
31824 * sysdeps/i386/asm-syntax.h: Likewise.
31825 * sysdeps/i386/sysdep.h: Likewise.
31826 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31827 * sysdeps/mach/sysdep.h: Likewise.
31828 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31829 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31830 * sysdeps/s390/asm-syntax.h: Likewise.
31831 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31832 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31833 * sysdeps/sh/sysdep.h: Likewise.
31834 * sysdeps/unix/sparc/sysdep.h: Likewise.
31835 * sysdeps/wordsize-32/divdi3.c: Likewise.
31836 * sysdeps/x86_64/sysdep.h: Likewise.
31837
00bbd29b
UD
31838 * argp/Versions: Remove _argp_unlock_xxx.
31839
31840 [BZ #13559]
31841 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31842 * abilist/libBrokenLocale.abilist: Likewise.
31843 * abilist/libanl.abilist: Likewise.
31844 * abilist/libc.abilist: Likewise.
31845 * abilist/libcrypt.abilist: Likewise.
31846 * abilist/libdl.abilist: Likewise.
31847 * abilist/libm.abilist: Likewise.
31848 * abilist/libnsl.abilist: Likewise.
31849 * abilist/libpthread.abilist: Likewise.
31850 * abilist/libresolv.abilist: Likewise.
31851 * abilist/librt.abilist: Likewise.
31852 * abilist/libthread_db.abilist: Likewise.
31853 * abilist/libutil.abilist: Likewise.
31854 * abilist/libnss_db.abilist: New file.
31855
31856 * scripts/abilist.awk: Add support for indirect functions.
31857
a2693a0e
UD
31858 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31859
3f05895f
UD
31860 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31861
ecb6fb48
UD
31862 * shlib-versions: Remove entries for ports architectures.
31863
664f8cb9
UD
31864 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31865 files in ports.
31866 * elf/stackguard-macros.h: Remove support for IA-64.
31867 * elf/tst-auditmod1.c: Likewise.
31868 * sysdeps/generic/ldsodefs.h: Likewise.
31869
7ae81d88
UD
31870 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31871 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31872 configure files.
31873
bdeba135
UD
31874 [BZ #13552]
31875 * configure.in: Remove --enable-omitfp support.
31876 * FAQ.in: Adjust.
31877 * config.make.in: Likewise.
31878 * Makeconfig: Likewise.
31879 * manual/install.texi: Likewise.
31880
d75a0a62
UD
31881 In case anyone cares, the IA-64 architecture could move to ports.
31882 * sysdeps/ia64/*: Removed.
31883 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31884 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31885
dcc9756b
UD
31886 [BZ #13555]
31887 * configure.in: Remove entries for unsupported architectures.
31888
d3761ebc 31889 [BZ #13533]
9954432e
UD
31890 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31891 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31892 routines.
31893 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31894 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31895 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31896 fall back to using wcrtomb.
31897 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31898 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31899 renaming.
31900 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31901 * wcsmbs/tst-c16c32-1.c: New file.
31902
31903 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31904 local variable.
31905
c3a87236
UD
31906 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31907
28926a1b
UD
31908 * elf/tst-unique3.cc: Add explicit declaration of gets.
31909 * elf/tst-unique3lib.cc: Likewise.
31910 * elf/tst-unique3lib2.cc: Likewise.
31911 * elf/tst-unique4.cc: Likewise.
31912
df78418a
UD
31913 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31914
8ecd6b2a
JM
319152012-01-06 Joseph Myers <joseph@codesourcery.com>
31916
31917 [BZ #13566]
31918 * assert/assert.h (static_assert): Don't define for C++.
31919 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31920 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31921
9f115170
UD
319222012-01-03 Ulrich Drepper <drepper@gmail.com>
31923
5e0d0300
UD
31924 * iconv/loop.c (single loop): Fix assertion in storing of
31925 remaining bytes.
31926
9f115170
UD
31927 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31928
81fb02b0
UD
319292012-01-01 Ulrich Drepper <drepper@gmail.com>
31930
31931 * posix/getconf.c: Update copyright year.
31932 * nss/getent.c: Likewise.
a316c1f6 31933 * nss/makedb.c: Likewise.
81fb02b0
UD
31934 * iconv/iconvconfig.c: Likewise.
31935 * iconv/iconv_prog.c: Likewise.
31936 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31937 * elf/pldd.c: Likewise.
31938 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31939 * catgets/gencat.c: Likewise.
31940 * csu/version.c: Likewise.
31941 * elf/ldd.bash.in: Likewise.
31942 * elf/sprof.c (print_version): Likewise.
31943 * locale/programs/locale.c: Likewise.
31944 * locale/programs/localedef.c: Likewise.
a316c1f6 31945 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31946 * nscd/nscd.c (print_version): Likewise.
31947 * debug/xtrace.sh: Likewise.
31948 * malloc/memusage.sh: Likewise.
31949 * malloc/mtrace.pl: Likewise.
31950 * debug/catchsegv.sh: Likewise.
31951
2ba92745
JJ
319522011-12-30 Jakub Jelinek <jakub@redhat.com>
31953
31954 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31955 pure attribute.
31956
dadebdae
UD
319572011-12-24 Ulrich Drepper <drepper@gmail.com>
31958
d3761ebc 31959 [BZ #13533]
db6af3eb
UD
31960 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31961 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31962 transformations.
31963 * iconv/gconv_int.h: Likewise.
31964 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31965 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31966 from libc for GLIBC_2.16.
31967 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31968 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31969 * wcsmbs/uchar.h: Really define mbstate_t.
31970 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31971 * wcsmbs/c16rtomb.c: New file.
31972 * wcsmbs/mbrtoc16.c: New file.
31973 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31974 for C/POSIX locale.
31975 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31976 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31977
dadebdae
UD
31978 * wcsmbs/wchar.h: Add missing __restrict.
31979
67371b56
UD
319802011-12-23 Ulrich Drepper <drepper@gmail.com>
31981
74033a25
UD
31982 [BZ #13532]
31983 * time/Makefile (routines): Add timespec_get.
31984 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31985 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31986 timespec for ISO C11.
31987 * time/timespec_get.c: New file.
31988 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31989 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31990
380d7e87
UD
31991 [BZ #13531]
31992 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31993 * stdlib/stdlib.h: Declare aligned_alloc.
31994 * Versions.def: Add GLIBC_2.16 for libc.
31995 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31996
4e9e7a35
UD
31997 [BZ 13527]
31998 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31999 ISO C11.
32000
380d7e87 32001 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
32002 code.
32003
03a71829
UD
32004 [BZ #13528]
32005 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32006
839e283e
UD
32007 [BZ #13529]
32008 * assert/assert.h (static_assert): Define.
32009
ce5294e2 32010 * version.h: Update for 2.16 development version.
90fa7312 32011
8d44e150 32012 [BZ #13526]
d7809905
UD
32013 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32014 _ISOC11_SOURCE.
32015
c0da14cd
UD
32016 * version.h (RELEASE): Bump for 2.15 release.
32017 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32018
530a3249
MP
32019 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32020 Patch by Marek Polacek <mpolacek@redhat.com>.
32021
67371b56
UD
32022 * bits/byteswap.h: Protect long long constants with __extension__.
32023 * sysdeps/i386/bits/byteswap.h: Likewise.
32024 * sysdeps/ia64/bits/byteswap.h: Likewise.
32025 * sysdeps/s390/bits/byteswap.h: Likewise.
32026 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32027
15db4de1
LD
320282011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32029
32030 [BZ #13540]
bbe315ea
LD
32031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32032 destination buffer.
15db4de1
LD
32033 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32034
2b2596b1
MP
320352011-12-23 Marek Polacek <polacek@redhat.com>
32036
32037 * elf/dl-addr.c (determine_info): Add inline keyword.
32038 * elf/tst-auditmod4b.c (check_avx): Likewise.
32039 * elf/tst-auditmod6b.c (check_avx): Likewise.
32040 * elf/tst-auditmod6c.c (check_avx): Likewise.
32041 * elf/tst-auditmod7b.c (check_avx): Likewise.
32042
70c6c246
UD
320432011-12-23 Ulrich Drepper <drepper@gmail.com>
32044
32045 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32046 !__SSE_MATH__.
32047
c044cf14
LD
320482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32049
15db4de1 32050 [BZ #13540]
c044cf14
LD
32051 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32052 processing for last bytes.
32053
6b13d9d9
BH
320542011-08-06 Bruno Haible <bruno@clisp.org>
32055
d455f537
BH
32056 [BZ #13061]
32057 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32058 U+0385, not to U+1FEE.
32059
6b13d9d9
BH
32060 [BZ #13062]
32061 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32062 entry for U+00A5 U+0301.
32063
db910efd
UD
320642011-12-22 Ulrich Drepper <drepper@gmail.com>
32065
27deeafc
UD
32066 [BZ #13166]
32067 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32068 buffer for the output is too small.
32069
aed9d171
UD
32070 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32071 optimization.
32072
db910efd
UD
32073 [BZ #13185]
32074 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32075 SSE flags if possible.
32076
2bd779ae
LD
320772011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32078
e7f9dac3 32079 [BZ #13540]
2bd779ae
LD
32080 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32081 processing for last bytes.
32082
154bfc16
JM
320832011-12-22 Joseph Myers <joseph@codesourcery.com>
32084
32085 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32086 (syscall-list-default-options, syscall-list-default-condition)
32087 (syscall-list-includes): Define.
32088 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32089 list of ABIs and options and #if conditions for each ABI. Do not
32090 handle common syscalls between ABIs specially.
32091 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32092 Remove.
32093 (syscall-list-variants, syscall-list-32bit-options)
32094 (syscall-list-32bit-condition, syscall-list-64bit-options)
32095 (syscall-list-64bit-condition): Define.
32096 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32097 (syscall-list-variants, syscall-list-32bit-options)
32098 (syscall-list-32bit-condition, syscall-list-64bit-options)
32099 (syscall-list-64bit-condition): Define.
32100 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32101 Remove.
32102 (syscall-list-variants, syscall-list-32bit-options)
32103 (syscall-list-32bit-condition, syscall-list-64bit-options)
32104 (syscall-list-64bit-condition): Define.
32105 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32106 Remove.
32107 (syscall-list-variants, syscall-list-32bit-options)
32108 (syscall-list-32bit-condition, syscall-list-64bit-options)
32109 (syscall-list-64bit-condition): Define.
32110
21eaf3a5
UD
321112011-12-22 Ulrich Drepper <drepper@gmail.com>
32112
16c6f992
UD
32113 * locale/iso-639.def: Add brx entry.
32114
41043168
UD
32115 [BZ #13328]
32116 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32117 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32118
21eaf3a5
UD
32119 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32120 __feraiseexcept_renamed.
32121
e3a851a2
UD
321222011-12-21 Ulrich Drepper <drepper@gmail.com>
32123
4920765e
UD
32124 [BZ #13538]
32125 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32126 EPOLLET with unsigned values.
32127 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32128 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32129
e3a851a2
UD
32130 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32131 to large cancellation.
32132 * math/s_cacoshf.c: Likewise.
32133 * math/s_cacoshl.c: Likewise.
32134
b27e24b8
RK
321352011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32136
32137 [BZ #13305]
aebefeee 32138 [BZ #12786]
b27e24b8
RK
32139 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32140 * math/s_cacoshf.c: Likewise.
32141 * math/s_cacoshl.c: Likewise.
32142
ee190f67
UD
321432011-12-21 Ulrich Drepper <drepper@gmail.com>
32144
32145 [BZ #13439]
32146 * iconv/gconv.h: Define __GCONV_SWAP.
32147 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32148 * iconvdata/utf-16.c: Likewise.
32149 * iconvdata/utf-32.c: Likewise.
32150
707f25df
AS
321512011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32152
32153 [BZ #13524]
32154 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32155 numerator after shifting it by one limb.
32156
d2daaa1e
RÁE
321572011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32158
32159 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32160 under [__USE_EXTERN_INLINES].
32161
a4647e72
UD
321622011-12-17 Ulrich Drepper <drepper@gmail.com>
32163
32164 [BZ #13446]
32165 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32166
f0b264f1
AZ
321672011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32168
32169 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32170 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32171 optimized code.
32172 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32173 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32174 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32175 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32176 for strncasecmp/strncasecmp_l compilation.
32177 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32178 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32179
8ef4f244
MP
321802011-12-08 Marek Polacek <mpolacek@redhat.com>
32181
32182 [BZ #13484]
32183 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32184 of __asm__.
32185
97ac2654
UD
321862011-12-17 Ulrich Drepper <drepper@gmail.com>
32187
32188 [BZ #13506]
32189 * time/tzfile.c (__tzfile_read): Check values from file header.
32190
91d2a845
WS
321912011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32192
32193 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32194 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32195 * powerpc/powerpc32/dl-start.S: Likewise.
32196 * powerpc/powerpc32/elf/start.S: Likewise.
32197 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32198 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32199 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32200 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32201 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32202 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32203 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32204 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32205 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32206 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32207 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32208 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32209 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32210 * powerpc/powerpc32/memset.S: Likewise.
32211 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32212 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32213 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32214 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32215 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32216 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32217 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32218 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32219 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32220 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32221 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32222 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32223 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32224
a1267ba1
AZ
322252011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32226
32227 * math/libm-test.inc: Added more nearbyint tests.
32228 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32229 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32230 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32231 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32232
ad8ac1bd
RL
322332011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32234
32235 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32236 FD_CLOEXEC.
32237
1d3e4b61
UD
322382011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32239
32240 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32241 Add wcscpy-ssse3 wcscpy-c.
32242 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32243 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32244 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32245 * sysdeps/x86_64/wcschr.S: New file.
32246 * sysdeps/x86_64/wcsrchr.S: New file.
32247 * string/test-strcmp.c: Remove checking of wcscmp function for
32248 wrong alignments.
32249 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32250 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32251 wcsrchr-sse2 wcsrchr-c.
32252 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32253 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32254 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32255 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32256 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32257 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32258 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32259 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32260 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32261 * wcsmbc/wcschr.c (WCSCHR): New macro.
32262
5b330a2d
UD
322632011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32264
32265 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32266 * wcsmbs/test-wcsrchr.c: New file.
32267 * string/test-strrchr.c: Add wcsrchr support.
32268 (WIDE): New macro.
32269 * wcsmbs/test-wcscpy.c: New file.
32270 * string/test-strcpy.c: Add wcscpy support.
32271 (WIDE): New macro.
26428b7c 32272
f039c043
UD
322732011-12-10 Ulrich Drepper <drepper@gmail.com>
32274
32275 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32276 the inner loop.
32277
850fb039
AS
322782011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32279
32280 [BZ #13472]
32281 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32282
4efbd5cb
UD
322832011-12-04 Ulrich Drepper <drepper@gmail.com>
32284
52ff5dd0 32285 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32286 Minor optimizations.
52ff5dd0 32287
4efbd5cb
UD
32288 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32289 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32290 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32291
8a426e12
UD
322922011-12-03 Ulrich Drepper <drepper@gmail.com>
32293
aff2453d
UD
32294 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32295 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32296 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32297 for gcc to avoid warnings.
32298 * inet/Makefile (tests): Add tst-checks.
32299 * inet/tst-checks.c: New file.
32300
32301 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32302 warning.
32303
32304 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32305 __wmemcmp_sse2.
32306
32307 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32308 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32309
8a426e12
UD
32310 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32311
9bea3473
UD
323122011-12-02 Ulrich Drepper <drepper@gmail.com>
32313
3a965496
UD
32314 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32315 problem.
32316
9bea3473
UD
32317 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32318
f101631b
UD
323192011-11-29 Joseph Myers <joseph@codesourcery.com>
32320
32321 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32322 conditional on GCC version.
32323 (__arch_compare_and_exchange_val_8_acq)
32324 (__arch_compare_and_exchange_val_16_acq)
32325 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32326 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32327 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32328
a98275aa
UD
323292011-12-02 Joseph Myers <joseph@codesourcery.com>
32330
32331 * sysdeps/sh/backtrace.c: New file.
32332
d4cc29a2
AS
323332011-12-02 Andreas Schwab <schwab@redhat.com>
32334
32335 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32336 parenthesis.
32337
6257af2d
AS
323382011-12-01 Andreas Schwab <schwab@redhat.com>
32339
32340 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32341 falling back to utime.
32342
b5f44c1a
AS
323432011-11-30 Andreas Schwab <schwab@redhat.com>
32344
32345 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32346 expectations for float.
32347
f3a6cc0a
AS
323482011-11-29 Andreas Schwab <schwab@redhat.com>
32349
32350 * locale/weight.h (findidx): Add parameter len.
32351 * locale/weightwc.h (findidx): Likewise.
32352 * posix/fnmatch_loop.c (FCT): Adjust caller.
32353 * posix/regcomp.c (build_equiv_class): Likewise.
32354 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32355 * posix/regexec.c (check_node_accept_bytes): Likewise.
32356 * string/strcoll_l.c (STRCOLL): Likewise.
32357 * string/strxfrm_l.c (STRXFRM): Likewise.
32358
9d65ea3a
UD
323592011-11-17 Ulrich Drepper <drepper@gmail.com>
32360
32361 * Makefile.in: Remove CVSOPT handling.
32362 * configure.in: Remove use of AC_REVISION.
32363 * iconvdata/Makefile (distribute): No need to filter out CVS.
32364 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32365 handling.
32366
5583a086
AS
323672011-11-16 Andreas Schwab <schwab@redhat.com>
32368
32369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32370 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32371 [USE_AS_STRNCASECMP_L]: Likewise.
32372 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32373 NO_TLS_DIRECT_SEG_REFS.
32374 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32375 Fix argument offsets for non-PIC.
32376 [USE_AS_STRNCASECMP_L]: Likewise.
32377 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32378 NO_TLS_DIRECT_SEG_REFS.
32379
d62a8200
UD
323802011-11-15 Ulrich Drepper <drepper@gmail.com>
32381
9d65ea3a 32382 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32383 O_CLOEXEC.
32384 * locale/loadlocale.c (_nl_load_locale): Likewise.
32385
09f93bd3
AS
323862011-11-15 Andreas Schwab <schwab@redhat.com>
32387
446514f9
AS
32388 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32389 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32390 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32391 (SYSCALL_GETTIME): Set errno on error.
32392
09f93bd3
AS
32393 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32394 count references to noai6ai_cached.
32395
312be3f9
UD
323962011-11-15 Ulrich Drepper <drepper@gmail.com>
32397
32398 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32399
32400 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32401 FD_CLOEXEC for /proc/self/maps.
32402
32403 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32404 FD_CLOEXEC for /proc/meminfo.
32405
32406 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32407 gai.conf.
32408
32409 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32410 FD_CLOEXEC for given file.
32411
32412 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32413
32414 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32415 FD_CLOEXEC for /etc/hosts.
32416 (_gethtent): Likewise.
32417
32418 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32419
32420 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32421 cancellation and set FD_CLOEXEC for /etc/netgroup.
32422
32423 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32424 reading /etc/publickey.
32425
32426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32427 allow cancellation when reading /etc/group.
32428
32429 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32430 cancellation.
32431 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32432
32433 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32434 when using data file.
32435
32436 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32437
32438 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32439 (write_nis_obj): Use "c" and "e" in fopen.
32440
32441 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32442
32443 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32444
32445 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32446
32447 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32448
32449 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32450 locale.alias.
32451
32452 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32453
32454 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32455
32456 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32457
32458 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32459 file parsing and set FD_CLOEXEC.
32460
82af0fa8
UD
324612011-11-14 Ulrich Drepper <drepper@gmail.com>
32462
32463 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32464
a5fb313c
AS
324652011-11-14 Andreas Schwab <schwab@redhat.com>
32466
32467 * malloc/arena.c (arena_get2): Don't call reused_arena when
32468 _int_new_arena failed.
32469
6abf3465
UD
324702011-11-14 Ulrich Drepper <drepper@gmail.com>
32471
32472 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32473 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32474 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32475 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32476 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32477 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32478 to compile strcasecmp and strncasecmp.
32479 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32480 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32481
32482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32483
76e3966e
UD
324842011-11-13 Ulrich Drepper <drepper@gmail.com>
32485
32486 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32487 locale-defines.sym to gen-as-const-headers.
32488 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32489 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32491 to compile strcasecmp and strncasecmp.
32492 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32493 strcasecmp_l and strncasecmp_l.
32494 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32495 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32496 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32497 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32498 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32499 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32500 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32501 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32502 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32503 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32504 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32505
ab26144e
UD
325062011-11-12 Ulrich Drepper <drepper@gmail.com>
32507
7edb22ef
UD
32508 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32509 result of SYSDEP_GETTIME_CPU to retval.
32510 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32511 parameter list to macro. Remove trailing semicolon. Adjust users.
32512
9694fc44
UD
32513 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32514 variable.
32515
8ad89ef8
UD
32516 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32517 mantissa words.
32518 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32519
0c822ef9
UD
32520 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32521 from unused variable.
32522
874e0564
UD
32523 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32524 DWARF definitions.
32525 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32526 for assembling.
32527
3a2edc79
UD
32528 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32529 over namespaces.
32530
f3c2577f
UD
32531 * sunrpc/rpc_prot.c (rejected): Fix case value.
32532
294ce126
UD
32533 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32534 unsigned long long int to avoid warnings in shift.
32535
5e2b63c6
UD
32536 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32537 of use of trans.
32538 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32539 variable tmp.
32540
e7f4b08e
UD
32541 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32542 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32543 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32544
ab26144e
UD
32545 * nis/nis_table.c (nis_list): Use variable of correct type for
32546 result of __follow_path call.
32547
8a6d5255
AZ
325482011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32549
32550 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32551 of math functions ceil, trunc, floor, round, and sqrt, when
32552 avaliable on the platform.
32553 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32554 name clash.
32555 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32556 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32557 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32558
aaddc98c
MP
325592011-10-30 Marek Polacek <mpolacek@redhat.com>
32560
32561 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32562 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32563
95b7042b
RM
325642011-11-11 Roland McGrath <roland@hack.frob.com>
32565
32566 * include/unistd.h: Fix __readlink return type.
32567 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32568
57769839
UD
325692011-11-11 Ulrich Drepper <drepper@gmail.com>
32570
32571 * stdlib/ucontext.h: Undo last change for makecontext.
32572
edc5984d
AS
325732011-11-11 Andreas Schwab <schwab@redhat.com>
32574
98591e58
AS
32575 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32576
edc5984d
AS
32577 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32578 * setjmp/setjmp.h: Mark functions as non-leaf.
32579 * setjmp/bits/setjmp2.h: Likewise.
32580 * stdlib/ucontext.h: Likewise.
32581
77cdc054
AS
325822011-11-10 Andreas Schwab <schwab@redhat.com>
32583
32584 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32585 (reused_arena): Don't check arena limit.
32586 (arena_get2): Atomically check arena limit.
32587
fe72eebd
UD
325882011-11-08 Ulrich Drepper <drepper@gmail.com>
32589
5f078c32
UD
32590 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32591 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32592
fe72eebd
UD
32593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32594 instructions.
32595
ae1bc2fa
AS
325962011-11-07 Andreas Schwab <schwab@redhat.com>
32597
7583a88d
AS
32598 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32599 handler when locking.
32600
ae1bc2fa
AS
32601 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32602 Fix size of allocated buffer.
32603
10fb0bfa
AS
326042011-11-04 Andreas Schwab <schwab@redhat.com>
32605
998832a4
AS
32606 [BZ #10103]
32607 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32608 declarations for long double functions.
32609 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32610
10fb0bfa
AS
32611 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32612
3d7ba52b
AS
326132011-11-03 Andreas Schwab <schwab@redhat.com>
32614
a9ae54a1
AS
32615 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32616 installed.
32617
3d7ba52b
AS
32618 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32619 is disabled.
32620
bc8db248
ST
326212011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32622
32623 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32624
45b96dd6
AS
326252011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32626
647776f6
AS
32627 * include/alloca.h (stackinfo_alloca_round): Define.
32628 (extend_alloca): Use it.
32629 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32630 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32631 here.
32632
d91a8b93
AS
32633 * scripts/check-local-headers.sh: Ignore libaudit.h.
32634
45b96dd6
AS
32635 * nscd/Makefile (extra-objs): Make recursively expanded.
32636
432d41ce
UD
326372011-11-01 Ulrich Drepper <drepper@gmail.com>
32638
34372fc6
UD
32639 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32641
fadb59f8
UD
32642 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32643 * posix/tst-rfc3484-2.c: Likewise.
32644 * posix/tst-rfc3484-3.c: Likewise.
32645
78239589
UD
32646 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32647 process_vm_writev.
32648 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32649 process_vm_writev.
32650 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32651 process_vm_writev from libc using GLIBC_2.15 version.
32652
432d41ce
UD
32653 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32654
02f9c6cf
PP
326552011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32656
32657 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32658 stack usage.
32659
3a2c0242
UD
326602011-10-31 Ulrich Drepper <drepper@gmail.com>
32661
f4ec4833
UD
32662 [BZ #13367]
32663 * nss/getent.c (initgroups_keys): Show error message in case no group
32664 names are given.
32665
3a2c0242
UD
32666 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32667 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32668 __bump_nl_timestamp.
32669 * nscd/connections (nscd_init): When host database is served open
32670 netlink socket and request notification about configuration changes.
32671 (main_loop_poll): Track netlink file descriptor and bump timestamp
32672 in case data becomes available.
32673 (main_loop_epoll): Likewise.
32674 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32675 (database_pers_head): Add extra_data fileds.
32676 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32677 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32678 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32679 Adjust caller.
32680 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32681 in6ai data, call __free_in6ai.
32682 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32683 Add -DHAVE_NETLINK.
32684 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32685 interface information. Reuse previous data if netlink timestamp
32686 is not changed.
32687 (__bump_nl_timestamp): New function.
32688 (__free_in6ai): New function.
32689
636064eb
UD
326902011-10-30 Ulrich Drepper <drepper@gmail.com>
32691
32692 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32693 close_not_cancel_no_status here.
32694 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32695
9beb2334
UD
326962011-10-29 Ulrich Drepper <drepper@gmail.com>
32697
6ef76f3b
UD
32698 [BZ #13276]
32699 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32700 return value.
32701
0ffc4f3e 32702 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32703 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32704 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32705
cb95113e
UD
327062011-07-03 Andreas Jaeger <aj@suse.de>
32707
32708 [BZ #10709]
32709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32710 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32711 * math/libm-test.inc (sin_test): Add test case.
32712
a1b560ff
UD
327132011-10-29 Ulrich Drepper <drepper@gmail.com>
32714
c9aaface
UD
32715 [BZ #13337]
32716 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32717 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32718
d272e7f1
UD
32719 * elf/chroot_canon.c (chroot_canon): Cleanups.
32720
1bc33071
UD
32721 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32722
1760874d
TJ
32723 [BZ #13335]
32724 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32725 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32726
51d91b18
UD
32727 * string/test-strchr.c: Make usable for strchrnul testing.
32728 * string/test-strchrnul.c: New file.
32729 * string/Makefile (strop-tests): Add strchrnul.
32730
a1b560ff 32731 * po/it.po: Update from translation team.
b611fb81 32732 * po/es.po: Likewise.
a1b560ff 32733
a5b81e1f
UD
327342011-10-28 Ulrich Drepper <drepper@gmail.com>
32735
fd52bc6d
UD
32736 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32737 the three constants needed as parameters. Drop the others.
32738 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32739 __m128i_strloadu_tolower.
52e4b9eb
UD
32740 Create and initialize variable zero and use it in all the places
32741 where _mm_setzero_si128 was used.
fd52bc6d 32742
a5b81e1f
UD
32743 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32744 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32745 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32746 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32747 anymore.
32748 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32749 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32750 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32751 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32752 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32753 __mpranred, __mptan.
32754 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32755 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32756 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32757 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32758 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32759 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32760 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32761 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32762 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32763
b4343346
AS
327642011-10-28 Andreas Schwab <schwab@redhat.com>
32765
0c92d8a8
AS
32766 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32767 redefine if SHARED.
32768 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32769
b4343346
AS
32770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32771 wide char related routines to wcsmbs subdir.
32772
3871f58f
AS
327732011-10-27 Andreas Schwab <schwab@redhat.com>
32774
32775 [BZ #13344]
32776 * misc/sys/cdefs.h (__THROWNL): Define.
32777 * posix/unistd.h: Use __THREADNL instead of __THREAD
32778 for memory synchronization functions.
32779
94d44d9f
RM
327802011-10-26 Roland McGrath <roland@hack.frob.com>
32781
21b64b15 32782 [BZ #13349]
94d44d9f
RM
32783 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32784 doesn't exist.
32785 * manual/stdio.texi (Obstack Streams): Node removed.
32786
f6ce9294
AS
327872011-10-26 Andreas Schwab <schwab@redhat.com>
32788
80479147
AS
32789 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32790 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32791 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32792
f6ce9294
AS
32793 * math/math_private.h (math_force_eval): Allow non-addressable
32794 arguments.
32795 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32796
618280a1
UD
327972011-10-25 Ulrich Drepper <drepper@gmail.com>
32798
e0016b11
UD
32799 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32800 file is not needed.
32801
32802 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32803 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32804 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32805 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32806 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32807 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32808 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32809 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32810 Add AVX variants.
32811 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32812 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32813 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32814 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32815 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32816 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32817 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32818 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32819 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32820 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32821 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32822 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32823 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32824 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32825 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32826 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32827 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32828 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32829 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32830
32831 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32832 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32833
618280a1
UD
32834 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32835 place. Use VEX encoding when compiling for AVX.
32836
37822576
AS
328372011-10-25 Andreas Schwab <schwab@redhat.com>
32838
1f1e1947
AS
32839 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32840 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32841
37822576
AS
32842 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32843
31ea014d
UD
328442011-10-25 Ulrich Drepper <drepper@gmail.com>
32845
d7826aa1 32846 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32847 useless if() expression.
d7826aa1
UD
32848 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32849 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32850 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32851 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32852 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32853 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32854 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32855 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32856 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32857 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32858 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32859 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32860 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32861 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32862 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32863 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32864 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32865 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32866 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32867
31ea014d
UD
32868 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32869
16437fec
AS
328702011-10-25 Andreas Schwab <schwab@redhat.com>
32871
32872 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32873 condition.
32874 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32875
31d3cc00
UD
328762011-10-25 Ulrich Drepper <drepper@gmail.com>
32877
32878 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32879 .text section. Avoid duplicate constants.
32880 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32881 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32882 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32884 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32888 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32889 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32890 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32891 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32892 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32893 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32894 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32895 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32896 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32897 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32898 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32899 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32900 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32901 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32902 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32903 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32904 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32905 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32906 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32907 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32908 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32909 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32910 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32911 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32912 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32913 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32914 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32915 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32916 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32917 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32918 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32919 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32920 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32921 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32922 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32923 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32924 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32925
58985aa9
UD
329262011-10-24 Ulrich Drepper <drepper@gmail.com>
32927
202c9deb
UD
32928 * sysdeps/x86_64/dla.h: Move to ...
32929 * sysdeps/x86_64/fpu/dla.h: ...here.
32930 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32931 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32932
af968f62
UD
32933 * config.make.in: Add have-mfma4 entry.
32934 * configure.in: Substitute libc_cv_cc_fma4.
32935 * math/Makefile (dbl-only-routines): Add sincostab.
32936 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32937 Use __sincostab not sincos.
32938 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32939 name is a macro.
32940 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32944 using __copysign.
32945 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32946 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32947 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32948 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32949 and __inv.
32950 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32951 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32952 __copysign.
32953 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32954 define aliases when function name is a macro.
32955 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32956 sysdeps/ieee754/dbl-64/sincos.tbl.
32957 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32958 fma4-enabled routines.
32959 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32960 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32961 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32962 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32963 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32964 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32965 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32966 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32967 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32968 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32969 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32970 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32971 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32972 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32973 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32974 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32975 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32976 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32977 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32978 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32979 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32980 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32981 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32982 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32983 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32984 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32985 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32986 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32987 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32988 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32989
58985aa9
UD
32990 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32991 rename.
32992 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33000
a201fbcf
AS
330012011-10-24 Andreas Schwab <schwab@redhat.com>
33002
33003 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33004
fc2ee42a
LD
330052011-10-23 Ulrich Drepper <drepper@gmail.com>
33006
bb3129bd
UD
33007 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33008
0275fff8
UD
33009 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33010 prediction.
33011 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33012
2fa2ae85
UD
33013 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33014 Remove unused variable magic_bits.
33015 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33016
fc2ee42a
LD
33017 * string/strnlen.c: Define and use STRNLEN macro.
33018 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33019 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33021 * wcsmbs/wcslen.c: Define and use WCSLEN.
33022 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33023 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33024 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33025 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33026 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33027 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33028 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33029
ce7dd29f
LD
330302011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33031
33032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33033 strnlen-sse2-no-bsf.
33034 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33035 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33036 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33037 Add strnlen support.
33038 (USE_AS_STRNLEN): New macro.
33039 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33040 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33041 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33042 * sysdeps/x86_64/wcslen.S: New file.
33043
979c70a3
MZ
330442011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33045
33046 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33047 XMM-moves are used for copying on small sizes.
33048
2d09f82f
LD
330492011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33050
33051 * wcsmbs/Makefile (strop-tests): Add wcschr.
33052 * wcsmbs/test-wcschr.c: New file.
33053 * string/test-strchr.c: Update.
33054 Add wcschr support.
33055 (WIDE): New macro.
33056
619fccca
LD
330572011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33058
2d09f82f 33059 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
33060 * wcsmbs/test-wcslen.c: New file.
33061 * string/test-strlen.c: Update.
33062 Add wcslen support.
33063 (WIDE): New macro.
33064
09f699ea
UD
330652011-10-23 Ulrich Drepper <drepper@gmail.com>
33066
33067 * po/it.po: Update from translation team.
33068
95584d3b
LD
330692011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33070
33071 * sysdeps/x86_64/wcscmp.S: Update.
33072 Fix wrong comparison semantics.
33073 wcscmp shall use signed comparison not unsigned.
33074 Don't use substraction to avoid overflow bug.
33075 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33076 * wcsmbc/wcscmp.c: Likewise.
33077 * string/test-strcmp.c: Likewise.
33078 Add new tests to check cases with negative values.
33079
c8b3296b
UD
330802011-10-23 Ulrich Drepper <drepper@gmail.com>
33081
33082 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33083 * sysdeps/x86_64/dla.h: ...here. New file.
33084 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33085 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33089 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33091 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33092 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33093
246ad57a
AS
330942011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33095
33096 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33097 __ynl_finite aliases.
33098
a1a87169
UD
330992011-10-22 Ulrich Drepper <drepper@gmail.com>
33100
0d355eb7
UD
33101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33102
a1a87169
UD
33103 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33104 define DLA_FMA.
33105 [DLA_FMA] (EMULV): Use DLA_FMA.
33106 [DLA_FMA] (MUL12): Use EMULV.
33107 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33108 that are not needed.
33109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33116
ee2aafe0
AS
331172011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33118
33119 * math/s_nan.c: Undef __nan.
33120 * math/s_nanf.c: Undef __nanf.
33121 * math/s_nanl.c: Undef __nanl.
33122 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33123 "math_private.h".
33124
bc62c2fb
UD
331252011-10-22 Ulrich Drepper <drepper@gmail.com>
33126
77425c63
UD
33127 * math/s_catan.c: Add branch predictions.
33128 * math/s_catanf.c: Likewise.
33129 * math/s_catanh.c: Likewise.
33130 * math/s_catanhf.c: Likewise.
33131 * math/s_catanhl.c: Likewise.
33132 * math/s_catanl.c: Likewise.
33133 * math/s_cexp.c: Likewise.
33134 * math/s_cexpf.c: Likewise.
33135 * math/s_cexpl.c: Likewise.
33136 * math/s_clog.c: Likewise.
33137 * math/s_clog10.c: Likewise.
33138 * math/s_clog10f.c: Likewise.
33139 * math/s_clog10l.c: Likewise.
33140 * math/s_clogf.c: Likewise.
33141 * math/s_clogl.c: Likewise.
33142 * math/s_csqrt.c: Likewise.
33143 * math/s_csqrtf.c: Likewise.
33144 * math/s_csqrtl.c: Likewise.
33145 * math/s_ctanf.c: Likewise.
33146 * math/s_ctanh.c: Likewise.
33147 * math/s_ctanhf.c: Likewise.
33148 * math/s_ctanhl.c: Likewise.
33149 * math/s_ctanl.c: Likewise.
33150
bc62c2fb
UD
33151 * math/math_private.h: Define __nan, __nanf, __nanl.
33152 * math/s_cacosh.c: Include <math_private.h>.
33153 * math/s_cacoshl.c: Likewise.
33154 * math/s_casinh.c: Likewise.
33155 * math/s_casinhf.c: Likewise.
33156 * math/s_casinhl.c: Likewise.
33157 * math/s_ccos.c: Rely entire on ccosh.
33158 * math/s_ccosf.c: Rely entire on ccoshf.
33159 * math/s_ccosl.c: Rely entirely on ccoshl.
33160 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33161 Remove tests for FE_INVALID.
33162 * math/s_ccoshf.c: Likewise.
33163 * math/s_ccoshl.c: Likewise.
33164 * math/s_csin.c: Likewise.
33165 * math/s_csinf.c: Likewise.
33166 * math/s_csinh.c Likewise.
33167 * math/s_csinhf.c: Likewise.
33168 * math/s_csinhl.c: Likewise.
33169 * math/s_csinl.c: Likewise.
33170 * math/s_ctan.c: Likewise.
33171 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33172 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33173 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33174
8ec250a4
UD
331752011-10-21 Ulrich Drepper <drepper@gmail.com>
33176
c196fed8
UD
33177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33178 compilation problems.
33179
8ec250a4
UD
33180 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33181 __builtin_expect.
33182
8d4f46c6
UD
331832011-10-20 Ulrich Drepper <drepper@gmail.com>
33184
ed72b654
UD
33185 * sysdeps/i386/configure.in: Test for -mfma4 option.
33186 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33187 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33188 COMMON_CPUID_INDEX_80000001.
33189 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33190 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33191 use it if FMA3 is not supported.
33192 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33193
8d4f46c6
UD
33194 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33195 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33196
d45c60c2
AS
331972011-10-20 Andreas Schwab <schwab@redhat.com>
33198
33199 [BZ #12892]
33200 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33201 it would create a cycle with a link time dependency.
33202
d9a4d2ab
UD
332032011-10-19 Ulrich Drepper <drepper@gmail.com>
33204
855d1560
UD
33205 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33206 instruction.
33207 * string/Makefile (strop-tests): Add rawmemchr.
33208 * string/test-rawmemchr.c: New file.
33209
d9a4d2ab
UD
33210 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33211 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33212 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33213 when compiling str{,n}casecmp and when AVX is available. Hook up
33214 new optimized code in initializers.
33215
8f3b1ffe
AS
332162011-10-19 Andreas Schwab <schwab@redhat.com>
33217
33218 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33219 __feraiseexcept instead of feraiseexcept.
33220
d38f1dba
UD
332212011-10-18 Ulrich Drepper <drepper@gmail.com>
33222
d9a8d0ab
UD
33223 * math/math_private.h: Define defaults for libc_fetestexcept and
33224 libc_feupdateenv.
33225 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33226 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33227 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33228 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33229 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33230 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33231 libc_fetestexcept and libc_feupdateenv.
33232
4855e3dd
UD
33233 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33234 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33235 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33236 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33237 libc_feholdexcept_setround.
33238
581d30e3
UD
33239 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33240 Add s_nearbyint-c and s_nearbyintf-c.
33241 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33242 nearbyintf inlines.
33243 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33244 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33245 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33246 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33247
d38f1dba
UD
33248 * math/math_private.h: Define defaults for libc_fegetround,
33249 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33250 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33251 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33252 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33253 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33254 standard functions.
33255 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33256 Remove comments and hacks for old compiler versions.
33257 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33258 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33259 libc_feholdexceptl.
33260
caa6c9d8
AS
332612011-10-18 Andreas Schwab <schwab@redhat.com>
33262
33263 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33264 (__feraiseexcept_renamed): Add __NTH.
33265 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33266 namespace violations.
33267
97c066e6
UD
332682011-10-17 Ulrich Drepper <drepper@gmail.com>
33269
99ce7b04
UD
33270 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33271
1004d182
UD
33272 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33273
228a984d
UD
33274 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33275 recently added interfaces.
33276 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33277
c8553a6a
UD
33278 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33279 about macro parameter expansion.
33280
ed22dcf6
UD
33281 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33282 __NO_MATH_INLINES is defined. Cleanups.
33283
33284 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33285 and __floorf is target has SSE4.1.
33286 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33287 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33288 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33289 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33290
b171c137
UD
33291 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33292 name.
33293 (floorf): Likewise.
33294
97c066e6
UD
33295 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33296
629f62ef
AS
332972011-10-17 Andreas Schwab <schwab@redhat.com>
33298
49a43d80
AS
33299 * misc/sys/cdefs.h: Fix last change.
33300
629f62ef
AS
33301 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33302 database lookup.
33303
e453f6cd
UD
333042011-10-16 Ulrich Drepper <drepper@gmail.com>
33305
aa78043a
UD
33306 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33307
ad0f5cad
UD
33308 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33310 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33311 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33312 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33313 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33314 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33315 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33316 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33317 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33318 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33319 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33320 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33321 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33322 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33323 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33324 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33325 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33326 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33327 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33328 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33329 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33330
33331 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33332 ceil, ceilf, floor, floorf.
33333
33334 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33335 Perform IRELATIVE relocations last.
33336
e453f6cd
UD
33337 * elf/do-rel.h: Add another parameter nrelative, replacing the
33338 local variable with the same name. Change name of the function
33339 to end in Rel or Rela (uppercase).
33340 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33341 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33342 elf_dynamic_do_##reloc function.
33343
fd5bdc09
UD
333442011-10-15 Ulrich Drepper <drepper@gmail.com>
33345
79b195b5
UD
33346 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33347 is sufficient, at least on modern CPUs.
33348
d4a28569
UD
33349 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33350
b61099b5
UD
33351 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33352 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33353
bcf01e6d
UD
33354 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33355 __expl_finite.
33356 * math/bits/math-finite.h: Add entries for exp.
33357 * math/e_expl.c: Add __*_finite alias.
33358 * sysdeps/i386/fpu/e_exp.S: Likewise.
33359 * sysdeps/i386/fpu/e_expf.S: Likewise.
33360 * sysdeps/i386/fpu/e_expl.c: Likewise.
33361 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33362 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33363 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33365 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33366 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33367 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33368
ba1a0d59
UD
33369 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33370 is sufficient, at least on modern CPUs.
33371
fd5bdc09
UD
33372 * ctype/ctype-info.c (__ctype_init): Define.
33373 * include/ctype.h (__ctype_init): Declare.
33374 (__ctype_b_loc): The variable is always initialized.
33375 (__ctype_toupper_loc): Likewise.
33376 (__ctype_tolower_loc): Likewise.
33377 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33378 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33379
7872cfb0
AS
333802011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33381
b468825a
AS
33382 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33383
7872cfb0
AS
33384 * configure.in: Also look in $cxxmachine/include for C++ system
33385 headers.
33386
be13f7bf
LD
333872011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33388
33389 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33390 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33391 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33392 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33393 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33394 (USE_AS_WMEMCMP): New macro.
33395 Fixing indents.
33396 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33397 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33398 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33399 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33400 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33401 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33402 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33403 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33404 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33405 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33406 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33407 (USE_AS_WMEMCMP): New macro.
33408 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33409 * sysdeps/string/test-memcmp.c: Update.
33410 Fix simple_wmemcmp.
33411 Add new tests.
33412 * wcsmbs/wmemcmp.c: Update.
33413 (WMEMCMP): New macro.
33414 Fix overflow bug.
33415
556a2007
AJ
334162011-10-12 Andreas Jaeger <aj@suse.de>
33417
33418 [BZ #13268]
33419 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33420
538faaa7
UD
334212011-10-15 Ulrich Drepper <drepper@gmail.com>
33422
ab6737ff
UD
33423 * libio/iofwide.c (do_length): Avoid warning.
33424
538faaa7
UD
33425 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33426
396a21b1
UD
334272011-10-14 Ulrich Drepper <drepper@gmail.com>
33428
cdf2901f
UD
33429 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33430
38ad40ce
UD
33431 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33432 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33433 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33434 * sysdeps/i386/i686/fpu/e_log.S: New file.
33435 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33436 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33437
396a21b1
UD
33438 * ctype/ctype.h: Add support for inlined isXXX functions when
33439 compiling C++ code.
33440
6b1f68c9
AS
334412011-10-14 Andreas Schwab <schwab@redhat.com>
33442
349290c0
AS
33443 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33444
6b1f68c9
AS
33445 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33446
f2282d42
RM
334472011-10-13 Roland McGrath <roland@hack.frob.com>
33448
33449 [BZ #13291]
33450 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33451
5298ffa8
AS
334522011-10-13 Andreas Schwab <schwab@redhat.com>
33453
714fad23
AS
33454 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33455 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33456 feraiseexcept.
33457
81dcc7fb
AS
33458 * sysdeps/x86_64/memrchr.S: Check for zero size.
33459
5298ffa8
AS
33460 * string/stratcliff.c: Add memrchr tests.
33461
951fbcec
LD
334622011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33463
33464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33465 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33466 rawmemchr-sse2 rawmemchr-sse2-bsf.
33467 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33468 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33469 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33470 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33471 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33472 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33473 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33474 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33475 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33476 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33477 * string/memrchr.c (MEMRCHR): New macro.
33478
0ac5ae23
UD
334792011-10-12 Ulrich Drepper <drepper@gmail.com>
33480
33481 Add integration with gcc's -ffinite-math-only and optimize wrapper
33482 functions in libm.
33483 * Versions.def: Define GLIBC_2.15 version for libm.
33484 * math/Makefile (headers): Add bits/math-finite.h.
33485 * math/bits/math-finite.h: New file.
33486 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33487 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33488 * math/e_acoshl.c: Add __*_finite alias.
33489 * math/e_acosl.c: Likewise.
33490 * math/e_asinl.c: Likewise.
33491 * math/e_atan2l.c: Likewise.
33492 * math/e_atanhl.c: Likewise.
33493 * math/e_coshl.c: Likewise.
33494 * math/e_exp10.c: Likewise.
33495 * math/e_exp10f.c: Likewise.
33496 * math/e_exp10l.c: Likewise.
33497 * math/e_exp2l.c: Likewise.
33498 * math/e_fmodl.c: Likewise.
33499 * math/e_gammal_r.c: Likewise.
33500 * math/e_hypotl.c: Likewise.
33501 * math/e_j0l.c: Likewise.
33502 * math/e_j1l.c: Likewise.
33503 * math/e_jnl.c: Likewise.
33504 * math/e_lgammal_r.c: Likewise.
33505 * math/e_log10l.c: Likewise.
33506 * math/e_log2l.c: Likewise.
33507 * math/e_logl.c: Likewise.
33508 * math/e_powl.c: Likewise.
33509 * math/e_sinhl.c: Likewise.
33510 * math/e_sqrtl.c: Likewise.
33511 * math/e_scalb.c: Completely rewritten and optimized.
33512 * math/e_scalbf.c: Likewise.
33513 * math/e_scalbl.c: Likewise.
33514 * math/w_acos.c: Likewise.
33515 * math/w_acosf.c: Likewise.
33516 * math/w_acosl.c: Likewise.
33517 * math/w_acosh.c: Likewise.
33518 * math/w_acoshf.c: Likewise.
33519 * math/w_acoshl.c: Likewise.
33520 * math/w_asin.c: Likewise.
33521 * math/w_asinf.c: Likewise.
33522 * math/w_asinl.c: Likewise.
33523 * math/w_atan2.c: Likewise.
33524 * math/w_atan2f.c: Likewise.
33525 * math/w_atan2l.c: Likewise.
33526 * math/w_atanh.c: Likewise.
33527 * math/w_atanhf.c: Likewise.
33528 * math/w_atanhl.c: Likewise.
33529 * math/w_exp10.c: Likewise.
33530 * math/w_exp10f.c: Likewise.
33531 * math/w_exp10l.c: Likewise.
33532 * math/w_fmod.c: Likewise.
33533 * math/w_fmodf.c: Likewise.
33534 * math/w_fmodl.c: Likewise.
33535 * math/w_j0.c: Likewise.
33536 * math/w_j0f.c: Likewise.
33537 * math/w_j0l.c: Likewise.
33538 * math/w_j1.c: Likewise.
33539 * math/w_j1f.c: Likewise.
33540 * math/w_j1l.c: Likewise.
33541 * math/w_jn.c: Likewise.
33542 * math/w_jnf.c: Likewise.
33543 * math/w_log.c: Likewise.
33544 * math/w_logf.c: Likewise.
33545 * math/w_logl.c: Likewise.
33546 * math/w_log10.c: Likewise.
33547 * math/w_log10f.c: Likewise.
33548 * math/w_log10l.c: Likewise.
33549 * math/w_log2.c: Likewise.
33550 * math/w_log2f.c: Likewise.
33551 * math/w_log2l.c: Likewise.
33552 * math/w_pow.c: Likewise.
33553 * math/w_powf.c: Likewise.
33554 * math/w_powl.c: Likewise.
33555 * math/w_remainder.c: Likewise.
33556 * math/w_remainderf.c: Likewise.
33557 * math/w_remainderl.c: Likewise.
33558 * math/w_scalb.c: Likewise.
33559 * math/w_scalbf.c: Likewise.
33560 * math/w_scalbl.c: Likewise.
33561 * math/w_sqrt.c: Likewise.
33562 * math/w_sqrtf.c: Likewise.
33563 * math/w_sqrtl.c: Likewise.
33564 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33565 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33566 used.
33567 * math/math_private.h: Declare __kernel_standard_f.
33568 * math/w_cosh.c: Remove cruft and optimize a bit.
33569 * math/w_coshf.c: Likewise.
33570 * math/w_coshl.c: Likewise.
33571 * math/w_exp2.c: Likewise.
33572 * math/w_exp2f.c: Likewise.
33573 * math/w_exp2l.c: Likewise.
33574 * math/w_hypot.c: Likewise.
33575 * math/w_hypotf.c: Likewise.
33576 * math/w_hypotl.c: Likewise.
33577 * math/w_lgamma.c: Likewise.
33578 * math/w_lgamma_r.c: Likewise.
33579 * math/w_lgammaf.c: Likewise.
33580 * math/w_lgammaf_r.c: Likewise.
33581 * math/w_lgammal.c: Likewise.
33582 * math/w_lgammal_r.c: Likewise.
33583 * math/w_sinh.c: Likewise.
33584 * math/w_sinhf.c: Likewise.
33585 * math/w_sinhl.c: Likewise.
33586 * math/w_tgamma.c: Likewise.
33587 * math/w_tgammaf.c: Likewise.
33588 * math/w_tgammal.c: Likewise.
33589 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33590 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33591 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33592 Minor optimizations. Pretty printing. Remove cruft.
33593 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33594 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33595 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33596 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33597 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33598 * sysdeps/i386/fpu/e_asin.S: Likewise.
33599 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33600 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33601 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33602 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33603 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33604 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33605 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33606 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33607 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33608 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33609 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33610 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33611 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33612 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33613 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33614 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33615 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33616 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33617 * sysdeps/i386/fpu/e_log.S: Likewise.
33618 * sysdeps/i386/fpu/e_log10.S: Likewise.
33619 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33620 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33621 * sysdeps/i386/fpu/e_log2.S: Likewise.
33622 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33623 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33624 * sysdeps/i386/fpu/e_logf.S: Likewise.
33625 * sysdeps/i386/fpu/e_logl.S: Likewise.
33626 * sysdeps/i386/fpu/e_pow.S: Likewise.
33627 * sysdeps/i386/fpu/e_powf.S: Likewise.
33628 * sysdeps/i386/fpu/e_powl.S: Likewise.
33629 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33630 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33631 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33632 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33633 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33634 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33635 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33636 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33637 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33638 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33639 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33641 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33642 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33643 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33644 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33645 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33648 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33649 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33651 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33652 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33654 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33655 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33656 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33659 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33660 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33661 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33662 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33663 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33664 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33665 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33666 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33667 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33668 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33669 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33670 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33671 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33672 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33673 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33674 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33675 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33676 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33677 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33678 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33679 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33718 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33721 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33722 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33723 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33724 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33726 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33729 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33730 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33731 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33732 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33733 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33734 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33735 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33736 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33737 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33738 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33739 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33740 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33741 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33742 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33743 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33744 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33745 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33746 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33747 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33748 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33749 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33750 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33751 (__isnanf): Likewise.
33752 (__isinf_ns): Likewise.
33753 (__isinf_nsf): Likewise.
33754 (__finite): Likewise.
33755 (__finitef): Likewise.
33756 (__ieee754_sqrt): Define as macro.
33757 (__ieee754_sqrtf): Define as macro.
33758 (__ieee754_sqrtl): Define as macro.
33759 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33760 inlined copy.
33761 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33762 __FINITE_MATH_ONLY__ consistent.
33763 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33764
12cc2fcd
AS
337652011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33766
a843a204
AS
33767 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33768 of rawmemchr.
33769
12cc2fcd
AS
33770 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33771
c853acd5
UD
337722011-10-09 Ulrich Drepper <drepper@gmail.com>
33773
33774 * po/ja.po: Update from translation team.
33775
c658d255
RM
337762011-10-08 Roland McGrath <roland@hack.frob.com>
33777
110946e4
RM
33778 * locale/programs/locarchive.c (prepare_address_space): New function.
33779 (create_archive, enlarge_archive, open_archive): Use it.
33780
50604220
RM
33781 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33782 inside [SHARED], where it is used.
33783
c658d255
RM
33784 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33785
33786 * nss/getent.c (netgroup_keys): Remove unused variable.
33787 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33788
6a621eb7
UD
337892011-10-08 Ulrich Drepper <drepper@gmail.com>
33790
7edb55ce
UD
33791 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33792 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33793 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33794 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33795 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33796 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33797 * math/Makefile (libm-calls): Add s_isinf_ns.
33798 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33799 * math/multc3.c: Likewise.
33800 * math/s_casin.c: Likewise.
33801 * math/s_casinf.c: Likewise.
33802 * math/s_casinl.c: Likewise.
33803 * math/s_ccos.c: Likewise.
33804 * math/s_ccosf.c: Likewise.
33805 * math/s_ccosl.c: Likewise.
33806 * math/s_ctan.c: Likewise.
33807 * math/s_ctanf.c: Likewise.
33808 * math/s_ctanh.c: Likewise.
33809 * math/s_ctanhf.c: Likewise.
33810 * math/s_ctanhl.c: Likewise.
33811 * math/s_ctanl.c: Likewise.
33812 * math/w_fmod.c: Likewise.
33813 * math/w_fmodf.c: Likewise.
33814 * math/w_fmodl.c: Likewise.
33815 * math/w_remainder.c: Likewise.
33816 * math/w_remainderf.c: Likewise.
33817 * math/w_remainderl.c: Likewise.
33818 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33819 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33820 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33821 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33822 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33823 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33824 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33825 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33826
187da0ae
UD
33827 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33828 of the number.
33829 * stdio-common/printf_fphex.c: Likewise.
33830 * stdio-common/printf_size.c: Likewise.
33831
9277c064
UD
33832 * math/e_exp10.c: Include math_private.h using <...> not "...".
33833 * math/e_exp10f.c: Likewise.
33834 * math/e_exp10l.c: Likewise.
33835 * math/e_exp2l.c: Likewise.
33836 * math/e_j0l.c: Likewise.
33837 * math/e_j1l.c: Likewise.
33838 * math/e_jnl.c: Likewise.
33839 * math/e_lgammal_r.c: Likewise.
33840 * math/e_rem_pio2l.c: Likewise.
33841 * math/e_scalb.c: Likewise.
33842 * math/e_scalbf.c: Likewise.
33843 * math/e_scalbl.c: Likewise.
33844 * math/k_cosl.c: Likewise.
33845 * math/k_sinl.c: Likewise.
33846 * math/k_tanl.c: Likewise.
33847 * math/s_cacoshf.c: Likewise.
33848 * math/s_catan.c: Likewise.
33849 * math/s_catanf.c: Likewise.
33850 * math/s_catanh.c: Likewise.
33851 * math/s_catanhf.c: Likewise.
33852 * math/s_catanhl.c: Likewise.
33853 * math/s_catanl.c: Likewise.
33854 * math/s_ccosh.c: Likewise.
33855 * math/s_ccoshf.c: Likewise.
33856 * math/s_ccoshl.c: Likewise.
33857 * math/s_cexp.c: Likewise.
33858 * math/s_cexpf.c: Likewise.
33859 * math/s_cexpl.c: Likewise.
33860 * math/s_clog.c: Likewise.
33861 * math/s_clog10.c: Likewise.
33862 * math/s_clog10f.c: Likewise.
33863 * math/s_clog10l.c: Likewise.
33864 * math/s_clogf.c: Likewise.
33865 * math/s_clogl.c: Likewise.
33866 * math/s_csin.c: Likewise.
33867 * math/s_csinf.c: Likewise.
33868 * math/s_csinh.c: Likewise.
33869 * math/s_csinhf.c: Likewise.
33870 * math/s_csinhl.c: Likewise.
33871 * math/s_csinl.c: Likewise.
33872 * math/s_csqrt.c: Likewise.
33873 * math/s_csqrtf.c: Likewise.
33874 * math/s_csqrtl.c: Likewise.
33875 * math/s_ctan.c: Likewise.
33876 * math/s_ctanf.c: Likewise.
33877 * math/s_ctanh.c: Likewise.
33878 * math/s_ctanhf.c: Likewise.
33879 * math/s_ctanhl.c: Likewise.
33880 * math/s_ctanl.c: Likewise.
33881 * math/s_ldexp.c: Likewise.
33882 * math/s_ldexpf.c: Likewise.
33883 * math/s_ldexpl.c: Likewise.
33884 * math/s_significand.c: Likewise.
33885 * math/s_significandf.c: Likewise.
33886 * math/s_significandl.c: Likewise.
33887 * math/w_acos.c: Likewise.
33888 * math/w_acosf.c: Likewise.
33889 * math/w_acosh.c: Likewise.
33890 * math/w_acoshf.c: Likewise.
33891 * math/w_acoshl.c: Likewise.
33892 * math/w_acosl.c: Likewise.
33893 * math/w_asin.c: Likewise.
33894 * math/w_asinf.c: Likewise.
33895 * math/w_asinl.c: Likewise.
33896 * math/w_atan2.c: Likewise.
33897 * math/w_atan2f.c: Likewise.
33898 * math/w_atan2l.c: Likewise.
33899 * math/w_atanh.c: Likewise.
33900 * math/w_atanhf.c: Likewise.
33901 * math/w_atanhl.c: Likewise.
33902 * math/w_cosh.c: Likewise.
33903 * math/w_coshf.c: Likewise.
33904 * math/w_coshl.c: Likewise.
33905 * math/w_dremf.c: Likewise.
33906 * math/w_exp10.c: Likewise.
33907 * math/w_exp10f.c: Likewise.
33908 * math/w_exp10l.c: Likewise.
33909 * math/w_exp2.c: Likewise.
33910 * math/w_exp2f.c: Likewise.
33911 * math/w_fmod.c: Likewise.
33912 * math/w_fmodf.c: Likewise.
33913 * math/w_fmodl.c: Likewise.
33914 * math/w_hypot.c: Likewise.
33915 * math/w_hypotf.c: Likewise.
33916 * math/w_hypotl.c: Likewise.
33917 * math/w_j0.c: Likewise.
33918 * math/w_j0f.c: Likewise.
33919 * math/w_j0l.c: Likewise.
33920 * math/w_j1.c: Likewise.
33921 * math/w_j1f.c: Likewise.
33922 * math/w_j1l.c: Likewise.
33923 * math/w_jn.c: Likewise.
33924 * math/w_jnf.c: Likewise.
33925 * math/w_jnl.c: Likewise.
33926 * math/w_lgamma.c: Likewise.
33927 * math/w_lgamma_r.c: Likewise.
33928 * math/w_lgammaf.c: Likewise.
33929 * math/w_lgammaf_r.c: Likewise.
33930 * math/w_lgammal.c: Likewise.
33931 * math/w_lgammal_r.c: Likewise.
33932 * math/w_log.c: Likewise.
33933 * math/w_log10.c: Likewise.
33934 * math/w_log10f.c: Likewise.
33935 * math/w_log10l.c: Likewise.
33936 * math/w_log2.c: Likewise.
33937 * math/w_log2f.c: Likewise.
33938 * math/w_log2l.c: Likewise.
33939 * math/w_logf.c: Likewise.
33940 * math/w_logl.c: Likewise.
33941 * math/w_pow.c: Likewise.
33942 * math/w_powf.c: Likewise.
33943 * math/w_powl.c: Likewise.
33944 * math/w_remainder.c: Likewise.
33945 * math/w_remainderf.c: Likewise.
33946 * math/w_remainderl.c: Likewise.
33947 * math/w_scalb.c: Likewise.
33948 * math/w_scalbf.c: Likewise.
33949 * math/w_scalbl.c: Likewise.
33950 * math/w_sinh.c: Likewise.
33951 * math/w_sinhf.c: Likewise.
33952 * math/w_sinhl.c: Likewise.
33953 * math/w_sqrt.c: Likewise.
33954 * math/w_sqrtf.c: Likewise.
33955 * math/w_sqrtl.c: Likewise.
33956 * math/w_tgamma.c: Likewise.
33957 * math/w_tgammaf.c: Likewise.
33958 * math/w_tgammal.c: Likewise.
33959
6a621eb7
UD
33960 * po/ja.po: Update from translation team.
33961
bf582445
AJ
339622011-09-29 Andreas Jaeger <aj@suse.de>
33963
f9efbf3a
AJ
33964 [BZ #13179]
33965 * sunrpc/netname.c (netname2host): Fix logic.
33966
bf582445
AJ
33967 [BZ #6779]
33968 [BZ #6783]
33969 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33970 correctly.
33971 * math/w_remainder.c (__remainder): Likewise.
33972 * math/w_remainderf.c (__remainderf): Likewise.
33973 * math/libm-test.inc (remainder_test): Add test cases.
33974
48693bea
AK
339752011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33976
33977 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33978 sdiv_qrnnd.
33979
42622229
LD
339802011-10-07 Ulrich Drepper <drepper@gmail.com>
33981
33982 * string/test-memcmp.c: Avoid unncessary #defines.
33983 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33984
093ecf92
LD
339852011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33986
33987 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33988 Use new sse2 version for core i3 - i7 as it's faster
33989 than sse42 version.
33990 (bit_Prefer_PMINUB_for_stringop): New.
33991 * sysdeps/x86_64/rawmemchr.S: Update.
33992 Replace with faster SSE2 version.
33993 * sysdeps/x86_64/memrchr.S: New file.
33994 * sysdeps/x86_64/memchr.S: Update.
33995 Replace with faster SSE2 version.
33996
fde56e5c
MP
339972011-09-12 Marek Polacek <mpolacek@redhat.com>
33998
33999 * elf/dl-load.c (lose): Add cast to avoid warning.
34000
21fd49a9
UD
340012011-10-07 Ulrich Drepper <drepper@gmail.com>
34002
5a06e643
UD
34003 * po/ca.po: Update from translation team.
34004
684ae515
UD
34005 * inet/getnetgrent_r.c: Hook up nscd.
34006 * nscd/Makefile (routines): Add nscd_netgroup.
34007 (nscd-modules): Add netgroupcache.
34008 (CFLAGS-netgroupcache.c): Define.
34009 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34010 (cache_search): Add const to second parameter.
34011 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34012 INNETGR.
34013 (dbs): Add netgrdb entry.
34014 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34015 (verify_persistent_db): Handle netgrdb.
34016 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34017 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34018 GETFDNETGR.
34019 (netgroup_response_header): Define.
34020 (innetgroup_response_header): Define.
34021 (datahead): Add netgroup_response_header and innetgroup_response_header
34022 elements.
34023 * nscd/nscd.conf: Add entries for netgroup cache.
34024 * nscd/nscd.h (dbtype): Add netgrdb.
34025 (_PATH_NSCD_NETGROUP_DB): Define.
34026 (netgroup_iov_disabled): Declare.
34027 (xmalloc, xcalloc, xrealloc): Move declarations here.
34028 (cache_search): Adjust prototype.
34029 Add netgroup-related prototypes.
34030 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34031 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34032 (__nscd_innetgr): Declare.
34033 * nscd/selinux.c (perms): Use access_vector_t as element type and
34034 add netgroup-related initializers.
34035 * nscd/netgroupcache.c: New file.
34036 * nscd/nscd_netgroup.c: New file.
34037 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34038 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34039 For four parameters use innetgr.
34040 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34041 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34042 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34043 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34044
21fd49a9
UD
34045 * nscd/connections.c (register_traced_file): Don't register file
34046 for disabled databases.
34047
054c0457
UD
340482011-10-06 Ulrich Drepper <drepper@gmail.com>
34049
32b63198
UD
34050 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34051
054c0457
UD
34052 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34053 from tree and freeing node.
34054
64031225
JO
340552011-09-25 Jiri Olsa <jolsa@redhat.com>
34056
34057 * nss/nsswitch.c (__nss_database_lookup): Handle
34058 nss_parse_service_list out of memory case.
34059
0490345c
JO
340602011-09-15 Jiri Olsa <jolsa@redhat.com>
34061
34062 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34063 out of memory case.
34064
3a62d00d
AS
340652011-10-04 Andreas Schwab <schwab@redhat.com>
34066
34067 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34068 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34069 pass it down.
34070 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34071 elf_machine_rela, elf_machine_lazy_rel.
34072 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34073 (ELF_DYNAMIC_DO_REL): Likewise.
34074 (ELF_DYNAMIC_DO_RELA): Likewise.
34075 (ELF_DYNAMIC_RELOCATE): Likewise.
34076 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34077 to ELF_DYNAMIC_DO_REL.
34078 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34079 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34080 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34081 elf_machine_rela.
34082 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34083 skip_ifunc, don't call ifunc function if non-zero.
34084 (elf_machine_rela): Likewise.
34085 (elf_machine_lazy_rel): Likewise.
34086 (elf_machine_lazy_rela): Likewise.
34087 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34088 (elf_machine_lazy_rel): Likewise.
34089 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34090 Likewise.
34091 (elf_machine_lazy_rel): Likewise.
34092 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34093 Likewise.
34094 (elf_machine_lazy_rel): Likewise.
34095 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34096 (elf_machine_lazy_rel): Likewise.
34097 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34098 (elf_machine_lazy_rel): Likewise.
34099 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34100 (elf_machine_lazy_rel): Likewise.
34101 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34102 (elf_machine_lazy_rel): Likewise.
34103 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34104 (elf_machine_lazy_rel): Likewise.
34105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34106 (elf_machine_lazy_rel): Likewise.
34107
68577918
UD
341082011-09-28 Ulrich Drepper <drepper@gmail.com>
34109
34110 * nss/nss_files/files-init.c (_nss_files_init): Use static
34111 initialization for all the *_traced_file variables.
34112
68822d74
AS
341132011-09-28 Andreas Schwab <schwab@redhat.com>
34114
34115 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34116
2056100b
RM
341172011-09-27 Roland McGrath <roland@hack.frob.com>
34118
34119 [BZ #13226]
34120 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34121
32c76b63
AS
341222011-09-27 Andreas Schwab <schwab@redhat.com>
34123
34124 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34125 Reread the line before reparsing it.
34126
bf972c9d
AS
341272011-09-26 Andreas Schwab <schwab@redhat.com>
34128
34129 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34130
e057a1b5
JM
341312011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34132 Maxim Kuvyrkov <maxim@codesourcery.com>
34133 Joseph Myers <joseph@codesourcery.com>
34134
34135 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34136 if needed for __stack_chk_guard.
34137
bc7e1c36
RM
341382011-09-19 Roland McGrath <roland@hack.frob.com>
34139
ecb1482f
RM
34140 * sysdeps/posix/spawni.c (script_execute): Always define it.
34141 It will be optimized away if unused.
34142 (maybe_script_execute): New function.
34143 (__spawni): Call it.
34144
bc7e1c36
RM
34145 * Makerules: Don't include tls.make.
34146 (config-tls): Always set to thread.
34147 * tls.make.c: File removed.
34148
1c3b002b
MF
341492011-09-19 Mike Frysinger <vapier@gentoo.org>
34150
34151 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34152 * config.make.in (CPPFLAGS-config): New substituted variable.
34153
2840865d
UD
341542011-09-15 Ulrich Drepper <drepper@gmail.com>
34155
88738eb6
UD
34156 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34157
cbf645a6 34158 [BZ #13192]
2840865d
UD
34159 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34160 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34161
b402e91a
RM
341622011-09-15 Roland McGrath <roland@hack.frob.com>
34163
34164 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34165 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34166 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34167 (CALL_FAIL): Likewise.
34168 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34169 (CALL_FAIL): Macro removed.
34170 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34171
4c1a1f71
UD
341722011-09-15 Ulrich Drepper <drepper@gmail.com>
34173
34174 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34175 for __FINITE_MATH_ONLY__ == 1.
34176
edc121be
AS
341772011-09-15 Andreas Schwab <schwab@redhat.com>
34178
34179 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34180 __ieee754_sqrt instead of sqrt.
34181 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34182 __ieee754_sqrtf instead of sqrtf.
34183 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34184 __floorf instead of floorf.
34185 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34186 __floorf, __truncf instead of floorf, truncf.
34187
cd205654
UD
341882011-09-14 Ulrich Drepper <drepper@gmail.com>
34189
ee4d0315
UD
34190 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34191
cd205654
UD
34192 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34193 __extern_always_inline.
34194 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34195 32-bit.
34196
48b67d71
AS
341972011-09-14 Andreas Schwab <schwab@redhat.com>
34198
34199 * elf/rtld.c (dl_main): Also relocate in dependency order when
34200 doing symbol dependency testing.
34201
1ae12c75
AS
342022011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34203
34204 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34205 Always define `refsym'.
34206
995a80df
AS
342072011-09-13 Andreas Schwab <schwab@redhat.com>
34208
e529793b
AS
34209 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34210 (__FD_ELT): Renamed from __FDELT.
34211 * misc/bits/select2.h (__FD_ELT): Likewise.
34212 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34213 __FD_MASK instead of __FDELT, __FDMASK.
34214 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34215 Likewise.
34216 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34217 Likewise.
34218
52d4fef8
AS
34219 * elf/Makefile (gen-ldd): Fix pattern.
34220
995a80df
AS
34221 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34222 (init_tls): Likewise.
34223
8682f8b0
UD
342242011-09-12 Ulrich Drepper <drepper@gmail.com>
34225
34226 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34227
de82006d
AS
342282011-09-12 Andreas Schwab <schwab@redhat.com>
34229
a7c8e6a1
AS
34230 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34231 `struct cmsghdr *' instead of `void *'.
34232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34233 Likewise.
34234
0f31fe77
AS
342352011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34236
34237 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34238 if non-absolute.
34239 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34240 ldd_rewrite_script.
0f31fe77 34241
32b4c839
UD
342422011-09-11 Ulrich Drepper <drepper@gmail.com>
34243
83cd1420
UD
34244 * configure.in: Remove --with-tls option.
34245 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34246 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34247 out in case it is missing.
34248 * sysdeps/ia64/elf/configure.in: Likewise.
34249 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34250 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34251 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34252 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34253 * sysdeps/sh/elf/configure.in: Likewise.
34254 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34255 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34256 * sysdeps/x86_64/elf/configure.in: Likewise.
34257 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34258 * sysdeps/mach/hurd/tls.h: Likewise.
34259
633f745d
UD
34260 [BZ #13067]
34261 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34262
f318beb8
UD
34263 [BZ #13090]
34264 * configure.in: Fix use of AC_INIT.
34265
32b4c839
UD
34266 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34267
3ce1f295
UD
342682011-09-10 Ulrich Drepper <drepper@gmail.com>
34269
bb016596
UD
34270 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34271 __set_errno.
8e58439c
UD
34272 * malloc/hooks.c: Likewise.
34273
aebae053 34274 [BZ #11929]
02d46fc4
UD
34275 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34276 variables statically.
34277 (narenas): Initialize.
34278 (list_lock): Initialize.
bb016596
UD
34279 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34280 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34281 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34282 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34283 Add initializers to main_arena and mp_.
34284 (malloc_state): Remove pagesize member. Change all users to use
34285 GLRO(dl_pagesize).
34286
34287 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34288 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34289 is always initialized.
34290
22a89187
UD
34291 * malloc/malloc.c: Removed unused configurations and dead code.
34292 * malloc/arena.c: Likewise.
34293 * malloc/hooks.c: Likewise.
02d46fc4 34294 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34295
d063d164
UD
34296 * include/tls.h: Removed. USE___THREAD must always be defined.
34297 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34298 * elf/dl-libc.c: Likewise.
34299 * elf/dl-tsd.c: Likewise.
34300 * include/errno.h: Likewise.
34301 * include/netdb.h: Likewise.
34302 * include/resolv.h: Likewise.
34303 * inet/herrno-loc.c: Likewise.
34304 * inet/herrno.c: Likewise.
34305 * malloc/arena.c: Likewise.
34306 * malloc/hooks.c: Likewise.
34307 * malloc/malloc.c: Likewise.
34308 * resolv/res-state.c: Likewise.
34309 * resolv/res_libc.c: Likewise.
34310 * sysdeps/i386/dl-machine.h: Likewise.
34311 * sysdeps/ia64/dl-machine.h: Likewise.
34312 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34313 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34314 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34315 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34316 * sysdeps/sh/dl-machine.h: Likewise.
34317 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34318 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34319 * sysdeps/unix/i386/sysdep.S: Likewise.
34320 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34321 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34322 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34325 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34326 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34329 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34330 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34331 * sysdeps/x86_64/dl-machine.h: Likewise.
34332 * tls.make.c: Likewise.
34333
3ce1f295
UD
34334 * configure.in: Remove --with-__thread option. Make tests for
34335 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34336 tls_model attribute fail if no support is available. Remove
34337 USE_IN_LIBIO.
34338 * Makeconfig: Adjust for dropped configure option. All features are
34339 now mandatory.
34340 * Makerules: Likewise.
34341 * Versions.def: Likewise.
34342 * argp/argp-fmtstream.c: Likewise.
34343 * argp/argp-fmtstream.h: Likewise.
34344 * argp/argp-help.c: Likewise.
34345 * assert/assert.c: Likewise.
34346 * config.h.in: Likewise.
34347 * config.make.in: Likewise.
34348 * configure: Likewise.
34349 * configure.in: Likewise.
34350 * csu/Versions: Likewise.
34351 * csu/init.c: Likewise.
34352 * elf/tst-audit2.c: Likewise.
34353 * elf/tst-tls10.c: Likewise.
34354 * elf/tst-tls10.h: Likewise.
34355 * elf/tst-tls11.c: Likewise.
34356 * elf/tst-tls12.c: Likewise.
34357 * elf/tst-tls14.c: Likewise.
34358 * elf/tst-tlsmod11.c: Likewise.
34359 * elf/tst-tlsmod12.c: Likewise.
34360 * elf/tst-tlsmod13.c: Likewise.
34361 * elf/tst-tlsmod13a.c: Likewise.
34362 * elf/tst-tlsmod14a.c: Likewise.
34363 * elf/tst-tlsmod15b.c: Likewise.
34364 * elf/tst-tlsmod16a.c: Likewise.
34365 * elf/tst-tlsmod16b.c: Likewise.
34366 * elf/tst-tlsmod7.c: Likewise.
34367 * elf/tst-tlsmod8.c: Likewise.
34368 * elf/tst-tlsmod9.c: Likewise.
34369 * gmon/gmon.c: Likewise.
34370 * grp/fgetgrent_r.c: Likewise.
34371 * grp/putgrent.c: Likewise.
34372 * hurd/fopenport.c: Likewise.
34373 * include/libc-symbols.h: Likewise.
34374 * include/tls.h: Likewise.
34375 * intl/gettextP.h: Likewise.
34376 * intl/loadinfo.h: Likewise.
34377 * locale/global-locale.c: Likewise.
34378 * locale/localeinfo.h: Likewise.
34379 * mach/devstream.c: Likewise.
34380 * malloc/arena.c: Likewise.
34381 * malloc/set-freeres.c: Likewise.
34382 * misc/err.c: Likewise.
34383 * misc/getttyent.c: Likewise.
34384 * misc/mntent_r.c: Likewise.
34385 * posix/getopt.c: Likewise.
34386 * posix/wordexp.c: Likewise.
34387 * pwd/fgetpwent_r.c: Likewise.
34388 * resolv/Versions: Likewise.
34389 * resolv/res_hconf.c: Likewise.
34390 * shadow/fgetspent_r.c: Likewise.
34391 * shadow/putspent.c: Likewise.
34392 * stdio-common/printf_fphex.c: Likewise.
34393 * stdio-common/tmpfile.c: Likewise.
34394 * stdlib/abort.c: Likewise.
34395 * stdlib/fmtmsg.c: Likewise.
34396 * sunrpc/auth_unix.c: Likewise.
34397 * sunrpc/clnt_perr.c: Likewise.
34398 * sunrpc/clnt_tcp.c: Likewise.
34399 * sunrpc/clnt_udp.c: Likewise.
34400 * sunrpc/clnt_unix.c: Likewise.
34401 * sunrpc/openchild.c: Likewise.
34402 * sunrpc/svc_simple.c: Likewise.
34403 * sunrpc/svc_tcp.c: Likewise.
34404 * sunrpc/svc_udp.c: Likewise.
34405 * sunrpc/svc_unix.c: Likewise.
34406 * sunrpc/xdr.c: Likewise.
34407 * sunrpc/xdr_array.c: Likewise.
34408 * sunrpc/xdr_rec.c: Likewise.
34409 * sunrpc/xdr_ref.c: Likewise.
34410 * sunrpc/xdr_stdio.c: Likewise.
34411
1248c1c4
PB
344122011-09-09 Ulrich Drepper <drepper@gmail.com>
34413
34414 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34415
344162011-07-03 Andreas Jaeger <aj@suse.de>
34417
34418 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34419 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34420 regenerate with gen-libm-tests.pl.
34421
344222010-05-12 Petr Baudis <pasky@suse.cz>
34423
34424 [BZ #11589]
34425 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34426 around j0() zero points by switching to j1().
34427 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34428 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34430 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34431
f22e1074
UD
344322011-09-09 Ulrich Drepper <drepper@gmail.com>
34433
f19009c1
UD
34434 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34435 instead of 0.
34436 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34437 instead of 0.
f19009c1
UD
34438 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34439 Patch in part by Pavel Roskin <proski@gnu.org>.
34440
3f8cc204
UD
34441 [BZ #13138]
34442 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34443 realloc.
34444 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34445 Free memory block if necessary.
34446
f22e1074
UD
34447 [BZ #12847]
34448 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34449 be NULL. Don't lock in this case.
34450
0a2349f9
RM
344512011-09-09 Roland McGrath <roland@hack.frob.com>
34452
34453 * elf/elf.h (ELFOSABI_GNU): New macro.
34454 (ELFOSABI_LINUX): Define to that.
34455
f3cdd467
DZ
344562011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34457
34458 * string/strncat.c (strncat): Undef the symbol in case it has been
34459 defined in bits/string.h.
34460
74718d13
UD
344612011-09-09 Ulrich Drepper <drepper@gmail.com>
34462
633e9e0f
UD
34463 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34464
0a2349f9 34465 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34466 link map.
34467
f9924780
AJ
344682011-08-17 Andreas Jaeger <aj@suse.de>
34469
34470 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34471
7f5517aa
PP
344722011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34473 Ian Lance Taylor <iant@google.com>
34474
34475 * math/libm-test.inc (lround_test): New testcase.
34476 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34477
762011fe
UD
344782011-09-08 Ulrich Drepper <drepper@gmail.com>
34479
92963737
UD
34480 * Makefile: Remove support for automatic cvs check-ins.
34481 * Makerules: Likewise.
34482 * config.make.in: Likewise.
34483 * configure.in: Likewise.
34484 * intl/Makefile: Likewise.
34485 * locale/Makefile: Likewise.
34486 * po/Makefile: Likewise.
34487 * posix/Makefile: Likewise.
34488 * sysdeps/gnu/Makefile: Likewise.
34489 * sysdeps/mach/hurd/Makefile: Likewise.
34490 * sysdeps/sparc/sparc32/Makefile: Likewise.
34491
b0727fd8
JS
34492 [BZ #13118]
34493 * posix/Makefile (bug-regex32-ENV): Define.
34494 Patch by John Stanley <jpsinthemix@verizon.net>.
34495
a0f33f99
UD
34496 * misc/Makefile (headers): Add bits/select2.h.
34497 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34498 * misc/bits/select2.h: New file.
34499 * include/bits/select2.h: New file.
34500 * debug/Makefile (routines): Add fdelt_chk.
34501 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34502 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34503 FD_ISSET.
34504 * debug/fdelt_chk.c: New file.
34505
762011fe
UD
34506 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34507 * wcsmbs/test-wmemcmp.c: Likewise.
34508 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34509 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34510
345112011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34512
34513 * string/Makefile (strop-tests): Add memcmp.
34514 * string/test-wmemcmp.c: New file.
34515 * string/test-memcmp.c: Add wmemcmp support.
34516
7f513ec8
RM
345172011-09-08 Roland McGrath <roland@hack.frob.com>
34518
0442afb4
RM
34519 [BZ #13153]
34520 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34521 2011-07-19 change.
34522
7f513ec8
RM
34523 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34524 garbage value in a __mach_port_mod_refs call in the cases of the
34525 task-self and thread-self ports.
34526
a12b2239
ST
345272011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34528
34529 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34530
610f9ab4
AS
345312011-09-08 Andreas Schwab <schwab@redhat.com>
34532
7f513ec8 34533 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34534
48882a1a
LD
345352011-09-07 Ulrich Drepper <drepper@gmail.com>
34536
b49865be
UD
34537 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34538
fdc86bc9
UD
34539 * elf/dl-libc.c (dlerror_run): Pass back error code from
34540 dl_catch_error.
34541
c966526a
UD
34542 [BZ #13123]
34543 * elf/dl-load.c (lose): Free l_origin if it is valid.
34544
48882a1a
LD
34545 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34546 names.
34547 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34548 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34549 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34550 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34551 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34552 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34553
77a2a8b4
AZ
345542011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34555
34556 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34557 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34558 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34559 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34560 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34561 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34562 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34563 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34564 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34565 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34566
24f579d8
AM
345672011-08-15 Alan Modra <amodra@gmail.com>
34568
34569 [BZ #13092]
34570 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34571 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34572 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34573 ppc_mcount to static-only-routines.
34574 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34575 __mcount_internal.
34576 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34577 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34578
3d4837df
UD
345792011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34580
34581 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34582 for finite and infinity parameters.
34583
22700377
WS
345842011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34585
34586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34587 and add nop instructions for throughput optimization.
34588 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34589
5025581e
WS
345902011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34591
34592 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34593 aligned copy for power7 with vector-scalar instructions.
34594 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34595
08a300c9
L
345962011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34597
34598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34599 AVX check.
34600
59178ef9
AS
346012011-09-07 Andreas Schwab <schwab@redhat.com>
34602
34603 [BZ #13144]
34604 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34605 last change.
34606
e38ba7ab
UD
346072011-09-07 Ulrich Drepper <drepper@gmail.com>
34608
34609 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34610 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34611 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34612 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34613 clock_gettime.
34614
d53a73ac
UD
346152011-09-06 Ulrich Drepper <drepper@gmail.com>
34616
fc8bffcc
UD
34617 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34618 Forgot to demangle the pointer.
34619
ceaa0c5d
UD
34620 * sysdeps/i386/sysdep.h: Define atom_text_section.
34621 * sysdeps/x86_64/sysdep.h: Likewise.
34622 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34623 section with atom_text_section.
34624 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34625 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34626 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34628 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34629
a77d3c17
UD
34630 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34631 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34632 already be defined. Change to take two parameters and don't assign
34633 result to variable. Adjust all users.
34634 Define INTERNAL_GETTIME if not already defined.
34635 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34636 call.
34637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34638 HAVE_CLOCK_GETTIME_VSYSCALL.
34639 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34640
d53a73ac
UD
34641 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34642 gettimeofday vsyscall, just use time.
34643
a8f84144
AS
346442011-09-06 Andreas Schwab <schwab@redhat.com>
34645
34646 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34647 <errno.h>.
34648
ef606249
UD
346492011-09-06 Ulrich Drepper <drepper@gmail.com>
34650
34651 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34652 syscall on x86-64.
34653 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34654 syscall.
34655 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34656 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34657 syscall if possible.
34658
6585cb60
UD
346592011-09-05 Ulrich Drepper <drepper@gmail.com>
34660
34661 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34662 e_ident. Don't pass to find_mapsXX.
34663 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34664
a5f524e4
LD
346652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34666
34667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34668 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34669 * sysdeps/x86_64/multiarch/strchr.S: Update.
34670 Check bit_slow_BSF bit.
34671 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34672 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34673 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34674
554881ef
UD
346752011-09-05 Ulrich Drepper <drepper@gmail.com>
34676
d96de963
UD
34677 [BZ #13134]
34678 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34679 before glibc 2.15.
34680 (tryshell): Define.
34681 (__spawni): Change last parameter to be flag. Test
34682 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34683 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34684 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34685 * posix/spawni.c: Likewise.
34686 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34687 * posix/spawnp.c: Likewise. Change normal version to use
34688 SPAWN_XFLAGS_USE_PATH.
34689 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34690 SPAWN_XFLAGS_TRY_SHELL.
34691
d48e5868
UD
34692 [BZ #13150]
34693 * posix/glob.h: Remove gcc 1.x support.
34694
554881ef
UD
34695 [BZ #13068]
34696 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34697
693fb948
LD
346982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34699
34700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34701 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34702 strrchr-sse2-bsf
34703 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34704 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34705 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34706 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34707 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34708 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34709
1b48c537
UD
347102011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34711
49d42c37
UD
34712 * sysdeps/x86_64/wcscmp.S: New file.
34713
1b48c537
UD
34714 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34715 wcscmp-c wcscmp-sse2
34716 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34717 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34718 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34719 * wcsmbs/wcscmp.c: Allow renaming.
34720
15c95c5d
DM
347212011-09-05 David S. Miller <davem@davemloft.net>
34722
34723 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34724 stack slot, rather than the struct return pointer slot.
34725 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34726 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34728 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34729
2f0ad8f3
UD
347302011-09-05 Ulrich Drepper <drepper@gmail.com>
34731
d88ae418
UD
34732 * po/ja.po: Update from translation team.
34733
2f0ad8f3
UD
34734 [BZ #13144]
34735 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34736 kernel in 64-bit binaries.
34737
5f4318d1
DM
347382011-09-01 David S. Miller <davem@davemloft.net>
34739
34740 * elf/elf.h (HWCAP_SPARC_*): Move to..
34741 * sysdeps/sparc/sysdep.h: this new file and add new values.
34742 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34743 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34744 _DL_HWCAP_COUNT to 24.
34745 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34746 entries.
34747 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34748 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34749 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34751 instead of magic constants.
34752 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34753
3ba57516
DM
347542011-08-31 David S. Miller <davem@davemloft.net>
34755
34756 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34758 Reimplement to do errno handling inline.
34759 (SYSCALL_ERROR_HANDLER): New macro.
34760 (__SYSCALL_STRING): Do not do errno handling in asm.
34761 (__CLONE_SYSCALL_STRING): Delete.
34762 (__INTERNAL_SYSCALL_STRING): Delete.
34763 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34764 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34765 (PSEUDO): Reimplement to do errno handling inline.
34766 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34767 (SYSCALL_ERROR_HANDLER): New macro.
34768 (__SYSCALL_STRING): Do not do errno handling in asm.
34769 (__CLONE_SYSCALL_STRING): Delete.
34770 (__INTERNAL_SYSCALL_STRING): Delete.
34771 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34772 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34773 i386.
34774 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34775 (inline_syscall*): Add 'err' argument.
34776 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34777 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34778 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34779 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34780
34781 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34782 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34783
2bc17433
AS
347842011-08-30 Andreas Schwab <schwab@redhat.com>
34785
34786 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34787
fbeb5f4d
JO
347882011-08-29 Jiri Olsa <jolsa@redhat.com>
34789
34790 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34791 directive.
34792
ad69cc26
DM
347932011-08-24 David S. Miller <davem@davemloft.net>
34794
34795 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34796
39dd69df
AS
347972011-08-24 Andreas Schwab <schwab@redhat.com>
34798
34799 * elf/Makefile: Add rules to build and run unload8 test.
34800 * elf/unload8.c: New file.
34801 * elf/unload8mod1.c: New file.
34802 * elf/unload8mod1x.c: New file.
34803 * elf/unload8mod2.c: New file.
34804 * elf/unload8mod3.c: New file.
34805
34806 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34807 it wasn't used.
34808
2c0b250a
DM
348092011-08-23 David S. Miller <davem@davemloft.net>
34810
34811 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34812 subtract stack bias.
34813 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34814 %sp not %fp in calculations.
34815 (_JMPBUF_UNWINDS_ADJ): Likewise.
34816
22044b48
DM
34817 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34818 (aio_suspend): Call it to force an exception region around the
34819 AIO_MISC_WAIT() invocation.
34820
2cae4995
AS
348212011-08-23 Andreas Schwab <schwab@redhat.com>
34822
34823 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34824 backslash.
34825
873a772e
AJ
348262011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34827
34828 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34829 protection macro.
34830 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34831 and <dl-machine.h>.
34832 (Elf64_FuncDesc): Remove.
34833
25ad0df1
DM
348342011-08-22 David S. Miller <davem@davemloft.net>
34835
34836 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34837 sigaltstack check, add missing cfi directives.
34838 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34839 missing cfi directives, and sigaltstack handling.
34840
e888bcbe
AS
348412011-08-16 Andreas Schwab <schwab@redhat.com>
34842
34843 [BZ #11724]
34844 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34845 object is seen twice.
34846 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34847
34848 * elf/Makefile (distribute): Add tst-initorder2.c.
34849 (tests): Add tst-initorder2.
34850 (modules-names): Add tst-initorder2a tst-initorder2b
34851 tst-initorder2c tst-initorder2d. Add rules to build them.
34852 ($(objpfx)tst-initorder2.out): New rule.
34853 * elf/tst-initorder2.c: New file.
34854 * elf/tst-initorder2.exp: New file.
34855
87162f46
AS
348562011-08-22 Andreas Schwab <schwab@redhat.com>
34857
70538b7f
AS
34858 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34859
f55ffe58
AS
34860 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34861 dependencies back to end of function.
34862
87162f46
AS
34863 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34864 $(elfobjdir)/ld.so.
34865
91b392a4
UD
348662011-08-21 Ulrich Drepper <drepper@gmail.com>
34867
34868 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34869 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34870 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34871 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34872 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34873 of __vdso_gettimeofday.
34874 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34875 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34876 attribute_hidden.
34877 (_libc_vdso_platform_setup): Remove initialization of
34878 __vdso_gettimeofday and __vdso_time.
34879
5c43483f
UD
348802011-08-20 Ulrich Drepper <drepper@gmail.com>
34881
775a77e7
UD
34882 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34883 and fgetc_unlocked.
34884 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34885 getc_unlocked.
89f447ed 34886
49c74ba9
UD
34887 * elf/dl-open.c (add_to_global): Report additions to the global scope
34888 for LD_DEBUG=scopes.
34889 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34890 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34891
5c43483f
UD
34892 [BZ #13114]
34893 * stdio-common/Makefile (tests): Add bug24.
34894 * stdio-common/bug24.c: New file.
34895
a101b025
AJ
348962011-08-19 Andreas Jaeger <aj@suse.de>
34897
34898 [BZ #13114]
34899 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34900 non-existant file when using close-on-exec mode.
34901
c88f1766
UD
349022011-08-20 Ulrich Drepper <drepper@gmail.com>
34903
0276a718
UD
34904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34905 the very first instruction.
34906
c88f1766
UD
34907 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34908 the CFI state in the end.
34909 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34910 inclusion of dl-trampoline.h.
34911 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34912
51ccffa0
AS
349132011-08-19 Andreas Schwab <schwab@redhat.com>
34914
94d7165f
AS
34915 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34916 expectations for long double.
34917
51ccffa0
AS
34918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34919 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34920
fd708658 349212011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34922
34923 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34924 artificual limit depends upon the system page size.
34925
44f0a71e
UD
349262011-08-17 Ulrich Drepper <drepper@gmail.com>
34927
34928 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34929 * resolv/Makefile: Define CFLAGS-libresolv.
34930
8de79a24
AS
349312011-08-17 Andreas Schwab <schwab@redhat.com>
34932
34933 * nss/makedb.c (compute_tables): Make variables used in nested
34934 function static.
34935
27724598
UD
349362011-08-17 Ulrich Drepper <drepper@gmail.com>
34937
c5305d88
UD
34938 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34939 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34940 if buffer was too small.
34941
27724598
UD
34942 * elf/pldd.c (main): Attach to all threads in the process.
34943 Rewrite /proc handling to use *at functions.
34944
076fe015
UD
349452011-08-16 Ulrich Drepper <drepper@gmail.com>
34946
174baab3
UD
34947 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34948 specifies first scope to show.
34949 (dl_open_worker): Update callers. Move printing scope of new
34950 object to before the relocation.
44f0a71e 34951 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34952 * sysdeps/generic/ldsodefs.h: Update declaration.
34953
076fe015
UD
34954 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34955 string for the scope number.
34956
a60df2c3
UD
349572011-08-14 Ulrich Drepper <drepper@gmail.com>
34958
34959 * nscd/servicescache.c (cache_addserv): Make sure written is always
34960 initialized.
34961
5e4287d1
RM
349622011-08-14 Roland McGrath <roland@hack.frob.com>
34963
85ae0589
RM
34964 * sysdeps/i386/i486/bits/atomic.h
34965 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34966 statement expression, so as to suppress "set but not used" warning.
34967 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34968
69f63097
RM
34969 * string/strncat.c (STRNCAT): Use prototype definition.
34970
675456ef
RM
34971 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34972 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34973 -Iprograms here.
34974 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34975 (localedef-modules): Add localedef.
34976 (locale-modules): Add locale.
34977
5e4287d1
RM
34978 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34979 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34980 to avoid a warning.
34981
9c96ff23
DM
349822011-08-14 David S. Miller <davem@davemloft.net>
34983
34984 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34985 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34986
f9ddf089
UD
349872011-08-13 Ulrich Drepper <drepper@gmail.com>
34988
44f0a71e 34989 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34990 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34991 * elf/rtld.c (dl_main): Set l_name of vDSO.
34992 Call _dl_show_scope when DL_DEBUG_SCOPES.
34993 (process_dl_debug): Recognize scopes flag and also set it for all.
34994 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34995 Declare _dl_show_scope.
34996
1dc27704
UD
34997 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34998 (do_dlopen): Pass caller_dlopen to dl_open.
34999 (__libc_dlopen_mode): Initialize caller_dlopen.
35000
f9ddf089
UD
35001 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35002 of libc. Make tolower call locale-independent. Optimize a bit by
35003 using isdigit instead of isalnum.
35004 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35005
9ac533d3
UD
350062011-08-12 Ulrich Drepper <drepper@gmail.com>
35007
35008 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35009 was a dependency or dynamically loaded.
35010
89edf2e9
UD
350112011-08-11 Ulrich Drepper <drepper@gmail.com>
35012
8e999d29
UD
35013 * intl/l10nflist.c: Allow architecture-specific pop function.
35014 * sysdeps/x86_64/l10nflist.c: New file.
35015
89edf2e9
UD
35016 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35017 classification.
35018
14d96785
AS
350192011-08-10 Andreas Schwab <schwab@redhat.com>
35020
35021 * include/dirent.h: Add libc_hidden_proto for scandirat and
35022 scandirat64. Don't declare __scandirat64.
35023 * dirent/scandirat.c: Add libc_hidden_def.
35024 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35025 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35026
6761ac04
DM
350272011-08-10 David S. Miller <davem@davemloft.net>
35028
35029 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35030 enum.
35031 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35033 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35034
c55fbd1e
UD
350352011-08-09 Ulrich Drepper <drepper@gmail.com>
35036
35037 * Versions.def [libc]: Add GLIBC_2.15.
35038 * dirent/Makefile (routines): Add scandirat and scandirat64.
35039 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35040 GLIBC_2.15.
35041 * dirent/dirent.h: Declare scandirat and scandirat64.
35042 * dirent/scandirat.c: New file.
35043 * dirent/scandirat64.c: New file.
35044 * sysdeps/wordsize-64/scandirat.c: New file.
35045 * sysdeps/wordsize-64/scandirat64.c: New file.
35046 * dirent/opendir.c: Define opendirat.
35047 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35048 using scandirat.
35049 * dirent/scandir64.c: Adjust for scandir.c change.
35050 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35051 __scandirat64, and __scandir_cancel_handler.
35052 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35053 additional parameter and use openat instead of open (outside of ld.so).
35054 Add new __opendir as wrapper around __opendirat.
35055 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35056 here without requiring old scandirat implementation.
35057
879165f2
UD
350582011-08-08 Ulrich Drepper <drepper@gmail.com>
35059
35060 * dirent/scandir.c (cancel_handler): Renamed to
35061 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35062 defined. Adjust users.
35063 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35064 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35065
cb7e923b
UD
350662011-08-04 Ulrich Drepper <drepper@gmail.com>
35067
16292edd
UD
35068 * string/test-string.h (IMPL): Use __STRING to expand name and then
35069 stringify it.
35070
cb7e923b
UD
35071 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35072 of cleanups.
35073
cff82933
LD
350742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35075
35076 * string/Makefile: Update.
35077 (strop-tests): Append strncat.
35078 * string/test-wcscmp.c: New file.
35079 New comprehensive test for wcscmp.
35080 * string/test-strcmp.c: Update.
35081 (WIDE): New define.
35082
9be9bfcc
AS
350832011-07-22 Andreas Schwab <schwab@redhat.com>
35084
35085 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35086 line.
35087
2e96f1c7
AS
350882011-07-26 Andreas Schwab <schwab@redhat.com>
35089
35090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35091 encoding to ACE if AI_IDN.
35092
85188888
JJ
350932011-08-01 Jakub Jelinek <jakub@redhat.com>
35094
35095 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35096 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35097
5fa16e9b
LD
350982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35099
35100 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35101 Fix overflow bug in strncat.
35102 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35103
35104 * string/test-strncat.c: Update.
35105 Add new tests for checking overflow bugs.
35106
351072011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35108
35109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35110 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35111 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35112 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35113 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35114 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35115 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35116 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35117 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35118
35119 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35120 (USE_AS_STRCAT): Define.
35121 Add strcat and strncat support.
35122 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35123
8c1a459f
AS
351242011-07-25 Andreas Schwab <schwab@redhat.com>
35125
35126 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35127 __n bigger than INT_MAX+1.
35128 (__strncmp_g): Likewise.
35129
bba33c28
UD
351302011-07-23 Ulrich Drepper <drepper@gmail.com>
35131
798be72d
UD
35132 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35133 * libio/stido.h: Likewise.
35134
8accd4dc
UD
35135 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35136 (AF_NFC): Define.
35137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35138 (AF_NFC): Define.
35139
cbff0d96
UD
35140 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35142 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35143 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35144 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35145
9191c04a
UD
35146 [BZ #13021]
35147 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35148 installed.
35149
bba33c28
UD
35150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35151 typo.
35152 (_dl_x86_64_save_sse): Likewise.
35153
90f139dd
UD
351542011-07-22 Ulrich Drepper <drepper@gmail.com>
35155
1aae088a
UD
35156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35157 OSXSAVE.
35158 (_dl_x86_64_save_sse): Likewise.
35159
8e2045f5
UD
35160 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35161
90f139dd
UD
35162 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35163
1d002f25
AS
351642011-07-21 Andreas Schwab <schwab@redhat.com>
35165
35166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35167 change.
35168 (_dl_x86_64_save_sse): Use correct AVX check.
35169
21137f89
UD
351702011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35171
35172 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35173 bug in strncpy/strncat.
35174 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35175
a65c0b7a
UD
351762011-07-21 Ulrich Drepper <drepper@gmail.com>
35177
35178 * string/tester.c (test_strcat): Add tests for different alignments
35179 of source and destination.
35180 (test_strncat): Likewise.
35181
6986b98a
UD
351822011-07-20 Ulrich Drepper <drepper@gmail.com>
35183
90bb2039
UD
35184 [BZ #12852]
35185 * posix/glob.c (glob): Check passed in values before using them in
35186 expressions to avoid some overflows.
35187 (glob_in_dir): Likewise.
35188
5644ef54
UD
35189 [BZ #13007]
35190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35191 check for AVX enablement so that we don't crash with old kernels and
35192 new hardware.
35193 * elf/tst-audit4.c: Add same checks here.
35194 * elf/tst-audit6.c: Likewise.
35195
35196 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 35197
bfc9dc9b
AS
351982011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35199
35200 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35201
702e64bb
UD
352022011-07-20 Ulrich Drepper <drepper@gmail.com>
35203
35204 * po/cs.po: Update from translation team.
35205 * po/bg.po: Likewise.
35206
295e904f
MP
352072011-07-12 Marek Polacek <mpolacek@redhat.com>
35208
35209 * misc/sys/cdefs.h: Add support for const attribute.
35210 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35211 to gnu_dev_{major,minor,makedev} functions.
35212
3ff94596
MP
352132011-07-20 Marek Polacek <mpolacek@redhat.com>
35214
35215 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35216
28b59fca
AS
352172011-07-20 Andreas Schwab <schwab@redhat.com>
35218
35219 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35220 strlen results.
35221
19df733e
AK
352222011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35223
35224 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35225 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35226 register in order to avoid conflicts with the soft frame pointer
35227 being held in r11 when necessary.
35228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35229 (INTERNAL_VSYSCALL_NCS): Likewise.
35230
c8835729
MP
352312011-07-14 Marek Polacek <mpolacek@redhat.com>
35232
35233 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35234 * elf/dl-fini.c (_dl_fini): Adjust caller.
35235 * elf/dl-close.c (_dl_close_worker): Likewise.
35236 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35237
b902330c
MP
352382011-07-15 Marek Polacek <mpolacek@redhat.com>
35239
8991e135
MP
35240 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35241 "aux_cache->nlibs < 0".
35242
b902330c
MP
35243 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35244 in the reload-count case.
35245
99710781
LD
352462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35247
35248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35249 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35250 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35251 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35252 * sysdeps/x86_64/multiarch/strcat.S: New file.
35253 * sysdeps/x86_64/multiarch/strncat.S: New file.
35254 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35255 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35256 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35257 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35258 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35259 (USE_AS_STRCAT): Define.
35260 Add strcat and strncat support.
35261 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35262 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35263 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35264 * string/strncat.c: Update.
35265 (USE_AS_STRNCAT): Define.
35266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35267 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35268 and i7.
35269 * sysdeps/x86_64/multiarch/init-arch.h
35270 (bit_Prefer_PMINUB_for_stringop): New.
35271 (index_Prefer_PMINUB_for_stringop): Likewise.
35272 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35273 bit_Prefer_PMINUB_for_stringop.
35274
7dc6bd90
UD
352752011-07-19 Ulrich Drepper <drepper@gmail.com>
35276
35277 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35278 buffer64.
35279 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35280 of casting of buffer.
35281 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35282 buffer32 and buffer64.
35283 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35284 writes instead of casting of buffer.
35285 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35286 buffer32.
35287 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35288 casting of buffer.
35289
e0e72284
AS
352902011-07-19 Andreas Schwab <schwab@redhat.com>
35291
35292 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35293
feb1eb0b
UD
352942011-07-19 Ulrich Drepper <drepper@gmail.com>
35295
35296 * nscd/nscd.c (termination_handler): Don't do anything for a database
35297 if it has not yet been initialized.
35298
298711ff
UD
352992011-07-18 Ulrich Drepper <drepper@gmail.com>
35300
35301 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35302
353032011-07-15 Marek Polacek <mpolacek@redhat.com>
35304
35305 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35306
f9d68389
UD
353072011-07-18 Ulrich Drepper <drepper@gmail.com>
35308
35309 * po/nl.po: Update from translation team.
35310 * po/sv.po: Likewise.
35311
db290cf5
RM
353122011-07-16 Roland McGrath <roland@hack.frob.com>
35313
35314 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35315 now disallowed by GCC.
5c550700 35316
fd5e21c7
RM
35317 * configure.in (use-default-link): Default to yes if a test -shared
35318 link meets our qualifications.
35319 * configure: Regenerated.
35320
5c550700
RM
35321 * config.make.in (output-format): New variable.
35322 * configure.in: Check for ld --print-output-format support.
35323 * configure: Regenerated.
35324 * Makerules ($(common-objpfx)format.lds)
35325 [$(output-format) != unknown]: Just use $(output-format),
35326 instead of the linker-script munging.
35327
9fa2c032
RM
353282011-07-14 Roland McGrath <roland@hack.frob.com>
35329
a6928d51
RM
35330 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35331 of $(common-objpfx)shlib.lds.
35332 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35333
661607b3
RM
35334 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35335 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35336
9fa2c032
RM
35337 * configure.in (-z relro check): Adjust test code to add a large
35338 writable data section after it.
35339 * configure: Regenerated.
35340
defe9061
RM
353412011-07-11 Roland McGrath <roland@hack.frob.com>
35342
35343 * configure.in (-z relro check): Fix test code to make the variable
35344 truly const.
35345 * configure: Regenerated.
35346
319b9ad4
UD
353472011-07-11 Ulrich Drepper <drepper@gmail.com>
35348
35349 * nscd/nscd.h (struct traced_file): Define.
35350 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35351 elements. Add traced_files.
35352 (inotify_fd): Declare.
35353 (register_traced_file): Declare.
35354 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35355 (inotify_fd): Export.
35356 (resolv_conf_descr): Remove.
35357 (nscd_init): Move inotify descriptor creation to main.
35358 Don't register files for notification here.
35359 (register_traced_file): New function.
35360 (invalidate_cache): Don't use reset_res to determine whether to call
35361 res_init, go through the list of registered files.
35362 (main_loop_poll): The inotify descriptors are now stored in the
35363 structures for the traced files.
35364 (main_loop_epoll): Likewise
35365 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35366 to __nss_disable_nscd.
35367 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35368 for a database anymore. Check the records for all the registered
35369 files instead.
35370 * nss/Makefile (libnss_files-routines): Add files-init.
35371 (libnss_db-routines): Add db-init.
35372 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35373 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35374 * nss/nss_db/db-init.c: New file.
35375 * nss/nss_files/files-init.c: New file.
35376 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35377 __nss_lookup_function.
35378 (__nss_lookup_function): Call nss_load_library.
35379 (nss_load_all_libraries): New function.
35380 (__nss_disable_nscd): Take parameter with callback function for files
35381 to register. Set is_nscd. Load all the DSOs for the NSS modules
35382 used for the cached services.
35383 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35384 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35385 options for features to all the files in nscd.
35386
35387 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35388
23bee3e8
RM
353892011-07-10 Roland McGrath <roland@hack.frob.com>
35390
35391 * csu/elf-init.c (__libc_csu_init): Comment typo.
35392
46a5b7f0
UD
353932011-07-09 Ulrich Drepper <drepper@gmail.com>
35394
35395 * po/pl.po: Update from translation team.
35396 * po/ja.po: Likewise.
35397 * po/ru.po: Likewise.
35398 * po/ko.po: Likewise.
35399 * po/fr.po: Likewise.
35400
d30cf5bb
RM
354012011-07-09 Roland McGrath <roland@hack.frob.com>
35402
113ddea4
RM
35403 * configure.in (.ctors/.dtors header and trailer check):
35404 Use an empirical test on a built program.
35405 * configure: Regenerated.
35406
574920b4
RM
35407 * configure.in (-z relro check): Use an empirical test on a built DSO.
35408 Detect, but do not require, on ia64.
35409 * configure: Regenerated.
35410
d30cf5bb
RM
35411 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35412 Update tests that use readelf to use $READELF instead.
35413 * configure: Regenerated.
35414
8538fdb3
UD
354152011-07-08 Ulrich Drepper <drepper@gmail.com>
35416
35417 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35418 if the result is not used.
35419
04d08991
AJ
354202011-07-05 Andreas Jaeger <aj@suse.de>
35421
35422 [BZ#9696]
35423 * stdlib/tst-strtod.c: Add testcase.
35424
de283087
AD
354252011-07-07 Ulrich Drepper <drepper@gmail.com>
35426
4e5f31c8 35427 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35428 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35429 The latter has a higher limit. Take additional parameter to pass to
35430 the new function.
35431 (__pathconf): Pass file to __statfs_link_max.
35432 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35433 __statfs_link_max.
35434 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35435 __statfs_link_max.
35436
de283087
AD
35437 [BZ #12868]
35438 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35439 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35440 Handle Lustre.
35441 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35442 (__statfs_filesize_max): Likewise.
35443 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35444
c75fa153
AJ
354452011-07-05 Andreas Jaeger <aj@suse.de>
35446
35447 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35448
1a544854
UD
354492011-07-06 Marek Polacek <mpolacek@redhat.com>
35450
35451 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35452 `status' variable.
35453 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35454 Likewise.
35455
6f0eec67
UD
354562011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35457
35458 * Makefile (strop-tests): Add strncat.
35459 * string/test-strncat.c: New file.
35460
aae30307
UD
354612011-06-30 Marek Polacek <mpolacek@redhat.com>
35462
35463 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35464
c0cfb5eb
UD
354652011-06-21 Andreas Jaeger <aj@suse.de>
35466
35467 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35468 Copy rule from iconvdata/Makefile.
35469
01636b21
UD
354702011-07-06 Ulrich Drepper <drepper@gmail.com>
35471
35472 [BZ #12922]
35473 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35474 but no long options are defined, just return 'W'.
35475
9895c8bc
UD
354762011-06-22 Marek Polacek <mpolacek@redhat.com>
35477
35478 [BZ #9696]
35479 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35480
5d4cf042
UD
354812011-07-06 Ulrich Drepper <drepper@gmail.com>
35482
35483 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35484 netgroups to read.
960e5535 35485 (innetgr): Likewise.
5d4cf042 35486
751eb97e
RM
354872011-07-05 Roland McGrath <roland@hack.frob.com>
35488
35489 * config.make.in (install_root): Default to $(DESTDIR).
35490
f15f1e45
UD
354912011-07-05 Ulrich Drepper <drepper@gmail.com>
35492
35493 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35494
4e34ac6a
RM
354952011-07-02 Roland McGrath <roland@hack.frob.com>
35496
5e9b6af4
RM
35497 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35498
84f9ea0f
RM
35499 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35500 containing directory rather than embedding absolute directory names.
35501
ea5ee9f7
RM
35502 * scripts/check-local-headers.sh: Rewritten using awk.
35503 Match by word, not by line. Print error messages for matches.
35504 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35505
1b74661a
RM
35506 * Makerules [shlib-lds-flags empty]:
35507 ($(common-objpfx)libc_pic.opts): New target.
35508 ($(common-objpfx)libc_pic.os.clean): New target.
35509 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35510
35511 * config.make.in (OBJCOPY): New variable.
35512 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35513 * configure: Regenerated.
35514
f781ef40
RM
35515 * config.make.in (use-default-link): New variable.
35516 * configure.in (use_default_link): Grok --with-default-link to set it.
35517 * configure: Regenerated.
35518 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35519 (shlib-lds, shlib-lds-flags): Define to empty.
35520
2d4fa81e
RM
35521 * Makerules (shlib-lds): New variable.
35522 (shlib-lds-flags): New variable.
35523 (build-shlib, build-moduile, build-module-asneeded): Use it.
35524 ($(common-objpfx)libc.so): Use $(shlib-lds).
35525 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35526 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35527
31fffa6b
RM
35528 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35529 DT_FLAGS/DT_FLAGS_1 with zero flags.
35530
4e34ac6a
RM
35531 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35532 linker script munging.
35533
fcfc776b
UD
355342011-07-02 Ulrich Drepper <drepper@gmail.com>
35535
35536 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35537 as 128-bit value.
35538 * crypt/sha512.c (sha512_process_block): Perform total addition using
35539 128-bit if possible.
35540 (__sha512_finish_ctx): Likewise.
35541 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35542 as 64-bit value.
35543 * crypt/sha256.c (SWAP64): Define.
35544 (sha256_process_block): Perform total addition using 64-bit if
35545 possible.
35546 (__sha256_finish_ctx): Likewise.
35547
99231d9a
UD
355482011-07-01 Ulrich Drepper <drepper@gmail.com>
35549
35550 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35551 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35552 * nscd/hstcache.c (cache_addhst): Likewise.
35553 * nscd/grpcache.c (cache_addgr): Likewise.
35554 * nscd/aicache.c (addhstaiX): Likewise
35555 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35556
445b4a53
TK
355572011-07-01 Thorsten Kukuk <kukuk@suse.de>
35558
35559 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35560 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35561 * nscd/hstcache.c (cache_addhst): Likewise.
35562 * nscd/grpcache.c (cache_addgr): Likewise.
35563 * nscd/aicache.c (addhstaiX): Likewise
35564
6d4d8e8e
AS
355652011-07-01 Andreas Schwab <schwab@redhat.com>
35566
35567 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35568 domain only when needed.
35569
89f654c5
AS
355702011-06-30 Andreas Schwab <schwab@redhat.com>
35571
35572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35573 is always restored.
35574
cf3b23ff
UD
355752011-06-29 Ulrich Drepper <drepper@gmail.com>
35576
35577 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35578 are re-adding the entry.
35579 * nscd/servicescache.c (cache_addserv): Likewise.
35580
751626f9
AJ
355812011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35582
35583 * sysdeps/generic/dl-irel.h: fix protection against multiple
35584 inclusions.
35585 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35586
9113ea1f
UD
355872011-06-28 Ulrich Drepper <drepper@gmail.com>
35588
5c0b8d90
UD
35589 [BZ #12935]
35590 * malloc/memusage.sh: Fix quoting in message.
35591 * debug/xtrace.sh: Likewise.
35592
9113ea1f
UD
35593 * configure.in: Remove support for --experimental-malloc option, make
35594 it the default.
35595 * config.make.in: Likewise.
35596 * malloc/Makefile: Likewise.
35597
a4172181
AS
355982011-06-27 Andreas Schwab <schwab@redhat.com>
35599
35600 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35601 two-byte characters.
35602
78a7eee7
RM
356032011-06-27 Roland McGrath <roland@hack.frob.com>
35604
62bede13
RM
35605 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35606 AC_CACHE_CHECK invocation.
35607 * configure: Regenerated.
35608
78a7eee7
RM
35609 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35610
5ce33a62
UD
356112011-06-27 Ulrich Drepper <drepper@gmail.com>
35612
034807a9
UD
35613 [BZ #12350]
35614 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35615 bit from old_res_options.
35616
4902da17
UD
35617 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35618
5ce33a62
UD
35619 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35620 value type for setfct.
35621
c2344f56
L
356222011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35623
35624 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35625 __gettimeofday instead of gettimeofday.
35626
68468076
UD
356272011-06-26 Ulrich Drepper <drepper@gmail.com>
35628
35629 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35630
acb0d739
L
356312011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35632
35633 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35634
35635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35636 info.
35637
8912479f
L
356382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35639
35640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35641 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35642 strcpy-sse2-unaligned strncpy-sse2-unaligned
35643 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35644 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35645 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35646 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35647 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35648 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35649 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35650 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35651 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35652 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35653 (STRCPY): Support SSE2 and SSSE3 versions.
35654
d5495a11
UD
356552011-06-24 Ulrich Drepper <drepper@gmail.com>
35656
35657 [BZ #12874]
35658 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35659 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35660 kernels which artificially limit size of requests.
35661
0b1cbaae
L
356622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35663
35664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35665 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35666 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35667 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35668 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35669 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35670 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35671 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35672 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35673 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35674 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35675 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35676 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35677 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35678 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35680 Enable unaligned load optimization for Intel Core i3, i5 and i7
35681 processors.
35682 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35683 Define.
35684 (index_Fast_Unaligned_Load): Define.
35685 (HAS_FAST_UNALIGNED_LOAD): Define.
35686
07f494a0
MP
356872011-06-23 Marek Polacek <mpolacek@redhat.com>
35688
35689 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35690
fa3fc0fe
UD
356912011-06-22 Ulrich Drepper <drepper@gmail.com>
35692
35693 [BZ #12907]
35694 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35695 until it is clear that the information is realy needed.
35696 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35697
e12df166
AS
356982011-06-22 Andreas Schwab <schwab@redhat.com>
35699
35700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35701
852eb34d
UD
357022011-06-22 Ulrich Drepper <drepper@gmail.com>
35703
84e2a551
UD
35704 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35705 /sys/devices/system/cpu/online if it is usable.
35706
852eb34d
UD
35707 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35708 reading the information from the /proc filesystem to once a second.
35709
6e502e19
UD
357102011-06-21 Andreas Jaeger <aj@suse.de>
35711
35712 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35713 NULL after inclusion of kernel headers.
35714
75d39ff2
UD
357152011-06-21 Ulrich Drepper <drepper@gmail.com>
35716
51f9aa6a
UD
35717 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35718 calls to internal_setent.
35719
c0244a9d
UD
35720 [BZ #12885]
35721 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35722 addresses using gethostbyname4_r ignore IPv4 addresses.
35723
c5e3c2ae
UD
35724 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35725 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35726
75d39ff2
UD
35727 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35728
42675c6f
DM
357292011-06-20 David S. Miller <davem@davemloft.net>
35730
35731 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35732 inclusions.
35733 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35734
35735 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35736 (elf_irel): Use it.
35737 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35738 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35739 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35740 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35741 * sysdeps/x86_64/dl-irel.h: Likewise.
35742
35743 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35744 * elf/dl-sym.c: Likewise.
35745
57912a71
UD
357462011-06-15 Ulrich Drepper <drepper@gmail.com>
35747
35748 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35749 need to dereference resplen2.
35750
ee22793d
AS
357512011-06-14 Andreas Schwab <schwab@redhat.com>
35752
35753 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35754
a9e836b0
UD
357552011-06-15 Ulrich Drepper <drepper@gmail.com>
35756
77fb9117
UD
35757 * Makeconfig: Define vardbdir and inst_vardbdir.
35758 * nss/Makefile: Add rules to install db-Makefile.
35759
40c1b22c
UD
35760 * nss/nss_db/db-XXX.c: Cleanup.
35761
9f2da732
UD
35762 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35763 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35764 GLIBC_PRIVATE.
35765 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35766 * nss/makedb.c: Implement -g option to specify that value strings
35767 are generated and should not be added to table iterated over for
35768 get*ent calls.
35769 * nss/nss_db/db-initgroups.c: New file.
35770
82e9a1f7
UD
35771 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35772 interface.
35773
c41af17e
UD
35774 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35775 (internal_getgrouplist): Adjust to name change.
35776 Update use_initgroups_entry if this is not the first call.
35777 * nss/databases.def: Add initgroups entry.
35778
a9e836b0
UD
35779 * nss/makedb.c (compute_tables): Check result of multiple hash table
35780 sizes to minimize maximum chain length.
35781
2666d441
UD
357822011-06-14 Ulrich Drepper <drepper@gmail.com>
35783
35784 * Versions.def: Add entry for libnss_db.
35785 * shlib-versions: Likewise.
35786 * nss/Makefile: Add rules to build libnss_db.
35787 * nss/Versions: Add libnss_db information. Organize libnss_files
35788 entries better.
35789 * nss/db-Makefile: Add gshadow support. Change rules for the new
35790 makedb progra. Some minor improvements to generate smaller files.
35791 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35792 here from...
35793 * nss/makedb.c: ...here.
35794 Improve database format to be smaller and require less memory at
35795 runtime.
35796 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35797 db anymore.
35798 * nss/nss_db/db-netgrp.c: Likewise.
35799 * nss/nss_db/db-open.c: Likewise.
35800 * nss/nss_files/flies-XXX.x: Adjust comments.
35801 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35802 * nss/nss_files/files-grp.c: Likewise.
35803 * nss/nss_files/files-hosts.c: Likewise.
35804 * nss/nss_files/files-network.c: Likewise.
35805 * nss/nss_files/files-proto.c: Likewise.
35806 * nss/nss_files/files-pwd.c: Likewise.
35807 * nss/nss_files/files-rpc.c: Likewise.
35808 * nss/nss_files/files-service.c: Likewise.
35809 * nss/nss_files/files-sgrp.c: Likewise.
35810 * nss/nss_files/files-spwd.c: Likewise.
35811 * nss/nss_db/db-alias.c: Removed.
35812 * nss/nss_db/dummy-db.h: Removed.
35813
9ee76b5a
UD
358142011-06-02 Ulrich Drepper <drepper@gmail.com>
35815
35816 * nss/makedb.c: Rewritten to not use database library.
35817 * nss/Makefile: Update to build new makedb program.
35818
c71ca1f8
AJ
358192011-06-14 Andreas Jaeger <aj@suse.de>
35820
35821 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35822 memset declaration.
35823
3154bfb8
UD
358242011-06-10 Andreas Schwab <schwab@redhat.com>
35825
35826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35827 tmpbuf.
35828
b350afab
RM
358292011-06-10 Roland McGrath <roland@hack.frob.com>
35830
decd4e50
RM
35831 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35832 * elf/Makefile ($(objpfx)ld.so): Likewise.
35833
5615eaf2
RM
35834 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35835 Don't list ld.so twice in dependencies.
35836
35837 * posix/bug-regex31.c: Include <stdlib.h>.
35838
35839 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35840
35841 * nis/nss_compat/compat-spwd.c
35842 (getspent_next_nss_netgr): Remove unused variable.
35843 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35844
35845 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35846 nonmembers" output to use the right array.
35847
35848 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35849
35850 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35851
35852 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35853 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35854 * catgets/gencat.c (read_input_file): Likewise.
35855 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35856
35857 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35858 variable definition inside #if's controlling its use.
35859
35860 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35861
35862 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35863
35864 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35865
35866 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35867 unreachable code.
35868
35869 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35870
b68e08db
RM
35871 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35872 * configure: Regenerated.
35873
b350afab
RM
35874 * Makerules: Revert last change.
35875 * elf/Makefile: Likewise.
35876
28368601
RM
358772011-06-09 Roland McGrath <roland@hack.frob.com>
35878
35879 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35880 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35881 (reloc-link): Likewise.
35882
11988f8f
UD
358832011-06-09 Ulrich Drepper <drepper@gmail.com>
35884
35885 * elf/Makefile: Add rules to build pldd.
35886 * elf/pldd.c: New file.
35887 * elf/pldd-xx.c: New file.
35888
e80fab37
UD
358892011-06-07 Ulrich Drepper <drepper@gmail.com>
35890
35891 * version.h: Update for 2.15 development version.
35892
9b849836
DM
358932011-06-07 David S. Miller <davem@davemloft.net>
35894
35895 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35896 ifuncs.
35897 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35898 elf_machine_lazy_rel): Likewise.
35899 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35900 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35901 elf_machine_lazy_rel): Likewise.
35902 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35903 dl_hwcap via passed in argument.
35904 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35905 Likewise.
35906
5a31b283
AK
359072011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35908
35909 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35910
069e52f8
RM
359112011-06-06 Roland McGrath <roland@hack.frob.com>
35912
35913 [BZ #12849]
35914 * manual/fdl-1.1.texi: New file, verbatim from:
35915 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35916 * manual/lgpl-2.1.texi: New file, verbatim from:
35917 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35918 * manual/Makefile (licenses): New variable, list those new file names.
35919 (texis): Use it.
35920 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35921
35922 * manual/fdl.texi: File removed.
35923 * manual/lesser.texi: File removed.
35924 * manual/libc.texinfo (Copying, Documentation License):
35925 Use new @include file names, put @appendix directive before @include.
35926
f16846a5
JJ
359272011-06-04 Jakub Jelinek <jakub@redhat.com>
35928
35929 [BZ #12841]
35930 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35931 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35932 (mq_open): Add __NTH.
35933
3d29045b
L
359342011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35935
35936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35937 Assume Intel Core i3/i5/i7 processor if AVX is available.
35938
8c297311
UD
359392011-05-31 Ulrich Drepper <drepper@gmail.com>
35940
35941 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35942 typo.
35943
c8fc0c91
UD
359442011-05-31 Andreas Schwab <schwab@redhat.com>
35945
35946 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35947 memory. Use alloca_account. Fix memory leak when retrying.
35948
5b27a807
UD
359492011-05-31 Ulrich Drepper <drepper@gmail.com>
35950
356f8bc6
UD
35951 * version.h (RELEASE): Bump for 2.14 release.
35952 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35953
5b27a807
UD
35954 * config.make.in (RANLIB): Remove entry.
35955
01f16ab0
UD
359562011-05-30 Ulrich Drepper <drepper@gmail.com>
35957
41fce8bd
UD
35958 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35959 (libc.pot): Work around missing support for .ksh extension in xgettext.
35960
4769ae77
UD
35961 [BZ #12684]
35962 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35963 if both request failed.
35964 (send_dg): In case of server errors clear resplen or *resplen2.
35965
6b1e7d19
UD
35966 [BZ #12454]
35967 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35968 when there are multiple maps.
35969 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35970 (_dl_fini): Remove test here.
35971
01f16ab0
UD
35972 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35973
b1ebd700
UD
359742011-05-29 Ulrich Drepper <drepper@gmail.com>
35975
7ae22829
UD
35976 [BZ #12350]
35977 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35978 bit from old_res_options.
35979 (gaih_inet): Likewise.
35980
553149f6 35981 [BZ #11099]
18a84741 35982 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35983 as signed.
35984
652ffab1
UD
35985 * resolv/res_init.c (res_setoptions): Make the code more compact.
35986
16985fd0
UD
35987 [BZ #11558]
35988 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35989 set RES_USEVC.
35990
0464f746
UD
35991 [BZ #11634]
35992 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35993
7d17596c
UD
35994 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35995
cf6bbbd7
UD
35996 [BZ #11781]
35997 * malloc/malloc.h: Declare malloc hook variables as volatile.
35998
13f1ab36
UD
35999 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36000 in last patch.
36001
b1ebd700
UD
36002 [BZ #11799]
36003 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 36004 raise in the comment.
80e2212d
UD
36005 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36006 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36007 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 36008
ce67228d
UD
360092011-05-28 Ulrich Drepper <drepper@gmail.com>
36010
8887a920
UD
36011 [BZ #12811]
36012 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36013 grow the buffers more if it already has to be sufficient.
36014 (build_wcs_upper_buffer): Likewise.
36015 * posix/regexec.c (check_matching): Likewise.
36016 (clean_state_log_if_needed): Likewise.
36017 (extend_buffers): Don't enlarge buffers beyond size of the input
36018 buffer.
36019 Patches mostly by Emil Wojak <emil@wojak.eu>.
36020 * posix/bug-regex32.c: New file.
36021 * posix/Makefile (tests): Add bug-regex32.
36022
4f031072
UD
36023 * locale/findlocale.c (_nl_find_locale): Return right away if
36024 _nl_explode_name failed.
36025 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36026
d0478f0c
UD
36027 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36028
de81b246
UD
36029 * debug/xtrace.sh: Unify messages.
36030 * malloc/memusage.sh: Likewise.
36031
c738465a
UD
36032 [BZ #12813]
36033 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36034 time symbol from vDSO. Substitute with vsyscall if not available.
36035 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36036 __vdso_time.
36037
f1f929d7
UD
36038 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36039 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36040 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36041 Add sendmmsg and internal_sendmmsg.
36042 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36043 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36044 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36045
ce67228d
UD
36046 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36047 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36048 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36049
e57420c6
UD
360502011-05-27 Ulrich Drepper <drepper@gmail.com>
36051
a8509ca5
UD
36052 [BZ #12813]
36053 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36054 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36055 available.
36056 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36057 __vdso_getcpu.
36058
e57420c6
UD
36059 [BZ #12814]
36060 * iconvdata/Makefile (tests): Add bug-iconv9.
36061 * iconvdata/bug-iconv9.c: New file.
36062
4d07db15
AS
360632011-05-27 Andreas Schwab <schwab@redhat.com>
36064
36065 [BZ #12814]
36066 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36067
ea486f69
JJ
360682011-05-25 Jakub Jelinek <jakub@redhat.com>
36069
36070 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36071 (struct user_regs_struct): Change intcs field back to cs.
36072
6f038433
UD
360732011-05-25 Ulrich Drepper <drepper@gmail.com>
36074
36075 * po/ja.po: Update from translation team.
36076
67f86a25
UD
360772011-05-23 Ulrich Drepper <drepper@gmail.com>
36078
36079 [BZ #12795]
36080 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36081 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36082
def7fbd6
AS
360832011-05-20 Andreas Schwab <schwab@redhat.com>
36084
36085 * stdlib/longlong.h: Update from GCC.
36086
f50ef8f1
AS
360872011-05-23 Andreas Schwab <schwab@redhat.com>
36088
36089 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36090 parameter name.
36091 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36092 Add parameter name.
36093 (__sysconf): Pass it down.
36094
de7ce8f1
UD
360952011-05-22 Ulrich Drepper <drepper@gmail.com>
36096
f2962a71
UD
36097 [BZ #12671]
36098 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36099 some situations.
36100 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36101 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36102 add in in __libc_use_alloca calls. Adjust callers.
36103 (glob): Use malloc in some situations.
36104
de7ce8f1
UD
36105 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36106 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36107 pltexit.
36108
aec84f53
UD
361092011-05-21 Ulrich Drepper <drepper@gmail.com>
36110
05bb4a68
UD
36111 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36112 and CLOCK_BOOTTIME_ALARM.
36113
7ea72f99
UD
36114 [BZ #12782]
36115 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36116 is returned.
36117
7e4afad5
UD
36118 * string/_strerror.c (__strerror_r): Print negative errors as signed
36119 numbers.
36120
8e211fec
UD
36121 [BZ #12777]
36122 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36123 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36124 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36125
f7d82dc9
UD
36126 * configure.in: Fix typo in redirection and correct removal of test
36127 files in two cases.
36128
cc9e536d
UD
36129 [BZ #12788]
36130 * locale/setlocale.c (new_composite_name): Fix test to check for
36131 identical name of all categories.
36132
aec84f53
UD
36133 [BZ #12792]
36134 * libio/filedoalloc.c (local_isatty): New function.
36135 (_IO_file_doallocate): Use local_isatty.
36136 * stdio-common/perror.c (perror): In case a new stream is used
36137 forward the stream error.
36138 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36139 error flag.
36140
78e64fdc
RT
361412011-05-20 Ulrich Drepper <drepper@gmail.com>
36142
34a9094f
UD
36143 [BZ #11869]
36144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36145 alloca.
36146 * include/alloca.h (extend_alloca_account): Define.
36147
78e64fdc
RT
36148 [BZ #11857]
36149 * posix/regex.h: Fix comments with documentation of user-accessible
36150 fields after compilation and describe correct free'ing of pattern
36151 after re_compile_pattern.
36152 Patch by Reuben Thomas <rrt@sc3d.org>.
36153
457bddfc
RA
361542011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36155
36156 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36157 and -mno-altivec to prevent the compiler from using Altivec and/or
36158 VSX instructions when the corresponding registers are not available.
36159
a4527b51
AS
361602011-05-19 Andreas Schwab <schwab@redhat.com>
36161
36162 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36163
ed690b2f
UD
361642011-05-19 Ulrich Drepper <drepper@gmail.com>
36165
36166 * libio/freopen.c (freopen): Use __dup2, not dup2.
36167 * libio/freopen64.c (freopen64): Likewise.
36168
8db73634
L
361692011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36170
36171 [BZ #12775]
36172 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36173 * math/Makefile (tests): Add test-powl.
36174 (CFLAGS-test-powl.c): Define.
36175 * math/test-powl.c: New file.
36176
0a197a9d
L
361772011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36178
36179 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36180
ee30c380
UD
361812011-05-17 Ulrich Drepper <drepper@gmail.com>
36182
36183 [BZ #11837]
36184 * iconvdata/gb18030.c: Update to GB18020-2005.
36185
6ce75379
UD
361862011-05-16 Ulrich Drepper <drepper@gmail.com>
36187
a4b89fd8
AR
36188 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36189 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36190 Patch by Aharon Robbins <arnold@skeeve.com>.
36191
ea389b12
UD
36192 [BZ #11892]
36193 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36194 on the stack.
36195
68a3f91f
UD
36196 [BZ #11895]
36197 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36198 through underflows.
36199
15cc7dd1
UD
36200 [BZ #12766]
36201 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36202 point to strings before performing equality test for error_one_per_line
36203 mode.
36204
f3799213
UD
36205 [BZ #11697]
36206 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36207
d79a9c94
UD
36208 [BZ #11820]
36209 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36210 (struct user_fpregs_struct): Avoid __uint*_t types.
36211
56e5eb46
UD
36212 [BZ #6420]
36213 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36214 symbol info. Use it instead of calling _dl_addr locally.
36215 (lock_and_info): New function.
36216 (tr_freehook): Call lock_and_info and pass symbol info as additional
36217 parameter to tr_where.
36218 (tr_mallochook): Likewise.
36219 (tr_reallochook): Likewise.
36220 (tr_memalignhook): Likewise.
36221
6ce75379
UD
36222 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36223 used and couldn't be at all thread-safe.
36224
f8a3b5bf
UD
362252011-05-15 Ulrich Drepper <drepper@gmail.com>
36226
94b7cc37
UD
36227 * libio/freopen.c (freopen): Don't close old file descriptor
36228 before the new one is opened. Instead dup the new file descriptor
36229 to the old one after the new stream is created.
36230 * libio/freopen64.c (freopen64): Likewise.
36231 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36232 * libio/fileops.c (_IO_new_file_close_it): Handle new
36233 _IO_FLAGS2_NOCLOSE flag.
36234 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36235 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36236 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36237 _IO_FLAGS2_NOCLOSE flag.
36238 * include/unistd.h: Add hidden_proto for dup3.
36239 Define __have_dup3.
36240 * io/dup3.c: Define hidden symbol.
36241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36242
bd25564e
UD
36243 [BZ #7101]
36244 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36245 when an incomplete long option is used.
36246 * posix/tst-getopt_long1.c: New file.
36247 * posix/Makefile (tests): Add tst-getopt_long1.
36248
c84cfef4
UD
36249 [BZ #10138]
36250 * scripts/config.guess: Update from autoconf-2.68.
36251 * scripts/config.sub: Likewise.
36252
3b85df27
UD
36253 [BZ #10157]
36254 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36255 tests into ...
36256 (has_cpuclock): ...this. New function.
36257 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36258 macro here based on has_cpuclock code.
36259
15a856b1
UD
36260 [BZ #10149]
36261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36262 First byte (not low byte) is now always NUL.
36263 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36264
05f399e6
UD
36265 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36266 Use non-cancelable interfaces.
36267
10a52685 36268 [BZ #9809]
94ecc67d
UD
36269 * locale/iso-639.def: Add entry for Sorani.
36270
f8a3b5bf
UD
36271 [BZ #11901]
36272 * include/stdlib.h: Move include protection to the right place.
36273 Define abort_msg_s. Declare __abort_msg with it.
36274 * stdlib/abort.c (__abort_msg): Adjust type.
36275 * assert/assert.c (__assert_fail_base): New function. Majority
36276 of code from __assert_fail. Allocate memory for __abort_msg with
36277 mmap.
36278 (__assert_fail): Now call __assert_fail_base.
36279 * assert/assert-perr.c: Remove bulk of implementation. Use
36280 __assert_fail_base.
36281 * include/assert.hL Declare __assert_fail_base.
36282 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36283 mmap.
36284 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36285
1af4e298
UD
362862011-05-14 Ulrich Drepper <drepper@gmail.com>
36287
f8a3b5bf 36288 [BZ #11952]
d26dfc60
MG
36289 [BZ #12453]
36290 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36291 until all modules are registered in the DTV.
36292 * elf/Makefile: Add rules to build and run tst-tls19.
36293 * elf/tst-tls19.c: New file.
36294 * elf/tst-tls19mod1.c: New file.
36295 * elf/tst-tls19mod2.c: New file.
36296 * elf/tst-tls19mod3.c: New file.
36297 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36298
2fc54d6f
UD
36299 [BZ #12083]
36300 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36301 correctly.
36302
98d76b46
UD
36303 [BZ #12601]
36304 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36305 two-byte sequence errors.
36306 * iconvdata/Makefile (tests): Add bug-iconv8.
36307 * iconvdata/bug-iconv8.c: New file.
36308
da3c19ef
UD
36309 [BZ #12626]
36310 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36311 buf2 definition.
36312
ca408c15
UD
36313 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36314
d6f67f7d
UD
36315 [BZ #12432]
36316 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36317 (dummy_getcfa): New function.
36318 (init): Get _Unwind_GetCFA address, use dummy if not found.
36319 (backtrace_helper): In recursion check, also check whether CFA changes.
36320 (__backtrace): Completely initialize arg.
36321
1af4e298 36322 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36323 storing incomplete byte sequence in state object. Avoid testing for
36324 guaranteed too small input if we know there is enough data available.
1af4e298 36325
da62f81b
AS
363262011-05-11 Andreas Schwab <schwab@redhat.com>
36327
36328 * Makeconfig (+link-pie): Indent.
36329 * Rules (binaries-pie): Define if $(have-fpie) and
36330 $(build-shared).
36331 (binaries-shared): Also filter out $(binaries-pie).
36332 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36333 * nscd/Makefile (others-pie): Add nscd.
36334 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36335 ($(objpfx)nscd): Remove command override.
36336 * login/Makefile (others-pie): Add pt_chown.
36337 ($(objpfx)pt_chown): Remove command override.
36338 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36339 remove command overrides.
36340
fcabc0f8
UD
363412011-05-13 Ulrich Drepper <drepper@gmail.com>
36342
20030ae6
UD
36343 * libio/tst_putwc.c: Fix error messages.
36344
fcabc0f8
UD
36345 [BZ #12724]
36346 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36347 currently writing and seek to current position when not.
36348 * libio/Makefile (tests): Add bug-fclose1.
36349 * libio/bug-fclose1.c: New file.
36350
320a5dc0
PB
363512011-05-12 Ulrich Drepper <drepper@gmail.com>
36352
36353 [BZ #12511]
36354 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36355 don't set DF_1_NODELETE here.
36356 (do_lookup_x): When entering new entry test for copy relocation
36357 and if necessary set DF_1_NODELETE flag.
36358 * elf/tst-unique4.cc: New file.
36359 * elf/tst-unique4.h: New file.
36360 * elf/tst-unique4lib.cc: New file.
36361 * elf/Makefile: Add rules to build and run tst-unique4.
36362 Patch by Piotr Bury <pbury@goahead.com>.
36363
22836f52
UD
363642011-05-11 Ulrich Drepper <drepper@gmail.com>
36365
f574184a
UD
36366 [BZ #12052]
36367 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36368
e1fb097f
UD
36369 [BZ #12625]
36370 * misc/mntent_r.c (addmntent): Flush the stream after the output
36371
22836f52
UD
36372 [BZ #12393]
36373 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36374 (is_trusted_path_normalize): Skip initial colon. Append slash
36375 to empty buffer. Duplicate is_trusted_path code but allow
36376 constructed patch to be prefix.
36377 (is_dst): Allow $ORIGIN followed by /.
36378 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36379 Correct testing of result of is_trusted_path_normalize
36380 (decompose_rpath): Fix warning.
36381
7b3b0b2a
UD
363822011-05-10 Ulrich Drepper <drepper@gmail.com>
36383
36384 [BZ #11257]
36385 * grp/initgroups.c (internal_getgrouplist): When we found the service
36386 list through the initgroups entry in nsswitch.conf do not always
36387 continue on a successful lookup. Don't always use the
eac80ce2 36388 __nss_group_database value if it is set.
7b3b0b2a
UD
36389 * nss/nsswitch.conf (initgroups): Change action for successful db
36390 lookup to continue for compatibility.
36391
2a81eaa5
UD
363922011-05-09 Ulrich Drepper <drepper@gmail.com>
36393
be97a69e
UD
36394 [BZ #11532]
36395 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36396 and CP774 modules.
36397 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36398 and CP774 modules.
36399 * iconvdata/tst-tables.sh: Likewise.
36400 * iconvdata/cp770.c: New file.
36401 * iconvdata/cp771.c: New file.
36402 * iconvdata/cp772.c: New file.
36403 * iconvdata/cp773.c: New file.
36404 * iconvdata/cp774.c: New file.
36405 * iconvdata/testdata/CP770: New file.
36406 * iconvdata/testdata/CP770..UTF8: New file.
36407 * iconvdata/testdata/CP771: New file.
36408 * iconvdata/testdata/CP771..UTF8: New file.
36409 * iconvdata/testdata/CP772: New file.
36410 * iconvdata/testdata/CP772..UTF8: New file.
36411 * iconvdata/testdata/CP773: New file.
36412 * iconvdata/testdata/CP773..UTF8: New file.
36413 * iconvdata/testdata/CP774: New file.
36414 * iconvdata/testdata/CP774..UTF8: New file.
36415
36416 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36417 END CHARMAP line.
36418 * iconvdata/gen-8bit-gap.sh: Likewise.
36419 * iconvdata/gen-8bit.sh: Likewise.
36420
c1e9e399
UD
36421 * locale/iso-639.def: Add ary entry.
36422
24c55fb3 36423 [BZ #11258]
96b4b1b0
UD
36424 * locale/C-translit.h.in: Add U20A1 transliteration.
36425
bdc2f971
KB
36426 [BZ #12178]
36427 * locale/iso-639.def: Add wae entry.
36428 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36429
2952b117
UD
36430 [BZ #12545]
36431 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36432 for n.
36433
2a81eaa5
UD
36434 [BZ #12711]
36435 * locale/C-translit.h.in: Add entry for U20B9.
36436 Patch by pravin.d.s@gmail.com.
36437
28377d1b
UD
364382011-05-08 Ulrich Drepper <drepper@gmail.com>
36439
7fb90fb8
UD
36440 [BZ #12713]
36441 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36442 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36443 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36444 in rtld. Use *stat64.
7fb90fb8 36445 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36446 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36447 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36448 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36449 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36450 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36451 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36452 __fstatat64 macros.
7fb90fb8
UD
36453 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36454 * dirent/rewinddir.c: Add libc_hidden_def.
36455 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36456 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36457
28377d1b
UD
36458 * include/dirent.h (__alloc_dir): Add flags parameter.
36459 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36460 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36461 __alloc_dir.
36462 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36463 from fdopendir if O_CLOEXEC is already set.
36464
66bdbaa4
AM
364652011-03-15 Alan Modra <amodra@gmail.com>
36466
36467 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36468 l_tls_firstbyte_offset non-zero. Save padding offset in
36469 l_tls_firstbyte_offset for later use.
36470 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36471 freeing static tls block.
36472
95721191
JN
364732011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36474
36475 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36476 where #ifdef was intended. The intent is to prevent ARG_MAX from
36477 being defined by the kernel headers.
36478
f87dfb1f
UD
364792011-05-07 Ulrich Drepper <drepper@gmail.com>
36480
36481 [BZ #12734]
36482 * resolv/resolv.h: Define RES_NOTLDQUERY.
36483 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36484 no-tld-query and set RES_NOTLDQUERY.
36485 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36486 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36487 modern BIND to search name as TLD unless forbidden.
36488
47c3cd7a
UD
364892011-05-07 Petr Baudis <pasky@suse.cz>
36490 Ulrich Drepper <drepper@gmail.com>
36491
36492 [BZ #12393]
36493 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36494 (is_trusted_path): ...to here.
c1e9ea35 36495 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36496 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36497 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36498
8a35c912
PP
364992011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36500
36501 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36502 __BEGIN/__END_DECLS.
36503
acd41f47
UD
365042011-05-06 Ulrich Drepper <drepper@gmail.com>
36505
36506 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36507 NSS_STATUS_NOTFOUND if no record was found.
36508
597df647
AS
365092011-05-05 Andreas Schwab <schwab@redhat.com>
36510
36511 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36512 (headers-not-in-tirpc): Remove rpc/netdb.h
36513 * resolv/netdb.h: Revert last change.
36514
b9af1301
PP
365152011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36516
36517 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36518 circular dependency between libgcc.a and libc.a.
36519
4e34d5f5
AS
365202011-05-05 Andreas Schwab <schwab@redhat.com>
36521
36522 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36523 * nis/Makefile: Don't install rpcsvc/*.
36524 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36525 instead of <rpc/types.h>.
36526 (MAXHOSTNAMELEN): Define.
36527
00ee369c
AS
365282011-05-03 Andreas Schwab <schwab@redhat.com>
36529
36530 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36531
0b592a30
MB
365322011-04-28 Maciej Babinski <mbabinski@google.com>
36533
36534 [BZ #12714]
36535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36536 gethostbyname4_r when IPv6 results are possible.
36537
6e04cbbe
UD
365382011-05-02 Ulrich Drepper <drepper@gmail.com>
36539
36540 [BZ #12723]
36541 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36542 _PC_PIPE_BUF handling.
36543
e4ecafe0
BH
365442011-04-30 Bruno Haible <bruno@clisp.org>
36545
36546 [BZ #12717]
36547 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36548 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36549 to 'int'.
36550 * inet/getnameinfo.c (getnameinfo): Likewise.
36551
125ee683
UD
365522011-04-29 Ulrich Drepper <drepper@gmail.com>
36553
36554 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36555 to groups setting in database lookup.
36556 * nss/nsswitch.conf: Add initgroups entry.
36557
b722481a
EB
365582011-04-22 Ulrich Drepper <drepper@gmail.com>
36559
36560 [BZ #12685]
36561 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36562 mode string.
36563 Patch by Eric Blake <eblake@redhat.com>.
36564
4df46dbd
L
365652011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36566
36567 * sunrpc/Makefile (need-export-routines): Add svc_run.
36568 (routines): Remove svc_run.
36569 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36570 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36571 * sunrpc/svc_run.c (svc_run): Likewise.
36572 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36573
e84142d2
UD
365742011-04-21 Ulrich Drepper <drepper@gmail.com>
36575
36576 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36577 problem in reallocation in last patch.
36578
877175d8
UD
365792011-04-20 Ulrich Drepper <drepper@gmail.com>
36580
36581 * sunrpc/Makefile: Move inclusion of Rules.
36582
ab8eed78
UD
365832011-04-19 Ulrich Drepper <drepper@gmail.com>
36584
36585 * nss/nss_files/files-initgroups.c: New file.
36586 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36587 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36588 _nss_files_initgroups_dyn.
36589
e3d8f584
RS
365902011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36591
36592 * elf/elf.h (R_ARM_IRELATIVE): Define.
36593
af190f45
UD
365942011-04-19 Ulrich Drepper <drepper@gmail.com>
36595
36596 * po/ru.po: Update from translation team.
36597
53cf59ef
UD
365982011-04-17 Ulrich Drepper <drepper@gmail.com>
36599
36600 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36601 dependencies.
36602
4c559bcd
MF
366032011-02-06 Mike Frysinger <vapier@gentoo.org>
36604
36605 [BZ #12653]
36606 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36607 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36608 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36609 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36610 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36611
4420675c
AS
366122011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36613
36614 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36615 differing bytes.
36616 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36617 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36618 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36619
75ea32ab
UD
366202011-04-17 Ulrich Drepper <drepper@gmail.com>
36621
36622 [BZ #12420]
36623 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36624 storing it.
36625 * stdlib/bug-getcontext.c: New file.
36626 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36627
27390476
AK
366282011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36629
36630 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36631 instructions into .machine "z9-109".
36632 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36633 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36634
10442705
AK
366352011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36636
36637 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36638 between environment variables and auxiliary vector.
36639
7b57bfe5
UD
366402011-04-16 Ulrich Drepper <drepper@gmail.com>
36641
36642 * Makefile: Add rules to build linkobj/libc.so.
36643 * include/libc-symbols.h: Define libc_hidden_nolink.
36644 * include/rpc/auth.h: Mark functions which are to be hidden.
36645 * include/rpc/auth_des.h: Likewise.
36646 * include/rpc/auth_unix.h: Likewise.
36647 * include/rpc/clnt.h: Likewise.
36648 * include/rpc/des_crypt.h: Likewise.
36649 * include/rpc/key_prot.h: Likewise.
36650 * include/rpc/pmap_clnt.h: Likewise.
36651 * include/rpc/pmap_prot.h: Likewise.
36652 * include/rpc/pmap_rmt.h: Likewise.
36653 * include/rpc/rpc_msg.h: Likewise.
36654 * include/rpc/svc.h: Likewise.
36655 * include/rpc/svc_auth.h: Likewise.
36656 * include/rpc/xdr.h: Likewise.
36657 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36658 * nss/Makefile: Likewise.
36659 * sunrpc/Makefile: Don't install headers. Build library with normal
36660 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36661 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36662 for the compat linking library. Remove use of INTDEF/INTUSE.
36663 * sunrpc/auth_none.c: Likewise.
36664 * sunrpc/auth_unix.c: Likewise.
36665 * sunrpc/authdes_prot.c: Likewise.
36666 * sunrpc/authuxprot.c: Likewise.
36667 * sunrpc/clnt_gen.c: Likewise.
36668 * sunrpc/clnt_perr.c: Likewise.
36669 * sunrpc/clnt_raw.c: Likewise.
36670 * sunrpc/clnt_simp.c: Likewise.
36671 * sunrpc/clnt_tcp.c: Likewise.
36672 * sunrpc/clnt_udp.c: Likewise.
36673 * sunrpc/clnt_unix.c: Likewise.
36674 * sunrpc/des_crypt.c: Likewise.
36675 * sunrpc/des_soft.c: Likewise.
36676 * sunrpc/get_myaddr.c: Likewise.
36677 * sunrpc/key_call.c: Likewise.
36678 * sunrpc/key_prot.c: Likewise.
36679 * sunrpc/netname.c: Likewise.
36680 * sunrpc/pm_getmaps.c: Likewise.
36681 * sunrpc/pm_getport.c: Likewise.
36682 * sunrpc/pmap_clnt.c: Likewise.
36683 * sunrpc/pmap_prot.c: Likewise.
36684 * sunrpc/pmap_prot2.c: Likewise.
36685 * sunrpc/pmap_rmt.c: Likewise.
36686 * sunrpc/publickey.c: Likewise.
36687 * sunrpc/rpc_cmsg.c: Likewise.
36688 * sunrpc/rpc_common.c: Likewise.
36689 * sunrpc/rpc_dtable.c: Likewise.
36690 * sunrpc/rpc_prot.c: Likewise.
36691 * sunrpc/rpc_thread.c: Likewise.
36692 * sunrpc/rtime.c: Likewise.
36693 * sunrpc/svc.c: Likewise.
36694 * sunrpc/svc_auth.c: Likewise.
36695 * sunrpc/svc_authux.c: Likewise.
36696 * sunrpc/svc_raw.c: Likewise.
36697 * sunrpc/svc_run.c: Likewise.
36698 * sunrpc/svc_simple.c: Likewise.
36699 * sunrpc/svc_tcp.c: Likewise.
36700 * sunrpc/svc_udp.c: Likewise.
36701 * sunrpc/svc_unix.c: Likewise.
36702 * sunrpc/svcauth_des.c: Likewise.
36703 * sunrpc/xcrypt.c: Likewise.
36704 * sunrpc/xdr.c: Likewise.
36705 * sunrpc/xdr_array.c: Likewise.
36706 * sunrpc/xdr_float.c: Likewise.
36707 * sunrpc/xdr_intXX_t.c: Likewise.
36708 * sunrpc/xdr_mem.c: Likewise.
36709 * sunrpc/xdr_rec.c: Likewise.
36710 * sunrpc/xdr_ref.c: Likewise.
36711 * sunrpc/xdr_sizeof.c: Likewise.
36712 * sunrpc/xdr_stdio.c: Likewise.
36713
e6c61494
UD
367142011-04-10 Ulrich Drepper <drepper@gmail.com>
36715
36716 [BZ #12650]
36717 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36718 * sysdeps/ia64/dl-tls.h: Likewise.
36719 * sysdeps/powerpc/dl-tls.h: Likewise.
36720 * sysdeps/s390/dl-tls.h: Likewise.
36721 * sysdeps/sh/dl-tls.h: Likewise.
36722 * sysdeps/sparc/dl-tls.h: Likewise.
36723 * sysdeps/x86_64/dl-tls.h: Likewise.
36724 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36725
34fe483e
AS
367262011-03-14 Andreas Schwab <schwab@redhat.com>
36727
36728 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36729 rpath element also skip the following colon.
36730 (expand_dynamic_string_token): Add is_path parameter and pass
36731 down to DL_DST_REQUIRED and _dl_dst_substitute.
36732 (decompose_rpath): Call expand_dynamic_string_token with
36733 non-zero is_path. Ignore empty rpaths.
36734 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36735 with zero is_path.
36736
f12a32e6
AS
367372011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36738
36739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36740 Make cancelable.
36741
38a7d692
UD
367422011-04-09 Ulrich Drepper <drepper@gmail.com>
36743
36744 [BZ #12655]
36745 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36746 Patch by Filipe David Manana <fdmanana@apache.org>.
36747
e451d22b
AS
367482011-04-07 Andreas Schwab <schwab@redhat.com>
36749
36750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36751 Maintain aligned stack.
36752 (CHECK_RSP): Remove unused macro.
36753
dedc7c7b
UD
367542011-04-03 Ulrich Drepper <drepper@gmail.com>
36755
36756 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36757 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36758
94521213
UD
367592011-04-02 Ulrich Drepper <drepper@gmail.com>
36760
36761 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36762
8cb700c0 36763 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36764
0354e355
L
367652011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36766
36767 [BZ #12518]
36768 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36769 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36770 * sysdeps/x86_64/memmove.c: New file.
36771 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36772 (memcpy): Renamed to ...
36773 (__new_memcpy): This.
36774 (memcpy): Provide GLIBC_2_14 memcpy.
36775 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36776 (memcpy): Provide GLIBC_2_2_5 memcpy.
36777
8593482f
UD
367782011-04-01 Ulrich Drepper <drepper@gmail.com>
36779
36780 [BZ #12631]
36781 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36782
81a5726b
AS
367832011-03-30 Andreas Schwab <schwab@redhat.com>
36784
36785 * misc/syncfs.c: New file.
36786 * misc/Makefile (routines): Add syncfs.
36787 * posix/unistd.h: Declare syncfs.
36788 * sysdeps/unix/syscalls.list: Add syncfs.
36789
00e5419f
AS
367902011-04-01 Andreas Schwab <schwab@redhat.com>
36791
36792 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36793 open_by_handle_at.
36794 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36795 * sysdeps/unix/sysv/linux/ia64/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/syscalls.list: Likewise.
36800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36801
748876bf
UD
368022011-04-01 Ulrich Drepper <drepper@gmail.com>
36803
658e451d
UD
36804 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36805 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36806 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36808 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36810 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36811
748876bf
UD
36812 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36813 sync_file_range.c with -fexceptions.
36814 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36815 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36816 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36817 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36818 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36819 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36820 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36821 sync_file_range as cancellation point
36822 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36823 now a wrapper around __call_sync_file_range with cancellation handling.
36824 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36825 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36826 function name to __call_sync_file_range.
36827 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36828 Add call_sync_file_range.
748876bf 36829
6e63d5e1
AS
368302011-04-01 Andreas Schwab <schwab@redhat.com>
36831
36832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36833 bits/timex.h.
6e63d5e1 36834
46998f74
UD
368352011-04-01 Ulrich Drepper <drepper@gmail.com>
36836
4c1423ed
UD
36837 * iconv/iconv.h: Fix typo in comment.
36838 * io/fcntl.h: Likewise.
36839 * libio/stdio.h: Likewise.
36840 * posix/spawn.h: Likewise.
36841 * posix/unistd.h: Likewise.
36842 * stdlib/stdlib.h: Likewise.
36843 * time/time.h: Likewise.
36844 * wcsmbs/wchar.h: Likewise.
36845
158648c0
UD
36846 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36847 open_by_handle): Add.
36848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36849 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36850 Augment a few comments.
36851 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36853 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36854 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36855 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36856 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36857 open_by_handle.
36858
46998f74
UD
36859 * io/fcntl.h (AT_EMPTY_PATH): Define.
36860
83fe108b
UD
368612011-03-30 Ulrich Drepper <drepper@gmail.com>
36862
36863 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36864 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36865 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36866 to...
36867 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36868 * Versions.def: Add GLIBC_2.14.
36869 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36870 Export.
83fe108b 36871
bb242059
UD
368722011-03-22 Ulrich Drepper <drepper@gmail.com>
36873
36874 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36875 round counter.
36876 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36877
c97a1282
L
368782011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36879
36880 [BZ #12597]
36881 * string/test-strncmp.c (do_page_test): New function.
36882 (check2): Likewise.
36883 (test_main): Call check2.
36884 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36885
2a115601
UD
368862011-03-20 Ulrich Drepper <drepper@gmail.com>
36887
36888 [BZ #12587]
36889 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36890 Handle cache information in CPU leaf 4.
36891 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36892
8126d904
UD
368932011-03-18 Ulrich Drepper <drepper@gmail.com>
36894
042c49c6 36895 [BZ #12583]
8126d904
UD
36896 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36897 character representation.
36898 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36899
ccfe366e
RA
369002011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36901
36902 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36903 END(__isnan) to END(__isnanf) to match function entry point/label
36904 EALIGN(__isnanf,...).
36905
c6e13027
JJ
369062011-03-10 Jakub Jelinek <jakub@redhat.com>
36907
36908 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36909
33f85a3f
UD
369102011-03-10 Ulrich Drepper <drepper@gmail.com>
36911
028478fa
UD
36912 [BZ #12510]
36913 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36914 copy from the symbol referenced in the relocation to initialize the
36915 used variable.
36916 Patch by Piotr Bury <pbury@goahead.com>.
36917 * elf/Makefile: Add rules to build and tst-unique3.
36918 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36919 * elf/tst-unique3.cc: New file.
36920 * elf/tst-unique3.h: New file.
36921 * elf/tst-unique3lib.cc: New file.
36922 * elf/tst-unique3lib2.cc: New file.
36923
33f85a3f
UD
36924 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36925
03592fc7
MF
369262011-03-10 Mike Frysinger <vapier@gentoo.org>
36927
36928 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36929 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36930 to _start.
03592fc7 36931
6a5ee102
UD
369322011-03-06 Ulrich Drepper <drepper@gmail.com>
36933
36934 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36935 to-be-loaded object along a path to loader is ld.so.
36936
7e4ba49c
HJ
369372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36938 Ulrich Drepper <drepper@gmail.com>
36939
36940 * sysdeps/x86_64/memset.S: After aligning destination, code
36941 branches to different locations depending on the value of
36942 misalignment, when multiarch is enabled. Fix this.
36943
369442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36945
36946 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36947 Set _x86_64_preferred_memory_instruction for AMD processsors.
36948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36949 Set bit_Prefer_SSE_for_memop for AMD processors.
36950
13a804de
UD
369512011-03-04 Ulrich Drepper <drepper@gmail.com>
36952
36953 * libio/fmemopen.c (fmemopen): Optimize a bit.
36954
9d25c392
AS
369552011-03-03 Andreas Schwab <schwab@redhat.com>
36956
36957 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36958
a5543c6a
RM
369592011-03-03 Roland McGrath <roland@redhat.com>
36960
36961 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36962
012d35f7
DM
369632011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36964
7e4ba49c 36965 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36966 __bzero_ultra1 instead of __memset_ultra1.
36967
4bff6e01
AS
369682011-02-23 Andreas Schwab <schwab@redhat.com>
36969 Ulrich Drepper <drepper@gmail.com>
36970
36971 [BZ #12509]
36972 * include/link.h (struct link_map): Add l_orig_initfini.
36973 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36974 returning unsuccessfully.
36975 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36976 close of a file loaded at startup, restore the original l_initfini
36977 list.
36978 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36979 list, store the pointer.
36980 * elf/Makefile ($(objpfx)noload-mem): New rule.
36981 (noload-ENV): Define.
36982 (tests): Add $(objpfx)noload-mem.
36983 * elf/noload.c: Include <memcheck.h>.
36984 (main): Call mtrace. Close all opened handles.
36985
f2092faf
AS
369862011-02-17 Andreas Schwab <schwab@redhat.com>
36987
36988 [BZ #12454]
36989 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36990 dependencies are missing.
36991
6c8a2e88
ST
369922011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36993
f2092faf 36994 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36995 Hurd needs munmap.
36996 * sysdeps/mach/hurd/ifreq.h: New file.
36997
84a42118
PB
369982011-01-27 Petr Baudis <pasky@suse.cz>
36999 Ulrich Drepper <drepper@gmail.com>
37000
071f805e 37001 [BZ 12445]#
84a42118
PB
37002 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37003 to extend_alloca().
37004 * stdio-common/bug23.c: New file.
37005 * stdio-common/Makefile (tests): Add bug23.
37006
e23fe25b
AS
370072010-09-28 Andreas Schwab <schwab@redhat.com>
37008 Ulrich Drepper <drepper@gmail.com>
37009
37010 [BZ #12489]
37011 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37012 before performing relro protection. At old place add assertion
37013 to make sure nothing changed.
37014
d3f02e10
NS
370152011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37016 Glauber de Oliveira Costa <glommer@gmail.com>
37017
37018 * elf/elf.h: Add new ARM TLS relocs.
37019
d55fd7a5
RA
370202011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37021
37022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37023 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37024 cast from r3.
37025 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37026 'tests' variable.
37027 * sysdeps/wordsize-64/tst-writev.c: New file.
37028
2206397e
RA
370292011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37030
37031 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37032 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37033 insns in _dl_start to prevent a TOC reference before relocs are
37034 resolved.
37035
e9433893
UD
370362011-02-15 Ulrich Drepper <drepper@gmail.com>
37037
37038 [BZ #12469]
37039 * Makeconfig: Remove RANLIB definition.
37040 * Makerules: Don't use RANLIB.
37041 * aclocal.m4: Remove ranlib test.
37042 * configure.in: No need to check for ranlib.
37043 * elf/rtld-Rules: Don't use RANLIB.
37044
f75286c6
ST
370452011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37046
8e31c82d
ST
37047 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37048 protection macro.
37049 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37050 inclusion protection macro.
37051
f75286c6
ST
37052 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37053 SIGRTMIN and SIGRTMAX and print information in that case only when
37054 SIGRTMIN is defined.
37055
c1d0e639
JJ
370562011-02-11 Jakub Jelinek <jakub@redhat.com>
37057
37058 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37059 arginfo fn returning -1.
37060
37061 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37062 and thousands string is zero terminated.
37063
edf9294e
AS
370642011-02-03 Andreas Schwab <schwab@redhat.com>
37065
37066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37067 sysdeps/unix/sysv/linux/bits/socket.h.
37068
2b7e92df
ST
370692011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37070
edf9294e
AS
37071 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37072 (__CPU_COUNT): Remove old macros.
37073 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37074 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37075 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
37076 (__sched_cpualloc, __sched_cpufree): Add declarations.
37077
a4c7ea7b
UD
370782011-02-05 Ulrich Drepper <drepper@gmail.com>
37079
37080 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37081 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37082 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37083 (readdhstai): Return value of addhstaiX call.
37084 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37085 (addgrbyX): Return value returned by cache_addgr.
37086 (readdgrbyname): Return value returned by addgrbyX.
37087 (readdgrbygid): Likewise.
37088 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37089 (addpwbyX): Return value returned by cache_addpw.
37090 (readdpwbyname): Return value returned by addhstbyX.
37091 (readdpwbyuid): Likewise.
37092 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37093 (addservbyX): Return value returned by cache_addserv.
37094 (readdservbyname): Return value returned by addservbyX:
37095 (readdservbyport): Likewise.
37096 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37097 (addhstbyX): Return value returned by cache_addhst.
37098 (readdhstbyname): Return value returned by addhstbyX.
37099 (readdhstbyaddr): Likewise.
37100 (readdhstbynamev6): Likewise.
37101 (readdhstbyaddrv6): Likewise.
37102 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37103 (readdinitgroups): Return value returned by addinitgroupsX.
37104 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37105 (prune_cache): Keep track of timeout value of re-added entries.
37106 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37107 * nscd/nscd.h: Adjust prototypes of readd* functions.
37108
a0bf67cc
RM
371092011-02-04 Roland McGrath <roland@redhat.com>
37110
37111 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37112 (nis_stats): Likewise.
37113 * nis/nis_modify.c (nis_modify): Likewise.
37114 * nis/nis_remove.c (nis_remove): Likewise.
37115 * nis/nis_add.c (nis_add): Likewise.
37116
37117 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37118
37119 * posix/fnmatch_loop.c: Add some consts.
37120
37121 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37122
435b95eb
L
371232011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37124
37125 [BZ #12460]
37126 * config.make.in (config-cflags-novzeroupper): Define.
37127 * configure.in: Substitute libc_cv_cc_novzeroupper.
37128 * elf/Makefile (AVX-CFLAGS): Define.
37129 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37130 (CFLAGS-tst-auditmod4a.c): Likewise.
37131 (CFLAGS-tst-auditmod4b.c): Likewise.
37132 (CFLAGS-tst-auditmod6b.c): Likewise.
37133 (CFLAGS-tst-auditmod6c.c): Likewise.
37134 (CFLAGS-tst-auditmod7b.c): Likewise.
37135 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37136
8517b15e
UD
371372011-02-02 Ulrich Drepper <drepper@gmail.com>
37138
37139 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37140 function to the callback.
37141 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37142
10a656fe
AS
371432011-02-02 Andreas Schwab <schwab@redhat.com>
37144
37145 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37146 of errno.
37147
968dad0a
UD
371482011-01-19 Ulrich Drepper <drepper@gmail.com>
37149
9f94d2ea 37150 [BZ #11724]
968dad0a
UD
37151 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37152 of constructors.
37153 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37154 of destructors.
37155 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37156
37157 [BZ #11724]
37158 * elf/Makefile: Add rules to build and run new test.
37159 * elf/tst-initorder.c: New file.
37160 * elf/tst-initorder.exp: New file.
37161 * elf/tst-initordera1.c: New file.
37162 * elf/tst-initordera2.c: New file.
37163 * elf/tst-initordera3.c: New file.
37164 * elf/tst-initordera4.c: New file.
37165 * elf/tst-initorderb1.c: New file.
37166 * elf/tst-initorderb2.c: New file.
37167 * elf/tst-order-a1.c: New file.
37168 * elf/tst-order-a2.c: New file.
37169 * elf/tst-order-a3.c: New file.
37170 * elf/tst-order-a4.c: New file.
37171 * elf/tst-order-b1.c: New file.
37172 * elf/tst-order-b2.c: New file.
37173 * elf/tst-order-main.c: New file.
37174 New test case by George Gensure <werkt0@gmail.com>.
37175
86e92359
UD
371762010-10-01 Andreas Schwab <schwab@redhat.com>
37177
37178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37179 decoding ACE if AI_CANONIDN.
37180
5d5732b0
UD
371812011-01-18 Ulrich Drepper <drepper@gmail.com>
37182
37183 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37184
a77e8cbc
UD
371852011-01-17 Ulrich Drepper <drepper@gmail.com>
37186
6392473f
UD
37187 * version.h (RELEASE): Bump for 2.13 release.
37188 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37189
620a0529
UD
37190 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37191
18ba70a5
UD
37192 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37193 MADV_NOHUGEPAGE.
32465c3e
UD
37194 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37195 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37196 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37197 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37198 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37199 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37200
c0dafcf1
UD
37201 * posix/getconf.c: Update copyright year.
37202 * catgets/gencat.c: Likewise.
37203 * csu/version.c: Likewise.
37204 * debug/catchsegv.sh: Likewise.
37205 * debug/xtrace.sh: Likewise.
37206 * elf/ldconfig.c: Likewise.
37207 * elf/ldd.bash.in: Likewise.
37208 * elf/sprof.c (print_version): Likewise.
37209 * iconv/iconv_prog.c: Likewise.
37210 * iconv/iconvconfig.c: Likewise.
37211 * locale/programs/locale.c: Likewise.
37212 * locale/programs/localedef.c: Likewise.
37213 * malloc/memusage.sh: Likewise.
37214 * malloc/mtrace.pl: Likewise.
37215 * nscd/nscd.c (print_version): Likewise.
37216 * nss/getent.c: Likewise.
37217
a77e8cbc
UD
37218 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37219 PF_CAIF, and PF_ALG.
37220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37221
77e8bddf
AS
372222011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37223
1f20b93a
AS
37224 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37225 (modules-names): Use them.
37226 (ifunc-test-modules, ifunc-pie-tests): Define.
37227 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37228 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37229 (test-extras): Likewise.
37230 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37231 $(compile-command.c).
37232 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37233 (all-built-dso): Define.
37234 (check-textrel.out, check-execstack.out): Depend on it.
37235
77e8bddf
AS
37236 * configure.in: Don't override --enable-multi-arch.
37237
bc425b33
UD
372382011-01-15 Ulrich Drepper <drepper@gmail.com>
37239
37240 [BZ #6812]
37241 * nscd/hstcache.c (tryagain): Define.
37242 (cache_addhst): Return tryagain not notfound for temporary errors.
37243 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37244 failed.
37245
794c3ad3
UD
372462011-01-14 Ulrich Drepper <drepper@gmail.com>
37247
70181fdd
UD
37248 [BZ #10563]
37249 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37250 to make the syscall.
37251 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37252
794c3ad3
UD
37253 [BZ #12378]
37254 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37255 and fall back to matching as normal character if the string ends before
37256 the matching ']' is found. This is what POSIX requires.
37257 * posix/testfnm.c: Adjust test result.
37258 * posix/globtest.sh: Adjust test result. Add new test.
37259 * posix/tst-fnmatch.input: Likewise.
37260 * posix/tst-fnmatch2.c: Add new test.
37261
68dc9497
AS
372622010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37263
37264 * elf/Makefile (check-execstack): Revert last change. Depend on
37265 check-execstack.h.
37266 (check-execstack.h): New target.
37267 (generated): Add check-execstack.h.
37268 * elf/check-execstack.c: Include "check-execstack.h".
37269 (main): Revert last change.
37270 (handle_file): Return zero if GNU_STACK is absent and
37271 DEFAULT_STACK_PERMS doesn't include PF_X.
37272
451f001b
UD
372732011-01-13 Ulrich Drepper <drepper@gmail.com>
37274
cfa28e56
UD
37275 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37276 in child fails because the descriptor is already closed.
8cf8ce17
UD
37277 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37278 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37279 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37280
1086d70d
UD
37281 [BZ #12397]
37282 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37283 syscall.
37284
451f001b
UD
37285 [BZ #10484]
37286 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37287 temporary buffer used to handle multi lookups locally.
a85b5cb4 37288 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37289
08769175
UD
372902011-01-12 Ulrich Drepper <drepper@gmail.com>
37291
37292 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37293 loader is ld.so.
37294
5e49c52e
UD
372952011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37296
37297 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37298 alignment for SSE2.
37299
60522a5f
UD
373002011-01-12 Ulrich Drepper <drepper@gmail.com>
37301
37302 [BZ #12394]
37303 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37304 characters. When rounding increased number of integer digits recompute
37305 number of groups.
37306 * stdio-common/tst-grouping.c: New file.
37307 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37308
f257bbd7
UD
373092011-01-09 Ulrich Drepper <drepper@gmail.com>
37310
37311 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37312 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37313
37314 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37315 void.
37316 * bits/select.h: Likewise.
37317
fa9c15cb
UD
373182011-01-08 Ulrich Drepper <drepper@gmail.com>
37319
37320 * po/ja.po: Update from translation team.
37321
16c2895f
DM
373222011-01-04 David S. Miller <davem@sunset.davemloft.net>
37323
37324 [BZ #11155]
37325 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37326 implementation just like for lxstat, fxstatat, et al.
37327
2543fef2
JM
373282010-12-27 Jim Meyering <meyering@redhat.com>
37329
37330 [BZ #12348]
37331 * posix/regexec.c (build_trtable): Return failure indication upon
37332 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37333
98727dbe
UD
373342010-12-25 Ulrich Drepper <drepper@gmail.com>
37335
5bd6dc5c
UD
37336 [BZ #12201]
37337 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37338 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37339 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37340 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37341
97983464
UD
37342 [BZ #12207]
37343 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37344
98727dbe
UD
37345 [BZ #12204]
37346 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37347 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37348
4a531bb0
L
373492010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37350
37351 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37352 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37353 script has SORT_BY_INIT_PRIORITY.
37354 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37355 NO_CTORS_DTORS_SECTIONS is defined.
37356 * elf/soinit.c: Likewise.
37357 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37358 NO_CTORS_DTORS_SECTIONS is defined.
37359 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37360 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37361 * sysdeps/sh/init-first.c: Likewise.
37362 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37363
07eb4b71
UD
373642010-12-24 Ulrich Drepper <drepper@gmail.com>
37365
37366 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37367 always use the slow path.
37368
30950a5f
RA
373692010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37370
37371 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37372 similar rule which adds the sysdep directories to the header search in
37373 order to pick up the correct platform stackinfo.h.
37374 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37375 perform test if it is, otherwise return successfully without testing.
37376 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37377 DEFAULT_STACK_PERMS define in stackinfo.h.
37378 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37379 defined in stackinfo.h.
37380 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37381 DEFAULT_STACK_PERMS defined in stackinfo.h.
37382 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37383 * sysdeps/ia64/stackinfo.h: Likewise.
37384 * sysdeps/s390/stackinfo.h: Likewise.
37385 * sysdeps/sh/stackinfo.h: Likewise.
37386 * sysdeps/sparc/stackinfo.h: Likewise.
37387 * sysdeps/x86_64/stackinfo.h: Likewise.
37388 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37389 PF_X for powerpc64. Retain PF_X for powerpc32.
37390
db753e2c
UD
373912010-12-19 Ulrich Drepper <drepper@gmail.com>
37392
14b697f7
UD
37393 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37394 accurately.
db753e2c
UD
37395 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37396 GETDENTS_64BIT_ALIGNED.
37397
28300719
UD
373982010-12-14 Ulrich Drepper <dreper@gmail.com>
37399
14b697f7 37400 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37401
4f197237
AS
374022010-12-10 Andreas Schwab <schwab@redhat.com>
37403
dbb0472f
AS
37404 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37405 _GNU_SOURCE.
37406
4f197237
AS
37407 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37408 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37409 Remove __restrict.
37410 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37411 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37412
fb88ac72
UD
374132010-12-09 Ulrich Drepper <drepper@gmail.com>
37414
37415 [BZ #11655]
37416 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37417 are initialized.
37418
42acbb92
JJ
374192010-12-09 Jakub Jelinek <jakub@redhat.com>
37420
37421 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37422
c038d98d
UD
374232010-12-03 Ulrich Drepper <drepper@gmail.com>
37424
37425 * po/it.po: Update from translation team.
37426
3a4a2499
L
374272010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37428
37429 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37430 unused codes.
37431
1e24cf6e
UD
374322010-11-30 Ulrich Drepper <drepper@gmail.com>
37433
37434 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37435
a7690819
AS
374362010-11-24 Andreas Schwab <schwab@redhat.com>
37437
37438 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37439 specially.
37440 (gaih_getanswer_slice): Likewise.
37441
3bf8d1b1
JJ
374422010-10-20 Jakub Jelinek <jakub@redhat.com>
37443
37444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37445
6db52fbb
PB
374462010-05-31 Petr Baudis <pasky@suse.cz>
37447
37448 [BZ #11149]
37449 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37450 silently even in the chroot mode.
37451
eaca7569
UD
374522010-11-22 Ulrich Drepper <drepper@gmail.com>
37453
37454 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37455 last patch a bit. Pretty printing
37456
3056dcdb
UD
374572010-05-31 Petr Baudis <pasky@suse.cz>
37458
37459 [BZ #10085]
37460 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37461 initialization of skip_initgroups_dyn.
37462
cf7c9078
UD
374632010-11-19 Ulrich Drepper <drepper@gmail.com>
37464
37465 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37466 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37467
a1fb5e3e
UD
374682010-11-16 Ulrich Drepper <drepper@gmail.com>
37469
37470 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37471
3540d66b
AS
374722010-11-11 Andreas Schwab <schwab@redhat.com>
37473
37474 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37475 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37476 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37477 ($(objpfx)tst-fnmatch-mem): New rule.
37478 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37479 * posix/tst-fnmatch.c (main): Call mtrace.
37480
13b69574
L
374812010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37482
37483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37484 Support Intel processor model 6 and model 0x2c.
37485
da93d214
LM
374862010-11-10 Luis Machado <luisgpm@br.ibm.com>
37487
37488 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37489 signed comparison.
37490
8ca52c6e
L
374912010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37492
37493 [BZ #12205]
37494 * string/test-strncasecmp.c (check_result): New function.
37495 (do_one_test): Use it.
37496 (check1): New function.
37497 (test_main): Use it.
37498 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37499 Support strcasecmp and strncasecmp.
37500
69da074d
UD
375012010-11-08 Ulrich Drepper <drepper@gmail.com>
37502
37503 [BZ #12194]
37504 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37505 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37506
ff02d528
L
375072010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37508
37509 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37510 IFUNC support.
37511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37512 memset-x86-64.
37513 * sysdeps/x86_64/multiarch/bzero.S: New file.
37514 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37515 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37516 * sysdeps/x86_64/multiarch/memset.S: New file.
37517 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37519 Set bit_Prefer_SSE_for_memop for Intel processors.
37520 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37521 Define.
37522 (index_Prefer_SSE_for_memop): Define.
37523 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37524
344d0b54
LM
375252010-11-04 Luis Machado <luisgpm@br.ibm.com>
37526
37527 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37528 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37529
c0dde15b
UD
375302010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37531
37532 [BZ #12191]
37533 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37534 (__x86_64_raw_data_cache_size_half): Likewise.
37535 (__x86_64_raw_shared_cache_size): Likewise.
37536 (__x86_64_raw_shared_cache_size_half): Likewise.
37537
37538 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37539 (__x86_64_raw_data_cache_size_half): Likewise.
37540 (__x86_64_raw_shared_cache_size): Likewise.
37541 (__x86_64_raw_shared_cache_size_half): Likewise.
37542 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37543 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37544 and __x86_64_raw_shared_cache_size_half. Round
37545 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37546 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37547 to multiple of 256 bytes.
37548
0e516e0e
MS
375492010-11-03 Ulrich Drepper <drepper@gmail.com>
37550
37551 [BZ #12167]
37552 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37553 of inacessible symlinks. Verify result of symlink before returning it.
37554 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37555 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37556
0e012e87
ER
375572010-10-28 Erich Ritz <erichritz@gmail.com>
37558
37559 * math/math.h (isinf): Fix typo in comment.
37560
de0ff7bc
UD
375612010-11-01 Ulrich Drepper <drepper@gmail.com>
37562
37563 * po/da.po: Update from translation team.
37564
fa41c84d
UD
375652010-10-26 Ulrich Drepper <drepper@gmail.com>
37566
37567 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37568 is added to the list.
37569
f0967738
AK
375702010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37571 Ulrich Drepper <drepper@gmail.com>
37572
37573 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37574 the global list here. Move code to...
37575 (_dl_add_to_namespace_list): ...here. New function.
37576 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37577 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37578 * elf/dl-load.c (lose): Don't remove the element from the list.
37579 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37580 (_dl_map_object): Likewise.
37581
375822010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37583
37584 [BZ #12159]
37585 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37586 into all bytes of SSE register.
37587 Patch by Richard Li <richardpku@gmail.com>.
37588
f0967738 375892010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37590
37591 [BZ #12140]
37592 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37593 perturbing.
37594
d0b9e94f
MB
375952010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37596
37597 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37598 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37599 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37600 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37602 submachine.
37603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37604
8e9f92e9
AS
376052010-10-22 Andreas Schwab <schwab@redhat.com>
37606
37607 * include/dlfcn.h (__RTLD_SECURE): Define.
37608 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37609 mode & __RTLD_SECURE instead.
37610 (open_path): Rename preloaded parameter to secure.
37611 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37612 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37613 * elf/dl-deps.c (openaux): Likewise.
37614 * elf/rtld.c (struct map_args): Remove is_preloaded.
37615 (map_doit): Don't use it.
37616 (dl_main): Likewise.
37617 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37618 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37619
bc96fbda
AS
376202010-09-09 Andreas Schwab <schwab@redhat.com>
37621
37622 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37623 (sysd-rules-targets): Remove duplicates.
37624 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37625 rtld-%.$o dependency.
37626
22cd1c9b
AS
376272010-10-18 Andreas Schwab <schwab@redhat.com>
37628
37629 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37630 _dl_map_object do it.
37631
18edac48
UD
376322010-10-19 Ulrich Drepper <drepper@gmail.com>
37633
37634 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37635 fast fma builtins, define the macros in the C99 standard.
37636 (FP_FAST_FMAF): Likewise.
37637 (FP_FAST_FMAL): Likewise.
37638 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37639
37640 * bits/mathdef.h: Update copyright year.
37641 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37642
d2050124
MM
376432010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37644
37645 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37646 builtins, define the macros in the C99 standard.
37647 (FP_FAST_FMAF): Likewise.
37648 (FP_FAST_FMAL): Likewise.
37649 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37650 multiply/add.
37651 (FP_FAST_FMAF): Likewise.
37652
475facd1
JJ
376532010-10-15 Jakub Jelinek <jakub@redhat.com>
37654
37655 [BZ #3268]
37656 * math/libm-test.inc (fma_test): Some new testcases.
37657 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37658 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37659 y and infinite z. Do multiplication by C already in long double.
37660 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37662 y and infinite z. Do bitwise or of inexact bit into u.d.
37663 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37664 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37665 * sysdeps/i386/fpu/s_fma.S: Removed.
37666 * sysdeps/i386/fpu/s_fmal.S: Removed.
37667
7c08a05c
JJ
376682010-10-16 Jakub Jelinek <jakub@redhat.com>
37669
37670 [BZ #3268]
37671 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37673 computation is not scheduled after fetestexcept. Fix value
37674 of minimum denormal long double.
37675
f3f7372d
JJ
376762010-10-14 Jakub Jelinek <jakub@redhat.com>
37677
37678 [BZ #3268]
37679 * math/libm-test.inc (fma_test): Add some more tests.
37680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37681 correctly.
37682
14d43591
AS
376832010-10-15 Andreas Schwab <schwab@redhat.com>
37684
37685 * scripts/data/localplt-s390-linux-gnu.data: New file.
37686 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37687
5e908464
JJ
376882010-10-13 Jakub Jelinek <jakub@redhat.com>
37689
37690 [BZ #3268]
37691 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37692 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37693 instead of dbl-64.
37694 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37695 inlines.
37696 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37698 if one of x and y is very large and the other is subnormal.
37699 * sysdeps/s390/fpu/s_fmaf.c: New file.
37700 * sysdeps/s390/fpu/s_fma.c: New file.
37701 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37702 * sysdeps/powerpc/fpu/s_fma.S: New file.
37703 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37704 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37705 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37706
377072010-10-12 Jakub Jelinek <jakub@redhat.com>
37708
37709 [BZ #3268]
37710 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37711 fma tests.
37712 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37713 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37714 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37715 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37716 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37717 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37718 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37719
b833d51f
UD
377202010-10-12 Ulrich Drepper <drepper@redhat.com>
37721
37722 [BZ #12078]
37723 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37724 * posix/bug-regex31.input: Add test case.
37725
1751705d
UD
377262010-10-11 Ulrich Drepper <drepper@gmail.com>
37727
e9b9cbf5
UD
37728 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37729 * posix/bug-regex31.input: New file.
37730
37731 [BZ #12078]
37732 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37733 (parse_sub_exp): Fix last change, use postorder.
37734
ef06edbe
UD
37735 * posix/bug-regex31.c: New file.
37736 * posix/Makefile: Add rules to build and run bug-regex31.
37737
a129c80d
UD
37738 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37739
37740 [BZ #12078]
37741 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37742
b76b818e
UD
37743 [BZ #12108]
37744 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37745 to have entries in sys_siglist.
37746
1751705d
UD
37747 [BZ #12093]
37748 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37749 be NULL.
37750
9ff8d36f
JJ
377512010-10-07 Jakub Jelinek <jakub@redhat.com>
37752
37753 [BZ #3268]
37754 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37755 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37756 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37757 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37758 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37759 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37760 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37761 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37762 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37763 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37764 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37765 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37766 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37767 * math/ftestexcept.c (fetestexcept): Likewise.
37768 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37769 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37770 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37771 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37772 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37773 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37774 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37775
af325969
UD
377762010-10-11 Ulrich Drepper <drepper@gmail.com>
37777
c579b202 37778 [BZ #12107]
af325969
UD
37779 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37780 newline.
37781
67a67b95
UD
377822010-10-06 Ulrich Drepper <drepper@gmail.com>
37783
37784 * string/bug-strstr1.c: New file.
37785 * string/Makefile: Add rules to build and run bug-strstr1.
37786
5fb308bc
EB
377872010-10-05 Eric Blake <eblake@redhat.com>
37788
37789 [BZ #12092]
37790 * string/str-two-way.h (two_way_long_needle): Always clear memory
37791 when skipping input due to the shift table.
37792
45db99c7
UD
377932010-10-03 Ulrich Drepper <drepper@gmail.com>
37794
3b111893
UD
37795 [BZ #12005]
37796 * malloc/mcheck.c: Handle large requests.
37797
45db99c7
UD
37798 [BZ #12077]
37799 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37800 for strncmp and strncasecmp.
37801 * string/stratcliff.c: Add tests for strcmp and strncmp.
37802 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37803
cf7a1eb8
NI
378042010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37805
37806 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37807 __set_fpscr.
37808
6484ba5e
AJ
378092010-09-30 Andreas Jaeger <aj@suse.de>
37810
37811 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37812 (CGROUP_SUPER_MAGIC): Define.
37813 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37814 Handle btrfs and cgroup file systems.
37815 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37816 Likewise.
37817
91c42559
LM
378182010-09-27 Luis Machado <luisgpm@br.ibm.com>
37819
37820 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37821 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37822
87a97932
AK
378232010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37824
37825 [BZ #12067]
37826 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37827 trying to locate the ELF header.
37828
c21cc9bc
AS
378292010-09-27 Andreas Schwab <schwab@redhat.com>
37830
37831 [BZ #11611]
37832 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37833 Mask out sign-bit copies when constructing f_fsid.
37834
315970f6
PB
378352010-09-24 Petr Baudis <pasky@suse.cz>
37836
37837 * debug/stack_chk_fail_local.c: Add missing licence exception.
37838 * debug/warning-nop.c: Likewise.
37839
1ac7a2c7
JM
378402010-09-15 Joseph Myers <joseph@codesourcery.com>
37841
37842 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37843 implementing getdents64 using getdents syscall, set d_type if
37844 __ASSUME_GETDENTS32_D_TYPE.
37845
56801c50
AS
378462010-09-16 Andreas Schwab <schwab@redhat.com>
37847
37848 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37849 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37850
dda51327
UD
378512010-09-21 Ulrich Drepper <drepper@redhat.com>
37852
37853 [BZ #12037]
37854 * posix/unistd.h: Undo change of feature selection for ftruncate from
37855 2010-01-11.
37856
8ffcee4a
UD
378572010-09-20 Ulrich Drepper <drepper@redhat.com>
37858
a545ecd9 37859 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37860 detection.
37861
e24f0a8b
AS
378622010-09-20 Andreas Schwab <schwab@redhat.com>
37863
37864 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37865 fanotify_mark.
37866 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37867
7291c56f
AS
378682010-09-14 Andreas Schwab <schwab@redhat.com>
37869
37870 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37871 variables after CHECK_SP call.
37872 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37873
bc5fb037
AS
378742010-09-13 Andreas Schwab <schwab@redhat.com>
37875 Ulrich Drepper <drepper@redhat.com>
37876
37877 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37878 re-relocationg ld.so.
37879 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37880 _dl_init_paths call.
37881 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37882 here anymore.
37883
e66e7419
UD
378842010-09-14 Ulrich Drepper <drepper@redhat.com>
37885
37886 * resolv/res_init.c (__res_vinit): Count the default server we added.
37887
c044aa75
CLT
378882010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37889 Ulrich Drepper <drepper@redhat.com>
37890
37891 [BZ #11968]
37892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37893 (____longjmp_chk): Use %ebx for saving value across system call.
37894 Add unwind info.
37895
32cf4069
AS
378962010-09-06 Andreas Schwab <schwab@redhat.com>
37897
37898 * manual/Makefile: Don't mix pattern rules with normal rules.
37899
817328ee
AS
379002010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37901
37902 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37903 operation.
37904 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37905 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37906 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37907 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37909 Likewise.
37910
29fddf61
UD
379112010-09-04 Ulrich Drepper <drepper@redhat.com>
37912
37913 [BZ #11979]
37914 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37915 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37916
0959ffc9
UD
379172010-09-02 Ulrich Drepper <drepper@redhat.com>
37918
37919 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37920 * sysdeps/x86_64/addmul_1.S: Likewise.
37921 * sysdeps/x86_64/lshift.S: Likewise.
37922 * sysdeps/x86_64/mul_1.S: Likewise.
37923 * sysdeps/x86_64/rshift.S: Likewise.
37924 * sysdeps/x86_64/sub_n.S: Likewise.
37925 * sysdeps/x86_64/submul_1.S: Likewise.
37926
ece29840
ST
379272010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37928
0959ffc9
UD
37929 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37930 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37931 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37932 * bits/sched.h [__need_schedparam]
ece29840 37933 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37934 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37935 (__defined_schedparam): Define to 1.
ece29840
ST
37936 (__sched_param): New structure, identical to sched_param.
37937 (__need_schedparam): Undefine.
37938
e53a31fe
MF
379392010-08-31 Mike Frysinger <vapier@gentoo.org>
37940
fdc0c10d
MF
37941 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37942 (epoll_create1): Declare.
37943
e53a31fe
MF
37944 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37945
a726d796
AS
379462010-08-31 Andreas Schwab <schwab@redhat.com>
37947
37948 [BZ #7066]
37949 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37950 shifting retval into place.
37951
2f3e3dc7
UD
379522010-09-01 Ulrich Drepper <drepper@redhat.com>
37953
f2933da9
UD
37954 * nis/rpcsvc/nis.h: Update copyright notice.
37955 * nis/rpcsvc/nis.x: Likewise.
37956 * nis/rpcsvc/nis_callback.h: Likewise.
37957 * nis/rpcsvc/nis_callback.x: Likewise.
37958 * nis/rpcsvc/nis_object.x: Likewise.
37959 * nis/rpcsvc/nis_tags.h: Likewise.
37960 * nis/rpcsvc/yp.h: Likewise.
37961 * nis/rpcsvc/yp.x: Likewise.
37962 * nis/rpcsvc/ypupd.h: Likewise.
37963 * nis/yp_xdr.c: Likewise.
37964 * nis/ypupdate_xdr.c: Likewise.
37965
2f3e3dc7
UD
37966 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37967 mainly the body of pmap_getport. Add parameters to specify timeouts.
37968 (pmap_getport): Use __libc_rpc_getport.
37969 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37970 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37971 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37972
f3dcc2f9
AS
379732010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37974
37975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37976 fanotify_mark.
37977
6d34eb5b
RM
379782010-08-27 Roland McGrath <roland@redhat.com>
37979
37980 * sysdeps/i386/i686/multiarch/Makefile
37981 (CFLAGS-varshift.c): New variable.
37982
9ea3de11
UD
379832010-08-27 Ulrich Drepper <drepper@redhat.com>
37984
c96d23fc
UD
37985 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37986 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37987
9ea3de11
UD
37988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37989
37990 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37991
623aac7f
L
379922010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37993
37994 * sysdeps/x86_64/strlen.S: Unroll the loop.
37995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37996 strlen-sse2 strlen-sse2-bsf.
37997 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37998 __strlen_no_bsf if bit_Slow_BSF is set.
37999 (__strlen_sse42): Removed.
38000 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38001 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38002
8b2b7715
RM
380032010-08-25 Roland McGrath <roland@redhat.com>
38004
38005 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38006 * sysdeps/x86_64/multiarch/varshift.c: New file.
38007 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38008 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38009 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38010 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38011
e73015f2
L
380122010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38013
38014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38015 strlen-sse2 strlen-sse2-bsf.
38016 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38017 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38018 (__strlen_sse2): Removed.
38019 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38022 bit_Slow_BSF for Atom.
38023 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38024 (index_Slow_BSF): Define.
38025 (HAS_SLOW_BSF): Define.
38026
df24a73e
UD
380272010-08-25 Ulrich Drepper <drepper@redhat.com>
38028
38029 [BZ #10851]
38030 * resolv/res_init.c (__res_vinit): When no server address at all
38031 is given default to loopback.
38032
f2ac4868
RM
380332010-08-24 Roland McGrath <roland@redhat.com>
38034
09055553
RM
38035 * configure.in: Remove config-name.h generation.
38036 * configure: Regenerated.
38037 * config-name.in: File removed.
38038 * scripts/config-uname.sh: New file.
38039 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38040 ($(objdir)config-name.h): New target.
38041
f2ac4868
RM
38042 * sunrpc/rpc_parse.h: Avoid nested comment.
38043
73f27d5e
RH
380442010-08-24 Richard Henderson <rth@redhat.com>
38045 Ulrich Drepper <drepper@redhat.com>
38046 H.J. Lu <hongjiu.lu@intel.com>
38047
38048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38050 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38051 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38052 _mm_alignr_epi8 with _mm_loadu_si128.
38053 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38054 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38055 (__m128i_shift_right): Removed.
38056 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38057 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38058 * sysdeps/x86_64/multiarch/varshift.h: New file.
38059 * sysdeps/x86_64/multiarch/varshift.S: New file.
38060
84b9230c
MF
380612010-08-21 Mike Frysinger <vapier@gentoo.org>
38062
38063 * configure.in: Move assembler checks to before sysdep dir checking.
38064
9bbd0ddc
PB
380652010-08-20 Petr Baudis <pasky@suse.cz>
38066
38067 * LICENSES: Sync the sunrpc license.
38068
9da4bb31
UD
380692010-08-19 Ulrich Drepper <drepper@redhat.com>
38070
a7ab6ec8
UD
38071 * sunrpc/auth_des.c: Update copyright notice once again.
38072 * sunrpc/auth_none.c: Likewise.
38073 * sunrpc/auth_unix.c: Likewise.
38074 * sunrpc/authdes_prot.c: Likewise.
38075 * sunrpc/authuxprot.c: Likewise.
38076 * sunrpc/bindrsvprt.c: Likewise.
38077 * sunrpc/clnt_gen.c: Likewise.
38078 * sunrpc/clnt_perr.c: Likewise.
38079 * sunrpc/clnt_raw.c: Likewise.
38080 * sunrpc/clnt_simp.c: Likewise.
38081 * sunrpc/clnt_tcp.c: Likewise.
38082 * sunrpc/clnt_udp.c: Likewise.
38083 * sunrpc/clnt_unix.c: Likewise.
38084 * sunrpc/des_crypt.c: Likewise.
38085 * sunrpc/des_soft.c: Likewise.
38086 * sunrpc/get_myaddr.c: Likewise.
38087 * sunrpc/getrpcport.c: Likewise.
38088 * sunrpc/key_call.c: Likewise.
38089 * sunrpc/key_prot.c: Likewise.
38090 * sunrpc/openchild.c: Likewise.
38091 * sunrpc/pm_getmaps.c: Likewise.
38092 * sunrpc/pm_getport.c: Likewise.
38093 * sunrpc/pmap_clnt.c: Likewise.
38094 * sunrpc/pmap_prot.c: Likewise.
38095 * sunrpc/pmap_prot2.c: Likewise.
38096 * sunrpc/pmap_rmt.c: Likewise.
38097 * sunrpc/rpc/auth.h: Likewise.
38098 * sunrpc/rpc/auth_unix.h: Likewise.
38099 * sunrpc/rpc/clnt.h: Likewise.
38100 * sunrpc/rpc/des_crypt.h: Likewise.
38101 * sunrpc/rpc/key_prot.h: Likewise.
38102 * sunrpc/rpc/netdb.h: Likewise.
38103 * sunrpc/rpc/pmap_clnt.h: Likewise.
38104 * sunrpc/rpc/pmap_prot.h: Likewise.
38105 * sunrpc/rpc/pmap_rmt.h: Likewise.
38106 * sunrpc/rpc/rpc.h: Likewise.
38107 * sunrpc/rpc/rpc_des.h: Likewise.
38108 * sunrpc/rpc/rpc_msg.h: Likewise.
38109 * sunrpc/rpc/svc.h: Likewise.
38110 * sunrpc/rpc/svc_auth.h: Likewise.
38111 * sunrpc/rpc/types.h: Likewise.
38112 * sunrpc/rpc/xdr.h: Likewise.
38113 * sunrpc/rpc_clntout.c: Likewise.
38114 * sunrpc/rpc_cmsg.c: Likewise.
38115 * sunrpc/rpc_common.c: Likewise.
38116 * sunrpc/rpc_cout.c: Likewise.
38117 * sunrpc/rpc_dtable.c: Likewise.
38118 * sunrpc/rpc_hout.c: Likewise.
38119 * sunrpc/rpc_main.c: Likewise.
38120 * sunrpc/rpc_parse.c: Likewise.
38121 * sunrpc/rpc_parse.h: Likewise.
38122 * sunrpc/rpc_prot.c: Likewise.
38123 * sunrpc/rpc_sample.c: Likewise.
38124 * sunrpc/rpc_scan.c: Likewise.
38125 * sunrpc/rpc_scan.h: Likewise.
38126 * sunrpc/rpc_svcout.c: Likewise.
38127 * sunrpc/rpc_tblout.c: Likewise.
38128 * sunrpc/rpc_util.c: Likewise.
38129 * sunrpc/rpc_util.h: Likewise.
38130 * sunrpc/rpcinfo.c: Likewise.
38131 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38132 * sunrpc/rpcsvc/key_prot.x: Likewise.
38133 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38134 * sunrpc/rpcsvc/mount.x: Likewise.
38135 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38136 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38137 * sunrpc/rpcsvc/rex.x: Likewise.
38138 * sunrpc/rpcsvc/rstat.x: Likewise.
38139 * sunrpc/rpcsvc/rusers.x: Likewise.
38140 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38141 * sunrpc/rpcsvc/spray.x: Likewise.
38142 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38143 * sunrpc/rtime.c: Likewise.
38144 * sunrpc/svc.c: Likewise.
38145 * sunrpc/svc_auth.c: Likewise.
38146 * sunrpc/svc_authux.c: Likewise.
38147 * sunrpc/svc_raw.c: Likewise.
38148 * sunrpc/svc_run.c: Likewise.
38149 * sunrpc/svc_simple.c: Likewise.
38150 * sunrpc/svc_tcp.c: Likewise.
38151 * sunrpc/svc_udp.c: Likewise.
38152 * sunrpc/svc_unix.c: Likewise.
38153 * sunrpc/svcauth_des.c: Likewise.
38154 * sunrpc/xcrypt.c: Likewise.
38155 * sunrpc/xdr.c: Likewise.
38156 * sunrpc/xdr_array.c: Likewise.
38157 * sunrpc/xdr_float.c: Likewise.
38158 * sunrpc/xdr_mem.c: Likewise.
38159 * sunrpc/xdr_rec.c: Likewise.
38160 * sunrpc/xdr_ref.c: Likewise.
38161 * sunrpc/xdr_sizeof.c: Likewise.
38162 * sunrpc/xdr_stdio.c: Likewise.
38163
9da4bb31
UD
38164 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38165 handling.
38166
bdaa77bc
AS
381672010-08-19 Andreas Schwab <schwab@redhat.com>
38168
38169 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38170
fe2f79db
LM
381712010-08-19 Luis Machado <luisgpm@br.ibm.com>
38172
38173 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38174 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38175 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38176 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38177 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38178 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38179 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38180 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38181 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38182 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38183 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38184 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38185 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38186 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38187
b9b42ee0
AB
381882010-07-26 Anton Blanchard <anton@samba.org>
38189
38190 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38191 * malloc/arena.c (heap_trim): Likewise.
38192
1c06ba31
UD
381932010-08-16 Ulrich Drepper <drepper@redhat.com>
38194
38195 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38196 here. Not...
38197 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38198 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38199
f8392f40
L
382002010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38201
38202 * sysdeps/i386/elf/Makefile: New file.
38203
3162f12e
AS
382042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38205
38206 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38207 from fanotify_init.
38208 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38210
28c90b2c
UD
382112010-08-15 Ulrich Drepper <drepper@redhat.com>
38212
38213 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38214 of strncasecmp_l.
1feccb6c 38215 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38216
ca6bb004
UD
382172010-08-14 Ulrich Drepper <drepper@redhat.com>
38218
e9f82e0d
UD
38219 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38220 strncase_l-nonascii.
38221 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38222 Add strncase_l-ssse3.
38223 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38224 * sysdeps/x86_64/strcmp.S: Likewise.
38225 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38226 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38227 * sysdeps/x86_64/strncase.S: New file.
38228 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38229 * sysdeps/x86_64/strncase_l.S: New file.
38230 * string/Makefile (strop-tests): Add strncasecmp.
38231 * string/test-strncasecmp.c: New file.
38232
38233 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38234 warning.
38235
ca6bb004
UD
38236 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38237 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38238
052fa7b3
AS
382392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38240
38241 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38242
962dba78
UD
382432010-08-12 Ulrich Drepper <drepper@redhat.com>
38244
38245 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38246 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38247 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38248
bebff237
AM
382492010-05-01 Alan Modra <amodra@gmail.com>
38250
38251 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38252 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38253 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38254 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38255 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38256 tidying. Don't tail-call __sigjmp_save for static lib.
38257 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38258 save location.
38259 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38260 (CALL_MCOUNT): Add eh info, and nop after bl.
38261 (TAIL_CALL_SYSCALL_ERROR): New macro.
38262 (PSEUDO_RET): Use it.
38263 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38264 Correct save location of integer regs and cr.
38265 (_dl_profile_resolve): Correct cr save location. Delete nops
38266 after bl when SHARED. Reduce cfi size a little by better
38267 placement of cfi directives.
38268 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38269 make a stack frame. Instead use parm save area as a temp.
38270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38271 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38273 Don't make a stack frame for parent, use parm save area.
38274 Increase child stack frame to 112 bytes. Don't save unused reg,
38275 and adjust reg usage. Set up cfi on error recovery and
38276 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38278 (__makecontext): Add dummy nop after jump to exit.
38279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38280 Use correct parm save area and cr save, reduce stack frame.
38281 Correct cfi for possible PSEUDO_RET frame setup.
38282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38283 Branch to local label emitted by PSEUDO_RET rather than
38284 __syscall_error.
38285
02637374
AS
382862010-08-12 Andreas Schwab <schwab@redhat.com>
38287
38288 [BZ #11904]
38289 * locale/programs/locale.c (print_assignment): New function.
38290 (show_locale_vars): Use it.
38291
c3e2f19b
UD
382922010-08-11 Ulrich Drepper <drepper@redhat.com>
38293
3cdaa6ad
UD
38294 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38295 field.
38296 (struct statfs64): Likewise.
38297 (_STATFS_F_FLAGS): Define.
38298 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38299 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38300 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38301 (ST_VALID): Define locally.
38302 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38303 __statvfs_getflags, use the provided value.
38304 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38305 __ASSUME_STATFS_F_FLAGS.
38306
754f7da3
UD
38307 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38308
10b3bedc
UD
38309 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38310 Add sys/fanotify.h.
38311 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38312 fanotify_mask for GLIBC_2.13.
38313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38314 fanotify_init and fanotify_mark.
38315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38316 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38317
c08fb0d7
UD
38318 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38319 Add prlimit.
38320 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38321 prlimit64 for GLIBC_2.13.
38322 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38323 prlimit64.
38324 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38325 syscall.
38326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38327 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38328 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38329 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38330 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38331 add prlimit alias.
38332 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38333
15bac72b
UD
38334 [BZ #11903]
38335 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38336 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38337
c3e2f19b
UD
38338 * nss/Makefile: Add rules to build and run tst-nss-test1.
38339 * shlib-versions: Add entry for libnss_test1.
38340 * nss/nss_test1.c: New file.
38341 * nss/tst-nss-test1.c: New file.
38342
38343 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38344 (__nss_configure_lookup): Set appropriate entry in
38345 __nss_configure_lookup to true.
38346 * nss/nsswitch.h: Define enum with indeces of databases in
38347 databases and __nss_database_custom arrays. Declare
38348 __nss_database_custom.
38349 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38350 to avoid using nscd when custom rules are installed.
38351 * nss/getXXbyYY_r.c: Likewise.
38352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38353
38354 * nss/nss_files/files-parse.c: Whitespace fixes.
38355
f15ce4d8
UD
383562010-08-09 Ulrich Drepper <drepper@redhat.com>
38357
38358 [BZ #11883]
38359 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38360 * posix/fnmatch_loop.c: Likewise.
38361
d22e4cc9
AK
383622010-07-17 Andi Kleen <ak@linux.intel.com>
38363
38364 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38365 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38366 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38367 * Versions.def [GLIBC_2.13]: Add.
38368
805bc17d
UD
383692010-08-06 Ulrich Drepper <drepper@redhat.com>
38370
38371 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38372 Also fail if tpwd after pwuid call is NULL.
38373
5a42321d
ST
383742010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38375
38376 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38377 when converting to ms.
38378
fd3ebeda
ST
383792010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38380
38381 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38382 EOPNOTSUPP errors with ENOTTY.
38383 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38384 EOPNOTSUPP errors with ENOTTY.
38385
73507d3a
UD
383862010-07-31 Ulrich Drepper <drepper@redhat.com>
38387
38388 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38389 Add strcasecmp_l-ssse3.
38390 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38391 strcasecmp.
38392 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38393 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38394 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38395
fe36dd02
UD
383962010-07-30 Ulrich Drepper <drepper@redhat.com>
38397
66f6765a
UD
38398 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38399
42e08a54
UD
38400 * string/Makefile (strop-tests): Add strcasecmp.
38401 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38402 strcasecmp_l-nonascii.
38403 (gen-as-const-headers): Add locale-defines.sym.
38404 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38405 * sysdeps/x86_64/strcasecmp.S: New file.
38406 * sysdeps/x86_64/strcasecmp_l.S: New file.
38407 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38408 * sysdeps/x86_64/locale-defines.sym: New file.
38409 * string/test-strcasecmp.c: New file.
38410
fe36dd02
UD
38411 * string/test-strcasestr.c: Test both ends of the range of characters.
38412 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38413
48cbc0d6
RM
384142010-07-29 Roland McGrath <roland@redhat.com>
38415
76e6d6bc 38416 [BZ #11856]
48cbc0d6
RM
38417 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38418
880113d9
UD
384192010-07-27 Ulrich Drepper <drepper@redhat.com>
38420
38421 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38422 for ld.so.
38423
deb9cabb
AS
384242010-07-27 Andreas Schwab <schwab@redhat.com>
38425
38426 * manual/memory.texi (Malloc Tunable Parameters): Document
38427 M_PERTURB.
38428
1c7570ff
RM
384292010-07-26 Roland McGrath <roland@redhat.com>
38430
38431 [BZ #11840]
38432 * configure.in (-fgnu89-inline check): Set and substitute
38433 gnu89_inline, not libc_cv_gnu89_inline.
38434 * configure: Regenerated.
38435 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38436
24fb0f88
UD
384372010-07-26 Ulrich Drepper <drepper@redhat.com>
38438
38439 * string/test-strnlen.c: New file.
38440 * string/Makefile (strop-tests): Add strnlen.
38441 * string/tester.c (test_strnlen): Add a few more test cases.
38442 * string/tst-strlen.c: Better error reporting.
38443
38444 * sysdeps/x86_64/strnlen.S: New file.
38445
8e96b93a
UD
384462010-07-24 Ulrich Drepper <drepper@redhat.com>
38447
38448 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38449 lower-latency instructions.
38450
dbc676d4
UD
384512010-07-23 Ulrich Drepper <drepper@redhat.com>
38452
38453 * string/test-strcasestr.c: New file.
38454 * string/test-strstr.c: New file.
38455 * string/Makefile (strop-tests): Add strstr and strcasestr.
38456 * string/str-two-way.h: Don't undefine MAX.
38457 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38458
f6a31e0e
AS
384592010-07-21 Andreas Schwab <schwab@redhat.com>
38460
38461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38462 strcasestr-nonascii.
38463 (CFLAGS-strcasestr-nonascii.c): Define.
38464 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38465 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38466 Remove unused attribute.
38467
5dbc3b6c
RM
384682010-07-20 Roland McGrath <roland@redhat.com>
38469
38470 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38471 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38472 ld.so.cache was broken. With it, there is no way to disable dsocaps
38473 like LD_HWCAP_MASK can disable hwcaps.
38474
23d101d8
EPM
384752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38476
38477 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38478
cc9f2e47
UD
384792010-07-16 Ulrich Drepper <drepper@redhat.com>
38480
38481 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38482 call in strcasestr.
38483 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38484 __strcasestr_sse42_nonascii.
38485 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38486 strcasestr-nonascii.c.
38487 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38488
77c1b069
LM
384892010-06-15 Luis Machado <luisgpm@br.ibm.com>
38490
38491 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38492 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38493 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38494 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38495
440566c3
UD
384962010-07-09 Ulrich Drepper <drepper@redhat.com>
38497
38498 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38499 fcntl.
38500
5be9d05d
AS
385012010-07-06 Andreas Schwab <schwab@redhat.com>
38502
c30b7ee2 38503 [BZ #11577]
5be9d05d
AS
38504 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38505 dl_signal_cerror.
38506
8a492a67
UD
385072010-07-06 Ulrich Drepper <drepper@redhat.com>
38508
38509 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38510 _PC_PIPE_BUF using F_GETPIPE_SZ.
38511
713df3d5
RM
385122010-07-05 Roland McGrath <roland@redhat.com>
38513
38514 * manual/arith.texi (Rounding Functions): Fix rint description
38515 implicit in round description.
38516
702e8f14
UD
385172010-07-02 Ulrich Drepper <drepper@redhat.com>
38518
38519 * elf/Makefile: Fix linking for a few tests to make recent linker
38520 happy.
38521
52ed8be9
AS
385222010-06-30 Andreas Schwab <schwab@redhat.com>
38523
38524 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38525 $(common-objpfx)libc_nonshared.a.
38526
f47c9a11
LM
385272010-06-21 Luis Machado <luisgpm@br.ibm.com>
38528
38529 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38530 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38531 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38532 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38533 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38534 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38535 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38536 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38551 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38552 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38553 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38554 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38555 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38556 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38557 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38558 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38559 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38560 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38561 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38562 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38577
6fb8cbcb
L
385782010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38579
38580 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38581 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38582 * string/memmove.c (memmove): Renamed to ...
38583 (MEMMOVE): ...this. Default to memmove.
38584 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38585 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38586 (END_CHK): Define.
38587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38588 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38589 mempcpy-ssse3-back memmove-ssse3-back.
38590 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38591 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38592 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38593 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38594 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38595 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38596 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38597 * sysdeps/x86_64/multiarch/memmove.c: New file.
38598 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38599 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38600 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38601 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38602 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38603 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38604 Define.
38605 (index_Fast_Copy_Backward): Define.
38606 (HAS_ARCH_FEATURE): Define.
38607 (HAS_FAST_REP_STRING): Define.
38608 (HAS_FAST_COPY_BACKWARD): Define.
38609
4e733bac 386102010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38611
38612 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38613 Restore proper fallback handling.
38614
63c4ed22
UD
386152010-06-19 Ulrich Drepper <drepper@redhat.com>
38616
ac2b484c
UD
38617 [BZ #11701]
38618 * posix/group_member.c (__group_member): Correct checking loop.
38619
63c4ed22
UD
38620 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38621 OOM in getpwuid_r correctly. Return error number when the caller
38622 should return, otherwise -1.
38623 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38624 call returning > 0 value.
38625 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38626
765ade4b
AS
386272010-06-07 Andreas Schwab <schwab@redhat.com>
38628
38629 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38630 libc_nonshared.a from targets in modules-names.
38631
80da2e09
KS
386322010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38633
38634 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38635 requires it.
38636
158db122
LM
386372010-06-10 Luis Machado <luisgpm@br.ibm.com>
38638
38639 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38640 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38643
caa78cf8
AS
386442010-06-02 Andreas Schwab <schwab@redhat.com>
38645
38646 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38647
b2ef2c01
UD
386482010-06-14 Ulrich Drepper <drepper@redhat.com>
38649
38650 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38651 and F_GETPIPE_SZ.
38652 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38653 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38656 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38657 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38658
fbd643b6
RM
386592010-06-14 Roland McGrath <roland@redhat.com>
38660
38661 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38662
f32f2869
JJ
386632010-06-07 Jakub Jelinek <jakub@redhat.com>
38664
38665 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38666 __REDIRECT followed by __THROW.
38667 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38668 * posix/getopt.h (getopt): Likewise.
38669
2a50c078
EPM
386702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38671
38672 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38673 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38674 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38675 in AT_FLAGS.
38676 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38677 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38678
eb5ad2eb
LM
386792010-05-28 Luis Machado <luisgpm@br.ibm.com>
38680
38681 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38682
3c88fe1e
L
386832010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38684
38685 [BZ #11640]
38686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38687 Properly check family and model.
38688
d2f73151
TY
386892010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38690
38691 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38692
ebd2e13d
LM
386932010-05-24 Luis Machado <luisgpm@br.ibm.com>
38694
38695 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38696
b32b8b45
UD
386972010-05-21 Ulrich Drepper <drepper@redhat.com>
38698
38699 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38700 symbol reference.
38701
9acbe24d
AS
387022010-05-19 Andreas Schwab <schwab@redhat.com>
38703
38704 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38705 symbol reference.
38706
f0ccf6ea
AS
387072010-05-21 Andreas Schwab <schwab@redhat.com>
38708
3d04ff3a
AS
38709 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38710 and internal_recvmmsg.
38711 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38712 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38713 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38714 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38715
f0ccf6ea
AS
38716 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38717 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38718 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38719
5b08ac57
AS
387202010-05-20 Andreas Schwab <schwab@redhat.com>
38721
38722 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38723
4828935d
LM
387242010-05-17 Luis Machado <luisgpm@br.ibm.com>
38725
38726 POWER7 optimizations.
38727 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38728 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38729
373d545e
UD
387302010-05-19 Ulrich Drepper <drepper@redhat.com>
38731
38732 * version.h: Update for 2.13 development version.
38733
21a2b1ae
AS
387342010-05-12 Andrew Stubbs <ams@codesourcery.com>
38735
38736 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38737 exceptions. Return 0.
38738
3f7dcb2b
RM
387392010-05-07 Roland McGrath <roland@redhat.com>
38740
38741 * elf/ldconfig.c (main): Add a const.
38742
5f24d53a 387432010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38744
a160f8d8
UD
38745 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38746 (args_options): Add no-idn option.
38747 (ahosts_keys_int): Add idn_flags to ai_flags.
38748 (parse_option): Handle 'i' option to clear idn_flags.
38749
5f24d53a
UD
38750 * malloc/malloc.c (_int_free): Possible race in the most recently
38751 added check. Only act on the data if no current modification
38752 happened.
265bb1ce
UD
38753
38754See ChangeLog.17 for earlier changes.
This page took 5.316315 seconds and 5 git commands to generate.