]> sourceware.org Git - glibc.git/blame - ChangeLog
tests: unify fortification handler logic
[glibc.git] / ChangeLog
CommitLineData
c5bb8e23
MF
12014-02-08 Mike Frysinger <vapier@gentoo.org>
2
3 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4 (test_main): Replace code with set_fortify_handler call.
5 * debug/test-strcpy_chk.c: Likewise.
6 * debug/tst-chk1.c: Likewise.
7 * debug/tst-longjmp_chk.c: Likewise.
8 * test-skeleton.c: Include fcntl.h & paths.h
9 (set_fortify_handler): Define.
10
10444e42
MF
112014-02-08 Mike Frysinger <vapier@gentoo.org>
12
13 * debug/tst-longjmp_chk.c: Add header comment and include
14 ../test-skeleton.c.
15 (do_test): Mark static.
16 (TEST_FUNCTION): Define.
17
1e805e8d
MF
182014-02-08 Mike Frysinger <vapier@gentoo.org>
19
20 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21 (IP_PMTUDISC_INTERFACE): Likewise.
22 (IP_MULTICAST_IF): Likewise.
23 (IP_MULTICAST_TTL): Likewise.
24 (IP_MULTICAST_LOOP): Likewise.
25 (IP_ADD_MEMBERSHIP): Likewise.
26 (IP_DROP_MEMBERSHIP): Likewise.
27 (IP_UNBLOCK_SOURCE): Likewise.
28 (IP_BLOCK_SOURCE): Likewise.
29 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
30 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31 (IP_MSFILTER): Likewise.
32 (MCAST_JOIN_GROUP): Likewise.
33 (MCAST_BLOCK_SOURCE): Likewise.
34 (MCAST_UNBLOCK_SOURCE): Likewise.
35 (MCAST_LEAVE_GROUP): Likewise.
36 (MCAST_JOIN_SOURCE_GROUP): Likewise.
37 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38 (MCAST_MSFILTER): Likewise.
39 (IP_MULTICAST_ALL): Likewise.
40 (IP_UNICAST_IF): Likewise.
41
73f79bb7
MF
422014-02-08 Mike Frysinger <vapier@gentoo.org>
43
44 * timezone/Makefile: Delete $(have-ksh) check.
45 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46 * timezone/tzselect.ksh: Add +x mode bits.
47
8da79b60
MF
482014-02-08 Mike Frysinger <vapier@gentoo.org>
49
50 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
51 (ANON_INODE_FS_MAGIC): Likewise.
52 (BDEVFS_MAGIC): Likewise.
53 (BINFMTFS_MAGIC): Likewise.
54 (BTRFS_TEST_MAGIC): Likewise.
55 (CRAMFS_MAGIC_WEND): Likewise.
56 (DEBUGFS_MAGIC): Likewise.
57 (ECRYPTFS_SUPER_MAGIC): Likewise.
58 (EXT3_SUPER_MAGIC): Likewise.
59 (EXT4_SUPER_MAGIC): Likewise.
60 (FUTEXFS_SUPER_MAGIC): Likewise.
61 (HOSTFS_SUPER_MAGIC): Likewise.
62 (HUGETLBFS_MAGIC): Likewise.
63 (MINIX3_SUPER_MAGIC): Likewise.
64 (MTD_INODE_FS_MAGIC): Likewise.
65 (NILFS_SUPER_MAGIC): Likewise.
66 (OPENPROM_SUPER_MAGIC): Likewise.
67 (PIPEFS_MAGIC): Likewise.
68 (PSTOREFS_MAGIC): Likewise.
69 (QNX6_SUPER_MAGIC): Likewise.
70 (RAMFS_MAGIC): Likewise.
71 (REISERFS_SUPER_MAGIC_STRING): Likewise.
72 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
73 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
74 (SECURITYFS_MAGIC): Likewise.
75 (SELINUX_MAGIC): Likewise.
76 (SMACK_MAGIC): Likewise.
77 (SOCKFS_MAGIC): Likewise.
78 (SQUASHFS_MAGIC): Likewise.
79 (STACK_END_MAGIC): Likewise.
80 (TMPFS_MAGIC): Likewise.
81 (USBDEVICE_SUPER_MAGIC): Likewise.
82 (V9FS_MAGIC): Likewise.
83 (XENFS_SUPER_MAGIC): Likewise.
84 (CRAMFS_MAGIC): Fix typo in comment.
85 (EXT2_SUPER_MAGIC): Update comment.
86 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
87
464263cc
JM
882014-02-08 Joseph Myers <joseph@codesourcery.com>
89
c6bfe5c4
JM
90 * sysdeps/arm: Move directory from ports/sysdeps/arm.
91 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
92 * sysdeps/unix/sysv/linux/arm: Move directory from
93 ports/sysdeps/unix/sysv/linux/arm.
94 * README: Update listing for arm-*-linux-gnueabi.
95
464263cc
JM
96 * README: Remove mention of am33.
97
32749f6c
RM
982014-02-07 Roland McGrath <roland@hack.frob.com>
99
100 * bits/sigset.h (__sigemptyset): Use a statement expression rather
101 than the comma operator, to avoid "rhs of comma has no effect"
102 compiler warnings.
103 (__sigfillset, __sigandset, __sigorset): Likewise.
104 * include/signal.h (__sigemptyset): Likewise.
105 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
106
d5b396c1
AM
1072014-02-07 Allan McRae <allan@archlinux.org>
108
109 * version.h (RELEASE): Set to "development".
110 (VERSION): Set to "2.19.90"
111 * NEWS: Add 2.20 section.
112
3bfff2ed
CD
1132014-02-06 Carlos O'Donell <carlos@redhat.com>
114
115 [BZ #16529]
116 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
117
ee7cc385
SP
1182014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
119
120 * manual/contrib.texi: Update entry for Carlos O'Donell,
121 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
122
f877c4f2
CD
1232014-02-05 Carlos O'Donell <carlos@rehdat.com>
124
27e839f6
CD
125 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
126
f877c4f2
CD
127 * sysdeps/unix/sysv/linux/kernel-features.h
128 [__LINUX_KERNEL_VERSION >= 0x020621]
129 (__ASSUME_PROC_PID_TASK_COMM): Define.
130
68159946
SP
1312014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
132
133 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
134 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
135 Leonard and Allan McRae.
136
2b528732
DM
1372014-02-04 David S. Miller <davem@davemloft.net>
138
139 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
140 32-bit.
141
0ff82463
AZ
1422014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
143
c01603f7
AZ
144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
145 file
146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
147 New file
148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
149 file.
150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
151 file.
152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
153 New file.
154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
155 file.
156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
157 file.
158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
159 New file.
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
161 New file.
162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
163 New file.
164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
165 New file.
166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
167 New file.
168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
169 New file.
170
1712014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
172
0ff82463
AZ
173 * nptl/shlib-versions: Change powerpc*le start to 2.17.
174 * shlib-versions: Likewise.
175
1695c773
AZ
1762014-02-04 Roland McGrath <roland@hack.frob.com>
177 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
178
179 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
180 (abilist-pattern): New variable, set to %-le.abilist.
181
182 * Makerules (abilist-pattern): New variable.
183 (vpath): Use $(abilist-pattern) in place of %.abilist.
184 (check-abi-% pattern rule): Likewise.
185 (check-abi, update-abi): Likewise.
186
6c0ce4b4
EW
1872014-02-04 Eric Wong <normalperson@yhbt.net>
188
189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
190
dc98b8f5
EW
1912014-02-04 Eric Wong <normalperson@yhbt.net>
192
193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
194
481e3524
CD
1952014-02-03 Carlos O'Donell <carlos@redhat.com>
196
197 * manual/startup.texi: Add next, previous, and top entries for
198 the `Program Arguments' and `Environment Variables' nodes.
199
375592d3
AO
2002014-02-03 Alexandre Oliva <aoliva@redhat.com>
201
202 * manual/macros.texi: Add comments before MTASC-safety macros.
203
f54838ba
AO
204 * manual/users.texi: Document MTASC-safety properties.
205
909e12ad
AO
206 * manual/threads.texi (pthread_key_create, pthread_key_delete,
207 pthread_getspecific, pthread_setspecific): Format with
208 @deftypefun, and add @safety note.
209 * manual/signal.texi: Move comments that analyze the above
210 functions to their home place.
211
fd3daba4
AM
2122014-02-03 Allan McRae <allan@archlinux.org>
213
214 * po/sl.po: Update Slovenian translation from translation project.
215
597636d7
AO
2162014-02-02 Alexandre Oliva <aoliva@redhat.com>
217
218 * manual/time.texi (timegm): Add missing blank after @c.
219 Reported by Joseph Myers <joseph@codesourcery.com>.
220
ee196e3c
AO
2212014-02-01 Alexandre Oliva <aoliva@redhat.com>
222
223 * manual/check-safety.sh: New.
224 * manual/Makefile ($(objpfx)stamp-summary): Run it.
225
f8d529d5
AO
226 * manual/terminal.texi: Document MTASC-safety properties.
227
de55fdf4
AO
228 * manual/filesys.texi: Document MTASC-safety properties.
229
c3299c08
AO
230 * manual/errno.texi: Document MTASC-safety properties.
231
06e90b14
AO
232 * manual/intro.texi: Document safety identifiers and
233 conditionals.
234
1acd4371
AO
235 * manual/string.texi (wcstok): Fix prototype.
236 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
237
23e5b8cb
AO
238 * manual/time.texi: Document MTASC-safety properties.
239
11087373
AO
240 * manual/string.texi: Document MTASC-safety properties.
241
5da2c93d
AO
242 * manual/threads.texi: Document MTASC-safety properties.
243
171e9210
AO
244 * manual/stdio.texi: Document MTASC-safety properties.
245
d9e02532
AO
246 * manual/syslog.texi: Document MTASC-safety properties.
247
6af8bab7
AO
248 * manual/sysinfo.texi: Document MTASC-safety properties.
249
663b02d7
AO
250 * manual/startup.texi: Document MTASC-safety properties.
251
973f180b
AO
252 * manual/socket.texi: Document MTASC-safety properties.
253
8f3c25c8
AO
254 * manual/signal.texi: Document MTASC-safety properties.
255
542210fb
AO
2562014-01-31 Alexandre Oliva <aoliva@redhat.com>
257
258 * manual/setjmp.texi: Document MTASC-safety properties.
259
433c45a2
AO
260 * manual/search.texi: Document MTASC-safety properties.
261
c8ce789c
AO
262 * manual/resource.texi: Document MTASC-safety properties.
263
19f5d29c
AO
264 * manual/process.texi: Document MTASC-safety properties.
265
e2dfb7f4
AO
266 * manual/platform.texi: Document MTASC-safety properties.
267
8c1413f5
AO
268 * manual/pipe.texi: Document MTASC-safety properties.
269
03483ada
AO
270 * manual/pattern.texi: Document MTASC-safety properties.
271
29e7e2df
AO
272 * manual/message.texi: Document MTASC-safety properties.
273
9f529d7c
AO
274 [BZ #12751]
275 * manual/memory.texi: Document MTASC-safety properties.
276
27aaa791
AO
277 * manual/math.texi: Document MTASC-safety properties.
278
f2d58726
AO
279 * manual/locale.texi: Document MTASC-safety properties.
280
2cc3615c
AO
281 * manual/llio.texi: Document MTASC-safety properties.
282
d9f0ec97
AO
283 * manual/libdl.texi: New.
284
e7c4409a
AO
285 * manual/lang.texi: Document MTASC-safety properties.
286
27bdc63c
AO
287 * manual/job.texi: Document MTASC-safety properties.
288
a7b90ea9
AO
289 * manual/getopt.texi: Document MTASC-safety properties.
290
c49130e3
AO
291 * manual/ctype.texi: Document MTASC-safety properties.
292
0d23a5c1
MR
2932014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
294
295 [BZ #16046]
296 * csu/libc-tls.c (static_map): Remove variable.
297 (__libc_setup_tls): Use main executable's link map for TLS data.
298 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
299 casing for LM_ID_BASE and GL(dl_nns).
300 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
301 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
302 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
303 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
304 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
305 member.
306 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
307 l_phnum members.
308
0037bb60
AO
3092014-01-30 Alexandre Oliva <aoliva@redhat.com>
310
311 * manual/debug.texi: Document MTASC-safety properties.
312
409e00bd
L
3132014-01-29 H.J. Lu <hongjiu.lu@intel.com>
314
315 [BZ #16510]
316 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
317 of __x86_64__ when disabling x87 inline functions.
318
86e60666
AO
3192014-01-29 Alexandre Oliva <aoliva@redhat.com>
320
321 * manual/charset.texi: Document MTASC-safety properties.
322
76167637
AO
323 * manual/crypt.texi: Document MTASC-safety properties.
324
e567f2a0
AO
325 * manual/conf.texi: Document MTASC-safety properties.
326
b719dafd
AO
327 * manual/arith.texi: Document MTASC-safety properties.
328
4a16c662
AO
329 * manual/argp.texi: Document MTASC-safety properties.
330
0a57b83e
AO
331 * manual/macros.texi: Introduce macros to document multi
332 thread, asynchronous signal and asynchronous cancellation
333 safety properties.
334 * manual/intro.texi: Introduce the properties themselves.
335
feab2397
KK
3362014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
337
338 * sysdeps/sh/sh4/Makefile: New file.
339
1c0d11bc
AS
3402014-01-27 Andreas Schwab <schwab@linux-m68k.org>
341
342 * math/gen-libm-test.pl ($srcdir): New variable.
343 ($auto_input): Use it.
344
af37a8a3
SP
3452014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
346
d7b00f98
SP
347 [BZ #16506]
348 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
349 access beyond array bounds when parsing netgroups file.
350
af37a8a3
SP
351 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
352 the old buffer before realloc.
353
0c00f062
AM
3542014-01-27 Allan McRae <allan@archlinux.org>
355
356 * po/fr.po: Update French translation from translation project.
357
7d69a1b0
KK
3582014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
359
360 * sysdeps/sh/libm-test-ulps: Regenerate.
361
6e697ff7
DM
3622014-01-24 David S. Miller <davem@davemloft.net>
363
364 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
365
9cadb35c
KK
3662014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
367
368 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
369 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
370
5d41dadf
SP
3712013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
372
373 [BZ #16474]
374 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
375 string pointers after reallocation.
376
0bad441c
KK
3772014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
378
379 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
380 __SH4A__ instead of __SH_FPU_ANY__.
381
7007c661
KK
3822014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
383
384 * sysdeps/sh/fpu_control.h: New file.
385 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
386 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
387 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
388 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
389 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
390 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
391 * sysdeps/sh/sys/ucontext.h: Remove.
392 * sysdeps/sh/sys: Remove directory.
393
0f0c35e4
AK
3942014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
395
396 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
397 s390/sys/ucontext.h.
398 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
399 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
400
4959e284
L
4012014-01-20 H.J. Lu <hongjiu.lu@intel.com>
402
403 [BZ #15605]
404 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
405
d98720e0
AZ
4062014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
407
408 [BZ#16431]
409 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
410 Adjust the vDSO correctly for internal calls.
411 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
412
91cbd0bc
AM
4132014-01-20 Allan McRae <allan@archlinux.org>
414
415 * po/ca.po: Update Catalan translation from translation project.
416
7a02cfad
MF
4172014-01-16 Mike Frysinger <vapier@gentoo.org>
418
419 * sysdeps/s390/sotruss-lib.c: New file.
420
736c304a
AZ
4212014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
422
423 [BZ#16430]
6e077ee5 424 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
425 (__GI___gettimeofday): Alias for a different internal symbol to avoid
426 local calls issues by not having a PLT stub required for IFUNC calls.
427 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
428
94d0cea0
JM
4292014-01-16 Joseph Myers <joseph@codesourcery.com>
430
431 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
432 * math/test-fpucw-static.c: Likewise.
433
980cb518
SP
4342013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
435
436 [BZ #16453]
437 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
438
2393fc01
AZ
4392014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
440
441 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
442 implementation for powerpc.
443
d359bcc2
OB
4442014-01-15 Ondřej Bílka <neleai@seznam.cz>
445
446 [BZ #14782]
447 * sysdeps/posix/system.c (__libc_system): Do not enable
448 asynchronous cancellation.
449
7beb48cb
AK
4502014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
451
452 [BZ #16427]
453 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
454 handling only for numbers special also in the IEEE case.
455
c20d5bf5
AK
4562014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
457
458 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
459
e83bd4ee
AM
4602014-01-11 Allan McRae <allan@archlinux.org>
461
76d0ea69
AM
462 * po/bg.po: Update Bulgarian translation from translation project.
463
e83bd4ee
AM
464 * po/de.po: Update German translation from translation project.
465
bc2ba20a
RM
4662014-01-10 Roland McGrath <roland@hack.frob.com>
467
468 * sysdeps/generic/gcc-compat.h: New file.
469
649ecea2
SP
4702014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
471
472 * benchtests/asin-inputs: Correct slow inputs.
473 * benchtests/acos-inputs: Likewise.
474
1b19c006
AM
4752014-01-10 Allan McRae <allan@archlinux.org>
476
a46dab08
AM
477 * po:sv.po: Update Swedish translation from translation project.
478
421df74a
AM
479 * po/vi.po: Update Vietnamese translation from translation project.
480
d61c51a7
AM
481 * po/eo.po: Update Esperanto translation from translation project.
482
0339a319
AM
483 * po/cs.po: Update Czech translation from translation project.
484
94ad3e99
AM
485 * po/nl.po: Update Dutch translation from translation project.
486
e349ca71
AM
487 * po/pl.po: Update Polish translation from translation project.
488
ddf930c1
AM
489 * po/ru.po: Update Russian translation from translation project.
490
1b19c006
AM
491 * po/uk.po: Update Ukrainian translation from translation project.
492
9f236c49
BM
4932014-01-08 Brooks Moses <bmoses@google.com>
494
495 * elf/dl-load.c: Fix comment typo.
496
cd6701cf
CD
4972014-01-08 Carlos O'Donell <carlos@redhat.com>
498
499 * po/header.pot: Rename to...
500 * po/pot.header: ... this.
501 * po/Makefile: Use pot.header.
502
66671c84
YK
5032014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
504 Maxim Kuvyrkov <maxim@kugelworks.com>
505
506 [BZ #16394]
cd6701cf
CD
507 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
508 SRC and DEST against LEN.
66671c84 509
38f34581
AZ
5102014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
511
512 [BZ #16414]
513 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
514 implementation.
515 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
516
5172014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
518
519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
520
4c327f2a
JM
5212014-01-08 Joseph Myers <joseph@codesourcery.com>
522
523 [BZ #16408]
524 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
525 for large positive arguments.
526
b821f414
JM
5272014-01-07 Joseph Myers <joseph@codesourcery.com>
528
1f0f2067
JM
529 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
530
a5a326f6
JM
531 * math/auto-libm-test-in: Mark various tests with
532 xfail-rounding:ldbl-128ibm.
533 * math/auto-libm-test-out: Regenerated.
534
b821f414
JM
535 [BZ #16407]
536 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
537 Increase overflow threshold.
538
94c8a4bc
OB
5392014-01-07 Ondřej Bílka <neleai@seznam.cz>
540
541 [BZ #14286]
542 * stdio-common/vfprintf.c: Check for integer overflow.
543
87ded0c3
AK
5442014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
545
546 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
547 the first argument and return value of __tls_get_addr_internal.
548
c5eebdd0
AK
5492014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
550
551 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
552 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
553
05d138ef
AK
5542014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
555
556 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
557 * sysdeps/s390/rtld-global-offsets.sym: New file.
558 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
559 GLIBC_2.19 symbol.
560 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
561 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
562 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
563 ... this.
564 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
565 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
566 ... this.
567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
568 Regenerate.
569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
570 Regenerate.
571 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
572 halfs of GPRs for high_gprs contexts.
573 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
574 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
575 field.
576 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
577 uc_flags field.
578 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
579 64 bit versions:
580 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
581 for high GPRs (uc_high_gprs) and for future extensions
582 (__reserved).
583 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
584 for future extensions (__reserved).
585 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
586 64 bit versions:
587 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
588 SC_HIGHGPRS offset definition.
589 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
590 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
591
93a45ff1
AK
5922014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
593
594 * Versions.def: Add GLIBC_2.19 for libpthread.
595 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
596 siglongjmp for libpthread with GLIBC_2.19 symver.
597 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
598 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
599 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
600 * sysdeps/s390/__longjmp.c: New file.
601 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
602 * sysdeps/s390/longjmp.c: New file.
603 * sysdeps/s390/setjmp.S: New file.
604 * sysdeps/s390/sigjmp.S: New file.
605 * sysdeps/s390/v1-longjmp.c: New file.
606 * sysdeps/s390/v1-setjmp.h: New file.
607 * sysdeps/s390/v1-sigjmp.c: New file.
608 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
609 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
610 GLIBC_2.19 version.
611 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
612 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
613 versioned symbols for ____longjmp_chk.
614 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
615 Likewise.
616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
617 Regenerate.
618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
619 Regenerate.
620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
621 Regenerate.
622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
623 Regenerate.
624 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
625 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
626 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
627 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
628 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
629 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
630 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
631 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
632 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
633 * sysdeps/s390/rtld-__longjmp.c: New file.
634 * sysdeps/s390/rtld-setjmp.S: New file.
635
eb3fc44b
JM
6362014-01-06 Joseph Myers <joseph@codesourcery.com>
637
638 [BZ #16400]
639 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
640 Return -__logl (x) for small positive arguments without evaluating
641 a polynomial.
642
9341dde4
MF
6432014-01-06 Mike Frysinger <vapier@gentoo.org>
644
645 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
646 Rename to ...
647 (__ptrace_peeksiginfo_args): ... this.
648 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
649 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
650 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
651
4cff0293
AM
6522014-01-06 Allan McRae <allan@archlinux.org>
653
654 * inet/netinet/in.h: Fix typo in comment.
655
75595dcf
AJ
6562014-01-05 Andreas Jaeger <aj@suse.de>
657
658 * sysdeps/i386/fpu/libm-test-ulps: Update.
659
79c1e109
AM
6602014-01-05 Allan McRae <allan@archlinux.org>
661
dd804818
AM
662 * po/libc.pot: Regenerated.
663
79c1e109
AM
664 * malloc/memusagestat.c: Fix gettext call formatting.
665
0c813d1f
SK
6662014-01-04 Sami Kerola <kerolasa@iki.fi>
667
668 * nscd/nscd.c: Improve usage() output.
669
20f4a8d9
MF
6702014-01-04 Mike Frysinger <vapier@gentoo.org>
671
672 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
673 * sysdeps/unix/sysv/linux/configure: Regenerated.
674 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
675 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
676
22562bb2
JM
6772014-01-03 Joseph Myers <joseph@codesourcery.com>
678
679 [BZ #16390]
680 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
681 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
682
d7ad2d9b
AZ
6832014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
684
685 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
686 extra tokens at end of #undef directive.
687 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
688 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
689 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
690
7dd009d8
JM
6912014-01-03 Joseph Myers <joseph@codesourcery.com>
692
24db925a
JM
693 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
694
7dd009d8
JM
695 * math/auto-libm-test-in: Mark various tests with
696 xfail-rounding:ldbl-128ibm.
697 * math/auto-libm-test-out: Regenerated.
698
396e3ecf
JM
6992014-01-02 Joseph Myers <joseph@codesourcery.com>
700
819e5d50
JM
701 [BZ #16386]
702 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
703 numbers with subnormal high part when calculating exponent.
704
90b6a1e5
JM
705 [BZ #16385]
706 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
707 fabs.
708
396e3ecf
JM
709 [BZ #16384]
710 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
711 M_LN2l.
712 (__ieee754_acoshl): Use __log1pl not __log1p.
713
6c8dbf00
OB
7142013-01-02 Ondřej Bílka <neleai@seznam.cz>
715
716 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
717 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
718 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
719 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
720 Convert to GNU style.
721 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
722 mem2mem_check, mem2chunk_check, top_check, realloc_check,
723 memalign_check, __malloc_set_state): Likewise.
724 * malloc/mallocbug.c (main): Likewise.
725 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
726 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
727 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
728 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
729 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
730 * malloc/malloc.h: Likewise.
731 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
732 memalignhook, reallochook, mabort): Likewise.
733 * malloc/mcheck.h: Likewise.
734 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
735 mmap64, mremap, munmap, dest): Likewise.
736 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
737 * malloc/morecore.c (__default_morecore): Likewise.
738 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
739 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
740 _obstack_allocated_p, obstack_free, _obstack_memory_used,
741 print_and_abort): Likewise.
742 * malloc/obstack.h: Likewise.
743 * malloc/set-freeres.c (__libc_freeres): Likewise.
744 * malloc/tst-mallocstate.c (main): Likewise.
745 * malloc/tst-mtrace.c (main): Likewise.
746 * malloc/tst-realloc.c (do_test): Likewise.
747
d4124212
SP
7482013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
749
9a3c6a6f
SP
750 [BZ #16366]
751 * nscd/netgroupcache.c (do_notfound): New function.
752 (addgetnetgrentX): Use it.
753
d4124212
SP
754 [BZ # 16365]
755 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
756 NSS_STATUS_NOTFOUND.
757
97b9a009
JM
7582014-01-01 Joseph Myers <joseph@codesourcery.com>
759
760 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
762
d4697bc9
AM
7632014-01-01 Allan McRae <allan@archlinux.org>
764
ddb3687f
AM
765 * scripts/update-copyrights: Update configure input file suffix.
766
88726d48
AM
767 * NEWS: Update copyright year.
768 * catgets/gencat.c: Likewise.
769 * csu/version.c: Likewise.
770 * debug/catchsegv.sh: Likewise.
771 * debug/pcprofiledump.c: Likewise.
772 * debug/xtrace.sh: Likewise.
773 * elf/ldconfig.c: Likewise.
774 * elf/ldd.bash.in: Likewise.
775 * elf/pldd.c: Likewise.
776 * elf/sotruss.ksh: Likewise.
777 * elf/sprof.c: Likewise.
778 * iconv/iconv_prog.c: Likewise.
779 * iconv/iconvconfig.c: Likewise.
780 * locale/programs/locale.c: Likewise.
781 * locale/programs/localedef.c: Likewise.
782 * login/programs/pt_chown.c: Likewise.
783 * malloc/memusage.sh: Likewise.
784 * malloc/memusagestat.c: Likewise.
785 * malloc/mtrace.pl: Likewise.
786 * manual/libc.texinfo: Likewise.
787 * nscd/nscd.c: Likewise.
788 * nss/getent.c: Likewise.
789 * nss/makedb.c: Likewise.
790 * posix/getconf.c: Likewise.
791 * scripts/test-installation.pl: Likewise.
792
d4697bc9
AM
793 * All files with FSF copyright notices: Update copyright dates
794 using scripts/update-copyrights.
795 * intl/plural.c: Regenerated.
796 * locale/programs/charmap-kw.h: Likewise.
797 * locale/programs/locfile-kw.h: Likewise.
798
c8590f9d
MF
7992013-12-31 Mike Frysinger <vapier@gentoo.org>
800
801 * sysdeps/unix/sysv/linux/configure: Regenerated.
802 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
803 the linux/fanotify.h header.
804 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
805 HAVE_LINUX_FANOTIFY_H is defined.
806
b19221b9
SP
8072013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
808
dd1d85e5
SP
809 * benchtests/cos-inputs: New inputs.
810 * benchtests/sin-inputs: Likewise.
811
1acbb90f
SP
812 * benchtests/atan-inputs: New inputs. Fix name of multiple
813 precision fallback inputs.
814
4c012ed3
SP
815 * benchtests/atanh-inputs: New inputs.
816 * benchtests/tanh-inputs: Likewise.
817
eff98324
SP
818 * benchtests/acosh-inputs: New inputs.
819 * benchtests/asinh-inputs: Likewise.
820
ce641152
SP
821 * benchtests/cosh-inputs: New inputs.
822 * benchtests/sinh-inputs: Likewise.
823
b19221b9
SP
824 * benchtests/acos-inputs: Add more inputs.
825 * benchtests/asin-inputs: Likewise.
826
030a4976 8272013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 828
030a4976 829 [BZ #16375]
9dcc8f11
VS
830 * manual/arith.texi: Fix spelling.
831 * manual/charset.texi: Likewise.
832 * manual/errno.texi: Likewise.
833 * manual/filesys.texi: Likewise.
834 * manual/lang.texi: Likewise.
835 * manual/llio.texi: Likewise.
836 * manual/locale.texi: Likewise.
837 * manual/message.texi: Likewise.
838 * manual/resource.texi: Likewise.
839 * manual/search.texi: Likewise.
840 * manual/setjmp.texi: Likewise.
841 * manual/stdio.texi: Likewise.
842 * manual/string.texi: Likewise.
843 * manual/sysinfo.texi: Likewise.
844 * manual/time.texi: Likewise.
845
11520a57
CD
8462013-12-27 Carlos O'Donell <carlos@redhat.com>
847
848 * po/sl.po: New file.
849
471103ae
MF
8502013-12-27 Mike Frysinger <vapier@gentoo.org>
851
852 * .gitignore: Add core/.gdbinit/.gdb_history.
853
6c9642ed
AM
8542013-12-27 Allan McRae <allan@archlinux.org>
855
856 [BZ #16369]
857 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
858 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
859
3f637079
BM
8602013-12-24 Brooks Moses <bmoses@google.com>
861
862 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
863 all compilers that claim C++98 compliance, not just GCC.
864 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
865 Likewise.
866
abc26e99
MK
8672013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
868
869 * NEWS: Restore accidentally deleted bug-fix entries.
870
362b47fe
MK
8712013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
872 Ondřej Bílka <neleai@seznam.cz>
873
874 [BZ #15073]
875 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 876 have_lock.
362b47fe 877
b9bcbbcb
OB
8782013-12-23 Ondřej Bílka <neleai@seznam.cz>
879
880 [BZ #12986]
881 * manual/stdio.texi (String Input Conversions): Clarify that character
882 classes are not supported.
883
fb55fcd2
AZ
8842013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
885
886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
887
ef7344f0
JM
8882013-12-22 Joseph Myers <joseph@codesourcery.com>
889
4f40e4b3
JM
890 [BZ #16337]
891 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
892 Calculate results for small negative arguments directly rather
893 than using reflection formula with special underflow handling.
894
ef7344f0
JM
895 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
896 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
897 sysdeps/unix/bsd/bsd4.4/syscalls.list.
898 (fchflags): Likewise.
899 (revoke): Likewise.
900 (setlogin): Likewise.
901 (sigaltstack): Likewise.
902 (wait4): Likewise.
903 (sigblock): Remove.
904 (sigsetmask): Likewise.
905 (wait3): Likewise.
906 (waitpid): Likewise.
907 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
908 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
909 file.
910 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
911 * sysdeps/unix/bsd/Makefile: ... here.
912 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
913 * sysdeps/unix/bsd/Versions: ... here.
914 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
915 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
916 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
917 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
918 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
919 * sysdeps/unix/bsd/sigblock.c: ... here.
920 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
921 * sysdeps/unix/bsd/sigsetmask.c: ... here.
922 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
923 * sysdeps/unix/bsd/sigvec.c: ... here.
924 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
925 * sysdeps/unix/bsd/tcdrain.c: ... here.
926 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
927 * sysdeps/unix/bsd/tcgetattr.c: ... here.
928 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
929 * sysdeps/unix/bsd/tcsetattr.c: ... here.
930 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
931 * sysdeps/unix/bsd/wait.c: ... here.
932 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
933 * sysdeps/unix/bsd/wait3.c: ... here.
934 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
935 * sysdeps/unix/bsd/waitpid.c: ... here.
936
5b0626b9
JM
9372013-12-21 Joseph Myers <joseph@codesourcery.com>
938
939 [BZ #16356]
940 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
941 round-to-nearest for [!USE_AS_EXPM1L].
942 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
943 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
944 more tests of exp and exp10. Expect some exp10 tests to miss
945 exceptions or fail in directed rounding modes.
946 * math/auto-libm-test-out: Regenerated.
947 * math/libm-test.inc (exp10_tonearest_test_data): New array.
948 (exp10_test_tonearest): New function.
949 (exp10_towardzero_test_data): New array.
950 (exp10_test_towardzero): New function.
951 (exp10_downward_test_data): New array.
952 (exp10_test_downward): New function.
953 (exp10_upward_test_data): New array.
954 (exp10_test_upward): New function.
955 (main): Call the new functions.
956 * sysdeps/i386/fpu/libm-test-ulps: Update.
957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
958
7fda5682
JM
9592013-12-20 Joseph Myers <joseph@codesourcery.com>
960
31e3a405
JM
961 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
962 asinh, atan, atan2, atanh, cbrt, cos and cosh.
963 * math/auto-libm-test-out: Regenerated.
964 * math/libm-test.inc (acosh_test_data): Add more tests.
965 (atanh_test_data): Likewise.
966 (ceil_test_data): Likewise.
967 (copysign_test_data): Likewise.
968 * sysdeps/i386/fpu/libm-test-ulps: Update.
969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
970
85bff96a
JM
971 * timezone/checktab.awk: Update from tzcode 2013i.
972 * timezone/private.h: Likewise.
973 * timezone/scheck.c: Likewise.
974 * timezone/tzfile.h: Likewise.
975 * timezone/tzselect.ksh: Likewise.
976 * timezone/zdump.c: Likewise.
977 * timezone/zic.c: Likewise.
978
b7867a3b
JM
979 * math/auto-libm-test-in: Add tests of cpow.
980 * math/auto-libm-test-out: Regenerated.
981 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
982 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
983 mpc_cc_c.
984 (func_calc_desc): Add mpc_cc_c union field.
985 (test_functions): Add cpow.
986 (special_fill_2pi): New function.
987 (special_real_inputs): Add 2pi.
988 (calc_generic_results): Handle mpc_cc_c.
989 * sysdeps/i386/fpu/libm-test-ulps: Update.
990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
991
7fda5682
JM
992 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
993 csqrt, ctan and ctanh.
994 * math/auto-libm-test-out: Regenerated.
995 * math/libm-test.inc (TEST_COND_x86_64): New macro.
996 (TEST_COND_x86): Likewise.
997 (ccos_test_data): Use AUTO_TESTS_c_c.
998 (ccosh_test_data): Likewise.
999 (cexp_test_data): Likewise.
1000 (clog_test_data): Likewise.
1001 (csqrt_test_data): Likewise.
1002 (ctan_test_data): Likewise.
1003 (ctan_tonearest_test_data): Likewise.
1004 (ctan_towardzero_test_data): Likewise.
1005 (ctan_downward_test_data): Likewise.
1006 (ctan_upward_test_data): Likewise.
1007 (ctanh_test_data): Likewise.
1008 (ctanh_tonearest_test_data): Likewise.
1009 (ctanh_towardzero_test_data): Likewise.
1010 (ctanh_downward_test_data): Likewise.
1011 (ctanh_upward_test_data): Likewise.
1012 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1013 mpc_c_c.
1014 (func_calc_desc): Add mpc_c_c union field.
1015 (FUNC_mpc_c_c): New macro.
1016 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1017 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1018 ctanh.
1019 (special_fill_min_subnorm_p120): New function.
1020 (special_real_inputs): Add min_subnorm_p120.
1021 (calc_generic_results): Handle mpc_c_c.
1022 * sysdeps/i386/fpu/libm-test-ulps: Update.
1023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1024
5ff8d60e
SP
10252013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1026
392dd2de
SP
1027 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1028 do_sin_slow): New functions.
1029 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1030 cslow2, csloww1, csloww2): Use the new functions.
1031
84ba214c
SP
1032 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1033 Use M to change sign of result instead of X. Assume X is
1034 positive.
1035 (csloww1): Likewise.
1036 (__sin): Adjust.
1037 (__cos): Adjust.
1038
975195e4
SP
1039 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1040 arguments A and DA.
1041 (__sin): Adjust.
1042 (__cos): Likewise.
1043
5ff8d60e
SP
1044 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1045 (__cos): Likewise.
1046 (sloww1): Don't adjust sign of DX.
1047 (csloww1): Likewise.
1048 (sloww2): Use X directly and don't adjust sign of DX.
1049 (csloww2): Likewise.
1050
eb983568
JM
10512013-12-19 Joseph Myers <joseph@codesourcery.com>
1052
64a17f1a
JM
1053 * math/auto-libm-test-in: Add tests of cabs and carg.
1054 * math/auto-libm-test-out: Regenerated.
1055 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1056 (carg_test_data): Likewise.
1057 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1058 mpc_c_f.
1059 (func_calc_desc): Add mpc_c_f union field.
1060 (test_functions): Add cabs and carg.
1061 (calc_generic_results): Handle mpc_c_f.
1062
eb983568
JM
1063 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1064 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1065 as a macro and a compat symbol.
1066 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1067 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1068 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1069 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1070 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1071 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1072 not use .hidden.
1073 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1074 Likewise.
1075 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1076 Likewise.
1077 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1078 Likewise.
1079 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1080 Likewise.
1081 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1082 Likewise.
1083 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1084 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1085 from GLIBC_2.3.2.
1086
6eeb678a
AZ
10872013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1088
1089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1090
6f6fc482
JM
10912013-12-19 Joseph Myers <joseph@codesourcery.com>
1092
21fea2e2
JM
1093 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1094 trailing whitespace removed.
1095 * scripts/config.guess: Update to version 2013-11-29.
1096 * scripts/config.sub: Update to version 2013-10-01.
1097
6f6fc482
JM
1098 * math/auto-libm-test-in: Add tests of sincos.
1099 * math/auto-libm-test-out: Regenerated.
1100 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1101 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1102 mpfr_f_11.
1103 (func_calc_desc): Add mpfr_f_11 union field.
1104 (test_functions): Add sincos.
1105 (calc_generic_results): Handle mpfr_f_11.
1106 * sysdeps/i386/fpu/libm-test-ulps: Update.
1107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1108
83f5c32d
AS
11092013-12-19 Andreas Schwab <schwab@suse.de>
1110
1111 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1112 CALL_MCOUNT.
1113 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1114 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1115 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1116
c688b419
JM
11172013-12-19 Joseph Myers <joseph@codesourcery.com>
1118
335ee092
JM
1119 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1120 * sysdeps/i386/fpu/libm-test-ulps: Update.
1121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1122
f88acd39
JM
1123 [BZ #16293]
1124 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1125 round-to-nearest mode when using frndint.
1126 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1127 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1128 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1129 Likewise.
1130 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1131 sinh test to fail.
1132 * math/auto-libm-test-out: Regenerated.
1133 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1134 (TEST_COND_x86): Likewise.
1135 (expm1_tonearest_test_data): New array.
1136 (expm1_test_tonearest): New function.
1137 (expm1_towardzero_test_data): New array.
1138 (expm1_test_towardzero): New function.
1139 (expm1_downward_test_data): New array.
1140 (expm1_test_downward): New function.
1141 (expm1_upward_test_data): New array.
1142 (expm1_test_upward): New function.
1143 (main): Run the new test functions.
1144 * sysdeps/i386/fpu/libm-test-ulps: Update.
1145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1146
c688b419
JM
1147 * include/features.h: Update comment documenting feature test
1148 macros. Mention _DEFAULT_SOURCE in comment.
1149 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1150 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1151 _BSD_SOURCE and _SVID_SOURCE.
1152 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1153 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1154 !_SVID_SOURCE]: Likewise.
1155 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1156 (__USE_POSIX_IMPLICITLY): Define.
1157 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1158 (_POSIX_SOURCE): Undefine and redefine.
1159 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1160 (_POSIX_C_SOURCE): Likewise.
1161 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1162 (Feature Test Macros): Update documentation of default features.
1163
9f6e964c
RS
11642013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1165
1166 * benchtests/Makefile: Add bench-strtok.
1167 * benchtests/bench-strtok.c: New file: strtok benchtest.
1168
ee0a148a
AM
11692013-12-19 Allan McRae <allan@archlinux.org>
1170
1171 * manual/install.texi: Suppress menu for plain text output.
1172 * INSTALL: Regenerated.
1173
b9ab448f
BM
11742013-12-18 Brooks Moses <bmoses@google.com>
1175
1176 [BZ #15846]
1177 * misc/getauxval.c: Include errno.h.
1178 (__getauxval): Set errno to ENOENT if the requested type is not
1179 found.
1180 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1181 don't declare with __attribute_const__.
1182 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1183 * manual/startup.texi: Document that getauxval sets errno.
1184
23776487
JM
11852013-12-18 Joseph Myers <joseph@codesourcery.com>
1186
f889953b
JM
1187 * math/auto-libm-test-in: Add tests of jn and yn.
1188 * math/auto-libm-test-out: Regenerated.
1189 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1190 (yn_test_data): Likewise.
1191 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1192 mpfr_if_f.
1193 (func_calc_desc): Add mpfr_if_f union field.
1194 (FUNC_mpfr_if_f): New macro.
1195 (test_functions): Add jn and yn.
1196 (calc_generic_results): Assert type of second input for
1197 mpfr_ff_f. Handle mpfr_if_f.
1198 (output_for_one_input_case): Disable all checking for arguments
1199 fitting floating-point types in case of an integer argument.
1200 * sysdeps/i386/fpu/libm-test-ulps: Update.
1201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1202
23776487
JM
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1204 Don't expect fegetround reference in libm.so.
1205
cb756c6d
MS
12062013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1207
1208 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1209 $(config-cflags-nofma).
1210
2dec468f
JM
12112013-12-18 Joseph Myers <joseph@codesourcery.com>
1212
5953eb3a
JM
1213 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1214 * math/auto-libm-test-out: Regenerated.
1215
2dec468f
JM
1216 [BZ #16338]
1217 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1218 to determine exponent and adjust argument to have exponent of -1.
1219 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1220 log2.
1221 * math/auto-libm-test-out: Regenerated.
1222 * sysdeps/i386/fpu/libm-test-ulps: Update.
1223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1224
4d84e6ad
OB
12252013-12-18 Ondřej Bílka <neleai@seznam.cz>
1226
1227 * manual/probes.texi: Remove cases when per-thread arenas are
1228 disabled.
1229
1818483b
AS
12302013-12-18 Andreas Schwab <schwab@suse.de>
1231
1232 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1233 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1234 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1235 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1236 * sysdeps/i386/i686/multiarch/Makefile: Update.
1237 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1238
25de95bf
JM
12392013-12-17 Joseph Myers <joseph@codesourcery.com>
1240
1241 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1242 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1243
674762d9
PE
12442013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1245
ed27ed83 1246 [BZ #15968]
0748546f
PE
1247 Support TZ transition times < 00:00:00.
1248 This is needed for version-3 tz-format files; it supports time
1249 stamps past 2037 for America/Godthab (the only entry in the tz
1250 database for which this change is relevant).
1251 * manual/time.texi (TZ Variable): Document transition times
1252 from -167:59:59 through -00:00:01.
1253 * time/tzset.c (tz_rule): Time of day is now signed.
1254 (__tzset_parse_tz): Parse negative time of day.
1255
4480e934
PE
1256 Document TZ transition times >= 25:00:00.
1257 * manual/time.texi (TZ Variable): Document transition times from
1258 25:00:00 through 167:59:59. These are already supported, and this
1259 support will help with version-3 tz-format files.
1260
69947401
PE
1261 * manual/time.texi (TZ Variable): Modernize North America example
1262 to reflect current (i.e., 2007-and-later) daylight saving rules.
1263
674762d9
PE
1264 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1265
7011c262
JM
12662013-12-17 Joseph Myers <joseph@codesourcery.com>
1267
2fc6557e
JM
1268 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1269 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1270 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1271 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1272 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1273 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1274 * sysdeps/unix/bsd/clock.c: Likewise.
1275 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1276 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1277 * sysdeps/unix/bsd/init-posix.c: Likewise.
1278 * sysdeps/unix/bsd/poll.c: Likewise.
1279 * sysdeps/unix/bsd/ptsname.c: Likewise.
1280 * sysdeps/unix/bsd/seekdir.c: Likewise.
1281 * sysdeps/unix/bsd/setegid.c: Likewise.
1282 * sysdeps/unix/bsd/seteuid.c: Likewise.
1283 * sysdeps/unix/bsd/setgid.c: Likewise.
1284 * sysdeps/unix/bsd/setrgid.c: Likewise.
1285 * sysdeps/unix/bsd/setruid.c: Likewise.
1286 * sysdeps/unix/bsd/setsid.c: Likewise.
1287 * sysdeps/unix/bsd/setuid.c: Likewise.
1288 * sysdeps/unix/bsd/sigaction.c: Likewise.
1289 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1290 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1291 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1292 * sysdeps/unix/bsd/telldir.c: Likewise.
1293 * sysdeps/unix/bsd/times.c: Likewise.
1294 * sysdeps/unix/bsd/usleep.c: Likewise.
1295
029c7b25
JM
1296 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1297 ($(objpfx)libbsd-compat.a): Remove rule.
1298
7011c262
JM
1299 * include/features.h (__FAVOR_BSD): Do not define.
1300 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1301 features conflicting with POSIX.
1302 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1303 (_BSD_SOURCE): Remove description of not being a subset of other
1304 feature test macros.
1305 * manual/job.texi (getpgrp): Do not document BSD version.
1306 (getpgid): Do not document by reference to BSD getpgrp.
1307 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1308 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1309 * signal/signal.h [__FAVOR_BSD]: Likewise.
1310 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1311 instead of making contents conditional on [__FAVOR_BSD].
1312 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1313
affb6f78
AZ
13142013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1315
1316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1317
c88769dd
JM
13182013-12-17 Joseph Myers <joseph@codesourcery.com>
1319
6432a540
JM
1320 [BZ #16314]
1321 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1322 values below 2**-450, not 2**-500.
1323 * math/auto-libm-test-in: Don't allow spurious underflow from
1324 hypot.
1325 * math/auto-libm-test-out: Regenerated.
1326
c88769dd
JM
1327 [BZ #16316]
1328 [BZ #16330]
1329 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1330 values of ha and hb and sort them after adjusting subnormal
1331 arguments.
1332 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1333 Likewise.
1334 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1335 values of ea and eb and sort them after adjusting subnormal
1336 arguments.
1337 * math/auto-libm-test-in: Do not expect some hypot tests of
1338 subnormals to fail. Add more hypot tests.
1339 * math/auto-libm-test-out: Regenerated.
1340
29618f6b
KK
13412013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1342
1343 [BZ #13304]
1344 * sysdeps/sh/s_fma.c: New file.
1345 * sysdeps/sh/s_fmaf.c: New file.
1346 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1347 version.
1348 * sysdeps/sh/Implies: Add sh/soft-fp.
1349
eacfdfbf
RM
13502013-12-16 Roland McGrath <roland@hack.frob.com>
1351
1352 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1353 level of indirection to members `objname', `errstring', `malloced'.
1354 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1355 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1356 it as the __longjmp argument (just pass 1 instead).
1357 (_dl_catch_error): Initialize C with argument pointers and address of
1358 volatile local ERRCODE rather than copying values out of C at return.
1359
ff362e5b
JM
13602013-12-16 Joseph Myers <joseph@codesourcery.com>
1361
1362 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1363 * math/auto-libm-test-out: Regenerated.
1364 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1365 (hypot_test_data): Likewise.
1366 (pow_test_data): Likewise.
1367 (pow_tonearest_test_data): Likewise.
1368 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1369 mpfr_ff_f.
1370 (func_calc_desc): Add mpfr_ff_f union field.
1371 (FUNC_mpfr_ff_f): New macro.
1372 (test_functions): Add atan2, hypot and pow.
1373 (special_fill_min): New function.
1374 (special_fill_minus_min): Likewise.
1375 (special_fill_min_subnorm): Likewise.
1376 (special_fill_minus_min_subnorm): Likewise.
1377 (special_real_inputs): Add min, -min, min_subnorm and
1378 -min_subnorm.
1379 (calc_generic_results): Handle mpfr_ff_f.
1380 * sysdeps/i386/fpu/libm-test-ulps: Update.
1381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1382
5764c27f
WN
13832013-12-16 Will Newton <will.newton@linaro.org>
1384
1385 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1386 (Aligned Memory Blocks): Add documentation for aligned_alloc
1387 and suggest it as an alternative to posix_memalign.
1388 (Hooks for Malloc): Document __memalign_hook is also called
1389 for aligned_alloc. (Summary of Malloc): Add summary for
1390 aligned alloc. Document __memalign_hook is also called
1391 for aligned_alloc.
1392
0a096e44
WN
13932013-12-16 Will Newton <will.newton@linaro.org>
1394
1395 * manual/memory.texi (Malloc Examples): Clarify default
1396 alignment documentation. Suggest posix_memalign rather
1397 than memalign or valloc.
1398 (Aligned Memory Blocks): Remove suggestion to use memalign
1399 or valloc. Remove obsolete comment about BSD.
1400 Document memalign errno values and mark the function obsolete.
1401 Document posix_memalign returned error codes. Mark valloc
1402 as obsolete. (Hooks for Malloc): __memalign_hook is also
1403 called for posix_memalign and valloc.
1404 (Summary of Malloc): Add posix_memalign to function summary.
1405 __memalign_hook is also called for posix_memalign and valloc.
1406
8d561986
SP
14072013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1408
1409 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1410 TAYLOR_SIN.
1411 (__sin): Adjust.
1412 (__cos): Likewise.
1413 (sloww): Use mynumber union. Expand ternary operator into
1414 if-else statements.
1415 (cslow): use mynumber union.
1416
73616a74
AM
14172013-12-16 Allan McRae <allan@archlinux.org>
1418
9e8ac24b
AM
1419 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1420 * configure: Regenerated.
1421
6f8e37eb
AM
1422 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1423
8894bad3
AM
1424 [BZ #14120]
1425 * configure.ac: Added --enable-maintainer-mode. Check for
1426 autoconf when enabled.
1427 * configure: Regenerated.
1428
73616a74
AM
1429 * nscd/nscd.service: New file.
1430 * nscd/nscd.tmpfiles: New file.
1431
584b18eb
OB
14322013-12-14 Ondřej Bílka <neleai@seznam.cz>
1433
1434 [BZ #12100]
1435 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1436 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1437 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1438 (strstr): Add __strstr_sse2_unaligned ifunc.
1439 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1440 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1441 (strcasestr): Remove __strcasestr_sse42 ifunc.
1442 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1443 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1445
8a5c7897
KK
14462013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1447
1448 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1449 * sysdeps/sh/bits/fenv.h: ... here.
1450 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1451
fd712ef3
AZ
14522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1455
42fcb46c
AZ
14562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1457
1458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1459 hypotf multiarch implementations.
1460 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1461 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1463 multiarch hypot for PPC64.
1464 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1465 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1466 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1467 multiarch hypotf for PPC64.
1468
83efded4
AZ
14692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470
1471 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1472 modff multiarch implementations.
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1476 multiarch modf for PPC64.
1477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1480 multiarch modff for PPC64.
1481
43e246d2
AZ
14822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1483
1484 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1485 and logl multiarch implementations.
1486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1489 multiarch logb for PPC64.
1490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1493 multiarch logb for PPC64.
1494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1497 multiarch logb for PPC64.
1498
8fdad123
AZ
14992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1500
1501 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1502 isinff multiarch implementation.
1503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1504 file.
1505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1507 multiarch isinf for PPC64.
1508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1509 file.
1510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1511 multiarch isinff for PPC64.
1512
1481d706
AZ
15132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1514
1515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1516 finitef multiarch implementation.
1517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1518 file.
1519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1521 multiarch finite for PPC64.
1522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1523 file.
1524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1525 multiarch finitef for PPC64.
1526
5ccd5fc8
AZ
15272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1528
1529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1530 lrint multiarch implementation.
1531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1532 file.
1533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1535 multiarch llrint for PPC64.
1536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1537 multiarch lrint for PPC64.
1538
2568f3fa
AZ
15392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1540
1541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1542 copysignf multiarch implementation.
1543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1544 file.
1545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1546 file.
1547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1548 multiarch copysign for PPC64.
1549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1550 multiarch copysignf for PPC64.
1551
1cb341fd
AZ
15522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553
1554 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1555 multiarch implementation.
1556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1557 file.
1558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1559 file.
1560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1561 file.
1562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1563 file.
1564 multiarch llround for PPC64.
1565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1566 multiarch trunc for PPC64.
1567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1568 multiarch truncf for PPC64.
1569
59a3e194
AZ
15702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1571
1572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1573 multiarch implementation.
1574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1575 file.
1576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1577 file.
1578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1579 file.
1580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1581 file.
1582 multiarch llround for PPC64.
1583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1584 multiarch round for PPC64.
1585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1586 multiarch roundf for PPC64.
1587
357fd3b4
AZ
15882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1589
1590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1591 multiarch implementation.
1592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1593 file.
1594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1595 file.
1596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1597 file.
1598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1599 file.
1600 multiarch llround for PPC64.
1601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1602 multiarch floor for PPC64.
1603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1604 multiarch floorf for PPC64.
1605
96770f12
AZ
16062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1607
1608 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1609 multiarch implementation.
1610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1611 file.
1612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1613 file.
1614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1615 file.
1616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1617 file.
1618 multiarch llround for PPC64.
1619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1620 multiarch ceil for PPC64.
1621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1622 multiarch ceilf for PPC64.
1623
c3627f6e
AZ
16242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1625
1626 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1627 multiarch implementation.
1628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1629 file.
1630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1631 file.
1632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1633 file.
1634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1635 multiarch llround for PPC64.
1636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1637 multiarch lround for PPC64.
1638
b2284ad7
AZ
16392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1640
1641 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1642 multiarch implementation.
1643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1646 file.
1647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1650 multiarch isnan for PPC64.
1651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1652 multiarch isnanf for PPC64.
1653
69bbc63d
AZ
16542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1655
1656 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1657 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1658 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1659 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1660 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1662
c24517c9
AZ
16632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1664
1665 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1666 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1667 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1669
a52374e8
AZ
16702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1671
1672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1673 multiarch implementations.
1674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1675 (__libc_ifunc_impl_list): Likewise.
1676 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1677 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1678 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1679 multiarch stpcpy for PPC64.
1680
7f5ec113
AZ
16812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1682
1683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1684 multiarch implementations.
1685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1686 (__libc_ifunc_impl_list): Likewise.
1687 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1688 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1689 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1690 multiarch strcpy for PPC64.
1691
e28bcd42
AZ
16922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1693
1694 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1695 redefine function name.
1696 (_wordcopy_fwd_dest_aligned): Likewise.
1697 (_wordcopy_bwd_aligned): Likewise.
1698 (_wordcopy_bwd_dest_aligned): Likewise.
1699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1700 multiarch implementations.
1701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1702 (__libc_ifunc_impl_list): Likewise.
1703 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1704 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1705 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1706 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1707 multiarch wcscpy for PPC64.
1708
92cacfce
AZ
17092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1710
1711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1712 multiarch implementations.
1713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1714 (__libc_ifunc_impl_list): Likewise.
1715 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1716 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1717 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1718 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1719 multiarch wcscpy for PPC64.
1720
7b714620
AZ
17212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1722
1723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1724 multiarch implementations.
1725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1726 (__libc_ifunc_impl_list): Likewise.
1727 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1728 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1729 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1730 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1731 multiarch wcsrchr for PPC64.
1732
16fd2ae3
AZ
17332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1734
1735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1736 multiarch implementations.
1737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1738 (__libc_ifunc_impl_list): Likewise.
1739 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1740 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1741 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1742 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1743 multiarch wcschr for PPC64.
1744
9ee2969b
AZ
17452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1746
1747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1748 multiarch implementations.
1749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1750 (__libc_ifunc_impl_list): Likewise.
1751 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1752 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1753 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1754 multiarch strchrnul for PPC64.
1755
372dc060
AZ
17562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1757
1758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1759 implementations.
1760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1761 (__libc_ifunc_impl_list): Likewise.
1762 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1763 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1764 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1765 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1766 strchr for PPC64.
1767
24c2c3b9
AZ
17682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1769
1770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1771 implementations.
1772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1773 (__libc_ifunc_impl_list): Likewise.
1774 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1775 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1776 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1777 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1778 strncmp for PPC64.
1779
1c92d9a0
AZ
17802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1781
1782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1783 multiarch implementations.
1784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1785 (__libc_ifunc_impl_list): Likewise.
1786 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1787 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1788 strncasecmp for PPC64.
1789 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1790 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1791 multiarch strncasecmp_l for PPC64.
1792
17de3ee3
AZ
17932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1794
1795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1796 multiarch implementations.
1797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1798 (__libc_ifunc_impl_list): Likewise.
1799 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1800 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1801 multiarch strcasecmp for PPC64.
1802 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1803 file.
1804 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1805 multiarch strcasecmp_l for PPC64.
1806
62982bf9
AZ
18072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1808
1809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1810 implementations.
1811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1812 (__libc_ifunc_impl_list): Likewise.
1813 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1814 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1815 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1816 strnlen for PPC64.
1817
a65f4904
AZ
18182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1819
1820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1821 implementations.
1822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1823 (__libc_ifunc_impl_list): Likewise.
1824 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1825 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1826 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1827 strlen for PPC64.
1828
1fd005ad
AZ
18292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1830
1831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1832 implementations.
1833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1834 (__libc_ifunc_impl_list): Likewise.
1835 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1836 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1837 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1838 rawmemrchr for PPC64.
1839
cd05ba91
AZ
18402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1841
1842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1843 implementation.
1844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1845 (__libc_ifunc_impl_list): Likewise.
1846 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1847 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1848 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1849 memrchr for PPC64.
1850
870f8676
AZ
18512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1852
1853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1854 implementation.
1855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1856 (__libc_ifunc_impl_list): Likewise.
1857 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1858 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1859 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1860 memchr for PPC64.
1861
f00be62b
AZ
18622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1863
1864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1865 implementation.
1866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1867 (__libc_ifunc_impl_list): Likewise.
1868 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1869 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1870 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1871 mempcpy for PPC64.
1872
8a29a3d0
AZ
18732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1874
1875 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1876 avoid cretion of __bzero symbol.
1877 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1878 Likewise.
1879 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1880 Likewise.
1881 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1882 Likewise.
1883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1884 multiarch implementations.
1885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1886 (__libc_ifunc_impl_list): Likewise.
1887 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1888 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1889 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1890 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1891 bzero for PPC32.
1892 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1893 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1894 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1895 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1896 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1897 memset for PPC64.
1898 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1899
07253fcf
AZ
19002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1901
1902 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1904 implementations.
1905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1906 (__libc_ifunc_impl_list): Likewise.
1907 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1908 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1909 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1910 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1911 memcmp for PPC64.
1912
b5beafbc
AZ
19132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1914
1915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1916 multiarch for POWER/PPC64.
1917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1918 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1919 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1920 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1921 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1922 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1923 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1924 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1925 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1926 memcpy for PPC64.
1927
5e6a4d4b
AZ
19282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1929
1930 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1931 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1932 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1933 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1934 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1935 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1936 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1937 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1938 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1939 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1940 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1941 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1942 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1943 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1944 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1952
ddfab6dc
KK
19532013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1954
1955 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1956
19b5525e
SP
19572013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1958
1959 * benchtests/Makefile (bench): Add exp2 and log2.
1960 (LDLIBS-bench-exp2): Add -lm.
1961 (LDLIBS-bench-log2): Likewise.
1962 * benchtests/exp2-inputs: New inputs file.
1963 * benchtests/log2-inputs: New inputs file.
1964 * benchtests/log-inputs: Add new inputs.
1965 * benchtests/tan-inputs: Likewise.
1966
196f7f5d
SP
19672013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1968
7a74607f
SP
1969 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1970 definition...
1971 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1972 csloww1, csloww2): ... from here.
1973
196f7f5d
SP
1974 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1975 instead of structures.
1976 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1977 (POLYNOMIAL): Likewise.
1978 (TAYLOR_SLOW): Likewise.
1979 (__sin): Likewise.
1980 (__cos): Likewise.
1981 (slow1): Likewise.
1982 (slow2): Likewise.
1983 (sloww): Likewise.
1984 (sloww1); Likewise.
1985 (sloww2): Likewise.
1986 (bsloww1): Likewise.
1987 (bsloww2): Likewise.
1988 (cslow2): Likewise.
1989 (csloww): Likewise.
1990 (csloww1): Likewise.
1991 (csloww2): Likewise.
1992
0dfa665c
OB
19932013-12-10 Ondřej Bílka <neleai@seznam.cz>
1994
1995 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1996 (__malloc_assert, __libc_realloc, __libc_calloc,
1997 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1998 memcpy and memset.
1999 * malloc/hooks.c (realloc_check): Likewise.
2000
5782a80f
OB
20012013-12-10 Ondřej Bílka <neleai@seznam.cz>
2002
2003 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2004 * malloc/arena.c: Remove PER_THREAD conditional.
2005 [!PER_THREAD]: Remove code.
2006 (ptmalloc_unlock_all2): Likewise.
2007 (ptmalloc_init): Likewise.
2008 (_int_new_arena): Likewise.
2009 (arena_get2): Likewise.
2010 * malloc/hooks.c (__malloc_get_state): Likewise.
2011 (__malloc_set_state): Likewise.
2012 * malloc/malloc.c: Likewise.
2013 (struct malloc_state): Likewise.
2014 (struct malloc_par): Likewise.
2015 (__libc_realloc): Likewise.
2016 (__libc_mallopt): Likewise.
2017
aeb95445
AZ
20182013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2019
2020 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2021
e8349efd
OB
20222013-12-09 Ondřej Bílka <neleai@seznam.cz>
2023
2024 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2025 macro to a function. Check for zero perturb_byte.
2026 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2027
f3eeb3fc
OB
20282013-12-09 Ondřej Bílka <neleai@seznam.cz>
2029
2030 * malloc/malloc.c: (force_reg): Remove.
2031 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2032 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2033 force_reg by atomic_forced_read.
2034 * malloc/arena.c (ptmalloc_init): Likewise.
2035 * malloc/hooks.c (top_check): Likewise.
2036
be2f9009
AZ
20372013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2038
2039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2040
e7b914bd
MT
20412013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2042
2043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2044
9f0be4f8
JM
20452013-12-08 Joseph Myers <joseph@codesourcery.com>
2046
2047 * math/auto-libm-test-in: Add tests of lgamma.
2048 * math/auto-libm-test-out: Regenerated.
2049 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2050 (M_LOG_2_SQRT_PIl): Likewise.
2051 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2052 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2053 mpfr_f_f1.
2054 (func_calc_desc): Add mpfr_f_f1 union field.
2055 (ARGS1): New macro.
2056 (ARGS2): Likewise.
2057 (ARGS3): Likewise.
2058 (ARGS4): Likewise.
2059 (RET1): Likewise.
2060 (RET2): Likewise.
2061 (CALC): Likewise.
2062 (FUNC): Likewise.
2063 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2064 (test_functions): Add lgamma.
2065 (calc_generic_results): Handle mpfr_f_f1.
2066 * sysdeps/i386/fpu/libm-test-ulps: Update.
2067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2068
24eeafdb
AZ
20692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2070
2071 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2072 __mpn_add_n for PowerPC64/POWER7.
2073 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2074 __mpn_sub_n for PowerPC64/POWER7.
2075
4a2c0fd4
AZ
20762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2077
2078 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2079 __mpn_addmul_1 for PowerPC64.
2080 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2081 __mpn_submul_1 for PowerPC64.
2082 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2083 for PowerPC64.
2084 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2085 for PowerPC64.
2086
4b5b548c
FS
20872013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2088
2089 [BZ #15089]
2090 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2091
0a3ac0aa
AZ
20922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2093
2094 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2095
ccdc8438
AZ
20962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2097
2098 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2099 add multiarch folders.
2100 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2101 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2102 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2103 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2104 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2105 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2106 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2107 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2108 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2109 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2110 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2117
2e973d99
AZ
21182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2119
2120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2121 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2123 New file.
2124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2125 New file.
2126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2127 multiarch __ieee754_hypot for PowerPC32.
2128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2129 New file.
2130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2131 New file.
2132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2133 multiarch __ieee754_hypotf for PowerPC32.
2134
2d9470b2
AZ
21352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136
2137 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2138 long_double_symbol only if __logbl is defined.
2139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2140 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2141 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2142 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2143 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2144 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2145 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2146 path for implementation.
2147 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2148 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2150 logb, and logbl multiarch implementations for PowerPC32.
2151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2152 file.
2153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2154 file.
2155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2156 multiarch logb for PowerPC32.
2157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2158 file.
2159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2160 file.
2161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2162 multiarch logbf for PowerPC32.
2163 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2165 file.
2166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2167 multiarch logbl implementation for PowerPC32.
2168
5212ffce
AZ
21692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2170
2171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2172 and modff multiarch implementations.
2173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2174 New file.
2175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2176 New file.
2177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2178 multiarch modf for PowerPC32.
2179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2180 New file.
2181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2182 New file.
2183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2184 multiarch modff for PowerPC32.
2185
79dccf31
AZ
21862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2187
2188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2189 and lrintf multiarch implementations.
2190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2191 New file.
2192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2193 New file.
2194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2195 multiarch lrint for PowerPC32.
2196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2197 file: multiarch lrintf for PowerPC32.
2198
deb66480
AZ
21992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2200
2201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2202 and lroundf multiarch implementations.
2203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2204 New file.
2205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2206 New file.
2207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2208 New file.
2209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2210 multiarch lround for PowerPC32.
2211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2212 file: multiarch lroundf for PowerPC32.
2213
264b036b
AZ
22142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2215
2216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2217 copysign and copysignf multiarch implementations.
2218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2219 New file.
2220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2221 New file.
2222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2223 file: multiarch copysign for PowerPC32.
2224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2225 file: multiarch copysignf for PowerPC32.
2226
d47db6c9
AZ
22272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2228
2229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2230 and truncf multiarch implementations.
2231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2232 New file.
2233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2234 file.
2235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2236 multiarch trunc for PowerPC32.
2237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2238 New file.
2239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2240 New file.
2241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2242 multiarch truncf for PowerPC32.
2243
ddb60b5a
AZ
22442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2245
2246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2247 and roundf multiarch implementations.
2248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2249 New file.
2250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2251 file.
2252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2253 multiarch round for PowerPC32.
2254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2255 New file.
2256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2257 New file.
2258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2259 multiarch roundf for PowerPC32.
2260
bedcf49b
AZ
22612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2262
2263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2264 and floorf multiarch implementations.
2265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2266 New file.
2267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2268 file.
2269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2270 multiarch floor for PowerPC32.
2271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2272 New file.
2273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2274 New file.
2275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2276 multiarch floorf for PowerPC32.
2277
35ae5b40
AZ
22782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2279
2280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2281 and ceilf multiarch implementations.
2282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2283 New file.
2284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2285 file.
2286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2287 multiarch ceil for PowerPC32.
2288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2289 New file.
2290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2291 file.
2292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2293 multiarch ceilf for PowerPC32.
2294
ae1a4cd9
AZ
22952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2296
2297 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2298 is defined.
2299 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2300 FINITEF is defined.
2301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2302 and finitef multiarch implementations.
2303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2304 New file.
2305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2306 file.
2307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2308 multiarch finite for PowerPC32.
2309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2310 New file.
2311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2312 file: multiarch finitef for PowerPC32.
2313
64fffd65
AZ
23142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2315
2316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2317 and isinff multiarch implementations.
2318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2319 file.
2320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2321 file.
2322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2323 multiarch isinf for PowerPC32.
2324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2325 New file.
2326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2327 multiarch isinff for PowerPC32.
2328
8e4e7ba2
AZ
23292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2330
2331 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2332 alias when __isnan is defined.
2333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2334 and isnanf multiarch implementations.
2335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2336 file.
2337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2338 file.
2339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2340 file.
2341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2342 file.
2343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2344 multiarch isnan for PowerPC32.
2345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2346 New file.
2347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2348 New file.
2349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2350 multiarch isnanf for PowerPC32.
2351
ddba588e
AZ
23522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2353
2354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2355 and sqrtf multiarch implementations.
2356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2357 file.
2358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2359 file.
2360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2361 multiarch sqrt for PowerPC32.
2362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2363 file.
2364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2365 file.
2366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2367 multiarch sqrtf for PowerPC32.
2368
0f96a2f0
AZ
23692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2370
2371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2372 and llroundf multiarch implementations.
2373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2374 New file.
2375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2376 New file.
2377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2378 New file.
2379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2380 file: multiarch llround for PowerPC32.
2381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2382 file: multiarch llroundf for PowerPC32.
2383
c9b5d79e
AZ
23842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2385
2386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2387 multiarch PowerPC32 fpu implementations.
2388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2389 New file.
2390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2391 New file.
2392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2393 multiarch llrint for PowerPC32.
2394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2395 New file.
2396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2397 New file.
2398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2399 file.
2400
9cbb3aab
AZ
24012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2402
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2404
ea5a72f8
AZ
24052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2406
2407 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2408 file.
2409 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2410 file.
2411 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2412 file.
2413 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2414 multiarch wordcopy for PPC32.
2415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2416 wordcopy objects.
2417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2418 (__libc_ifunc_impl_list): Likewise.
2419 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2420 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2421 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2422 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2423 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2424 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2425
93be09e7
AZ
24262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2427
2428 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2429 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2430 file.
2431 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2432 file.
2433 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2434 file.
2435 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2436 multiarch wcscpy for PPC32.
2437 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2438 multiarch objects.
2439 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2440 (__libc_ifunc_impl_list): Likewise.
2441 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2442 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2443 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2444 sysdeps/powerpc/power6/wcscpy.c.
2445
bb04e529
AZ
24462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2447
2448 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2449 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2450 file.
2451 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2452 file.
2453 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2454 file.
2455 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2456 multiarch wcsrchr for PPC32.
2457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2458 multiarch objects.
2459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2460 (__libc_ifunc_impl_list): Likewise.
2461 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2462 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2463 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2464 sysdeps/powerpc/power6/wcsrchr.c.
2465
05b5cd1c
AZ
24662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2467
2468 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2469 file.
2470 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2471 file.
2472 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2474 multiarch wcschr for PPc32.
2475 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2476 multiarch objects.
2477 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2478 (__libc_ifunc_impl_list): Likewise.
2479 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2480 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2481 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2482 sysdeps/powerpc/power6/wcschr.c.
2483
ba964147
AZ
24842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2485
2486 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2487 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2488 file.
2489 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2490 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2491 file: multiarch strchr for PPC32.
2492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2493 multiarch objects.
2494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2495 (__libc_ifunc_impl_list): Likewise.
2496
31c81aaa
AZ
24972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2498
2499 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2500 name.
2501 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2502 file.
2503 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2504 file.
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2506 multiarch strchrnul for PPC32.
2507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2508 multiarch objects.
2509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2510 (__libc_ifunc_impl_list): Likewise.
2511
0d0607d9
AZ
25122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2513
2514 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2515 file.
2516 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2517 multiarch strncasecmp for PPC32.
2518 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2519 file.
2520 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2521 multiarch strncasecmp_l for PPC32.
2522 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2523 strncasecmp multiarch objects.
2524 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2525 (__libc_ifunc_impl_list): Likewise.
2526
4dfd5c86
AZ
25272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2528
2529 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2530 file.
2531 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2532 multiarch strncasecmp for PPC32.
2533 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2534 New file.
2535 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2536 multiarch strcasecmp_l for PPC32.
2537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2538 multiarch objects.
2539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2540 (__libc_ifunc_impl_list): Likewise.
2541
a19e01a3
AZ
25422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2543
2544 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2545 file.
2546 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2547 file.
2548 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2549 multiarch strncmp for PPC32.
2550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2551 multiarch objects.
2552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2553 (__libc_ifunc_impl_list): Likewise.
2554
ae9cf7a2
AZ
25552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2556
2557 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2558 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2559 file.
2560 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2561 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2563 multiarch objects.
2564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2565 (__libc_ifunc_impl_list): Likewise.
2566
3148bb7d
AZ
25672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2568
2569 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2570 file.
2571 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2572 file.
2573 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2574 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2575 multiarch objects.
2576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2577 (__libc_ifunc_impl_list): Likewise.
2578
7af8b946
AZ
25792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2580
2581 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2582 file.
2583 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2584 file.
2585 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2586 multiarch rawmemchr for PPC32.
2587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2588 multiarch objects.
2589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2590 (__libc_ifunc_impl_list): Likewise.
2591
03a6aa6a
AZ
25922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2593
2594 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2595 file.
2596 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2597 file.
2598 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2599 file: memrchr multiarch for PPC32.
2600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2601 multiarch objects.
2602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2603 (__libc_ifunc_impl_list): Likewise.
2604
1c62e6d9
AZ
26052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2606
2607 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2608 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2609 file.
2610 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2611 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2612 multiarch memchr for PPC32.
2613 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2614 multiarch objects.
2615 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2616 (__libc_ifunc_impl_list): Likewise.
2617
87da8bdb
AZ
26182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2619
2620 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2621 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2622 file.
2623 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2624 file.
2625 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2626 file: multiarch mempcpy for PPC32.
2627 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2628 multiarch objects.
2629 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2630 (__libc_ifunc_impl_list): Likewise.
2631
20ed4714
AZ
26322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2633
2634 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2635 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2636 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2637 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2638 multiarch bzero for PPC32.
2639 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2640 file.
2641 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2642 file.
2643 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2644 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2645 file: multiarch memset for PPC32.
2646 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2647 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2648 memset multiarch objects.
2649 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2650 (__libc_ifunc_impl_list): Likewise.
2651
ab3e3a46
AZ
26522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2653
2654 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2655 file.
2656 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2657 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2658 memcmp for PPC32.
2659 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2660 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2661 multiarch objects.
2662 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2663 (__libc_ifunc_impl_list): Likewise.
2664
930de6f0
AZ
26652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2666
2667 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2668 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2669 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2670 file.
2671 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2672 file.
2673 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2674 file.
2675 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2676 multiarch memcpy for PPC32.
2677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2678 multiarch objects.
2679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2680 (__libc_ifunc_impl_list): Likewise.
2681
4c628e00
AZ
26822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2683
2684 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2685 support multiarch for POWER/PPC32.
2686 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2687 Likewise.
2688 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2690 Implies file to make multiarch folder appers before the fpu and
2691 default folder for power4 configuration.
2692
f4479220
SP
26932013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2694
2695 * scripts/bench.pl: Append volatile keyword to type.
2696
8517800f
KK
26972013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2698
2699 * sysdeps/sh/sotruss-lib.c: New file.
2700 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2701
180138f1
AZ
27022013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2703
2704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2705
bbf37bdc
JM
27062013-12-05 Joseph Myers <joseph@codesourcery.com>
2707
e47cc4e0
JM
2708 [BZ #6810]
2709 * math/w_tgamma.c: Include <errno.h>.
2710 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2711 * math/w_tgammaf.c: Include <errno.h>.
2712 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2713 * math/w_tgammal.c: Include <errno.h>.
2714 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2715 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2716 underflow. Add more tgamma tests.
2717 * math/auto-libm-test-out: Regenerated.
2718 * sysdeps/i386/fpu/libm-test-ulps: Update.
2719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2720
bbf37bdc
JM
2721 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2722 sin, sinh, tan, tanh, tgamma, y0 and y1.
2723 * math/auto-libm-test-out: Regenerated.
2724 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2725 (TEST_COND_x86): Likewise.
2726 (M_E2l): Remove macro.
2727 (M_E3l): Likewise.
2728 (M_2_SQRT_PIl): Likewise.
2729 (M_SQRT_PIl): Likewise.
2730 (M_1_DIV_El): Likewise.
2731 (log_test_data): Use AUTO_TESTS_f_f.
2732 (log10_test_data): Likewise.
2733 (log1p_test_data): Likewise.
2734 (log2_test_data): Likewise.
2735 (sin_test_data): Likewise.
2736 (sin_tonearest_test_data): Likewise.
2737 (sin_towardzero_test_data): Likewise.
2738 (sin_downward_test_data): Likewise.
2739 (sin_upward_test_data): Likewise.
2740 (sinh_test_data): Likewise.
2741 (sinh_tonearest_test_data): Likewise.
2742 (sinh_towardzero_test_data): Likewise.
2743 (sinh_downward_test_data): Likewise.
2744 (sinh_upward_test_data): Likewise.
2745 (tan_test_data): Likewise.
2746 (tan_tonearest_test_data): Likewise.
2747 (tan_towardzero_test_data): Likewise.
2748 (tan_downward_test_data): Likewise.
2749 (tan_upward_test_data): Likewise.
2750 (tanh_test_data): Likewise.
2751 (tgamma_test_data): Likewise.
2752 (y0_test_data): Likewise.
2753 (y1_test_data): Likewise.
2754 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2755 (special_real_inputs): Add pi/4.
2756 * sysdeps/i386/fpu/libm-test-ulps: Update.
2757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2758
eb5ad6b9
AZ
27592013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2760
2761 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2762 "longjmp_target" static probes.
2763 (__longjmp): Rename to __longjmp_symbol.
2764 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2765 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2766 on which longjmp to generate.
2767 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2768 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2769 probe.
2770 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2771 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2772 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2773 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2774 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2775 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2777 __longjmp_symbol based on which __longjmp to generate.
2778 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2779 probe.
2780 (setjmp): Rename to setjmp_symbol.
2781 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2782 (_setjmp): Rename to _setjmp_symbol.
2783 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2784 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2785 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2786 which setjmp to generate.
2787 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2788 "longjmp_target" static probes.
2789
d136c6dc
SP
27902013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2791
9298ecba
SP
2792 * benchtests/README: Add note about output arguments.
2793 * benchtests/bench-sincos.c: Remove file.
2794 * benchtests/sincos-inputs: New file.
2795 * scripts/bench.pl: Identify output arguments and define
2796 static variables for them.
2797
232983e9
SP
2798 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2799
d136c6dc
SP
2800 [BZ #15941]
2801 * Makefile (INSTALL): Add install-plain.texi as the primary
2802 dependency.
2803 * manual/install-plain.texi: New file.
2804 * manual/install.texi: Include node directive only for
2805 non-plaintext output.
2806
699ff837
JM
28072013-12-04 Joseph Myers <joseph@codesourcery.com>
2808
ab07cea8
JM
2809 * stdlib/longlong.h: Update from GCC.
2810
699ff837
JM
2811 [BZ #6807]
2812 [BZ #15901]
2813 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2814 * math/w_j0f.c (y0f): Likewise.
2815 * math/w_j0l.c (__y0l): Likewise.
2816 * math/w_j1.c (y1): Likewise.
2817 * math/w_j1f.c (y1f): Likewise.
2818 * math/w_j1l.c (__y1l): Likewise
2819 * math/w_jn.c (yn): Likewise.
2820 * math/w_jnf.c (ynf): Likewise.
2821 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2822 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2823 value for Bessel function domain errors outside _SVID_ mode.
2824 Adjust sign of return value for yn (negative integer, 0).
2825 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2826 by zero in return for negative x and set sign appropriately for
2827 negative n.
2828 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2829 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2830 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2831 expectations in error cases.
2832 (y1_test_data): Likewise.
2833 (yn_test_data): Likewise.
2834 * sysdeps/i386/fpu/libm-test-ulps: Update.
2835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2836
5b118558
UW
28372013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2838
2839 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2840 "64" to "64-v1". Add "64-v2".
2841 (abi-64-options): Rename to ...
2842 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2843 (abi-64-condition): Rename to ...
2844 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2845 (abi-64-ld-soname): Rename to ...
2846 (abi-64-v1-ld-soname): ... this.
2847 (abi-64-v2-options): Define.
2848 (abi-64-v2-condition): Likewise.
2849 (abi-64-v2-ld-soname): Likewise.
2850 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2851 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2855
61cd8fe4
UW
28562013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2857 Alan Modra <amodra@gmail.com>
2858
2859 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2860 New versions for use with the ELFv2 ABI.
2861 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2862 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2863 declaration.
2864 (struct La_ppc64v2_retval): Likewise.
2865 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2866 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2867 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2868 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2869 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2870 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2871 Do not save or restore CR.
2872 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2873 (_dl_profile_resolve): Do no save or restore CR. Support extended
2874 return values for ELFv2 ABI. Fix location of FPR return registers.
2875 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2876 updated values for _CALL_ELF == 2.
2877 (La_regs, La_retval, int_retval): Likewise.
2878
8b8a692c
UW
28792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2880
2881 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2882 (FRAME_MIN_SIZE_PARM): Likewise.
2883 (FRAME_BACKCHAIN): Likewise.
2884 (FRAME_CR_SAVE): Likewise.
2885 (FRAME_LR_SAVE): Likewise.
2886 (FRAME_TOC_SAVE): Likewise.
2887 (FRAME_PARM_SAVE): Likewise.
2888 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2889 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2890 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2891 (call_mcount_parm_offset): New macro.
2892 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2893 (PROF): Use symbolic stack frame offsets.
2894 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2895 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2896 Redefine in terms of FRAME_MIN_SIZE.
2897 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2898 (_dl_profile_resolve): Likewise. Update comment.
2899 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2900 symbols stack frame offsets.
2901 (__sigsetjmp): Likewise.
2902 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2903 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2904 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2905 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2906
2907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2908 (FRAME_BACKCHAIN): Remove.
2909 (FRAME_CR_SAVE): Likewise.
2910 (FRAME_LR_SAVE): Likewise.
2911 (FRAME_COMPILER_DW): Likewise.
2912 (FRAME_LINKER_DW): Likewise.
2913 (FRAME_TOC_SAVE): Likewise.
2914 (FRAME_PARM_SAVE): Likewise.
2915 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2916 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2917 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2919 (CHECK_SP): Use symbolic stack frame offsets.
2920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2921 zone" instead of caller's parameter save area for temp storage.
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2923 Likewise. Also, use symbolic stack frame offsets.
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2925 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2926 our own stack frame instead of the caller's.
2927 (__socket): Use symbolic stack frame offsets.
2928
122b66de
UW
29292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2930 Alan Modra <amodra@gmail.com>
2931
2932 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2933 Define.
2934 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2935 PPC64_LOCAL_ENTRY_OFFSET): Define.
2936 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2937 New function.
2938 (elf_machine_fixup_plt): Call it.
2939 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2940 reloc arguments.
2941 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2942 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2943 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2944 r2 before calling target.
2945
696caf1d
UW
29462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2947 Alan Modra <amodra@gmail.com>
2948
2949 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2950 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2951 versions of macros to support ELFv2 ABI.
2952 (LOCALENTRY): New macro.
2953 (ENTRY, EALIGN): Use it.
2954 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2955 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2956 fall through into ENTRY entry point.
2957 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2958 Only define if _CALL_ELF != 2.
2959
2960 (elf_machine_matches_host): Verify ABI version matches.
2961 (RTLD_START): Use LOCALENTRY.
2962 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2963 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2964 (PLT_ENTRY_WORDS): New macro.
2965 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2966 (elf_machine_runtime_setup): Support ELFv2 ABI.
2967 (elf_machine_fixup_plt): Likewise.
2968 (elf_machine_plt_conflict): Likewise.
2969 (resolve_ifunc): Likewise.
2970 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2971 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2972 Likewise.
2973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2974 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2976 (makecontext): Support ELFv2 ABI.
2977 * elf/elf.h (EF_PPC64_ABI): Define.
2978
d31beafa
UW
29792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2980
2981 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2982 New assembler macro.
2983 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2984 [ASSEMBLER] (ENTRY): ... but instead here ...
2985 [ASSEMBLER] (EALIGN): ... and here.
2986 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2987 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2988 [!ASSEMBLER] (ENTRY_2): Use it.
2989 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2990 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2991 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2992 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2993 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2995 Use PPC64_LOAD_FUNCPTR.
2996
b525166b
UW
29972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2998
2999 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3000
7ec07d9a
AM
30012013-12-04 Alan Modra <amodra@gmail.com>
3002
3003 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3004 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3005 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3006 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3007
3008 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3009 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3010 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3011 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3012 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3013 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3014
5162e7dd
UW
30152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3016
3017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3018 (__makecontext): Fix incorrect CFI when backtracing out of
3019 context created via makecontext.
3020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3021 (__setcontext): Fix incorrect CFI during switch to new context.
3022 (__novec_setcontext): Likewise.
3023
19e3372b
OB
30242013-12-04 Ondřej Bílka <neleai@seznam.cz>
3025
3026 [BZ #4772]
3027 * time/strptime_l.c (__strptime_internal): Allow modifiers
3028 in strptime.
3029 * time/tst-strptime.c (day_tests): Add testcase.
3030
3031
ecaf142d
SP
30322013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3033
3034 * scripts/bench.pl: Skip over blank lines.
3035
fbf964ae
PE
30362013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3037
3038 [BZ #926]
3039 * manual/time.texi (Calendar Time): Clarify what timezone functions
3040 use.
3041
fa60a674
AZ
30422013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3043
3044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3045
d674f0ef
OB
30462013-12-04 Ondřej Bílka <neleai@seznam.cz>
3047
3048 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3049 implementation.
3050 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3051 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3052 * debug/memset_chk.c (__memset_chk): Likewise.
3053 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3054 * debug/strncpy_chk.c: Likewise.
3055
17dea188
JM
30562013-12-03 Joseph Myers <joseph@codesourcery.com>
3057
749008ff
JM
3058 [BZ #15268]
3059 [BZ #15425]
3060 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3061 (__ieee754_exp): For possibly underflowing results, check size of
3062 result and force underflow exception if required.
3063 * math/auto-libm-test-in: Add more tests of exp.
3064 * math/auto-libm-test-out: Regenerated.
3065 * sysdeps/i386/fpu/libm-test-ulps: Update.
3066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3067
17dea188
JM
3068 [BZ #16283]
3069 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3070 * math/w_exp2f.c (__exp2f): Likewise.
3071 * math/w_exp2l.c (__exp2l): Likewise.
3072 * math/auto-libm-test-in: Do not allow missing errno on exp2
3073 underflow.
3074 * math/auto-libm-test-out: Regenerated.
3075
b20de2c3
OB
30762013-12-03 Ondřej Bílka <neleai@seznam.cz>
3077
3078 [BZ #16274]
3079 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3080 handle filename validation.
3081 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3082 (do_open): Delete.
3083
d8e2dbe3
JM
30842013-12-03 Joseph Myers <joseph@codesourcery.com>
3085
34e16df5
JM
3086 [BZ #6786]
3087 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3088 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3089 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3090 <float.h>.
3091 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3092 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3093 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3094 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3095 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3096 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3097 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3098 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3099 Add more erfc tests.
3100 * math/auto-libm-test-out: Regenerated.
3101 * sysdeps/i386/fpu/libm-test-ulps: Update.
3102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3103
d8e2dbe3
JM
3104 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3105 exp2, expm1, j0 and j1.
3106 * math/auto-libm-test-out: Regenerated.
3107 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3108 (erfc_test_data): Likewise.
3109 (exp_test_data): Likewise.
3110 (exp_tonearest_test_data): Likewise.
3111 (exp_towardzero_test_data): Likewise.
3112 (exp_downward_test_data): Likewise.
3113 (exp_upward_test_data): Likewise.
3114 (exp10_test_data): Likewise.
3115 (exp2_test_data): Likewise.
3116 (expm1_test_data): Likewise.
3117 (j0_test_data): Likewise.
3118 (j1_test_data): Likewise.
3119 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3120 (input_flag_type): Add flag_xfail_rounding.
3121 (input_flags): Add xfail-rounding.
3122 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3123 (output_for_one_input_case): Handle flag_xfail_rounding.
3124 * sysdeps/i386/fpu/libm-test-ulps: Update.
3125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3126
18d14251
AJ
31272013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3128
3d2e6075 3129 [BZ #16289]
18d14251
AJ
3130 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3131 division by 0.
3132
520d437b
SP
31332013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3134
3135 [BZ #16195]
3136 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3137 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3138 (STAP_PROBE0): New macro.
3139 (STAP_PROBE1): Likewise.
3140 (STAP_PROBE2): Likewise.
3141 (STAP_PROBE3): Likewise.
3142 (STAP_PROBE4): Likewise.
3143
416e0145
OB
31442013-12-02 Ondřej Bílka <neleai@seznam.cz>
3145
3146 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3147
9d17796a
SE
31482013-12-02 Steve Ellcey <sellcey@mips.com>
3149
3150 * benchtests/Makefile (bench): Add sqrt.
3151 (LDLIBS-bench-sqrt): New.
3152 * benchtests/sqrt-input: New.
3153
f524d6a8
PS
31542013-12-02 Pavel Simerda <psimerda@redhat.com>
3155
639a0ef8
PS
3156 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3157 (GAIH_EAI): Likewise.
3158 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3159 (gaih_inet): Likewise.
3160 (getaddrinfo): Don't use GAIH_EAI.
3161
f524d6a8
PS
3162 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3163 (struct gaih): Remove definition.
3164
df3aedaf
SP
31652013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3166
3167 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3168 Use HERRNOP directly.
3169
1ab19dec
AZ
31702013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3171
b42ad38d 3172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 3173
176b0c79
JM
31742013-11-30 Joseph Myers <joseph@codesourcery.com>
3175
3176 * math/gen-auto-libm-tests.c (test_functions): Add more
3177 single-argument functions.
3178 (special_fill_pi_2): New function.
3179 (special_fill_minus_pi_2): Likewise.
3180 (special_fill_pi_6): Likewise.
3181 (special_fill_minus_pi_6): Likewise.
3182 (special_fill_pi_3): Likewise.
3183 (special_fill_2pi_3): Likewise.
3184 (special_fill_e): Likewise.
3185 (special_fill_1_e): Likewise.
3186 (special_fill_e_minus_1): Likewise.
3187 (special_real_inputs): Add more special inputs.
3188 (output_for_one_input_case): Do not require ERANGE on underflow to
3189 zero if round-to-nearest result does not underflow to zero, unless
3190 exact results required.
3191 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3192 atan, atanh, cbrt, cos and cosh.
3193 * math/auto-libm-test-out: Regenerated.
3194 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3195 (acos_tonearest_test_data): Likewise.
3196 (acos_towardzero_test_data): Likewise.
3197 (acos_downward_test_data): Likewise.
3198 (acos_upward_test_data): Likewise.
3199 (acosh_test_data): Likewise.
3200 (asin_test_data): Likewise.
3201 (asin_tonearest_test_data): Likewise.
3202 (asin_towardzero_test_data): Likewise.
3203 (asin_upward_test_data): Likewise.
3204 (asinh_test_data): Likewise.
3205 (atan_test_data): Likewise.
3206 (atanh_test_data): Likewise.
3207 (cbrt_test_data): Likewise.
3208 (cos_test_data): Likewise.
3209 (cos_tonearest_test_data): Likewise.
3210 (cos_towardzero_test_data): Likewise.
3211 (cos_downward_test_data): Likewise.
3212 (cos_upward_test_data): Likewise.
3213 (cosh_test_data): Likewise.
3214 (cosh_tonearest_test_data): Likewise.
3215 (cosh_towardzero_test_data): Likewise.
3216 (cosh_downward_test_data): Likewise.
3217 (cosh_upward_test_data): Likewise.
3218 * sysdeps/i386/fpu/libm-test-ulps: Update.
3219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3220
ffb536d0
JM
32212013-11-29 Joseph Myers <joseph@codesourcery.com>
3222
2a77a467
JM
3223 [BZ #6787]
3224 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3225 * math/w_exp10f.c (__exp10f): Likewise.
3226 * math/w_exp10l.c (__exp10l): Likewise.
3227 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3228 errno settings in existing tests.
3229
ea3bc4e8
JM
3230 [BZ #14032]
3231 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3232 precision control set to double precision.
3233 * sysdeps/i386/fpu/w_sqrt.c: New file.
3234 * math/auto-libm-test-in: Add more tests.
3235 * math/auto-libm-test-out: Update.
3236
0712c9d8
JM
3237 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3238 (sqrt_test_tonearest): New function.
3239 (sqrt_towardzero_test_data): New variable.
3240 (sqrt_test_towardzero): New function.
3241 (sqrt_downward_test_data): New variable.
3242 (sqrt_test_downward): New function.
3243 (sqrt_upward_test_data): New variable.
3244 (sqrt_test_upward): New function.
3245 (main): Call the new functions.
3246
ffb536d0
JM
3247 * math/gen-auto-libm-tests.c: New file.
3248 * math/auto-libm-test-in: Likewise.
3249 * math/auto-libm-test-out: New generated file.
3250 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3251 variables.
3252 (%beautify): Add generated representations of zero.
3253 (top level): Set $auto_input and call parse_auto_input.
3254 (beautify): Remove trailing "f" from hex float constants.
3255 (parse_args): Handle XFAIL_TEST.
3256 (convert_condition): New function.
3257 (or_value): Likewise.
3258 (or_cond_value): Likewise.
3259 (generate_testfile): Handle AUTO_TESTS_* lines.
3260 (parse_auto_input): New function.
3261 * math/libm-test.inc (XFAIL_TEST): New macro.
3262 (ERRNO_UNCHANGED): Update value.
3263 (ERRNO_EDOM): Likewise.
3264 (ERRNO_ERANGE): Likewise.
3265 (IGNORE_RESULT): Likewise.
3266 (TEST_COND_flt_32): New macro.
3267 (TEST_COND_dbl_64): Likewise.
3268 (TEST_COND_ldbl_96_intel): Likewise.
3269 (TEST_COND_ldbl_96_m68k): Likewise.
3270 (TEST_COND_ldbl_128): Likewise.
3271 (TEST_COND_ldbl_128ibm): Likewise.
3272 (TEST_COND_long32): Likewise.
3273 (TEST_COND_long64): Likewise.
3274 (TEST_COND_before_rounding): Likewise.
3275 (TEST_COND_after_rounding): Likewise.
3276 (enable_test): Handle XFAIL_TEST flag.
3277 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3278 with finite results.
3279 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3280 auto-libm-test-out.
3281
acd98a8e
AK
32822013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3283 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3284
3285 [BZ #16214]
3286 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3287 __tls_get_addr_internal instead of __tls_get_offset in order to
3288 avoid GOT pointer dependency. Make rtld export
3289 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3290 __tls_get_addr since we are a __tls_get_offset platform.
3291 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3292 GOT pointer being set up before.
3293 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3294
3c1c46a6
JM
32952013-11-28 Joseph Myers <joseph@codesourcery.com>
3296
7475aef5
JM
3297 * manual/math.texi (Errors in Math Functions): Document accuracy
3298 goals.
3299
8bca7cd8
JM
3300 [BZ #15004]
3301 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3302 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3303 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3304 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3305 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3306 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3307 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3308 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3309 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3310 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3311 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3312 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3313 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3314 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3315 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3316 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3317
91a1f3fe
JM
3318 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3319 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3320 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3321 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3322 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3323 Likewise.
3324 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3325 Likewise.
3326 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3327 Likewise.
3328 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3329 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3330 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3331 atomic-feupdateenv and flt-rounds.
3332 * sysdeps/powerpc/nofpu/Versions (libc): Add
3333 __atomic_feholdexcept, __atomic_feclearexcept,
3334 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3335 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3336 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3337 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3338 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3339 here.
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3341 Update.
3342
c5df7609
JM
3343 * manual/arith.texi (FP Exceptions): Document that exceptions may
3344 not be raised when matherr is used.
3345 (Math Error Reporting): Document overflow in directed rounding
3346 modes. Document that errno may not be set when finite values are
3347 returned on overflow. Document intent to set errno on underflow
3348 only for underflow to zero.
3349
3c1c46a6
JM
3350 [BZ #16271]
3351 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3352 round-to-nearest then adjust result for other rounding modes.
3353 * include/fenv.h (fegetround): Use libm_hidden_proto.
3354 * math/fegetround.c (fegetround): Use libm_hidden_def.
3355 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3356 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3357 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3358 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3359 Likewise.
3360 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3361 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3362 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3363 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3364
5a4c6d53
SP
33652013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3366
3367 [BZ #16077]
3368 * nss/Versions (libnss_files): Add
3369 _nss_files_gethostbyname3_r.
3370 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3371 New function.
3372 (HOST_DB_LOOKUP): Remove macro.
3373 (_nss_files_gethostbyname_r): Implement function without the
3374 HOST_DB_LOOKUP macro.
3375 (_nss_files_gethostbyname2_r): Likewise.
3376
897b98ba
OB
33772013-11-28 Ondřej Bílka <neleai@seznam.cz>
3378
3379 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3380
6f476861
UB
33812013-11-26 Uros Bizjak <ubizjak@gmail.com>
3382
3383 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3384 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3385 warning.
3386
bd12ab55
AZ
33872013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3388
3389 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3390 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3391 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3392 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3393 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3394 __fe_nomask_env_priv and attribute_hidden.
3395 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3396 (libc_feupdateenv_test_ppc): Likewise.
3397 (libc_feresetround_ppc): Likewise.
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3399 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3400 compat_symbol macro.
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3402 (__fe_nomask_env): Likewise.
3403 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3404
52bb6543
OB
34052013-11-26 Ondřej Bílka <neleai@seznam.cz>
3406
3407 * string/Makefile: Remove ifunc tests.
3408 * string/test-string.h: Define TEST_IFUNC.
3409 * string/test-bcopy-ifunc.c: Remove.
3410 * string/test-bzero-ifunc.c: Likewise.
3411 * string/test-memccpy-ifunc.c: Likewise.
3412 * string/test-memchr-ifunc.c: Likewise.
3413 * string/test-memcmp-ifunc.c: Likewise.
3414 * string/test-memcpy-ifunc.c: Likewise.
3415 * string/test-memmem-ifunc.c: Likewise.
3416 * string/test-memmove-ifunc.c: Likewise.
3417 * string/test-mempcpy-ifunc.c: Likewise.
3418 * string/test-memrchr-ifunc.c: Likewise.
3419 * string/test-memset-ifunc.c: Likewise.
3420 * string/test-rawmemchr-ifunc.c: Likewise.
3421 * string/test-stpcpy-ifunc.c: Likewise.
3422 * string/test-stpncpy-ifunc.c: Likewise.
3423 * string/test-strcasecmp-ifunc.c: Likewise.
3424 * string/test-strcasestr-ifunc.c: Likewise.
3425 * string/test-strcat-ifunc.c: Likewise.
3426 * string/test-strchr-ifunc.c: Likewise.
3427 * string/test-strchrnul-ifunc.c: Likewise.
3428 * string/test-strcmp-ifunc.c: Likewise.
3429 * string/test-strcpy-ifunc.c: Likewise.
3430 * string/test-strcspn-ifunc.c: Likewise.
3431 * string/test-strlen-ifunc.c: Likewise.
3432 * string/test-strncasecmp-ifunc.c: Likewise.
3433 * string/test-strncat-ifunc.c: Likewise.
3434 * string/test-strncmp-ifunc.c: Likewise.
3435 * string/test-strncpy-ifunc.c: Likewise.
3436 * string/test-strnlen-ifunc.c: Likewise.
3437 * string/test-strpbrk-ifunc.c: Likewise.
3438 * string/test-strrchr-ifunc.c: Likewise.
3439 * string/test-strspn-ifunc.c: Likewise.
3440 * string/test-strstr-ifunc.c: Likewise.
3441
ab260039 34422013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3443
3444 * benchtests/Makefile: Remove ifunc tests.
3445 * benchtests/bench-string.h: Define TEST_IFUNC.
3446 * benchtests/bench-bcopy-ifunc.c: Remove.
3447 * benchtests/bench-bzero-ifunc.c: Likewise.
3448 * benchtests/bench-memccpy-ifunc.c: Likewise.
3449 * benchtests/bench-memchr-ifunc.c: Likewise.
3450 * benchtests/bench-memcmp-ifunc.c: Likewise.
3451 * benchtests/bench-memcpy-ifunc.c: Likewise.
3452 * benchtests/bench-memmem-ifunc.c: Likewise.
3453 * benchtests/bench-memmove-ifunc.c: Likewise.
3454 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3455 * benchtests/bench-memrchr-ifunc.c: Likewise.
3456 * benchtests/bench-memset-ifunc.c: Likewise.
3457 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3458 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3459 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3460 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3461 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3462 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3463 * benchtests/bench-strcat-ifunc.c: Likewise.
3464 * benchtests/bench-strchr-ifunc.c: Likewise.
3465 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3466 * benchtests/bench-strcmp-ifunc.c: Likewise.
3467 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3468 * benchtests/bench-strcpy-ifunc.c: Likewise.
3469 * benchtests/bench-strcspn-ifunc.c: Likewise.
3470 * benchtests/bench-strlen-ifunc.c: Likewise.
3471 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3472 * benchtests/bench-strncat-ifunc.c: Likewise.
3473 * benchtests/bench-strncmp-ifunc.c: Likewise.
3474 * benchtests/bench-strncpy-ifunc.c: Likewise.
3475 * benchtests/bench-strnlen-ifunc.c: Likewise.
3476 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3477 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3478 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3479 * benchtests/bench-strspn-ifunc.c: Likewise.
3480 * benchtests/bench-strstr-ifunc.c: Likewise.
3481
34822013-11-26 Ondřej Bílka <neleai@seznam.cz>
3483
ab260039
OB
3484 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3485
d1d9eaf4 34862013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3487
d1d9eaf4
OB
3488 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3489 * rt/aio.h: Likewise.
3490 * sysdeps/gnu/bits/utmp.h: Likewise.
3491 * sysdeps/gnu/bits/utmpx.h: Likewise.
3492 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3493 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3494 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3495 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3496 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3497 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3498 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3499 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3500 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3501 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3502 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3503 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3504 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3506 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3507 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3508 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3509 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3510 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3511 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3512 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3513 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3514 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3515 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3516 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3517 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3518 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3519 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3520 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3521 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3522 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3523 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3524 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3525 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3526 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3527 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3528 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3529 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3530 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3531 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3532 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3533 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3534
a7624ed9
CD
35352013-11-25 Carlos O'Donell <carlos@redhat.com>
3536
3537 [BZ #16245]
3538 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3539 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3540
63cfe52b
JM
35412013-11-25 Joseph Myers <joseph@codesourcery.com>
3542
3543 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3544 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3545 Likewise.
3546
41e8926a
AZ
35472013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3548
3549 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3550 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3551 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3552 (__fesetround): Remove define.
3553 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3554 rounding and exceptions handling.
3555 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3556 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3557 (__fe_nomask_env): Likewise.
3558 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3559 __fegetround instead of fegetround.
3560 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3561 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3562
6851bd4d
RM
35632013-11-21 Roland McGrath <roland@hack.frob.com>
3564
070906ff
RM
3565 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3566 it's there.
3567
6851bd4d
RM
3568 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3569
84ae135d
MI
35702013-11-21 Meador Inge <meadori@codesourcery.com>
3571
3572 [BZ #11157]
3573 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3574 (encrypt_r): Likewise.
3575 * malloc/obstack.h (obstack_free): Likewise.
3576 * posix/unistd.h (encrypt): Likewise.
3577
daf75146
GM
35782013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3579
3580 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3581 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3582 DL_CALL_DT_FINI() that call the functions directly.
3583 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3584 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3585 * elf/dl-fini.c: Likewise.
3586
10ad46bc
OB
35872013-11-20 Ondřej Bílka <neleai@seznam.cz>
3588
3589 * malloc/hooks.c (memalign_check): Add alignment rounding.
3590 * malloc/malloc.c (_mid_memalign): New function.
3591 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3592 Implement by calling _mid_memalign.
3593 * manual/probes.texi (Memory Allocation Probes): Remove
3594 memory_valloc_retry and memory_pvalloc_retry.
3595
f3fd2628
SP
35962013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3597
4712799f
SP
3598 * locale/programs/locarchive.c (open_archive): Add const
3599 qualifier to ARCHIVEFNAME and copy default fname to
3600 DEFAULT_FNAME.
3601
0417b20f
SP
3602 [BZ #15601]
3603 * libio/tst-widetext.input: Rename Oriya to Odia.
3604 * locale/iso-639.def: Likewise.
3605
f3fd2628
SP
3606 * manual/probes.texi (Mathematical Function Probes): Add
3607 documentation for sin, cos, asin and acos probes.
3608 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3609 (__sin32): Add slowasin probe.
3610 (__cos32): Add slowacos probe.
3611 (__mpsin): Add slowsin probe.
3612 (__mpcos): Add slowcos probe.
3613
73c1ce4f
JM
36142013-11-19 Joseph Myers <joseph@codesourcery.com>
3615
3616 [BZ #15483]
3617 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3618 thread-local __sim_exceptions_thread and global
3619 __sim_exceptions_global.
3620 (__sim_disabled_exceptions): Change to thread-local
3621 __sim_disabled_exceptions_thread and global
3622 __sim_disabled_exceptions_global.
3623 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3624 and global __sim_round_mode_global.
3625 (__simulate_exceptions): Use thread-local floating-point state and
3626 set global state from it as needed.
3627 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3628 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3629 __sim_round_mode_thread.
3630 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3631 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3632 and global __sim_exceptions_global.
3633 (__sim_disabled_exceptions): Change to thread-local
3634 __sim_disabled_exceptions_thread and global
3635 __sim_disabled_exceptions_global.
3636 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3637 and global __sim_round_mode_global.
3638 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3639 (SIM_SET_GLOBAL): Likewise.
3640 * sysdeps/powerpc/soft-fp/sfp-machine.h
3641 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3642 __sim_round_mode_thread.
3643 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3644 __sim_disabled_exceptions_thread.
3645 (__sim_exceptions): Change to __sim_exceptions_thread.
3646 (__sim_disabled_exceptions): Change to
3647 __sim_disabled_exceptions_thread.
3648 (__sim_round_mode): Change to __sim_round_mode_thread.
3649 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3650 thread-local floating-point state and set global state from it as
3651 needed.
3652 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3653 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3654 (__sim_disabled_exceptions): Remove extern declaration.
3655 (feenableexcept): Use thread-local floating-point state and set
3656 global state from it as needed.
3657 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3658 extern declaration.
3659 (__sim_disabled_exceptions): Likewise.
3660 (__sim_round_mode): Likewise.
3661 (__fegetenv): Use thread-local floating-point state.
3662 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3663 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3664 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3665 floating-point state and set global state from it as needed.
3666 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3667 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3668 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3669 Likewise.
3670 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3671 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3672 Likewise.
3673 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3674 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3675 Use __sim_round_mode_thread.
3676 * math/test-fenv-tls.c: New file.
3677 * math/Makefile (tests): Add test-fenv-tls.
3678 ($(objpfx)test-fenv-tls): Depend on
3679 $(common-objpfx)nptl/libpthread.so.
3680
b5449b12
AS
36812013-11-19 Andreas Schwab <schwab@suse.de>
3682
3683 * locale/programs/locale.c (show_info): Decode wordarray elements.
3684 * locale/categories.def (LC_MONETARY): Add element for
3685 _NL_MONETARY_CRNCYSTR.
3686 * locale/C-monetary.c (conversion_rate): New variable.
3687 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3688 element.
3689
e186536b
CM
36902013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3691
3692 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3693 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3694
5c349950
PP
36952013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3696
3697 * elf/Makefile (tst-auxv): New test.
3698 * elf/tst-auxv.c: New
3699 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3700
699df45b
JM
37012013-11-18 Joseph Myers <joseph@codesourcery.com>
3702
3703 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3704 (hidden_proto): Caller changed.
3705 (hidden_tls_proto): New macro.
3706 (libc_hidden_tls_proto): Likewise.
3707 (rtld_hidden_tls_proto): Likewise.
3708 (libm_hidden_tls_proto): Likewise.
3709 (libresolv_hidden_tls_proto): Likewise.
3710 (librt_hidden_tls_proto): Likewise.
3711 (libdl_hidden_tls_proto): Likewise.
3712 (libnss_files_hidden_tls_proto): Likewise.
3713 (libnsl_hidden_tls_proto): Likewise.
3714 (libnss_nisplus_hidden_tls_proto): Likewise.
3715 (libutil_hidden_tls_proto): Likewise.
3716
b7589107
OB
37172013-11-18 Ondřej Bílka <neleai@seznam.cz>
3718
3719 [BZ #10253]
3720 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3721 (decompose_rpath): Defer expansion to fillin_rpath.
3722 (_dl_init_paths): Pass linkmap to fillin_rpath.
3723
250c23bd
RS
37242013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3725
3726 * benchtests/Makefile: Add strsep.
3727 * benchtests/bench-strsep.c: New file: strsep benchtest.
3728 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3729
a7931fcf
AS
37302013-11-18 Andreas Schwab <schwab@suse.de>
3731
3732 * locale/programs/locale.c (show_info) [case byte]: Check for
3733 '\377' instead of '\177'.
3734 * locale/C-monetary.c (not_available): Always use "\377".
3735 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3736 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3737 detect unavailable sign_posn locale elements.
3738 * locale/localeconv.c (__localeconv): For grouping and
3739 mon_grouping handle "\177" and "\377" like no grouping.
3740 (INT_ELEM): New macro. Use it to set all numeric members.
3741 * locale/programs/ld-monetary.c (monetary_read)
3742 <tok_mon_grouping>: Normalize single -1 to the empty string.
3743 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3744 Likewise.
3745
728dab0e
OB
37462013-11-07 Ondřej Bílka <neleai@seznam.cz>
3747
3748 [BZ #16055]
3749 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3750 when we match (nil).
3751 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3752
66294491
JM
37532013-11-16 Joseph Myers <joseph@codesourcery.com>
3754
ce665817
JM
3755 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3756 (NO_TEST_INLINE): Update value.
3757 (ERRNO_UNCHANGED): Likewise.
3758 (ERRNO_EDOM): Likewise.
3759 (ERRNO_ERANGE): Likewise.
3760 (IGNORE_RESULT): Likewise.
3761 (check_float_internal): Check signs of NaN results if
3762 TEST_NAN_SIGN used.
3763 (check_complex): Pass TEST_NAN_SIGN flag through to second
3764 check_float_internal call.
3765 (copysign_test_data): Add tests with quiet NaNs as second
3766 argument. Use TEST_NAN_SIGN.
3767 (fabs_test_data): Add test of negative quiet NaN argument. Use
3768 TEST_NAN_SIGN.
3769 (signbit_test_data): Add tests of quiet NaN argument.
3770 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3771
ee1466a9
JM
3772 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3773 $ignore_result.
3774 (parse_args): Handle function results specified as IGNORE.
3775 * math/libm-test.inc (IGNORE_RESULT): New macro.
3776 (check_float_internal): Do not check numerical result if flag
3777 IGNORE_RESULT set.
3778 (check_complex): Pass through IGNORE_RESULT to second
3779 check_float_internal call.
3780 (check_int): Do not check numerical result if flag IGNORE_RESULT
3781 set.
3782 (check_long): Likewise.
3783 (check_bool): Likewise.
3784 (check_longlong): Likewise.
3785 (lrint_test_data): Add tests of infinite and NaN arguments.
3786 (lrint_tonearest_test_data): Likewise.
3787 (lrint_towardzero_test_data): Likewise.
3788 (lrint_downward_test_data): Likewise.
3789 (lrint_upward_test_data): Likewise.
3790 (llrint_test_data): Likewise.
3791 (llrint_tonearest_test_data): Likewise.
3792 (llrint_towardzero_test_data): Likewise.
3793 (llrint_downward_test_data): Likewise.
3794 (llrint_upward_test_data): Likewise.
3795 (lround_test_data): Likewise.
3796 (llround_test_data): Likewise.
3797
14407b7e
JM
3798 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3799 (ERRNO_UNCHANGED): Update value.
3800 (ERRNO_EDOM): Likewise.
3801 (ERRNO_ERANGE): Likewise.
3802 (NO_TEST_INLINE_FLOAT): New macro.
3803 (NO_TEST_INLINE_DOUBLE): Likewise.
3804 (enable_test): New function.
3805 (RUN_TEST_f_f): Check enable_test before running test.
3806 (RUN_TEST_2_f): Likewise.
3807 (RUN_TEST_fff_f): Likewise.
3808 (RUN_TEST_c_f): Likewise.
3809 (RUN_TEST_f_f1): Likewise.
3810 (RUN_TEST_fF_f1): Likewise.
3811 (RUN_TEST_fI_f1): Likewise.
3812 (RUN_TEST_ffI_f1): Likewise.
3813 (RUN_TEST_c_c): Likewise.
3814 (RUN_TEST_cc_c): Likewise.
3815 (RUN_TEST_f_i): Likewise.
3816 (RUN_TEST_f_i_tg): Likewise.
3817 (RUN_TEST_ff_i_tg): Likewise.
3818 (RUN_TEST_f_b): Likewise.
3819 (RUN_TEST_f_b_tg): Likewise.
3820 (RUN_TEST_f_l): Likewise.
3821 (RUN_TEST_f_L): Likewise.
3822 (RUN_TEST_fFF_11): Likewise.
3823 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3824 conditionals.
3825 (cosh_test_data): Likewise.
3826 (exp_test_data): Likewise.
3827 (expm1_test_data): Likewise.
3828 (hypot_test_data): Likewise.
3829 (pow_test_data): Likewise.
3830 (sinh_test_data): Likewise.
3831 (tanh_test_data): Likewise.
3832 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3833 flags argument.
3834
ca07f197
JM
3835 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3836 tests with quiet NaN input and output.
3837 (acosh_test_data): Likewise.
3838 (asin_test_data): Likewise.
3839 (asinh_test_data): Likewise.
3840 (atan_test_data): Likewise.
3841 (atanh_test_data): Likewise.
3842 (atan2_test_data): Likewise.
3843 (cbrt_test_data): Likewise.
3844 (cos_test_data): Likewise.
3845 (cosh_test_data): Likewise.
3846 (erf_test_data): Likewise.
3847 (erfc_test_data): Likewise.
3848 (exp_test_data): Likewise.
3849 (exp10_test_data): Likewise.
3850 (exp2_test_data): Likewise.
3851 (expm1_test_data): Likewise.
3852 (hypot_test_data): Likewise.
3853 (j0_test_data): Likewise.
3854 (j1_test_data): Likewise.
3855 (jn_test_data): Likewise.
3856 (lgamma_test_data): Likewise.
3857 (log_test_data): Likewise.
3858 (log10_test_data): Likewise.
3859 (log1p_test_data): Likewise.
3860 (log2_test_data): Likewise.
3861 (pow_test_data): Likewise.
3862 (scalb_test_data): Likewise.
3863 (sin_test_data): Likewise.
3864 (sincos_test_data): Likewise.
3865 (sinh_test_data): Likewise.
3866 (tan_test_data): Likewise.
3867 (tanh_test_data): Likewise.
3868 (tgamma_test_data): Likewise.
3869 (y0_test_data): Likewise.
3870 (y1_test_data): Likewise.
3871 (yn_test_data): Likewise.
3872
66294491
JM
3873 [BZ #16167]
3874 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3875 argument being NaN and avoid computations with second argument in
3876 that case.
3877 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3878 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3879 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3880
1820b143
CL
38812013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3882
3883 * locale/iso-639.def: Add Chitwani Tharu (the).
3884
714bd261
AS
38852013-11-14 Andreas Schwab <schwab@suse.de>
3886
3887 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3888 word instead of empty string.
3889
7ab44563
AZ
38902013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3891
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3893 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3895 (__fe_nomask_env): Likewise.
3896
e8470ea2
SE
38972013-11-13 Steve Ellcey <sellcey@mips.com>
3898
3899 * benchtests/bench-timing.h: Include time.h.
3900
17c1d9f0
L
39012013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3902
3903 [BZ #15997]
3904 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3905 to 3.4.0 for x32.
3906 * sysdeps/unix/sysv/linux/configure: Regenerated.
3907
9310c284
JM
39082013-11-13 Joseph Myers <joseph@codesourcery.com>
3909
3910 [BZ #16151]
3911 * stdlib/strtod_l.c (round_and_return): Do not consider
3912 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3913 exponent one less than half the least subnormal exponent.
3914 * stdlib/test-strtod-round-data: Add more tests.
3915 * stdlib/tst-strtod-round.c (tests): Regenerated.
3916
7a2ad8cf
AZ
39172013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3918
3919 [BZ #14143]
3920 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3921 (__fe_mask_env): Likewise.
3922 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3923 libm_hidden_proto and add function prototype.
3924 (__fe_mask_env): Add function prototype.
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3926 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3928 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3930 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3931
50727aa7
MS
39322013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3933
b2f386c1 3934 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3935 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3936
a615be46
MS
39372013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3938
3939 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3940 of htab_find_slot().
3941
7ddace62
DM
39422013-11-11 David S. Miller <davem@davemloft.net>
3943
3944 [BZ #16150]
3945 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3946 symbol in the non-vis3 case in static builds.
3947 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3948 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3949 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3950 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3951
9182aa67
JK
39522013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3953
3954 [BZ #387]
3955 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3956 it is empty.
3957
450a2e2d
AZ
39582013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3959
b2f386c1
SP
3960 * benchtests/Makefile: Add bench-strtod.
3961 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3962
8ec3f656
AS
39632013-11-11 Andreas Schwab <schwab@suse.de>
3964
3965 [BZ #16153]
3966 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3967 terminating NUL in key length.
3968
76a9b998
AZ
39692013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3970
3971 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3972 Add artificial ODP entry for vDSO symbol for PPC64.
3973 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3974 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3975
e4368156
OB
39762013-11-07 Ondřej Bílka <neleai@seznam.cz>
3977
3978 [BZ #15374]
3979 * nss/getent.c (services_keys): Recognize services starting with digit.
3980
8d6bb57c
DM
39812013-11-06 David S. Miller <davem@davemloft.net>
3982
3983 [BZ #15985]
3984 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3985 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3986
e256c421
WN
39872013-11-06 Will Newton <will.newton@linaro.org>
3988
3989 * manual/memory.texi (Malloc Examples): Remove register
3990 keyword from examples.
3991
f6e12daa 39922013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3993
f6e12daa 3994 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3995
9d880655
AS
39962013-11-04 Joseph Myers <joseph@codesourcery.com>
3997
fd2f9486 3998 [BZ #6981]
9d880655
AS
3999 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4000 depending on [__GCC_IEC_559 > 0].
4001 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4002 depending on [__GCC_IEC_559_COMPLEX > 0].
4003
ae129d3c
CL
40042013-11-03 Chris Leonard <cjl@sugarlabs.org>
4005
4006 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4007 to iso-639.def.
4008
4a15c2a4 40092013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
4010
4011 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4012
8b35e35d
OB
40132013-11-01 Ondřej Bílka <neleai@seznam.cz>
4014
4015 [BZ #16112]
4016 * malloc/malloc (malloc_info): Do not handle first bin as
4017 special case.
4018
1d70fd6c
CL
40192013-11-01 Chris Leonard <cjl@sugarlabs.org>
4020
4021 * locale/iso-639.def: Add Central Nahuatl (nhn).
4022
8c5c2600
BH
40232013-11-01 Bruno Haible <bruno@clisp.org>
4024
4025 [BZ #7003]
4026 * manual/math.texi (BSD Random): Specify range upper bound as
4027 in POSIX.
4028
da5579c2
CL
40292013-10-31 Chris Leonard <cjl@sugarlabs.org>
4030
4031 * locale/iso-639.def: Add Meadow Mari (mhr).
4032
5d30d853
OB
40332013-10-31 Ondřej Bílka <neleai@seznam.cz>
4034
4035 [BZ #14752], [BZ #15763]
4036 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4037 Validate name.
4038 * rt/tst_shm.c: Add test for escaping directory.
4039
a4966c61
AS
40402013-10-31 Andreas Schwab <schwab@suse.de>
4041
8a43e768 4042 [BZ #15917]
a4966c61
AS
4043 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4044 followed by 'x' as part of digit sequence.
4045 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4046
28d708c4
MAP
40472013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4048
4049 [BZ #16037]
4050 * configure.ac: allow GNU Make 4.0 and greater.
4051 * configure: Regenerated.
4052
a56ee40b
WN
40532013-10-30 Will Newton <will.newton@linaro.org>
4054
4055 [BZ #16038]
4056 * malloc/hooks.c (memalign_check): Limit alignment to the
4057 maximum representable power of two.
4058 * malloc/malloc.c (__libc_memalign): Likewise.
4059 * malloc/tst-memalign.c (do_test): Add test for very
4060 large alignment values.
4061 * malloc/tst-posix_memalign.c (do_test): Likewise.
4062
c6e4925d
OB
40632013-10-30 Ondřej Bílka <neleai@seznam.cz>
4064
4065 [BZ #11087]
4066 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4067 (munmap_chunk): Likewise.
4068 (mremap_chunk): Likewise.
4069
40702013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 4071
8a43e768 4072 [BZ #15799]
bbea82f7
OB
4073 * stdlib/div.c (div): Remove obsolete code.
4074 * stdlib/ldiv.c (ldiv): Likewise.
4075 * stdlib/lldiv.c (lldiv): Likewise.
4076
977f4b31
SP
40772013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4078
4079 [BZ #16071]
4080 * nss/nss_files/files-XXX.c (get_contents_ret): New
4081 enumerator.
4082 (get_contents): New function.
4083 (internal_getent): Use it. Expand size of LINEBUFLEN.
4084
cb8a6dbd
MF
40852013-10-30 Mike Frysinger <vapier@gentoo.org>
4086
4087 * configure.in: Moved to ...
4088 * configure.ac: ... here. Change reference to configure.in
4089 to configure.ac.
4090 * sysdeps/arm/preconfigure.ac: ... here.
4091 configure.in to configure.ac.
4092 * sysdeps/gnu/configure.in: Moved to ...
4093 * sysdeps/gnu/configure.ac: ... here.
4094 * sysdeps/i386/configure.in: Moved to ...
4095 * sysdeps/i386/configure.ac: ... here.
4096 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4097 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4098 * sysdeps/mach/configure.in: Moved to ...
4099 * sysdeps/mach/configure.ac: ... here.
4100 * sysdeps/mach/hurd/configure.in: Moved to ...
4101 * sysdeps/mach/hurd/configure.ac: ... here.
4102 * sysdeps/powerpc/configure.in: Moved to ...
4103 * sysdeps/powerpc/configure.ac: ... here.
4104 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4105 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4106 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4107 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4108 * sysdeps/s390/s390-32/configure.in: Moved to ...
4109 * sysdeps/s390/s390-32/configure.ac: ... here.
4110 * sysdeps/s390/s390-64/configure.in: Moved to ...
4111 * sysdeps/s390/s390-64/configure.ac: ... here.
4112 * sysdeps/sh/configure.in: Moved to ...
4113 * sysdeps/sh/configure.ac: ... here.
4114 * sysdeps/sparc/configure.in: Moved to ...
4115 * sysdeps/sparc/configure.ac: ... here.
4116 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4117 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4118 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4119 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4120 * sysdeps/x86_64/configure.in: Moved to ...
4121 * sysdeps/x86_64/configure.ac: ... here.
4122 * sysdeps/x86_64/preconfigure.in: Moved to ...
4123 * sysdeps/x86_64/preconfigure.ac: ... here.
4124 * aclocal.m4: Change reference to configure.in to configure.ac.
4125 * config.h.in: Likewise.
4126 * manual/install.texi: Likewise.
4127 * manual/maint.texi: Likewise.
4128 * Makefile: Likewise.
4129 * malloc/Makefile: Likewise.
4130 * nscd/Makefile: Likewise.
4131 * Makeconfig: Change reference to configure.in and
4132 preconfigure.in to configure.ac and preconfigure.ac
4133 respectively.
4134 * INSTALL: Regenerated.
4135 * configure: Likewise.
4136 * sysdeps/gnu/configure: Likewise.
4137 * sysdeps/i386/configure: Likewise.
4138 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4139 * sysdeps/mach/configure: Likewise.
4140 * sysdeps/mach/hurd/configure: Likewise.
4141 * sysdeps/powerpc/configure: Likewise.
4142 * sysdeps/powerpc/powerpc32/configure: Likewise.
4143 * sysdeps/powerpc/powerpc64/configure: Likewise.
4144 * sysdeps/s390/s390-32/configure: Likewise.
4145 * sysdeps/s390/s390-64/configure: Likewise.
4146 * sysdeps/sh/configure: Likewise.
4147 * sysdeps/sparc/configure: Likewise.
4148 * sysdeps/unix/sysv/linux/configure: Likewise.
4149 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4150 * sysdeps/x86_64/configure: Likewise.
4151 * sysdeps/x86_64/preconfigure: Likewise.
4152
36a4953a
AS
41532013-10-29 Andreas Schwab <schwab@suse.de>
4154
4155 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4156
c79a1204
SP
41572013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4158
dfa1b402
SP
4159 * benchtests/pow-inputs: Add new inputs.
4160
54f73d9c
SP
4161 * benchtests/exp-inputs: Add new inputs.
4162
c79a1204
SP
4163 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4164 conditional check for return value.
4165 (__cos32): Likewise.
4166
67beb545 41672013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
4168
4169 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4170 to provide a boost for large inputs with word alignment.
4171 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4172 implementation based on optimized PPC64 strcpy.
4173 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4174 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4175 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4176 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4177
151659f6
OB
41782013-10-25 Ondřej Bílka <neleai@seznam.cz>
4179
482a077e 4180 [BZ #2801]
151659f6
OB
4181 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4182
10b0f26b
OB
41832013-10-25 Ondřej Bílka <neleai@seznam.cz>
4184
4185 [BZ #14876]
4186 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4187 * time/tst-strptime.c (day_tests): Add testcase.
4188
ca42d35e
OB
41892013-10-25 Ondřej Bílka <neleai@seznam.cz>
4190
482a077e 4191 [BZ #14029]
ca42d35e
OB
4192 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4193
52e6d801
FB
41942013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4195
4196 [BZ #16074]
4197 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4198 MAP_FAILED on error.
4199
7cbcdb36
SP
42002013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4201
4202 [BZ #16072]
4203 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4204 heap for large requests.
4205
894f3f10
AM
42062013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4207
4208 [BZ #9954]
4209 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4210 result if the result has no associated interface.
4211 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4212 interface for all 127.X.Y.Z addresses.
4213
b85545a6
CL
42142013-10-24 Chris Leonard <cjl@sugarlabs.org>
4215
4216 * locale/iso-639.def: Add Ligurian (lij)
4217
d1f23d46
OB
42182013-10-21 Ondřej Bílka <neleai@seznam.cz>
4219
4220 [BZ #15825]
4221 * sunrpc/rpc_main.c: Document rpcgen -5.
4222
4db5b08f
MS
42232013-10-19 Michael Stahl <mstahl@redhat.com>
4224
4225 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4226
a471e96a
OB
42272013-10-19 Ondřej Bílka <neleai@seznam.cz>
4228
d1f23d46 4229 [BZ #10278]
a471e96a
OB
4230 * posix/glob.c: Match only directories when trailing slash is present.
4231 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4232 (main): Add testcase.
4233
45c30c61
OB
42342013-10-19 Ondřej Bílka <neleai@seznam.cz>
4235
4236 [BZ #15670]
4237 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4238
484c12fb
CD
42392013-10-18 Carlos O'Donell <carlos@redhat.com>
4240
3d7dc513
CD
4241 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4242 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4243 AUTH_DES and cindex for FIPS 140-2.
4244 (DES Encryption): Add cindex FIPS 46-3.
4245
484c12fb
CD
4246 * locale/locarchive.h (struct locarhandle): Add fname.
4247 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4248 if an optional argument was specified to --list-archive,
4249 otherwise NULL.
4250 * locale/programs/locarchive.c (show_archive_content): Take new
4251 argument fname and pass it via ah.fname to open_archive.
4252 * locale/programs/localedef.h: Update decl.
4253 (open_archive): If AH->fname is non-null, open that file
4254 rather than the default file name, and don't ignore ENOENT.
4255 (create_archive): Set AH.fname to NULL.
4256 (delete_locales_from_archive): Likewise.
4257 (add_locales_to_archive): Likewise.
4258 * locale/programs/locfile.c (write_all_categories): Likewise.
4259
3c8325fb
JM
42602013-10-18 Joseph Myers <joseph@codesourcery.com>
4261 Aldy Hernandez <aldyh@redhat.com>
4262
4263 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4264 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4265 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4266 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4267 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4268 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4269 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4270 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4271 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4272 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4273 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4274 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4275 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4276 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4277 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4278 Likewise.
4279 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4280 Likewise.
4281 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4282 Likewise.
4283 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4284 Likewise.
4285 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4286 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4287 Likewise.
4288 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4289 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4290 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4291 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4292 Likewise.
4293 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4294 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4295 * sysdeps/powerpc/preconfigure: Likewise.
4296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4297 Likewise.
4298 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4299 Replace contents of file by #include of <fenv_libc.h>.
4300 * sysdeps/powerpc/soft-fp/sfp-machine.h
4301 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4302 and <sys/prctl.h>.
4303 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4304 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4305 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4306 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4307 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4308 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4310 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4311 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4312 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4313 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4314 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4316 Allow copysignl PLT reference to be missing.
4317
5abe0682
RS
43182013-10-18 Richard Sandiford <richard@codesourcery.com>
4319 Joseph Myers <joseph@codesourcery.com
4320
4321 [BZ #15948]
4322 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4323 single character.
4324 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4325
c7738d08
SP
43262013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4327
4328 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4329 * elf/tst-tls1.c: Likewise.
4330 * elf/tst-tls10.h: Likewise.
4331 * elf/tst-tls14.c: Likewise.
4332 * elf/tst-tls2.c: Likewise.
4333 * elf/tst-tls3.c: Likewise.
4334 * elf/tst-tls4.c: Likewise.
4335 * elf/tst-tls5.c: Likewise.
4336 * elf/tst-tls6.c: Likewise.
4337 * elf/tst-tls7.c: Likewise.
4338 * elf/tst-tls8.c: Likewise.
4339 * elf/tst-tls9.c: Likewise.
4340 * elf/tst-tlsmod1.c: Likewise.
4341 * elf/tst-tlsmod13.c: Likewise.
4342 * elf/tst-tlsmod13a.c: Likewise.
4343 * elf/tst-tlsmod14a.c: Likewise.
4344 * elf/tst-tlsmod16a.c: Likewise.
4345 * elf/tst-tlsmod16b.c: Likewise.
4346 * elf/tst-tlsmod2.c: Likewise.
4347 * elf/tst-tlsmod3.c: Likewise.
4348 * elf/tst-tlsmod4.c: Likewise.
4349 * elf/tst-tlsmod5.c: Likewise.
4350 * elf/tst-tlsmod6.c: Likewise.
4351
0bfcf2c7
OB
43522013-10-18 Ondřej Bílka <neleai@seznam.cz>
4353
4354 [BZ #12486]
4355 * malloc/malloc.c: remove checks for statistics.
4356
264aad1e
OB
43572013-10-17 Ondřej Bílka <neleai@seznam.cz>
4358
4359 [BZ #15277]
4360 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4361 * inet/tst-network.c: Add testcase.
4362
b957ced8
AS
43632013-10-17 Andreas Schwab <schwab@suse.de>
4364
4365 [BZ #15218]
4366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4367 to determine canonical name.
4368
c5d5d574
OB
43692013-10-17 Ondřej Bílka <neleai@seznam.cz>
4370
4371 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4372 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4374 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4376 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4377 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4378 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4379 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4380 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4381 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4382 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4383 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4384 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4385 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4386 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4388 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4389 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4390 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4391 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4392 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4393 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4394 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4395 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4396 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4397 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4398 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4399 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4400 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4401 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4402 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4403 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4404 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4405 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4406 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4407 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4408 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4409 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4410 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4411 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4412 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4413 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4414 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4415 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4416 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4417 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4418 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4419 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4420 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4421 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4422 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4423 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4424 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4425 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4426 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4427 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4428 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4429
e5c2c2d0
JM
44302013-10-17 Joseph Myers <joseph@codesourcery.com>
4431
4432 [BZ #16041]
4433 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4434 make result into a quiet NaN.
4435
51ca9e29
JM
44362013-10-16 Joseph Myers <joseph@codesourcery.com>
4437
4438 * soft-fp/adddf3.c: Fix horizontal whitespace.
4439 * soft-fp/addsf3.c: Likewise.
4440 * soft-fp/addtf3.c: Likewise.
4441 * soft-fp/divdf3.c: Likewise.
4442 * soft-fp/divsf3.c: Likewise.
4443 * soft-fp/divtf3.c: Likewise.
4444 * soft-fp/double.h: Likewise.
4445 * soft-fp/eqdf2.c: Likewise.
4446 * soft-fp/eqsf2.c: Likewise.
4447 * soft-fp/eqtf2.c: Likewise.
4448 * soft-fp/extenddftf2.c: Likewise.
4449 * soft-fp/extended.h: Likewise.
4450 * soft-fp/extendsfdf2.c: Likewise.
4451 * soft-fp/extendsftf2.c: Likewise.
4452 * soft-fp/extendxftf2.c: Likewise.
4453 * soft-fp/fixdfdi.c: Likewise.
4454 * soft-fp/fixdfsi.c: Likewise.
4455 * soft-fp/fixdfti.c: Likewise.
4456 * soft-fp/fixsfdi.c: Likewise.
4457 * soft-fp/fixsfsi.c: Likewise.
4458 * soft-fp/fixsfti.c: Likewise.
4459 * soft-fp/fixtfdi.c: Likewise.
4460 * soft-fp/fixtfsi.c: Likewise.
4461 * soft-fp/fixtfti.c: Likewise.
4462 * soft-fp/fixunsdfdi.c: Likewise.
4463 * soft-fp/fixunsdfsi.c: Likewise.
4464 * soft-fp/fixunsdfti.c: Likewise.
4465 * soft-fp/fixunssfdi.c: Likewise.
4466 * soft-fp/fixunssfsi.c: Likewise.
4467 * soft-fp/fixunssfti.c: Likewise.
4468 * soft-fp/fixunstfdi.c: Likewise.
4469 * soft-fp/fixunstfsi.c: Likewise.
4470 * soft-fp/fixunstfti.c: Likewise.
4471 * soft-fp/floatdidf.c: Likewise.
4472 * soft-fp/floatdisf.c: Likewise.
4473 * soft-fp/floatditf.c: Likewise.
4474 * soft-fp/floatsidf.c: Likewise.
4475 * soft-fp/floatsisf.c: Likewise.
4476 * soft-fp/floatsitf.c: Likewise.
4477 * soft-fp/floattidf.c: Likewise.
4478 * soft-fp/floattisf.c: Likewise.
4479 * soft-fp/floattitf.c: Likewise.
4480 * soft-fp/floatundidf.c: Likewise.
4481 * soft-fp/floatundisf.c: Likewise.
4482 * soft-fp/floatunditf.c: Likewise.
4483 * soft-fp/floatunsidf.c: Likewise.
4484 * soft-fp/floatunsisf.c: Likewise.
4485 * soft-fp/floatunsitf.c: Likewise.
4486 * soft-fp/floatuntidf.c: Likewise.
4487 * soft-fp/floatuntisf.c: Likewise.
4488 * soft-fp/floatuntitf.c: Likewise.
4489 * soft-fp/fmadf4.c: Likewise.
4490 * soft-fp/fmasf4.c: Likewise.
4491 * soft-fp/fmatf4.c: Likewise.
4492 * soft-fp/gedf2.c: Likewise.
4493 * soft-fp/gesf2.c: Likewise.
4494 * soft-fp/getf2.c: Likewise.
4495 * soft-fp/ledf2.c: Likewise.
4496 * soft-fp/lesf2.c: Likewise.
4497 * soft-fp/letf2.c: Likewise.
4498 * soft-fp/muldf3.c: Likewise.
4499 * soft-fp/mulsf3.c: Likewise.
4500 * soft-fp/multf3.c: Likewise.
4501 * soft-fp/negdf2.c: Likewise.
4502 * soft-fp/negsf2.c: Likewise.
4503 * soft-fp/negtf2.c: Likewise.
4504 * soft-fp/op-1.h: Likewise.
4505 * soft-fp/op-2.h: Likewise.
4506 * soft-fp/op-4.h: Likewise.
4507 * soft-fp/op-8.h: Likewise.
4508 * soft-fp/op-common.h: Likewise.
4509 * soft-fp/quad.h: Likewise.
4510 * soft-fp/single.h: Likewise.
4511 * soft-fp/soft-fp.h: Likewise.
4512 * soft-fp/sqrtdf2.c: Likewise.
4513 * soft-fp/sqrtsf2.c: Likewise.
4514 * soft-fp/sqrttf2.c: Likewise.
4515 * soft-fp/subdf3.c: Likewise.
4516 * soft-fp/subsf3.c: Likewise.
4517 * soft-fp/subtf3.c: Likewise.
4518 * soft-fp/truncdfsf2.c: Likewise.
4519 * soft-fp/trunctfdf2.c: Likewise.
4520 * soft-fp/trunctfsf2.c: Likewise.
4521 * soft-fp/trunctfxf2.c: Likewise.
4522 * soft-fp/unorddf2.c: Likewise.
4523 * soft-fp/unordsf2.c: Likewise.
4524 * soft-fp/unordtf2.c: Likewise.
4525
9ebb0332
JM
45262013-10-15 Joseph Myers <joseph@codesourcery.com>
4527
4528 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4529 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4530
4b1a6d8b
OB
45312013-10-15 Ondřej Bílka <neleai@seznam.cz>
4532
4533 * elf/dl-libc.c: Clear initfini list after freeing.
4534
1e145589
JM
45352013-10-14 Joseph Myers <joseph@codesourcery.com>
4536
4537 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4538 * soft-fp/addsf3.c: Likewise.
4539 * soft-fp/addtf3.c: Likewise.
4540 * soft-fp/divdf3.c: Likewise.
4541 * soft-fp/divsf3.c: Likewise.
4542 * soft-fp/divtf3.c: Likewise.
4543 * soft-fp/double.h: Likewise.
4544 * soft-fp/eqdf2.c: Likewise.
4545 * soft-fp/eqsf2.c: Likewise.
4546 * soft-fp/eqtf2.c: Likewise.
4547 * soft-fp/extenddftf2.c: Likewise.
4548 * soft-fp/extended.h: Likewise.
4549 * soft-fp/extendsfdf2.c: Likewise.
4550 * soft-fp/extendsftf2.c: Likewise.
4551 * soft-fp/extendxftf2.c: Likewise.
4552 * soft-fp/fixdfdi.c: Likewise.
4553 * soft-fp/fixdfsi.c: Likewise.
4554 * soft-fp/fixdfti.c: Likewise.
4555 * soft-fp/fixsfdi.c: Likewise.
4556 * soft-fp/fixsfsi.c: Likewise.
4557 * soft-fp/fixsfti.c: Likewise.
4558 * soft-fp/fixtfdi.c: Likewise.
4559 * soft-fp/fixtfsi.c: Likewise.
4560 * soft-fp/fixtfti.c: Likewise.
4561 * soft-fp/fixunsdfdi.c: Likewise.
4562 * soft-fp/fixunsdfsi.c: Likewise.
4563 * soft-fp/fixunsdfti.c: Likewise.
4564 * soft-fp/fixunssfdi.c: Likewise.
4565 * soft-fp/fixunssfsi.c: Likewise.
4566 * soft-fp/fixunssfti.c: Likewise.
4567 * soft-fp/fixunstfdi.c: Likewise.
4568 * soft-fp/fixunstfsi.c: Likewise.
4569 * soft-fp/fixunstfti.c: Likewise.
4570 * soft-fp/floatdidf.c: Likewise.
4571 * soft-fp/floatdisf.c: Likewise.
4572 * soft-fp/floatditf.c: Likewise.
4573 * soft-fp/floatsidf.c: Likewise.
4574 * soft-fp/floatsisf.c: Likewise.
4575 * soft-fp/floatsitf.c: Likewise.
4576 * soft-fp/floattidf.c: Likewise.
4577 * soft-fp/floattisf.c: Likewise.
4578 * soft-fp/floattitf.c: Likewise.
4579 * soft-fp/floatundidf.c: Likewise.
4580 * soft-fp/floatundisf.c: Likewise.
4581 * soft-fp/floatunsidf.c: Likewise.
4582 * soft-fp/floatunsisf.c: Likewise.
4583 * soft-fp/floatuntidf.c: Likewise.
4584 * soft-fp/floatuntisf.c: Likewise.
4585 * soft-fp/floatuntitf.c: Likewise.
4586 * soft-fp/fmadf4.c: Likewise.
4587 * soft-fp/fmasf4.c: Likewise.
4588 * soft-fp/fmatf4.c: Likewise.
4589 * soft-fp/gedf2.c: Likewise.
4590 * soft-fp/gesf2.c: Likewise.
4591 * soft-fp/getf2.c: Likewise.
4592 * soft-fp/ledf2.c: Likewise.
4593 * soft-fp/lesf2.c: Likewise.
4594 * soft-fp/letf2.c: Likewise.
4595 * soft-fp/muldf3.c: Likewise.
4596 * soft-fp/mulsf3.c: Likewise.
4597 * soft-fp/multf3.c: Likewise.
4598 * soft-fp/negdf2.c: Likewise.
4599 * soft-fp/negsf2.c: Likewise.
4600 * soft-fp/negtf2.c: Likewise.
4601 * soft-fp/op-1.h: Likewise.
4602 * soft-fp/op-2.h: Likewise.
4603 * soft-fp/op-4.h: Likewise.
4604 * soft-fp/op-8.h: Likewise.
4605 * soft-fp/op-common.h: Likewise.
4606 * soft-fp/quad.h: Likewise.
4607 * soft-fp/single.h: Likewise.
4608 * soft-fp/soft-fp.h: Likewise.
4609 * soft-fp/sqrtdf2.c: Likewise.
4610 * soft-fp/sqrtsf2.c: Likewise.
4611 * soft-fp/sqrttf2.c: Likewise.
4612 * soft-fp/subdf3.c: Likewise.
4613 * soft-fp/subsf3.c: Likewise.
4614 * soft-fp/subtf3.c: Likewise.
4615 * soft-fp/truncdfsf2.c: Likewise.
4616 * soft-fp/trunctfdf2.c: Likewise.
4617 * soft-fp/trunctfsf2.c: Likewise.
4618 * soft-fp/trunctfxf2.c: Likewise.
4619 * soft-fp/unorddf2.c: Likewise.
4620 * soft-fp/unordsf2.c: Likewise.
4621 * soft-fp/unordtf2.c: Likewise.
4622
17c48a60
OB
46232013-10-14 Ondřej Bílka <neleai@seznam.cz>
4624
4625 [BZ #15672]
4626 * misc/error.c (error_tail): Fix possible buffer overflow.
4627
cabba934
OB
46282013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4629
4630 [BZ #13028]
4631 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4632 address.
4633
94bf958a
PM
46342013-10-14 P. J. McDermott <pj@pehjota.net>
4635
4636 [BZ #832]
4637 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4638 testing pipefail option.
4639
71b4dea7
JM
46402013-10-12 Joseph Myers <joseph@codesourcery.com>
4641
4642 * soft-fp/double.h: Indent preprocessor directives inside #if.
4643 * soft-fp/extended.h: Likewise.
4644 * soft-fp/op-2.h: Likewise.
4645 * soft-fp/op-4.h: Likewise.
4646 * soft-fp/op-common.h: Likewise.
4647 * soft-fp/quad.h: Likewise.
4648 * soft-fp/single.h: Likewise.
4649 * soft-fp/soft-fp.h: Likewise.
4650
55602758
YC
46512013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4652
4653 * iconv/iconv_prog.c: Fix typos.
4654 * stdio-common/psiginfo-data.h: Likewise.
4655
9cd83302
RT
46562013-10-12 Reuben Thomas <rrt@sc3d.org>
4657
4658 [BZ #15764]
4659 * locale/setlocale.c: Fix typo.
4660
99fd9f47
JM
46612013-10-12 Joseph Myers <joseph@codesourcery.com>
4662
b7ea74f0
JM
4663 [BZ #16036]
4664 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4665 signaling NaN arguments.
4666 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4667 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4668
8a509447
JM
4669 [BZ #14910]
4670 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4671 unordered operands.
4672 * soft-fp/gesf2.c (__gesf2): Likewise.
4673 * soft-fp/getf2.c (__getf2): Likewise.
4674 * soft-fp/ledf2.c (__ledf2): Likewise.
4675 * soft-fp/lesf2.c (__lesf2): Likewise.
4676 * soft-fp/letf2.c (__letf2): Likewise.
4677
98998e9f
JM
4678 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4679 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4680 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4681 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4682 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4683 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4684 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4685 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4686 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4687 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4688 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4689 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4690 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4691 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4692 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4693 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4694 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4695 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4696 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4697 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4698 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4699 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4700 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4701 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4702 * soft-fp/floattidf.c (__floattidf): Likewise.
4703 * soft-fp/floattisf.c (__floattisf): Likewise.
4704 * soft-fp/floattitf.c (__floattitf): Likewise.
4705 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4706 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4707 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4708 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4709 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4710 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4711 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4712 * soft-fp/gesf2.c (__gesf2): Likewise.
4713 * soft-fp/getf2.c (__getf2): Likewise.
4714 * soft-fp/ledf2.c (__ledf2): Likewise.
4715 * soft-fp/lesf2.c (__lesf2): Likewise.
4716 * soft-fp/letf2.c (__letf2): Likewise.
4717
8edc4a11
JM
4718 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4719 Undefine and redefine.
4720 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4721 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4722 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4723 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4724 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4725 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4726 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4727 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4728 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4729 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4730 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4731 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4732 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4733 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4734 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4735
8399acaf
JM
4736 [BZ #16032]
4737 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4738 without decrementing exponent if mantissa >= that for the
4739 denominator, not >.
4740 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4741 denominator, not >. Decrement exponent in < case instead of
4742 incrementing in >= case.
4743 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4744 without decrementing exponent if mantissa >= that for the
4745 denominator, not >.
4746
99fd9f47
JM
4747 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4748 computing saturated result for unsigned overflow.
4749
10e1cf6b
SP
47502013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4751 Jeff Law <law@redhat.com>
4752
4753 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4754 (atan2Mp): Add systemtap probe marker.
4755 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4756 (__ieee754_log): Add systemtap probe marker.
4757 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4758 (atanMp): Add systemtap probe marker.
4759 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4760 (tanMp): Add systemtap probe marker.
4761 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4762 (__slowexp): Add systemtap probe marker.
4763 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4764 (__slowpow): Add systemtap probe marker.
4765 * manual/probes.texi: Document probes.
4766
3d110c7c
EB
47672013-10-11 Eric Biggers <ebiggers3@gmail.com>
4768
4769 [BZ #15362]
4770 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4771 written.
4772 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4773 written.
4774 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4775 written to buffer but not flushed.
4776 * libio/iofwrite_u.c: Likewise.
4777 * libio/iopadn.c: Return bytes returned even if EOF was
4778 encountered.
4779 * libio/iowpadn.c: Likewise.
4780 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4781 if _IO_padn does not write the whole buffer.
4782 [!COMPILE_WPRINTF] (PAD): Likewise.
4783
75b4202a
DM
47842013-10-10 David S. Miller <davem@davemloft.net>
4785
4786 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4787 directory block.
4788
6c6352e6
JM
47892013-10-10 Joseph Myers <joseph@codesourcery.com>
4790
33b853c3
JM
4791 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4792 instead of FSF address.
4793 * soft-fp/fixdfti.c: Likewise.
4794 * soft-fp/fixsfti.c: Likewise.
4795 * soft-fp/fixtfti.c: Likewise.
4796 * soft-fp/fixunsdfti.c: Likewise.
4797 * soft-fp/fixunssfti.c: Likewise.
4798 * soft-fp/fixunstfti.c: Likewise.
4799 * soft-fp/floattidf.c: Likewise.
4800 * soft-fp/floattisf.c: Likewise.
4801 * soft-fp/floattitf.c: Likewise.
4802 * soft-fp/floatuntidf.c: Likewise.
4803 * soft-fp/floatuntisf.c: Likewise.
4804 * soft-fp/floatuntitf.c: Likewise.
4805 * soft-fp/trunctfxf2.c: Likewise.
4806
6c6352e6
JM
4807 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4808 * soft-fp/fixdfti.c: Likewise.
4809 * soft-fp/fixsfti.c: Likewise.
4810 * soft-fp/fixtfti.c: Likewise.
4811 * soft-fp/fixunsdfti.c: Likewise.
4812 * soft-fp/fixunssfti.c: Likewise.
4813 * soft-fp/fixunstfti.c: Likewise.
4814 * soft-fp/floattidf.c: Likewise.
4815 * soft-fp/floattisf.c: Likewise.
4816 * soft-fp/floattitf.c: Likewise.
4817 * soft-fp/floatuntidf.c: Likewise.
4818 * soft-fp/floatuntisf.c: Likewise.
4819 * soft-fp/floatuntitf.c: Likewise.
4820 * soft-fp/trunctfxf2.c: Likewise.
4821
3bf78b71
DM
48222013-10-10 David S. Miller <davem@davemloft.net>
4823
4824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4825
6f10289e
JM
48262013-10-10 Joseph Myers <joseph@codsourcery.com>
4827
bd878fc0
JM
4828 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4829 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4830 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4831 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4832 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4833 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4834 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4835
6f10289e
JM
4836 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4837 for NaNs before doing comparisons on argument.
4838 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4839 Likewise.
4840
321e2684
WN
48412013-10-10 Will Newton <will.newton@linaro.org>
4842
4843 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4844 passed to _int_memalign does not overflow.
4845
40fefba1
TR
48462013-10-10 Torvald Riegel <triegel@redhat.com>
4847
4848 * scripts/bench.pl: Add include-sources directive.
4849 * benchtests/README: Update documentation.
4850
2ae21ed2
JM
48512013-10-10 Joseph Myers <joseph@codesourcery.com>
4852
dcc2dd3f
JM
4853 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4854 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4855 instead of FP_INIT_ROUNDMODE.
4856 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4857 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4858
2ae21ed2
JM
4859 [BZ #16034]
4860 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4861 copy class of input value.
4862 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4863 not handle exceptions.
4864 * soft-fp/negsf2.c (__negsf2): Likewise.
4865 * soft-fp/negtf2.c (__negtf2): Likewise.
4866 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4867
cb8f9562
JM
48682013-10-09 Joseph Myers <joseph@codesourcery.com>
4869
4870 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4871 semicolon. From Linux kernel.
4872
5b60c59d
AB
48732013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4874
4875 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4876
b86835ca
YC
48772013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4878
4879 [BZ #156]
4880 * manual/socket.texi: Added statement about buffer
4881 for gethostbyname2_r.
4882
e7044ea7
OB
48832013-10-08 Ondřej Bílka <neleai@seznam.cz>
4884
4885 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4886 Use .p2align directive instead, throughout.
4887 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4888 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4889 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4890 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4891 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4892 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4893 * sysdeps/x86_64/strchr.S: Likewise.
4894 * sysdeps/x86_64/strrchr.S: Likewise.
4895
09544cbc
SP
48962013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4897
88576635
SP
4898 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4899
e7b2d1dd
SP
4900 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4901
09544cbc
SP
4902 * sysdeps/generic/math_private.h (__mpsin1): Remove
4903 declaration.
4904 (__mpcos1): Likewise.
4905 (__mpsin): New argument __range_reduce.
4906 (__mpcos): Likewise.
4907 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4908 (slow): Use __mpsin and __mpcos.
4909 (slow1): Likewise.
4910 (slow2): Likewise.
4911 (sloww): Likewise.
4912 (sloww1): Likewise.
4913 (sloww2): Likewise.
4914 (bsloww): Likewise.
4915 (bsloww1): Likewise.
4916 (bsloww2): Likewise.
4917 (cslow2): Likewise.
4918 (csloww): Likewise.
4919 (csloww1): Likewise.
4920 (csloww2): Likewise.
4921 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4922 range_reduce. Merge in __mpsin1.
4923 (__mpcos): Likewise.
4924 (__mpsin1): Remove.
4925 (__mpcos1): Likewise.
4926
7602d070
JM
49272013-10-07 Joseph Myers <joseph@codesourcery.com>
4928
4929 * locale/loadlocale.c (_nl_intern_locale_data): Use
4930 LOCFILE_ALIGNED_P.
4931 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4932 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4933 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4934 obstack data is appropriately aligned.
4935 (obstack_int32_grow_fast): Likewise.
4936 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4937 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4938 (add_locale_uint32_array): Likewise.
4939
a357259b
SP
49402013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4941
4942 * benchtests/Makefile: Remove ARGLIST and RET variables.
4943 ($(objpfx)bench-%.c): Pass only function name to the script.
4944 * benchtests/README: Update documentation.
4945 * benchtests/acos-inputs: Add new directives.
4946 * benchtests/acosh-inputs: Likewise.
4947 * benchtests/asin-inputs: Likewise.
4948 * benchtests/asinh-inputs: Likewise.
4949 * benchtests/atan-inputs: Likewise.
4950 * benchtests/atanh-inputs: Likewise.
4951 * benchtests/cos-inputs: Likewise.
4952 * benchtests/cosh-inputs: Likewise.
4953 * benchtests/exp-inputs: Likewise.
4954 * benchtests/log-inputs: Likewise.
4955 * benchtests/pow-inputs: Likewise.
4956 * benchtests/rint-inputs: Likewise.
4957 * benchtests/sin-inputs: Likewise.
4958 * benchtests/sinh-inputs: Likewise.
4959 * benchtests/tan-inputs: Likewise.
4960 * benchtests/tanh-inputs: Likewise.
4961 * scripts/bench.pl: Add support for new directives.
4962
9ec1b13d
AM
49632013-10-07 Alan Modra <amodra@gmail.com>
4964
4965 * README: Fix careless merge.
4966
8b7d57cd
AM
49672013-10-05 Alan Modra <amodra@gmail.com>
4968
4969 * NEWS: Mention powerpc64le support and bugs fixed.
4970 * README: Both big-endian and little-endian powerpc64 supported.
4971
7b7bab13
ST
49722013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4973
4974 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4975 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4976 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4977 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4978
d39baad1
RA
49792013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4980
4981 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4982 match prototype.
4983
cd78f7e7
JM
49842013-10-04 Joseph Myers <joseph@codesourcery.com>
4985
29d73d86
JM
4986 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4987 Move -mhard-float appending from
4988 ports/sysdeps/powerpc/powerpc32/Makefile.
4989 [$(with-fp) = yes] (ASFLAGS): Likewise.
4990 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4991 * sysdeps/powerpc/nofpu: Move directory from
4992 ports/sysdeps/powerpc/nofpu.
4993 * sysdeps/powerpc/soft-fp: Move directory from
4994 ports/sysdeps/powerpc/soft-fp.
4995 * sysdeps/powerpc/powerpc32/405: Move directory from
4996 ports/sysdeps/powerpc/powerpc32/405.
4997 * sysdeps/powerpc/powerpc32/440: Move directory from
4998 ports/sysdeps/powerpc/powerpc32/440.
4999 * sysdeps/powerpc/powerpc32/464: Move directory from
5000 ports/sysdeps/powerpc/powerpc32/464.
5001 * sysdeps/powerpc/powerpc32/476: Move directory from
5002 ports/sysdeps/powerpc/powerpc32/476.
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5004 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5006 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5008 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5010 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5012 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5013 * README: Update for powerpc-*-linux-gnu software floating point
5014 support in libc.
5015
e246b347
JM
5016 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5017 case to powerpc/powerpc32*.
5018 * sysdeps/unix/sysv/linux/configure: Regenerated.
5019
89c2003e
JM
5020 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5021 (_FPU_MASK_OM): Define as 0x04.
5022 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5023 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5024 0x00c10080.
5025 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5026 0x0000003c.
5027 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5028
cd78f7e7
JM
5029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5030 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5031 getcontext_e500.
5032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5033 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5034 setcontext_e500.
5035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5036 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5037 and setcontext_e500.
5038
c755294d
CL
50392013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5040
5041 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5042
e16d221c
SP
50432013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5044
5045 * manual/threads.texi (Default Thread Attributes): Fix typo.
5046
215c7d43
WN
50472013-10-04 Will Newton <will.newton@linaro.org>
5048
5049 * malloc/Makefile: Add tst-memalign.
5050 * malloc/tst-memalign.c: New file.
5051
27d0461b
WN
5052 * malloc/tst-posix_memalign.c: Add comments.
5053 (do_test): Add comments and call free on all potentially
5054 allocated pointers. Add space after cast.
5055
1bc92709
WN
5056 * malloc/tst-pvalloc.c: Add comments.
5057 (do_test): Add comments and call free on all potentially
5058 allocated pointers. Remove duplicate check for NULL pointer.
5059 Add space after cast.
5060
66a9be9d
WN
5061 * malloc/tst-valloc.c: Add comments.
5062 (do_test): Add comments and call free on all potentially
5063 allocated pointers. Remove duplicate check for NULL pointer.
5064 Add space after cast.
5065
4cb81307
AM
50662013-10-04 Alan Modra <amodra@gmail.com>
5067
5068 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5069 Use stdint types in rather than __attribute__((mode())).
5070 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5071
f8e3e9f3
AM
50722013-10-04 Alan Modra <amodra@gmail.com>
5073
5074 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5075 Correct handling of unaligned relocs for little-endian.
5076 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5077
8f9ebb08
AM
50782013-10-04 Alan Modra <amodra@gmail.com>
5079
5080 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5081 * configure: Regenerate.
5082 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5083 * shlib-versions: Likewise.
5084
0edf96c2
AM
50852013-10-04 Alan Modra <amodra@gmail.com>
5086
5087 * string/tester.c (test_memrchr): Increment reported test cycle.
5088
e0f7a380
AM
50892013-10-04 Alan Modra <amodra@gmail.com>
5090
5091 * string/test-memcpy.c (do_one_test): When reporting errors, print
5092 string address and don't overrun end of string.
5093
466b0393
AM
50942013-10-04 Alan Modra <amodra@gmail.com>
5095
5096 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5097 insrdi. Make better use of reg selection to speed exit slightly.
5098 Schedule entry path a little better. Remove useless "are we done"
5099 checks on entry to main loop. Handle wrapping around zero address.
5100 Correct main loop count. Handle single left-over word from main
5101 loop inline rather than by using loop_small. Remove extra word
5102 case in loop_small caused by wrong loop count. Add little-endian
5103 support.
5104 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5105 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5106 cache hint.
5107 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5108 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5109 support. Avoid rlwimi.
5110 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5111
3be87c77
AM
51122013-10-04 Alan Modra <amodra@gmail.com>
5113
5114 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 5115 insrdi. Formatting.
3be87c77
AM
5116 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5117 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5118 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5119 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5120 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5121 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5122
759cfef3
AM
51232013-10-04 Alan Modra <amodra@gmail.com>
5124
5125 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5126 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5127 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5128 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5129 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5130 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5131 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5132 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5133 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5134 use of regs. Use power7 mtocrf. Tidy function tails.
5135
fe6e95d7
AM
51362013-10-04 Alan Modra <amodra@gmail.com>
5137
5138 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5139 Formatting. Consistently use rXXX register defines or rN defines.
5140 Use early exit labels that avoid restoring unused non-volatile regs.
5141 Make cr field use more consistent with rWORDn compares. Rename
5142 regs used as shift registers for unaligned loop, using rN defines
5143 for short lifetime/multiple use regs.
5144 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5145 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5146 addi 1,1,64 to pop stack frame. Simplify return value code.
5147 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5148
664318c3
AM
51492013-10-04 Alan Modra <amodra@gmail.com>
5150
5151 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5152 support. Correct typos, formatting. Optimize tail. Use insrdi
5153 rather than rlwimi.
5154 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5155 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5156 little-endian support. Correct typos.
5157 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5158 rather than rlwimi.
5159 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5160 in loop and entry code to keep "and." results.
5161 (strchr): Add little-endian support. Comment. Move cntlzd
5162 earlier in tail.
5163 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5164
43b84013
AM
51652013-10-04 Alan Modra <amodra@gmail.com>
5166
5167 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5168 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5169 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5170 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5171
8a7413f9
AM
51722013-10-04 Alan Modra <amodra@gmail.com>
5173
5174 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5175 (rTMP): Define as r11.
5176 (strcmp): Add little-endian support. Optimise tail.
5177 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5178 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5179 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5180 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5181 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5182 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5183 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5184
33ee81de
AM
51852013-10-04 Alan Modra <amodra@gmail.com>
5186
5187 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5188 little-endian support. Remove unnecessary "are we done" tests.
5189 Handle "s" wrapping around zero and extremely large "size".
5190 Correct main loop count. Handle single left-over word from main
5191 loop inline rather than by using small_loop. Correct comments.
5192 Delete "zero" tail, use "end_max" instead.
5193 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5194
db9b4570
AM
51952013-10-04 Alan Modra <amodra@gmail.com>
5196
5197 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5198 support. Don't branch over align.
5199 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5200 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5201 support. Rearrange tmp reg use to suit. Comment.
5202 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5203
f7c399cf
AM
52042013-10-04 Alan Modra <amodra@gmail.com>
5205
5206 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5207
0b2c2ace
AM
52082013-10-04 Alan Modra <amodra@gmail.com>
5209
5210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5211 conditional form of branch and link when obtaining pc.
5212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5213
02f04a6c
AM
52142013-10-04 Alan Modra <amodra@gmail.com>
5215
5216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5217 HIWORD/LOWORD.
5218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5220
9b874b2f
AM
52212013-10-04 Alan Modra <amodra@gmail.com>
5222
5223 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5224 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5225 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5226 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5227 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5228 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5229 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5230 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5231 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5232 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5233
be1e5d31
AB
52342013-10-04 Anton Blanchard <anton@au1.ibm.com>
5235 Alistair Popple <alistair@ozlabs.au.ibm.com>
5236 Alan Modra <amodra@gmail.com>
5237
5238 [BZ #15723]
5239 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5240 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5241 _dl_hwcap access for little-endian.
5242 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5243 destroy vmx regs when saving unaligned.
5244 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5245 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5246 destroy vmx regs when saving unaligned.
5247
fef13a78
AM
52482013-10-04 Alan Modra <amodra@gmail.com>
5249
5250 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5251 Don't use a union to pack hi/low value.
5252
76a66d51
AB
52532013-10-04 Anton Blanchard <anton@au1.ibm.com>
5254
5255 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5256 for little-endian.
5257 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5258 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5259 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5260 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5261 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5262
6a31fe7f
AM
52632013-10-04 Alan Modra <amodra@gmail.com>
5264
5265 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5266 constants to usual value for .cst8 section, and remove redundant
5267 high address load.
5268 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5269 constant for 0x1p52. Load little-endian words of double from
5270 correct stack offsets.
5271
7b88401f
AM
52722013-10-04 Alan Modra <amodra@gmail.com>
5273
5274 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5275 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5276 words of double from correct stack offsets.
5277 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5278 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5279 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5280 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5281 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5282 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5283 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5284 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5285 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5286 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5287 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5288 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5289 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5290 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5291 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5292 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5293 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5294
9c008155
AM
52952013-10-04 Alan Modra <amodra@gmail.com>
5296
5297 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5298 64-bit int/double union.
5299 (_FPU_SETCW): Likewise.
5300 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5301 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5302
da13146d
AM
53032013-10-04 Alan Modra <amodra@gmail.com>
5304
5305 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5306 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5307
603e8410
AM
53082013-10-04 Alan Modra <amodra@gmail.com>
5309
5310 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5311 use vector int constants.
5312 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5313
4a28b3ca
AB
53142013-10-04 Anton Blanchard <anton@au1.ibm.com>
5315
5316 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5317 array with long long.
5318 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5319 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5320 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5321 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5322 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5323 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5324 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5325 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5326 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5327 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5328 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5329 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5330 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5331
2ca85d2b
AB
53322013-10-04 Anton Blanchard <anton@au1.ibm.com>
5333
5334 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5335 (__signbit): Likewise. Correct for little-endian.
5336 (__signbitl): Call __signbit.
5337 (lrint): Correct for little-endian.
5338 (lrintf): Call lrint.
5339
62a728ae
AM
53402013-10-04 Alan Modra <amodra@gmail.com>
5341
5342 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5343 union 32-bit int array member with 64-bit int array.
5344 (t515, tm256): Double rather than long double.
5345 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5346
32c301df
AM
53472013-10-04 Alan Modra <amodra@gmail.com>
5348
5349 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5350 Delete.
5351 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5352 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5353 version of math_ldbl.h.
5354
650ef4bd
AM
53552013-10-04 Alan Modra <amodra@gmail.com>
5356
5357 [BZ #15734], [BZ #15735]
5358 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5359 all uses of ieee875 long double macros and unions. Simplify test
5360 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5361 ldbl_extract_mantissa value for ix,iy exponents. Properly
5362 normalize after ldbl_extract_mantissa, and don't add hidden bit
5363 already handled. Don't treat low word of ieee854 mantissa like
5364 low word of IBM long double and mask off bit when testing for
5365 zero.
5366 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5367 all uses of ieee875 long double macros and unions. Simplify tests
5368 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5369 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5370 two1022, instead use their values. Recognise that tests for large
5371 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5372 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5373 Rewrite all uses of ieee875 long double macros and unions. Simplify
5374 test for 0.0L and nan. Correct negation.
5375 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5376 ieee875 long double macros and unions. Correct output for large
5377 magnitude x. Correct absolute value calculation.
5378 (__erfcl): Likewise.
5379 * math/libm-test.inc: Add tests for errors discovered in IBM long
5380 double versions of fmodl, remainderl, erfl and erfcl.
5381
765714ca
AM
53822013-10-04 Alan Modra <amodra@gmail.com>
5383
5384 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5385 all uses of ieee854 long double macros and unions. Simplify tests
5386 for long doubles that are fully specified by the high double.
5387 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5388 Likewise.
5389 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5390 Remove dead code too.
5391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5392 (__ieee754_ynl): Likewise.
5393 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5394 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5395 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5396 Remove dead code too.
5397 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5398 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5399 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5400 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5401 Simplify.
5402 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5403 Simplify.
5404 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5405 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5406 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5407 Comment on variable precision.
5408 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5409 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5410 Likewise.
5411 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5414 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5415 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5416
4ebd120c
AM
54172013-10-04 Alan Modra <amodra@gmail.com>
5418
5419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5420 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5421 all uses of ieee854 long double macros and unions.
5422 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5423 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5424 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5425 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5428 Likewise.
5429 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5430 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5431 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5432 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5433 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5434 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5435 Simplify sign and nan test too.
5436 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5438 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5439 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5440 Likewise.
5441 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5442 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5443 Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5445 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5446 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5447 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5448 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5450
1b6adf88
AM
54512013-10-04 Alan Modra <amodra@gmail.com>
5452
5453 * stdio-common/printf_size.c (__printf_size): Don't use
5454 union ieee854_long_double in fpnum union.
5455 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5456 signbit macro to retrieve sign from long double.
5457 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5458 retrieve sign from long double.
5459 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5460 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5461 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5462 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5463 * math/test-misc.c (main): Don't use union ieee854_long_double.
5464
4cf69995
AM
54652013-10-04 Alan Modra <amodra@gmail.com>
5466
5467 [BZ #15680]
5468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5469 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5470 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5471 calculation. Remove unnecessary test for denormal exponent.
5472 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5473 Correct handling of denormals. Avoid undefined shift behaviour.
5474 Correct normalisation of low mantissa when low double is denormal.
5475 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5476 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5477 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5478 Correct normalisation of low mantissa. Test for overflow of high
5479 mantissa and normalise.
5480 (ldbl_nearbyint): Use more readable constant for two52.
5481 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5482 (__mpn_construct_long_double): Fix test for overflow of high
5483 mantissa and correct normalisation. Avoid undefined shift.
5484
9605ca6c
AM
54852013-10-04 Alan Modra <amodra@gmail.com>
5486
5487 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5488 (union ibm_extended_long_double): Define as an array of ieee754_double.
5489 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5490 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5491 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5492 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5495 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5496 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5500
975569d0
JM
55012013-10-03 Joseph Myers <joseph@codesourcery.com>
5502
d3d23756
JM
5503 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5504 page size instead of calling getpagesize.
5505
975569d0
JM
5506 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5507 (LOCFILE_ALIGN_MASK): Likewise.
5508 (LOCFILE_ALIGN_UP): Likewise.
5509 (LOCFILE_ALIGNED_P): Likewise.
5510 * locale/programs/ld-collate.c (collate_output): Use the new
5511 macros instead of __alignof__ (int32_t).
5512 * locale/weight.h (findidx): Likewise.
5513
b1fe1f2b
OB
55142013-10-03 Ondřej Bílka <neleai@seznam.cz>
5515
5516 [BZ #431]
5517 * manual/string.texi: Fix strncat and wcsncat.
5518
5f855e35
BM
55192013-10-03 Brooks Moses <bmoses@google.com>
5520
5521 [BZ #15915]
5522 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5523 * Makerules: ...here, and adjust associated comments.
5524
3cef6009
WN
55252013-10-02 Will Newton <will.newton@linaro.org>
5526
5527 * malloc/Makefile: Add tst-pvalloc.
5528 * malloc/tst-pvalloc.c: New file.
5529
7815420b
WN
55302013-10-02 Will Newton <will.newton@linaro.org>
5531
5532 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5533 improve test coverage.
5534
4868b204
WN
55352013-10-02 Will Newton <will.newton@linaro.org>
5536
5537 * malloc/Makefile: Add tst-posix_memalign.
5538 * malloc/tst-posix_memalign.c: New file.
5539
29c793b3
EB
55402013-10-01 Eric Blake <eblake@redhat.com>
5541
5542 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5543 Use __THROWNL rather than __THROW on static functions.
5544
fd967522
PM
55452013-09-30 Petr Machata <pmachata@redhat.com>
5546
5547 * elf/elf.h (R_AARCH64_ABS16): New macro.
5548 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5549 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5550 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5551 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5552 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5553 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5554 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5555 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5556 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5557 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5558 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5559 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5560 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5561 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5562 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5563 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5564 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5565 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5566 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5567 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5568 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5569 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5570 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5571 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5572 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5573 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5574 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5575 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5576 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5577 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5578 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5579 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5580 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5581 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5582 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5583 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5584 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5585 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5586 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5587 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5588 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5589 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5590 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5591 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5592 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5593 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5594 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5595 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5596 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5597 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5598 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5599 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5600 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5601 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5602 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5603 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5604 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5605 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5606 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5607 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5608 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5609 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5610 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5611 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5612 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5613 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5614 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5615 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5616 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5617 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5618 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5619 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5620 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5621 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5622 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5623 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5624 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5625 (R_AARCH64_TLSDESC_LDR): Likewise.
5626 (R_AARCH64_TLSDESC_ADD): Likewise.
5627 (R_AARCH64_TLSDESC_CALL): Likewise.
5628
b2179107
AS
56292013-09-30 Andreas Schwab <schwab@suse.de>
5630
5631 [BZ #15048]
5632 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5633 the nss database lookup.
5634 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5636
47f28d0a
MF
56372013-09-28 Mike Frysinger <vapier@gentoo.org>
5638
5639 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5640
56412013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5642
5643 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5644 ${Bash-specific parameter/pattern/string} parameter expansion.
5645 * sysdeps/unix/make-syscalls.sh: Likewise.
5646
f4518a17
KK
56472013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5648
5649 * sysdeps/sh/stackguard-macros.h: New file.
5650
dc1a95c7
OB
56512013-09-26 Ondřej Bílka <neleai@seznam.cz>
5652
5653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5654 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5655 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5656 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5657 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5658 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5659
5ebbff8f
AZ
56602013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5661
5662 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5663 Fix thread ID register.
5664
4fd2cf9f
JM
56652013-09-25 Joseph Myers <joseph@codesourcery.com>
5666
5667 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5668 [POSIX || UNIX98]: Require rather than permitting all symbols from
5669 <time.h>.
5670 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5671 element of struct sched_param.
5672 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5673 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5674 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5675 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5676 constant.
5677
12c22bc4
OL
56782013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5679
5680 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5681 argument calculation.
5682
a03d8ea7
JM
56832013-09-24 Joseph Myers <joseph@codesourcery.com>
5684
5685 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5686 Expect macro.
5687 [POSIX] (pthread_attr_t): Do not require type.
5688 [POSIX] (pthread_cond_t): Likewise.
5689 [POSIX] (pthread_condattr_t): Likewise.
5690 [POSIX] (pthread_key_t): Likewise.
5691 [POSIX] (pthread_mutex_t): Likewise.
5692 [POSIX] (pthread_mutexattr_t): Likewise.
5693 [POSIX] (pthread_once_t): Likewise.
5694 [POSIX] (pthread_t): Likewise.
5695 [POSIX-based standards] (pthread_atfork): Expect function.
5696
6055173a
JM
56972013-09-24 Joseph Myers <joseph@codesourcery.com>
5698 Richard Sandiford <richard@codesourcery.com>
5699
5700 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5701 (swap_endianness_p): New extern variable.
5702 (set_big_endian): New inline function.
5703 (maybe_swap_uint32): Likewise.
5704 (maybe_swap_uint32_array): Likewise.
5705 (maybe_swap_uint32_obstack): Likewise.
5706 * locale/programs/locfile.c: Include <stdbool.h>.
5707 (swap_endianness_p): New variable.
5708 (add_locale_uint32): Call maybe_swap_uint32.
5709 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5710 (write_locale_data): Call maybe_swap_uint32_array.
5711 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5712 maybe_swap_uint32.
5713 (obstack_int32_grow_fast): Likewise.
5714 (output_weightwc): Call maybe_swap_uint32_obstack.
5715 (collate_output): Likewise.
5716 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5717 (OPT_LITTLE_ENDIAN): Likewise.
5718 (options): Add --little-endian and --big-endian options.
5719 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5720 * locale/programs/locarchive.c: Include "locfile.h".
5721 (GET): New macro.
5722 (SET): Likewise.
5723 (INC): Likewise.
5724 (create_archive): Use the new macros to access fields of
5725 structures directly mapped from or written to locale archives.
5726 (oldlocrecentcmp): Likewise.
5727 (enlarge_archive): Likewise.
5728 (insert_name): Likewise.
5729 (add_alias): Likewise.
5730 (add_locale): Likewise.
5731 (delete_locales_from_archive): Likewise.
5732 (show_archive_content): Likewise.
5733 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5734 locale data.
5735
39bf0bb4
RM
57362013-09-24 Roland McGrath <roland@hack.frob.com>
5737
5738 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5739 http://www.gnu.org/doc/freemanuals.texi.
5740 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5741
f02eed10
WN
57422013-09-24 Will Newton <will.newton@linaro.org>
5743
5744 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5745 macro.
5746
a3a6c312
JM
57472013-09-23 Joseph Myers <joseph@codesourcery.com>
5748
5749 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5750 unsigned char.
5751
107375ac
MR
57522013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5753
5754 * manual/threads.texi (POSIX Threads): Fix a typo.
5755
141f3a77
SP
57562013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5757
303e567a
SP
5758 [BZ #14547]
5759 * string/tst-strcoll-overflow.c: New test case.
5760 * string/Makefile (xtests): Add tst-strcoll-overflow.
5761 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5762 cache if string sizes may cause integer overflow.
5763
141f3a77
SP
5764 [BZ #14547]
5765 * string/strcoll_l.c (coll_seq): New members rule, idx,
5766 save_idx and back_us.
5767 (get_next_seq_nocache): New function.
5768 (do_compare_nocache): New function.
5769 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5770 when malloc fails.
5771
c61b4d41
CD
57722013-09-23 Carlos O'Donell <carlos@redhat.com>
5773
0b1f8e35
CD
5774 [BZ #15754]
5775 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5776 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5777 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5778
c61b4d41
CD
5779 [BZ #15754]
5780 * elf/Makefile (tests): Add tst-ptrguard1.
5781 (tests-static): Add tst-ptrguard1-static.
5782 (tst-ptrguard1-ARGS): Define.
5783 (tst-ptrguard1-static-ARGS): Define.
5784 * elf/tst-ptrguard1.c: New file.
5785 * elf/tst-ptrguard1-static.c: New file.
5786 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5787 * sysdeps/i386/stackguard-macros.h: Likewise.
5788 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5789 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5790 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5791 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5792 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5793 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5794
57952013-09-23 Hector Marco <hecmargi@upv.es>
5796 Ismael Ripoll <iripoll@disca.upv.es>
5797 Carlos O'Donell <carlos@redhat.com>
5798
5799 [BZ #15754]
5800 * sysdeps/generic/stackguard-macros.h: Define
5801 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5802 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5803 Define __pointer_chk_guard_local.
5804 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5805 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5806
f5f4e7b4
VV
58072013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5808
5809 [BZ #15859]
5810 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5811
5bb43a43
AS
58122013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5813
5814 * include/string.h (__ffs): Declare as hidden.
5815 * string/ffs.c (__ffs): Define as hidden.
5816 * sysdeps/i386/ffs.c (__ffs): Likewise.
5817 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5818 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5819 * sysdeps/s390/ffs.c (__ffs): Likewise.
5820 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5821
3ea5be54
AO
58222013-09-20 Alexandre Oliva <aoliva@redhat.com>
5823
ffb89e53
AO
5824 * NEWS: Mention malloc probes.
5825
322dea08
AO
5826 * malloc/arena.c (new_heap): New memory_heap_new probe.
5827 (grow_heap): New memory_heap_more probe.
5828 (shrink_heap): New memory_heap_less probe.
5829 (heap_trim): New memory_heap_free probe.
5830 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5831 (systrim): New memory_sbrk_less probe.
5832 * manual/probes.texi: Document them.
5833
655673f3
AO
5834 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5835 * manual/probes.texi: Document it.
5836
35fed6f1
AO
5837 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5838 (__libc_realloc): Add memory_realloc_retry probe.
5839 (__libc_memalign): Add memory_memalign_retry probe.
5840 (__libc_valloc): Add memory_valloc_retry probe.
5841 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5842 (__libc_calloc): Add memory_calloc_retry probe.
5843 * manual/probes.texi: Document them.
5844
6999d38c
AO
5845 * malloc/arena.c (get_free_list): Add probe
5846 memory_arena_reuse_free_list.
5847 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5848 and memory_arena_reuse.
5849 (arena_get2) [!PER_THREAD]: Likewise.
5850 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5851 memory_arena_reuse_realloc.
5852 * manual/probes.texi: Document them.
5853
0653427f
AO
5854 * malloc/malloc.c (__libc_free): Add
5855 memory_mallopt_free_dyn_thresholds probe.
5856 (__libc_mallopt): Add multiple memory_mallopt probes.
5857 * manual/probes.texi: Document them.
5858
3ea5be54
AO
5859 * malloc/malloc.c: Include stap-probe.h.
5860 (__libc_mallopt): Add memory_mallopt probe.
5861 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5862 * manual/probes.texi: New.
5863 * manual/Makefile (chapters): Add probes.
5864 * manual/threads.texi: Set next node.
5865
e35696c3 58662013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5867
e35696c3
CL
5868 [BZ #15963, #13985]
5869 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5870 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5871 Add `Chinese' to `nan' entry name.
5872
4aafb73c
SP
58732013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5874
5875 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5876 (POLYNOMIAL): Likewise.
5877 (TAYLOR_SINCOS): Likewise.
5878 (TAYLOR_SLOW): Likewise.
5879 (__sin): Use TAYLOR_SINCOS.
5880 (__cos): Likewise.
5881 (slow): Use TAYLOR_SLOW.
5882 (sloww): Likewise.
5883 (bsloww): Likewise.
5884 (csloww): Likewise.
5885
d84f25c7
LD
58862013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5887
5888 * stdlib/strtod_l.c: Fix buffer overrun.
5889
5eea0404
SP
58902013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5891
7849ff93
SP
5892 * benchtests/Makefile (bench): Add sincos.
5893 * benchtests/bench-sincos.c: New file.
5894
cfa3c886
SP
5895 * math/libm-test.inc (cos_test_data): New test inputs.
5896 (sin_test_data): Likewise.
5897
b348e1e3
SP
5898 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5899 macro.
5900 (__sin): Use it.
5901 (__cos): Likewise.
5902 (slow1): Likewise.
5903 (slow2): Likewise.
5904 (sloww1): Likewise.
5905 (sloww2): Likewise.
5906 (bsloww1): Likewise.
5907 (bsloww2): Likewise.
5908 (cslow2): Likewise.
5909 (csloww1): Likewise.
5910 (csloww2): Likewise.
5911
6cce25f8
SP
5912 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5913 function.
5914 (__sin): Use it.
5915 (__cos): Likewise.
5916
5eea0404
SP
5917 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5918 gotos.
5919 (__cos): Likewise.
5920
9c21573c
MR
59212013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5922
5923 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5924 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5925 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5926 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5927 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5928 * elf/cache.c (print_entry): Handle the new cache flags.
5929
24d22e65
JM
59302013-09-18 Joseph Myers <joseph@codesourcery.com>
5931 Aldy Hernandez <aldyh@redhat.com>
5932
5933 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5934 Change condition to [_SOFT_FLOAT].
5935 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5937 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5939 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5941 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5945 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5947 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5950 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5951 declaration.
5952
d13ef066
JM
59532013-09-18 Joseph Myers <joseph@codesourcery.com>
5954
2e071de0
JM
5955 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5956 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5957 (__longjmp): Use LOAD_GP to load saved GPRs.
5958 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5959 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5960 (__sigsetjmp): Use SAVE_GP to save GPRs.
5961
d13ef066
JM
5962 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5963 Do not append -msoft-float.
5964 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5965
97a0650b
SP
59662013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5967
5968 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5969
11ca09e9
JM
59702013-09-17 Joseph Myers <joseph@codesourcery.com>
5971
5972 [BZ #15966]
5973 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5974 (_FPU_GETCW): Use initial "__" on variable and field names but not
5975 on macro parameter name.
5976 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5977 parentheses around reference to macro parameter.
5978
08ffcf34
RS
59792013-09-13 Richard Sandiford <richard@codesourcery.com>
5980
5981 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5982 prototype.
5983 (ctype_startup): Use uint32_t in cast and sizeof for
5984 ctype->charnames.
5985
ae7080d3
JL
59862013-09-11 Jia Liu <proljc@gmail.com>
5987
5988 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5989 __daddr_t_defined.
5990 [__FreeBSD__]: Likewise.
5991
5905e7b3
OB
59922013-09-11 Ondřej Bílka <neleai@seznam.cz>
5993
5994 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5995 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5996 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5997 (strchr): Remove __strchr_sse42 ifunc selection.
5998 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5999 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6000
b987c776
WN
60012013-09-11 Will Newton <will.newton@linaro.org>
6002
6003 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6004 parameter to RES. Remove hardcoded 1000 value.
6005 * benchtests/bench-skeleton.c (main): Pass RES parameter
6006 to TIMING_INIT and multiply result by 1000.
6007
ddf985af
AZ
60082013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6009
6010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6011
ffdd3181
AS
60122013-09-11 Andreas Schwab <schwab@suse.de>
6013
6014 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6015 if not defined.
6016 (O_TMPFILE) [__USE_GNU]: Define.
6017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6018 Define.
6019
b73ed247
WN
60202013-09-11 Will Newton <will.newton@linaro.org>
6021
6022 [BZ #15857]
6023 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6024 does not overflow.
6025
55e17aad
WN
60262013-09-11 Will Newton <will.newton@linaro.org>
6027
6028 [BZ #15856]
6029 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6030 does not overflow.
6031
1159a193
WN
60322013-09-11 Will Newton <will.newton@linaro.org>
6033
6034 [BZ #15855]
6035 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6036 does not overflow.
6037
5905e7b3 60382013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
6039
6040 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6041 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6042 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6043 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6044 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6045
cdfc721b
AM
60462013-09-10 Allan McRae <allan@archlinux.org>
6047
aa04af00
AM
6048 [BZ #15748]
6049 * manual/arith.texi (Parsing of Floats): Clarify
6050 cross-reference.
6051
cdfc721b
AM
6052 [BZ #15849]
6053 * manual/install.texi (Running make install): Mention
6054 --enable-pt-chown.
6055 * INSTALL: Regenerated.
6056
95e7cf29
MR
60572013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6058
6059 * csu/init-first.c (_init): Remove the !SHARED condition around
6060 FPU control word initialization.
6061 * elf/dl-support.c (_dl_fpu_control): New variable.
6062 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6063 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6064 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6065 * math/test-fpucw-static.c: New file.
6066 * math/test-fpucw-ieee.c: New file.
6067 * math/test-fpucw-ieee-static.c: New file.
6068 * math/Makefile (tests): Add `test-fpucw-ieee' and
6069 `$(tests-static)'.
6070 (tests-static): New variable.
6071 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6072 dependency to...
6073 [($(build-shared),yes)]
6074 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6075 ... this.
6076 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6077 New dependency.
6078
83e43bf0
AM
60792013-09-09 Allan McRae <allan@archlinux.org>
6080
a9f5ce09
AM
6081 [BZ #15939]
6082 * manual/string.texi (Collation Functions): Fix typo in
6083 strcoll example.
6084 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6085
34829bc2
AM
6086 [BZ #15893]
6087 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6088
3932737d
AM
6089 [BZ #15892]
6090 * libio/memstream.c (open_memstream): Fix memory leak.
6091 * libio/wmemstream.c (open_wmemstream): Likewise.
6092
83e43bf0
AM
6093 [BZ #15895]
6094 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6095
0c66b8e9
WN
60962013-09-09 Will Newton <will.newton@linaro.org>
6097
6098 * malloc/Makefile: Add tst-realloc to tests.
6099 * malloc/tst-realloc.c: New file.
6100
f6b00fd1
AM
61012013-09-09 Allan McRae <allan@archlinux.org>
6102
6103 [BZ #15844]
6104 * COPYING: Update from GNU website to fix FSF address.
6105 * COPYING.LIB: Likewise.
6106
eec55e16
DM
61072013-09-06 David S. Miller <davem@davemloft.net>
6108
6109 * po/zh_TW.po: Update Chinese (traditional) translation from
6110 translation project.
6111
1ecbb381
RS
61122013-09-06 Richard Sandiford <richard@codesourcery.com>
6113 Joseph Myers <joseph@codesourcery.com>
6114
6115 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6116 "localeinfo.h".
6117 (obstack_chunk_alloc): New macro.
6118 (obstack_chunk_free): Likewise.
6119 (record_offset): New function.
6120 (init_locale_data): Likewise.
6121 (align_locale_data): Likewise.
6122 (add_locale_empty): Likewise.
6123 (add_locale_raw_data): Likewise.
6124 (add_locale_raw_obstack): Likewise.
6125 (add_locale_string): Likewise.
6126 (add_locale_wstring): Likewise.
6127 (add_locale_uint32): Likewise.
6128 (add_locale_uint32_array): Likewise.
6129 (add_locale_char): Likewise.
6130 (start_locale_structure): Likewise.
6131 (end_locale_structure): Likewise.
6132 (start_locale_prelude): Likewise.
6133 (end_locale_prelude): Likewise.
6134 (write_locale_data): Take locale_file structure rather than an
6135 iovec.
6136 * locale/programs/locfile.h: Include "obstack.h".
6137 (struct locale_file): Change to store locale file contents instead
6138 of header.
6139 (init_locale_data): New prototype.
6140 (align_locale_data): Likewise.
6141 (add_locale_empty): Likewise.
6142 (add_locale_raw_data): Likewise.
6143 (add_locale_raw_obstack): Likewise.
6144 (add_locale_string): Likewise.
6145 (add_locale_wstring): Likewise.
6146 (add_locale_uint32): Likewise.
6147 (add_locale_uint32_array): Likewise.
6148 (add_locale_char): Likewise.
6149 (start_locale_structure): Likewise.
6150 (end_locale_structure): Likewise.
6151 (start_locale_prelude): Likewise.
6152 (end_locale_prelude): Likewise.
6153 (write_locale_data): Update prototype.
6154 * locale/programs/3level.h (struct TABLE): Remove result field.
6155 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6156 Use new locale_file interface.
6157 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6158 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6159 * locale/programs/ld-address.c (address_output): Use new
6160 locale_file interface.
6161 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6162 NO_ADD_LOCALE.
6163 (collate_finish): Don't call collseq_table_finalize.
6164 (collate_output): Use new locale_file interface.
6165 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6166 in file.
6167 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6168 (TABLE): Move defines earlier in file.
6169 (ELEMENT): Likewise.
6170 (DEFAULT): Likewise.
6171 (wctrans_table_add): Move macro and inline function earlier in
6172 file.
6173 (struct wctype_table): Move type earlier in file.
6174 (add_locale_wctype_table): New static prototype.
6175 (struct locale_ctype_t): Use logical types instead of struct iovec
6176 pointers for members.
6177 (ctype_output): Use new locale_file interface.
6178 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6179 new locale_file interface.
6180 (allocate_arrays): Update for use of new locale_file interface.
6181 * locale/programs/ld-identification.c (identification_output): Use
6182 new locale_file interface.
6183 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6184 * locale/programs/ld-messages.c (messages_output): Likewise.
6185 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6186 * locale/programs/ld-name.c (name_output): Likewise.
6187 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6188 * locale/programs/ld-paper.c (paper_output): Likewise.
6189 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6190 * locale/programs/ld-time.c (time_output): Likewise.
6191
e029e2e5
AZ
61922013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6193
6194 * benchtests/Makefile: Add memrchr benchmark.
6195 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6196 benchmark as memrchr.
6197 * benchtests/bench-memrchr-ifunc.c: New file.
6198 * benchtests/bench-memrchr.c: New file.
6199
bbf6e8e4
WN
62002013-09-06 Will Newton <will.newton@linaro.org>
6201
6202 * benchtests/Makefile (string-bench): Add memcpy.
6203
6c82a2f8
CD
62042013-09-05 Carlos O'Donell <carlos@redhat.com>
6205 Cong Wang <amwang@redhat.com>
6206
e732c5f0 6207 [BZ #15850]
6c82a2f8
CD
6208 * sysdeps/unix/sysv/linux/bits/in.h
6209 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6210 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6211 before __USE_KERNEL_IPV6_DEFS uses.
6212 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6213 IPPROTO_BEETPH.
6214 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6215 sockaddr_in6, or ipv6_mreq.
6216
5430fc65
AZ
62172013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6218
6219 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6220 memory access for final bytes in some large inputs.
6221 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6222
4660856c
AZ
62232013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6224
6225 * string/test-memrchr.c: New file.
6226 * string/test-memrchr-ifunc.c: New file.
6227 * string/Makefile: Add new memrchr testcase.
6228
bb8ea713
MF
62292013-09-05 Mike Frysinger <vapier@gentoo.org>
6230
6231 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6232 fanotify_init returns EPERM.
6233
b92a20b5
JM
62342013-09-04 Joseph Myers <joseph@codesourcery.com>
6235
6236 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6237 errors.
6238 (top level): Treat second token from macro or constant entries for
6239 allowed headers as allowed.
6240 * include/complex.h: Condition internal declarations on
6241 [!_ISOMAC].
6242 * include/fenv.h: Condition include of <stdbool.h> and internal
6243 declarations on [!_ISOMAC].
7447ccd9
CL
6244
62452013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6246
3e181dda 6247 [BZ #15923]
7447ccd9
CL
6248 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6249
3f2e46a4
JM
62502013-09-04 Joseph Myers <joseph@codesourcery.com>
6251
6252 * configure.in (--enable-versioning): Remove configure option.
6253 (libc_cv_asm_symver_directive): Remove configure test.
6254 (libc_cv_ld_version_script_option): Likewise.
6255 (VERSIONING): Remove variable and AC_SUBST.
6256 (DO_VERSIONING): Remove AC_DEFINE.
6257 * configure: Regenerated.
6258 * config.h.in (DO_VERSIONING): Remove macro.
6259 * Makerules [$(versioning) = yes]: Change conditionals to
6260 [$(build-shared) = yes].
6261 * config.make.in (versioning): Remove variable.
6262 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6263 [$(build-shared) = yes].
6264 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6265 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6266 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6267 [$(build-shared) = yes].
6268 * extra-lib.mk [$(versioning) = yes]: Likewise.
6269 * hurd/Makefile [$(versioning) = yes]: Likewise.
6270 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6271 [SHARED].
6272 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6273 [SHARED].
6274 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6275 [SHARED && !NO_HIDDEN].
6276 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6277 [SHARED].
6278 [SHARED && DO_VERSIONING]: Likewise..
6279 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6280 [$(build-shared) = yes].
6281 * manual/install.texi (--disable-versioning): Remove
6282 documentation.
6283 * INSTALL: Regenerated.
6284 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6285 to [SHARED].
6286 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6287 [$(build-shared) = yes].
6288 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6289 * sysdeps/i386/i686/multiarch/strstr-c.c
6290 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6291 [SHARED && !NO_HIDDEN].
6292 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6293 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6294 * sysdeps/powerpc/powerpc32/dl-machine.c
6295 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6296 * sysdeps/powerpc/powerpc32/sysdep.h
6297 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6298 to [SHARED && PIC && !NO_HIDDEN].
6299 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6300 conditional to [SHARED].
6301
44558701
WN
63022013-09-04 Will Newton <will.newton@linaro.org>
6303
6304 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6305 * benchtests/bench-string.h: Include bench-timing.h instead
6306 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6307 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6308 call to HP_TIMING_DIFF_INIT.
6309 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6310 instead of hp-timing.h macros.
6311 * benchtests/bench-memchr.c: Likewise.
6312 * benchtests/bench-memcmp.c: Likewise.
6313 * benchtests/bench-memcpy.c: Likewise.
6314 * benchtests/bench-memmem.c: Likewise.
6315 * benchtests/bench-memmove.c: Likewise.
6316 * benchtests/bench-memset.c: Likewise.
6317 * benchtests/bench-rawmemchr.c: Likewise.
6318 * benchtests/bench-strcasecmp.c: Likewise.
6319 * benchtests/bench-strcasestr.c: Likewise.
6320 * benchtests/bench-strcat.c: Likewise.
6321 * benchtests/bench-strchr.c: Likewise.
6322 * benchtests/bench-strcmp.c: Likewise.
6323 * benchtests/bench-strcpy.c: Likewise.
6324 * benchtests/bench-strcpy_chk.c: Likewise.
6325 * benchtests/bench-strlen.c: Likewise.
6326 * benchtests/bench-strncasecmp.c: Likewise.
6327 * benchtests/bench-strncat.c: Likewise.
6328 * benchtests/bench-strncmp.c: Likewise.
6329 * benchtests/bench-strncpy.c: Likewise.
6330 * benchtests/bench-strnlen.c: Likewise.
6331 * benchtests/bench-strpbrk.c: Likewise.
6332 * benchtests/bench-strrchr.c: Likewise.
6333 * benchtests/bench-strspn.c: Likewise.
6334 * benchtests/bench-strstr.c: Likewise.
6335
cae16d66
WN
63362013-09-04 Will Newton <will.newton@linaro.org>
6337
6338 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6339
ffa3cd7f
JM
63402013-09-03 Joseph Myers <joseph@codesourcery.com>
6341
6342 [BZ #15427]
6343 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6344 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6345 * math/libm-test.inc (lgamma_test_data): Add more tests.
6346 * sysdeps/i386/fpu/libm-test-ulps: Update.
6347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6348
8f02859f
OB
63492013-09-03 Ondřej Bílka <neleai@seznam.cz>
6350
6351 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6352 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6353 Add ifunc.
6354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6355 Add strcmp-sse2-unaligned
6356 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6357
18d43716
MF
63582013-09-02 Mike Frysinger <vapier@gentoo.org>
6359
6360 * Versions.def (libc): Add GLIBC_2.19.
6361
ac444012
MF
63622013-09-02 Mike Frysinger <vapier@gentoo.org>
6363
6364 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6365 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6366
b7835e32
JM
63672013-09-02 Joseph Myers <joseph@codesourcery.com>
6368
6369 [BZ #14155]
6370 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6371 intermediate calculations in recurrence.
6372 (__ieee754_ynf): Likewise.
6373 * math/libm-test.inc (jn_test_data): Do not allow spurious
6374 underflow exception. Add more tests.
6375 (yn_test_data): Add more tests.
6376 * sysdeps/i386/fpu/libm-test-ulps: Update.
6377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6378
8220f4f0
OB
63792013-09-02 Ondřej Bílka <neleai@seznam.cz>
6380
6381 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6382
f24a6d08
OB
63832013-08-30 Ondřej Bílka <neleai@seznam.cz>
6384
6385 * csu/init-first.c: Fix then/than typos.
6386 * locale/programs/ld-collate.c: Likewise.
6387 * locale/programs/linereader.h: Likewise.
6388 * manual/charset.texi: Likewise.
6389 * manual/filesys.texi: Likewise.
6390 * manual/stdio.texi: Likewise.
6391 * manual/string.texi: Likewise.
6392 * stdlib/fmtmsg.c: Likewise.
6393 * sysdeps/i386/stpncpy.S: Likewise.
6394 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6395 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6396 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6397 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6398
382466e0
OB
63992013-08-30 Ondřej Bílka <neleai@seznam.cz>
6400
6401 * elf/dl-open.c: Fix typos.
6402 * iconvdata/gbbig5.c: Likewise.
6403 * iconvdata/iso-2022-jp.c: Likewise.
6404 * iconv/gconv_int.h: Likewise.
6405 * iconv/loop.c: Likewise.
6406 * nis/rpcsvc/nis.h: Likewise.
6407 * resolv/ns_name.c: Likewise.
6408 * stdio-common/vfscanf.c: Likewise.
6409 * streams/stropts.h: Likewise.
6410 * sunrpc/rpc_thread.c: Likewise.
6411 * sysdeps/i386/strpbrk.S: Likewise.
6412 * sysdeps/ieee754/k_standard.c: Likewise.
6413 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6414 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6415 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6416 * sysdeps/mach/hurd/profil.c: Likewise.
6417 * sysdeps/s390/dl-procinfo.h: Likewise.
6418 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6419 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6420 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6421 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6422 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6423
0186c6e9
OB
64242013-08-30 Ondřej Bílka <neleai@seznam.cz>
6425
6426 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6427 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6428
d4e16af1
OB
64292013-08-29 Ondřej Bílka <neleai@seznam.cz>
6430
6431 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6432 aix specific files.
6433 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6434 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6435 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6436 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6437 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6438 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6439 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6440 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6441
88335980
TS
64422013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6443 Roland McGrath <roland@hack.frob.com>
6444
6445 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6446 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6447
ed479b02
ST
64482013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6449
6450 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6451 __executable_start symbol instead of _start.
6452
f1cc4c86
TS
64532013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6454
d821f07c
TS
6455 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6456 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6457 Move macros to...
6458 * sysdeps/gnu/ldsodefs.h: ... this new file.
6459
c54290cf
TS
6460 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6461 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6462 instead of ELFOSABI_LINUX.
6463
0007fc9b 6464 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6465 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6466 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6467 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6468 Likewise.
6469 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6470 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6471 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6472 Likewise.
6473 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6474 (ibm_extended_long_double): Add ieee_nan member.
6475 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6476 (do_test): New function.
6477
f1cc4c86
TS
6478 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6479 TEST_TRUNC.
6480 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6481 functions, renamed from truncdfsf_test, trunctfsf_test,
6482 trunctfdf_test.
6483 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6484 functions.
6485 (do_test): Run all these.
6486
6f65e668
OB
64872013-08-29 Ondřej Bílka <neleai@seznam.cz>
6488
6489 * argp/argp-help.c: Fix typos.
6490 * argp/argp-parse.c: Likewise.
6491 * debug/backtracesyms.c: Likewise.
6492 * elf/elf.h: Likewise.
6493 * malloc/malloc.c: Likewise.
6494 * nis/nis_print.c: Likewise.
6495 * resolv/res_comp.c: Likewise.
6496 * stdlib/stdlib.h: Likewise.
6497 * sunrpc/clnt_tcp.c: Likewise.
6498 * sunrpc/clnt_udp.c: Likewise.
6499 * sunrpc/clnt_unix.c: Likewise.
6500 * sysdeps/unix/bsd/ptsname.c: Likewise.
6501 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6502 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6504 Likewise.
6505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6506 Likewise.
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6508 Likewise.
6f65e668
OB
6509 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6510
3a309239
SP
65112013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6512
6513 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6515
3b813b29
MF
65162013-08-27 Mike Frysinger <vapier@gentoo.org>
6517
6518 [BZ #15897]
6519 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6520 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6521 ($(objpfx)bug-dl-leaf): New rule.
6522 ($(objpfx)bug-dl-leaf.so): Likewise.
6523 ($(objpfx)bug-dl-leaf.out): Likewise.
6524 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6525 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6526 * dlfcn/bug-dl-leaf.c: New test.
6527 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6528 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6529 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6530 (dlclose): Likewise.
6531 (dlmopen): Likewise.
6532
8cc3269f
RM
65332013-08-27 Roland McGrath <roland@hack.frob.com>
6534
7f9d0034
RM
6535 * include/netdb.h [!_ISOMAC]:
6536 Don't include <tls.h>.
6537 (h_errno, __libc_h_errno): Move declaration and macros out of
6538 [_LIBC_REENTRANT].
6539
fb431262
RM
6540 * include/resolv.h [_RESOLV_H_]:
6541 Don't include <tls.h>.
6542 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6543 * resolv/res_libc.c: Don't include <tls.h>.
6544 (_res): Use __attribute__ ((nocommon)) in place of
6545 __attribute__ ((section (".bss"))).
6546
bd81123a
RM
6547 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6548 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6549
c4e42566
RM
6550 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6551
f890a59b
RM
6552 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6553 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6554
6555 * resolv/res_mkquery.c: Include <sys/time.h>.
6556
5d1f0a09
RM
6557 * inet/ifreq.c: Moved to ...
6558 * sysdeps/unix/ifreq.c: ... here.
6559 * inet/ifreq.c: New file, true stub version.
6560
6fcf28b3
RM
6561 * socket/sa_len.c: New file.
6562 * socket/Makefile (aux): Add it.
6563 * sysdeps/unix/sysv/linux/Makefile
6564 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6565 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6566 and #include <socket/sa_len.c>.
6567 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6568 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6569
e041fb8b
RM
6570 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6571 * bits/socket.h: ... here.
6572
8cc3269f
RM
6573 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6574 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6575 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6576
5d228a43
AS
65772013-08-27 Andreas Schwab <schwab@suse.de>
6578
45b8accc
AS
6579 [BZ #15736]
6580 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6581 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6582 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6583 * string/test-strcasecmp.c (test_main): Run tests in several
6584 locales.
6585 * string/test-strncasecmp.c (test_main): Likewise.
6586
5d228a43
AS
6587 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6588 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6589 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6590 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6591 (__strncasecmp_ssse3) [PIC]: Likewise.
6592
59d112a4
RM
65932013-08-26 Roland McGrath <roland@hack.frob.com>
6594
53234cc3
RM
6595 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6596
59d112a4
RM
6597 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6598 instead of explicitly declaring xdecrypt.
6599 * nis/nss_nis/nis-publickey.c: Likewise.
6600
595aba70
SP
66012013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6602
6603 [BZ #15890]
6604 * nscd/aicache.c: Include res_hconf.h.
6605 (addhstaiX): Initialize res_hconf.
6606
ffabd393
AS
66072013-08-26 Andreas Schwab <schwab@suse.de>
6608
6609 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6610 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6611
e0a69f5c
SP
66122013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6613
6614 * nscd/aicache.c (addhstaiX): Fix indentation.
6615
8c12f01d
MF
66162013-08-25 Mike Frysinger <vapier@gentoo.org>
6617
6618 * configure.ac: Quote $build_pt_chown test.
6619 * configure: Regenerated.
6620
8fe89494
JM
66212013-08-23 Joseph Myers <joseph@codesourcery.com>
6622
6623 [BZ #15532]
6624 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6625 * math/s_cexpf.c (__cexpf): Likewise.
6626 * math/s_cexpl.c (__cexpl): Likewise.
6627 * math/libm-test.inc (cexp_test_data): Correct expected return
6628 value for NaN + i0. Add another test.
6629
75b181d6
DM
66302013-08-22 David S. Miller <davem@davemloft.net>
6631
6632 * po/ca.po: Update Catalan translation from translation project.
936241e4 6633 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6634
acd06bb1
JM
66352013-08-21 Joseph Myers <joseph@codesourcery.com>
6636
6637 [BZ #15797]
6638 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6639 is infinite, not alongside NaN test.
6640 * math/s_fdimf.c (__fdimf): Likewise.
6641 * math/s_fdiml.c (__fdiml): Likewise.
6642 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6643 errno is unchanged.
6644
c0c3f78a
OB
66452013-08-21 Ondřej Bílka <neleai@seznam.cz>
6646
6647 * argp/argp-help.c: Fix typos.
6648 * crypt/speeds.c: Likewise.
6649 * csu/check_fds.c: Likewise.
6650 * elf/dl-load.c: Likewise.
6651 * elf/dl-open.c: Likewise.
6652 * elf/reldep3.c: Likewise.
6653 * elf/reldep.c: Likewise.
6654 * elf/sprof.c: Likewise.
6655 * iconv/iconv_charmap.c: Likewise.
6656 * iconv/skeleton.c: Likewise.
6657 * iconv/strtab.c: Likewise.
6658 * io/lockf64.c: Likewise.
6659 * libio/libioP.h: Likewise.
6660 * resolv/gai_notify.c: Likewise.
6661 * resolv/ns_name.c: Likewise.
6662 * resolv/ns_samedomain.c: Likewise.
6663 * resolv/res_send.c: Likewise.
6664 * stdlib/random.c: Likewise.
6665 * sunrpc/rpc/xdr.h: Likewise.
6666 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6667 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6668 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6669 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6670 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6671 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6672 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6673 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6674 * sysdeps/mach/hurd/check_fds.c: Likewise.
6675 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6676 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6677 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6678 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6679 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6680 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6681 * sysdeps/pthread/aio_notify.c: Likewise.
6682 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6683 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6684 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6685 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6686 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6687
46ed1038
LD
66882013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6689
6690 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6691 version if bit_Slow_SSE4_2 is set.
6692 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6693 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6694
d400dcac
AZ
66952013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6696
6697 [BZ #15867]
6698 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6699 trampoline stack frame information.
6700 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6701 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6702 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6703 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6704 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6705 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6706 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6707 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6708 sa_flags value.
6709 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6710 interrupting a syscall and set with option SA_SIGINFO.
6711
42c8fdd8
JM
67122013-08-20 Joseph Myers <joseph@codesourcery.com>
6713
c980f2f4
JM
6714 [BZ #15531]
6715 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6716 argument is infinite.
6717 * math/s_cprojf.c (__cprojf): Likewise.
6718 * math/s_cprojl.c (__cprojl): Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6720 * math/libm-test.inc (cproj_test_data): Add more tests.
6721
0716c4fc
JM
6722 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6723
42c8fdd8
JM
6724 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6725 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6726 size. Use __ffs to determine corresponding shift.
6727
b31469d0
JM
67282013-08-20 Joseph Myers <joseph@codesourcery.com>
6729 Roland McGrath <roland@hack.frob.com>
6730
6731 * Makefile (INSTALL): Remove trailing blank lines from output of
6732 makeinfo.
6733
4e39af6e
AK
67342013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6735
6736 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6737 Align 32 bit compat elf_greg to 8 bytes.
6738
f315524e
AA
67392013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6740
6741 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6742
1326ba1a
SP
67432013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6744
6745 * string/strcoll_l.c (coll_seq): New structure.
6746 (get_next_seq_cached): New function.
6747 (get_next_seq): New function.
6748 (do_compare): New function.
6749 (STRCOLL): Use GNU style definition. Simplify implementation
6750 by using get_next_seq, get_next_seq_cached and do_compare.
6751
91ce4085
FW
67522013-08-16 Florian Weimer <fweimer@redhat.com>
6753
6754 [BZ #14699]
6755 CVE-2013-4237
6756 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6757 member.
6758 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6759 member.
6760 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6761 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6762 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6763 conditional.
6764 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6765 GETDENTS_64BIT_ALIGNED.
6766 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6767 * manual/filesys.texi (Reading/Closing Directory): Document
6768 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6769 strongly.
6770 * manual/conf.texi (Limits for Files): Add portability note to
6771 NAME_MAX, PATH_MAX.
6772 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6773
ca0a6bc4
AS
67742013-08-13 Andreas Schwab <schwab@suse.de>
6775
6776 [BZ #15749]
6777 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6778 of fabs.
6779 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6780 LDBL_MAX_EXP >= 16384]: Add tests for it.
6781
6c1fd795
DM
67822013-08-12 David S. Miller <davem@davemloft.net>
6783
6784 * version.h (RELEASE): Set to "development".
6785 (VERSION): Set to "2.18.90".
6786 * NEWS: Add 2.19 section.
6787
31ad488d
DM
67882013-08-03 David S. Miller <davem@davemloft.net>
6789
6790 * po/ko.po: Update Korean translation from translation project.
6791
db24e684
DM
67922013-08-01 David S. Miller <davem@davemloft.net>
6793
6794 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6795 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6796 Bilka.
6797
f723285b
DM
67982013-07-30 David S. Miller <davem@davemloft.net>
6799
6800 * po/fr.po: Update French translation from translation project.
6801
3cbc52db
DM
68022013-07-28 David S. Miller <davem@davemloft.net>
6803
30bbc0cc
DM
6804 * po/cs.po: Update Czech translation from translation project.
6805
3cbc52db
DM
6806 * po/sv.po: Update Swedish translation from translation project.
6807
d492e6d0
DM
68082013-07-27 David S. Miller <davem@davemloft.net>
6809
f1a7f492
DM
6810 * po/eo.po: Update Esperanto translation from translation project.
6811
90e62a4a
DM
6812 * po/vi.po: Update Vietnamese translation from translation project.
6813
d492e6d0
DM
6814 * po/de.po: Update German translation from translation project.
6815
d4baa62d
DM
68162013-07-26 David S. Miller <davem@davemloft.net>
6817
641aa7b4
DM
6818 * po/bg.po: Update Bulgarian translation from translation project.
6819
d4baa62d
DM
6820 * po/nl.po: Update Dutch translation from translation project.
6821 * po/pl.po: Update Polish translation from translation project.
6822 * po/ru.po: Update Russian translation from translation project.
6823
61a9dcb9
DM
68242013-07-24 David S. Miller <davem@davemloft.net>
6825
6826 * po/libc.pot: Update.
6827
7b1f8b58
AZ
68282013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6829
6830 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6831 variable page size.
6832 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6833 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6834 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6835
a8fc7a03
AK
68362013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6837
6838 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6839
e4608715
CD
68402013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6841 Andreas Schwab <schwab@suse.de>
6842 Roland McGrath <roland@hack.frob.com>
6843 Joseph Myers <joseph@codesourcery.com>
6844 Carlos O'Donell <carlos@redhat.com>
6845
6846 [BZ #15755]
6847 * config.h.in: Define HAVE_PT_CHOWN.
6848 * config.make.in (build-pt-chown): New variable.
6849 * configure.in (--enable-pt_chown): New configure option.
6850 * configure: Regenerate.
6851 * login/Makefile: Include Makeconfig. Build pt_chown only if
6852 build-pt-chown is enabled.
6853 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6854 pt_chown to fix pty ownership.
6855 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6856 CLOSE_ALL_FDS.
6857 * manual/install.texi (Configuring and compiling): Mention
6858 --enable-pt_chown. Add @findex for grantpt.
6859 * INSTALL: Regenerate.
6860
da2d62df
DM
68612013-07-20 David S. Miller <davem@davemloft.net>
6862
6863 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6864 difference between 32-bit and 64-bit.
6865
d7e06450
CD
68662013-07-15 Carlos O'Donell <carlos@redhat.com>
6867
6868 [BZ #15711]
6869 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6870 Avoid system header dependency with -ffreestanding.
6871 ($(objpfx)bits/syscall%d): Likewise.
6872
f959cfd7
DM
68732013-07-13 David S. Miller <davem@davemloft.net>
6874
6875 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6876 underflows from atanl/atan2l due to bug 15319.
6877 (casinh_test_data): Likewise.
6878
c61f8513
DM
68792013-07-07 David S. Miller <davem@davemloft.net>
6880
6881 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6882
72c90ed0
JA
68832013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6884
6885 * sysdeps/i386/fpu/libm-test-ulps: Update.
6886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6887
52dfbe13
SP
68882013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6889
6890 * configure.in (--enable-lock-elision): Fix message text.
6891 * INSTALL: Regenerate.
6892 * configure: Regenerate.
6893
3f169543
AZ
68942013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6895
6896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6897
521c6785
AJ
68982013-07-03 Andreas Jaeger <aj@suse.de>
6899
6900 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6901 define.
6902 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6903 (ptrace_peeksiginfo_args): Add.
6904 (__ptrace_peeksiginfo_flags): Add.
6905 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6906 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6907 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6908
d2cc15cb
AM
69092013-07-03 Allan McRae <allan@archlinux.org>
6910
6911 * sysdeps/i386/fpu/libm-test-ulps: Update.
6912
3aaeeca7
DM
69132013-07-02 David S. Miller <davem@davemloft.net>
6914
6915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6916
5314ed1a
MT
69172013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6918
6919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6920
67338156
JM
69212013-07-02 Joseph Myers <joseph@codesourcery.com>
6922
6923 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6925
1717da59
AK
69262013-07-02 Andi Kleen <ak@linux.intel.com>
6927
6928 * config.h.in (ENABLE_LOCK_ELISION): Add.
6929 * configure.in (--enable-lock-elision): Add option.
6930 * manual/install.texi: Document --enable lock elision.
6931 * configure: Regenerate
6932 * INSTALL: Regenerate.
6933
1c81621c
L
69342013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6935
6936 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6937 SSE4.2 strcasecmp for libc.a.
6938 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6939
77f01ab5
JM
69402013-07-02 Joseph Myers <joseph@codesourcery.com>
6941
6942 [BZ #13304]
6943 * soft-fp/op-common.h (_FP_FMA): New macro.
6944 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6945 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6946 (_FP_MUL_MEAT_1_imm): ... here.
6947 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6948 (_FP_MUL_MEAT_1_wide): ... here.
6949 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6950 (_FP_MUL_MEAT_1_hard): ... here.
6951 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6952 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6953 (_FP_MUL_MEAT_2_wide): ... here.
6954 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6955 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6956 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6957 (_FP_MUL_MEAT_2_gmp): ... here.
6958 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6959 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6960 (_FP_MUL_MEAT_4_wide): ... here.
6961 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6962 (_FP_MUL_MEAT_4_gmp): ... here.
6963 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6964 (_FP_WFRACBITS_DW_S): Likewise.
6965 (_FP_WFRACXBITS_DW_S): Likewise.
6966 (_FP_HIGHBIT_DW_S): Likewise.
6967 (FP_FMA_S): Likewise.
6968 (_FP_FRAC_HIGH_DW_S): Likewise.
6969 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6970 (_FP_WFRACBITS_DW_D): Likewise.
6971 (_FP_WFRACXBITS_DW_D): Likewise.
6972 (_FP_HIGHBIT_DW_D): Likewise.
6973 (FP_FMA_D): Likewise.
6974 (_FP_FRAC_HIGH_DW_D): Likewise.
6975 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6976 (_FP_WFRACBITS_DW_E): Likewise.
6977 (_FP_WFRACXBITS_DW_E): Likewise.
6978 (_FP_HIGHBIT_DW_E): Likewise.
6979 (FP_FMA_E): Likewise.
6980 (_FP_FRAC_HIGH_DW_E): Likewise.
6981 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6982 (_FP_WFRACBITS_DW_Q): Likewise.
6983 (_FP_WFRACXBITS_DW_Q): Likewise.
6984 (_FP_HIGHBIT_DW_Q): Likewise.
6985 (FP_FMA_Q): Likewise.
6986 (_FP_FRAC_HIGH_DW_Q): Likewise.
6987 * soft-fp/fmasf4.c: New file.
6988 * soft-fp/fmadf4.c: Likewise.
6989 * soft-fp/fmatf4.c: Likewise.
6990
6308fd9a
LD
69912013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6992
6993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6994 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6995 Silvermont.
6996 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6997 macro.
6998 (index_Slow_SSE4_2): Likewise.
6999 (index_Prefer_PMINUB_for_stringop): Likewise.
7000 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7001 bit_Slow_SSE4_2 is set.
7002 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7003 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7004
89cd9569
RA
70052013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7006
7007 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7008 rtld_global._dl_hwcap2.
7009 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7010 POWER8.
7011 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7012 POWER8 feature descriptions defined in _dl_hwcap2.
7013 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7014 string handling for POWER8 feature bits.
7015 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7016 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7017 _dl_powerpc_cap_flags.
7018 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7019 * sysdeps/powerpc/rtld-global-offsets.sym
7020 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7021 _dl_hwcap2 in the rtld_global_ro structure.
7022
1ae8bfe0
RA
70232013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7024
7025 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7026 hardware capabilities in support of AT_HWCAP2.
7027 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7028 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7029 GLRO(dl_hwcap2).
7030 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7031 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7032 explicitly the unknown a_type display mechanism is used.
7033 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7034 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7035 struct member.
7036 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7037 to macro prototype for AT_HWCAP2 support.
7038 * sysdeps/i386/dl-procinfo.h: Likewise.
7039 * sysdeps/s390/dl-procinfo.h: Likewise.
7040 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7041 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7042 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7043 return -1 for unknown a_type display fallback.
7044 * sysdeps/sparc/dl-procinfo.h: Likewise.
7045 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7046 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7047
8fbec010
JM
70482013-06-28 Joseph Myers <joseph@codesourcery.com>
7049
7050 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7051 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7052
0432680e
PY
70532013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7054
7055 [BZ #12492]
7056 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7057 mprotect making __stack_prot writable.
7058
ce61a2ad
NF
70592013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7060 Joseph Myers <joseph@codesourcery.com>
7061
7062 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7063 as being properly aligned.
7064
f91f1c0f
MR
70652013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7066
3d0f5d0c
MR
7067 * dlfcn/modstatic5.c: New file.
7068 * dlfcn/tststatic5.c: New file.
7069 * dlfcn/Makefile (tests): Add tststatic5.
7070 (tests-static): Likewise.
7071 (modules-names): Add modstatic5.
7072 (tststatic5-ENV): New variable.
7073 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7074
f91f1c0f
MR
7075 [BZ #15022]
7076 * elf/dl-support.c (_dl_main_map): New variable.
7077 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7078 (_dl_nns, _dl_load_adds): Set to 1.
7079 (_dl_initial_searchlist): Refer to _dl_main_map.
7080 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7081 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7082 call to _dl_get_origin.
7083 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7084 around call_map.
7085 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7086 * dlfcn/modstatic3.c: New file.
7087 * dlfcn/tststatic3.c: New file.
7088 * dlfcn/tststatic4.c: New file.
7089 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7090 (tests-static): Likewise.
7091 (modules-names): Add modstatic3.
7092 (tststatic3-ENV, tststatic4-ENV): New variables.
7093 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7094 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7095
cbe7d24b
JM
70962013-06-26 Joseph Myers <joseph@codesourcery.com>
7097
7098 * configure.in (CC): Require GCC version 4.4 or later.
7099 * configure: Regenerated.
7100 * manual/install.texi (Tools for Compilation): Update GCC version
7101 requirement.
7102 * INSTALL: Regenerated.
7103
11b8a0e1
LD
71042013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7105
7106 [BZ #15674]
bb5bb87c
L
7107 * string/test-memcmp.c (check2): New.
7108 (main): Call check2.
7109
11b8a0e1
LD
7110 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7111
b0037103
MR
71122013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7113
7114 [BZ #15022]
7115 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7116 over to...
7117 (dl_open_worker) [!SHARED]: ... here.
7118
c18c701d
RA
71192013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7120
7121 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7122
1d17fa5f
RH
71232013-06-25 Richard Henderson <rth@redhat.com>
7124
7125 * locale/programs/locarchive.c: Include <libc-internal.h>
7126
8fcb833a
JM
71272013-06-25 Joseph Myers <joseph@codesourcery.com>
7128
7129 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7130 trailing whitespace removed.
7131
17db6e8d
MF
71322013-06-24 Mike Frysinger <vapier@gentoo.org>
7133
7134 [BZ #10283]
17db6e8d
MF
7135 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7136 * locale/programs/locarchive.c: Include libc-mmap.h.
7137 (prepare_address_space): Take two new outputs (the mmap base and len).
7138 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7139 values.
7140 (create_archive): Declare new mmap base and len values for
7141 prepare_address_space, and store the result in ah.
7142 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7143 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7144 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7145 Declare new mmap base and len values for
7146 prepare_address_space, and store the result in new_ah.
7147 (open_archive): Declare new mmap base and len values for
7148 prepare_address_space, and store the result in ah.
7149 (close_archive): If ah->mmap_base is not NULL, use that and
7150 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7151 * sysdeps/generic/libc-mmap.h: New file.
7152
d605071e
MF
71532013-06-24 Mike Frysinger <vapier@gentoo.org>
7154
7155 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7156 (ALIGN_UP): Likewise.
7157 (PTR_ALIGN_DOWN): Likewise.
7158 (PTR_ALIGN_UP): Likewise.
7159
2f063a6e
RA
71602013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7161
7162 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7163 entry mapped to PPC_PLATFORM_POWER8.
7164 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7165 POWER8.
7166 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7167 (_dl_string_platform): Add case for exporting platform position for
7168 POWER8.
7169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7170 search path to sysdeps/powerpc/powerpc32/power8 directory.
7171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7172 search path to sysdeps/powerpc/powerpc64/power8 directory.
7173 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7174 power7 directories.
7175 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7176 power7 directories.
7177
a31ee4b3
SP
71782013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7179
a74ca98f
SP
7180 * INSTALL: Regenerate.
7181
a31ee4b3
SP
7182 * nscd/connections.c (nscd_init): Fix comment.
7183
695c378f
JM
71842013-06-22 Joseph Myers <joseph@codesourcery.com>
7185
d8412221
JM
7186 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7187
695c378f
JM
7188 [BZ #15667]
7189 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7190 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7191
d1d54715
MR
71922013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7193
7194 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7195 DL_DST_REQ_STATIC.
7196 (DL_DST_REQ_STATIC): Remove macro.
7197
8fdda7af
JM
71982013-06-21 Joseph Myers <joseph@codesourcery.com>
7199
7200 [BZ #7006]
7201 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7202 with a shift of 0 bits.
7203
f3bc5e5a
MR
72042013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7205
7206 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7207 $(tststatic-ENV).
7208
be09e8c9
KK
72092013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7210
7211 [BZ #15655]
7212 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7213
85c2e611
AZ
72142013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7215
7216 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7217 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7218 accepts -fno-tree-loop-distribute-patterns.
7219 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7220 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7221 recursive call.
7222 * string/memset.c (memset): Likewise.
7223 * string/test-memmove.c (simple_memmove): Disable loop transformation
7224 to library calls.
7225 * string/test-memset.c (simple_memset): Likewise.
7226 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7227 * benchtests/bench-memset.c (simple_memset): Likewise.
7228 * configure: Regenerated.
7229
c91e0825
JM
72302013-06-20 Joseph Myers <joseph@codesourcery.com>
7231
b8c792af
JM
7232 * math/test-misc.c (main): Ignore fesetround failure when failures
7233 of subsequent rounding tests would be ignored.
7234
c91e0825
JM
7235 [BZ #15654]
7236 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7237 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7238 * math/fegetenv.c (__fegetenv): Return 0.
7239 * math/fegetexcept.c (fegetexcept): Return 0.
7240 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7241 FE_TONEAREST.
7242 * math/feholdexcpt.c (feholdexcept): Return 0.
7243 * math/fesetenv.c (__fesetenv): Return 0.
7244 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7245 argument FE_TONEAREST.
7246 * math/feupdateenv.c (__feupdateenv): Return 0.
7247 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7248
bfcacbde
RM
72492013-06-18 Roland McGrath <roland@hack.frob.com>
7250
7251 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7252 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7253 ($(objpfx)rtld-%.os rules): Use them.
7254
e55a9b25
AZ
72552013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7256
7257 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7258 fields.
7259
346d65b3
RM
72602013-06-17 Roland McGrath <roland@hack.frob.com>
7261
12086fb4
RM
7262 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7263 length of target pattern, then descending length of dependency pattern.
7264 * configure.in (AWK): Require gawk 3.1.2 or newer.
7265 * manual/install.texi (Tools for Compilation): Say that we do.
7266 * configure: Regenerated.
7267
346d65b3
RM
7268 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7269 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7270 * scripts/sysd-rules.awk: ... this new script.
7271 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7272 than a glob-style pattern.
7273
1a846317
JM
72742013-06-17 Joseph Myers <joseph@codesourcery.com>
7275
7276 * math/test-misc.c (main): Do not treat incorrectly rounded
7277 conversions as failure unless ROUNDING_TESTS passes.
7278
8fc75e6f
JM
72792013-06-15 Joseph Myers <joseph@codesourcery.com>
7280
3711a167
JM
7281 [BZ #15631]
7282 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7283 restore exception state around main square root computation, then
7284 check for inexactness explicitly.
7285
8fc75e6f
JM
7286 * math/libm-test.inc (fma_test_data): Add another test.
7287
61dd6208
SP
72882013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7289
adf23d2c
SP
7290 * manual/threads.texi (Non-POSIX Extensions): New document
7291 node. Document pthread_getattr_default_np and
7292 pthread_setattr_default_np.
7293
61dd6208
SP
7294 * Versions.def (libpthread): Add GLIBC_2.18.
7295 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7297 Likewise.
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7299 Likewise.
7300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7301 Likewise.
7302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7303 Likewise.
7304 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7305 Likewise.
7306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7307 Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7309 Likewise.
7310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7311 Likewise.
7312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7313 Likewise.
7314
d086fc7b
LD
73152013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7316
7317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7318 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7319
747ef469
SP
73202013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7321 H.J. Lu <hjl.tools@gmail.com>
7322
7323 [BZ #15627]
7324 * sysdeps/x86_64/rtld-memset.c: Remove file.
7325 * sysdeps/x86_64/rtld-memset.S: New file.
7326
1b2feed2
JM
73272013-06-14 Joseph Myers <joseph@codesourcery.com>
7328
7329 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7330 (test_in_one_mode): Take arguments for whether the rounding mode
7331 is supported for each floating-point type.
7332 (do_test): Pass new arguments to test_in_one_mode using
7333 ROUNDING_TESTS.
7334
a58ad3f8
RM
73352013-06-13 Roland McGrath <roland@hack.frob.com>
7336
7337 * posix/tst-waitid.c (do_test): Distinguish different instances of
7338 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7339 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7340 before entering the kernel for waitpid.
7341
c204ab28
SP
73422013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7343
7344 * NEWS: Fix note on clock function precision. Text by Roland
7345 McGrath.
7346
f4a29fba
RM
73472013-06-13 Roland McGrath <roland@hack.frob.com>
7348
7349 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7350 it into place only when and if the sanity check passes.
7351
1f24b9ad
JM
73522013-06-13 Joseph Myers <joseph@codesourcery.com>
7353
7354 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7355 output for whether conversion result is exact. Take argument
7356 indicating whether type is IBM long double.
7357 (round_for_all): Change need_exact field to ibm_ld.
7358 * stdlib/tst-strtod-round.c (struct exactness): New type.
7359 (struct test): Change bool ld_ok field to struct exactness exact.
7360 (TEST): Update all definitions for change to field.
7361 (tests): Regenerate array contents.
7362 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7363 field value. Check for IBM long double here.
7364 (do_test): Update calls to test_in_one_mode.
7365
58206c68
SP
73662013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7367
7368 [BZ #12515]
7369 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7370 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7371
2d6f4c5b 73722013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7373
7374 [BZ #15605]
7375 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7376 generated by the compiler on loop optimizations.
7377 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7378 general definitions.
7379
94f2c076
JM
73802013-06-12 Joseph Myers <joseph@codesourcery.com>
7381
7382 * math/bug-nextafter.c: Include <math-tests.h>.
7383 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7384 the relevant type.
7385 * math/bug-nexttoward.c: Include <math-tests.h>.
7386 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7387 the relevant type.
7388 * math/test-misc.c: Include <math-tests.h>.
7389 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7390 the relevant type.
7391
e0e50a0a
AJ
73922013-06-12 Andreas Jaeger <aj@suse.de>
7393
7394 * po/ia.po: Update Interlingua translation from translation
7395 project.
7396
25061094
SP
73972013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7398
7399 * include/fenv.h: Include stdbool.h.
7400 (struct rm_ctx): New structure.
7401 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7402 Define macro.
7403 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7404 (SET_RESTORE_ROUNDF): Likewise.
7405 (SET_RESTORE_ROUNDL): Likewise.
7406 (SET_RESTORE_ROUND_NOEX): Likewise.
7407 (SET_RESTORE_ROUND_NOEXF): Likewise.
7408 (SET_RESTORE_ROUND_NOEXL): Likewise.
7409 (SET_RESTORE_ROUND_53BIT): Likewise.
7410 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7411 (libc_feresetround_noexf_ctx): Likewise.
7412 (libc_feresetround_noexl_ctx): Likewise.
7413 (libc_feholdsetround_53bit_ctx): Likewise.
7414 (libc_feresetround_53bit_ctx): Likewise.
7415 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7416 (libc_feholdexcept_setround_sse_ctx): New function.
7417 (libc_fesetenv_sse_ctx): Likewise.
7418 (libc_feupdateenv_sse_ctx): Likewise.
7419 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7420 (libc_feholdexcept_setround_387_ctx): Likewise.
7421 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7422 (libc_feholdsetround_387_prec_ctx): Likewise.
7423 (libc_feholdsetround_387_ctx): Likewise.
7424 (libc_feholdsetround_387_53bit_ctx): Likewise.
7425 (libc_feholdsetround_sse_ctx): Likewise.
7426 (libc_feresetround_sse_ctx): Likewise.
7427 (libc_feresetround_387_ctx): Likewise.
7428 (libc_feupdateenv_387_ctx): Likewise.
7429 (libc_feholdexcept_setroundf_ctx): Define macro.
7430 (libc_fesetenvf_ctx): Likewise.
7431 (libc_feupdateenvf_ctx): Likewise.
7432 (libc_feholdsetroundf_ctx): Likewise.
7433 (libc_feresetroundf_ctx): Likewise.
7434 (libc_feholdexcept_setround_ctx): Likewise.
7435 (libc_fesetenv_ctx): Likewise.
7436 (libc_feupdateenv_ctx): Likewise.
7437 (libc_feholdsetround_ctx): Likewise.
7438 (libc_feresetround_ctx): Likewise.
7439 (libc_feholdexcept_setroundl_ctx): Likewise.
7440 (libc_feupdateenvl_ctx): Likewise.
7441 (libc_feholdsetroundl_ctx): Likewise.
7442 (libc_feresetroundl_ctx): Likewise.
7443 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7444 (libc_feresetround_53bit_ctx): Likewise.
7445
59b30555
SP
74462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7447
7448 * locale/iso-639.def: Convert to UTF-8.
7449
f1d73d30
JM
74502013-06-11 Joseph Myers <joseph@codesourcery.com>
7451
7452 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7453 (EXCEPTION_TESTS_double): Likewise.
7454 (EXCEPTION_TESTS_long_double): Likewise.
7455 (EXCEPTION_TESTS): Likewise.
7456 * math/libm-test.inc (test_exceptions): Only test exceptions if
7457 EXCEPTION_TESTS (FLOAT).
7458
94aca5e7
SP
74592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7460
7461 * benchtests/Makefile (string-bench): Add strcpy_chk and
7462 stpcpy_chk.
7463 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7464 * benchtests/bench-stpcpy_chk.c: New file.
7465 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7466 * benchtests/bench-strcpy_chk.c: New file.
7467 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7468 code.
7469 (do_test): Likewise.
7470
fac0c5f2
RA
74712013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7472
7473 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7474 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7475 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7476 with tabs where appropriate.
7477 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7478 dl-procinfo.h.
7479 [PPC_PLATFORM_PPC440]: Likewise.
7480 [PPC_PLATFORM_PPC464]: Likewise.
7481 [PPC_PLATFORM_PPC476]: Likewise.
7482 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7483 ppc464, and ppc476 platform strings merging from ports/
7484 dl-procinfo.h.
7485
f22bc486
AS
74862013-06-11 Andreas Schwab <schwab@suse.de>
7487
7488 [BZ #14991]
7489 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7490 (from_ucs4_idx): Regenerate.
7491 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7492 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7493 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7494 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7495 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7496 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7497 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7498 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7499 from FROM_LOOP and TO_LOOP specific macros.
7500 (BODY): Handle combining characters.
7501 * iconvdata/BIG5HKSCS.irreversible: Update.
7502 * iconvdata/BIG5HKSCS.precomposed: New file.
7503 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7504 characters.
7505 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7506
c1f75dc3
SP
75072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7508
4eacded2
SP
7509 * include/sys/time.h: Fix indentation and add copyright header.
7510
fec799f8
SP
7511 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7512 (do_test): Likewise.
7513 * string/test-memchr.c (do_one_test): Likewise.
7514 (do_test): Likewise.
7515 * string/test-memcmp.c (do_one_test): Likewise.
7516 (do_test): Likewise.
7517 * string/test-memcpy.c (do_one_test): Likewise.
7518 (do_test): Likewise.
7519 * string/test-memmem.c (do_one_test): Likewise.
7520 (do_test): Likewise.
7521 (do_random_tests): Likewise.
7522 * string/test-memmove.c (do_one_test): Likewise.
7523 (do_test): Likewise.
7524 * string/test-memset.c (do_one_test): Likewise.
7525 (do_test): Likewise.
7526 * string/test-rawmemchr.c (do_one_test): Likewise.
7527 (do_test): Likewise.
7528 * string/test-strcasecmp.c (do_one_test): Likewise.
7529 (do_test): Likewise.
7530 * string/test-strcasestr.c (do_one_test): Likewise.
7531 (do_test): Likewise.
7532 * string/test-strcat.c (do_one_test): Likewise.
7533 (do_test): Likewise.
7534 * string/test-strchr.c (do_one_test): Likewise.
7535 (do_test): Likewise.
7536 * string/test-strcmp.c (do_one_test): Likewise.
7537 (do_test): Likewise.
7538 * string/test-strcpy.c (do_one_test): Likewise.
7539 (do_test): Likewise.
7540 * string/test-string.h: Likewise.
7541 (test_init): Likewise.
7542 * string/test-strlen.c (do_one_test): Likewise.
7543 (do_test): Likewise.
7544 * string/test-strncasecmp.c (do_one_test): Likewise.
7545 (do_test): Likewise.
7546 * string/test-strncat.c (do_one_test): Likewise.
7547 (do_test): Likewise.
7548 * string/test-strncmp.c (do_one_test): Likewise.
7549 (do_test_limit): Likewise.
7550 (do_test): Likewise.
7551 * string/test-strncpy.c (do_one_test): Likewise.
7552 (do_test): Likewise.
7553 * string/test-strnlen.c (do_one_test): Likewise.
7554 (do_test): Likewise.
7555 * string/test-strpbrk.c (do_one_test): Likewise.
7556 (do_test): Likewise.
7557 * string/test-strrchr.c (do_one_test): Likewise.
7558 (do_test): Likewise.
7559 * string/test-strspn.c (do_one_test): Likewise.
7560 (do_test): Likewise.
7561 * string/test-strstr.c (do_one_test): Likewise.
7562 (do_test): Likewise.
7563
97020474
SP
7564 * benchtests/Makefile (string-bench): Add string benchmarks.
7565 * benchtests/bench-bcopy-ifunc.c: New file.
7566 * benchtests/bench-bcopy.c: New file.
7567 * benchtests/bench-bzero-ifunc.c: New file.
7568 * benchtests/bench-bzero.c: New file.
7569 * benchtests/bench-memccpy-ifunc.c: New file.
7570 * benchtests/bench-memccpy.c: New file.
7571 * benchtests/bench-memchr-ifunc.c: New file.
7572 * benchtests/bench-memchr.c: New file.
7573 * benchtests/bench-memcmp-ifunc.c: New file.
7574 * benchtests/bench-memcmp.c: New file.
7575 * benchtests/bench-memmem-ifunc.c: New file.
7576 * benchtests/bench-memmem.c: New file.
7577 * benchtests/bench-memmove-ifunc.c: New file.
7578 * benchtests/bench-memmove.c: New file.
7579 * benchtests/bench-mempcpy-ifunc.c: New file.
7580 * benchtests/bench-mempcpy.c: New file.
7581 * benchtests/bench-memset-ifunc.c: New file.
7582 * benchtests/bench-memset.c: New file.
7583 * benchtests/bench-rawmemchr-ifunc.c: New file.
7584 * benchtests/bench-rawmemchr.c: New file.
7585 * benchtests/bench-stpcpy-ifunc.c: New file.
7586 * benchtests/bench-stpcpy.c: New file.
7587 * benchtests/bench-stpncpy-ifunc.c: New file.
7588 * benchtests/bench-stpncpy.c: New file.
7589 * benchtests/bench-strcasecmp-ifunc.c: New file.
7590 * benchtests/bench-strcasecmp.c: New file.
7591 * benchtests/bench-strcasestr-ifunc.c: New file.
7592 * benchtests/bench-strcasestr.c: New file.
7593 * benchtests/bench-strcat-ifunc.c: New file.
7594 * benchtests/bench-strcat.c: New file.
7595 * benchtests/bench-strchr-ifunc.c: New file.
7596 * benchtests/bench-strchr.c: New file.
7597 * benchtests/bench-strchrnul-ifunc.c: New file.
7598 * benchtests/bench-strchrnul.c: New file.
7599 * benchtests/bench-strcmp-ifunc.c: New file.
7600 * benchtests/bench-strcmp.c: New file.
7601 * benchtests/bench-strcpy-ifunc.c: New file.
7602 * benchtests/bench-strcpy.c: New file.
7603 * benchtests/bench-strcspn-ifunc.c: New file.
7604 * benchtests/bench-strcspn.c: New file.
7605 * benchtests/bench-strlen-ifunc.c: New file.
7606 * benchtests/bench-strlen.c: New file.
7607 * benchtests/bench-strncasecmp-ifunc.c: New file.
7608 * benchtests/bench-strncasecmp.c: New file.
7609 * benchtests/bench-strncat-ifunc.c: New file.
7610 * benchtests/bench-strncat.c: New file.
7611 * benchtests/bench-strncmp-ifunc.c: New file.
7612 * benchtests/bench-strncmp.c: New file.
7613 * benchtests/bench-strncpy-ifunc.c: New file.
7614 * benchtests/bench-strncpy.c: New file.
7615 * benchtests/bench-strnlen-ifunc.c: New file.
7616 * benchtests/bench-strnlen.c: New file.
7617 * benchtests/bench-strpbrk-ifunc.c: New file.
7618 * benchtests/bench-strpbrk.c: New file.
7619 * benchtests/bench-strrchr-ifunc.c: New file.
7620 * benchtests/bench-strrchr.c: New file.
7621 * benchtests/bench-strspn-ifunc.c: New file.
7622 * benchtests/bench-strspn.c: New file.
7623 * benchtests/bench-strstr-ifunc.c: New file.
7624 * benchtests/bench-strstr.c: New file.
7625
c1f75dc3
SP
7626 * benchtests/Makefile: Disable parallel execution of targets.
7627 (string-bench): Add memcpy.
7628 (benchset): New variable to store a list of benchmark sets.
7629 (bench-func): Renamed from bench.
7630 (bench-set): New target.
7631 (bench): Depend on bench-func and bench-set.
7632 * benchtests/README: Add section on benchmark sets.
7633 * benchtests/bench-memcpy-ifunc.c: New file.
7634 * benchtests/bench-memcpy.c: New file.
7635 * benchtests/bench-string.h: New file.
7636
50fd745b
AS
76372013-06-11 Andreas Schwab <schwab@suse.de>
7638
7639 [BZ #15577]
7640 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7641 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7642 values in the triple.
7643 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7644 terminator in the group key.
7645
3ee7e9fe
AJ
76462013-06-11 Andreas Jaeger <aj@suse.de>
7647
7648 * po/zh_TW.po: Update Chinese (traditional) translation from
7649 translation project.
7650
89fb6835
SP
76512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7652
7653 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7654 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7655 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7656 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7657 (clock_getcpuclockid): Likewise.
7658 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7659 Add weak_alias and libc_hidden_def.
7660 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7661 * rt/clock_gettime.c (clock_gettime): Rename to
7662 __clock_gettime. Add weak_alias and libc_hidden_def.
7663 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7664 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7665 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7666 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7667 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7668 Likewise.
7669 * rt/clock_settime.c (clock_settime): Rename to
7670 __clock_settime. Add weak_alias and libc_hidden_def.
7671 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7672
0efa6f8b
JM
76732013-06-10 Joseph Myers <joseph@codesourcery.com>
7674
b8c61b4b
JM
7675 * mach/err_boot.sub: Remove trailing whitespace.
7676 * mach/err_ipc.sub: Likewise.
7677 * mach/err_mach.sub: Likewise.
7678
0efa6f8b
JM
7679 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7680 (ROUNDING_TESTS_double): Likewise.
7681 (ROUNDING_TESTS_long_double): Likewise.
7682 (ROUNDING_TESTS): Likewise.
7683 * math/libm-test.inc: Include <math-tests.h>.
7684 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7685 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7686 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7687 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7688
50b818bf
SP
76892013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7690
7691 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7692 of assigning.
7693
60d2f8f3
JM
76942013-06-08 Joseph Myers <joseph@codesourcery.com>
7695
4902d2c3
JM
7696 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7697 otherwise empty TRANS lines.
7698 * sysdeps/gnu/errlist.c: Regenerated.
7699
60d2f8f3
JM
7700 * catgets/gencat.c (error_print): Use (void) in function
7701 definition.
7702 * crypt/crypt_util.c (__init_des): Likewise.
7703 * crypt/speeds.c (Stop): Likewise.
7704 (main): Likewise.
7705 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7706 * inet/ruserpass.c (token): Likewise.
7707 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7708 * intl/localealias.c (extend_alias_table): Likewise.
7709 * intl/plural-exp.c (init_germanic_plural): Likewise.
7710 * libio/fcloseall.c (__fcloseall): Likewise.
7711 * libio/genops.c (_IO_flush_all): Likewise.
7712 (_IO_flush_all_linebuffered): Likewise.
7713 (_IO_cleanup): Likewise.
7714 (_IO_iter_begin): Likewise.
7715 (_IO_iter_end): Likewise.
7716 (_IO_list_lock): Likewise.
7717 (_IO_list_unlock): Likewise.
7718 (_IO_list_resetlock): Likewise.
7719 * libio/getchar.c (getchar): Likewise.
7720 * libio/getchar_u.c (getchar_unlocked): Likewise.
7721 * libio/getwchar.c (getwchar): Likewise.
7722 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7723 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7724 * login/getpt.c (__getpt): Likewise.
7725 * login/tst-utmp.c (main): Likewise.
7726 * malloc/hooks.c (__malloc_check_init): Likewise.
7727 * malloc/malloc.c (__malloc_stats): Likewise.
7728 * malloc/mtrace.c (tr_break): Likewise.
7729 (mtrace): Likewise.
7730 (muntrace): Likewise.
7731 * misc/fstab.c (endfsent): Likewise.
7732 * misc/getclktck.c (__getclktck): Likewise.
7733 * misc/getdtsz.c (__getdtablesize): Likewise.
7734 * misc/gethostid.c (gethostid): Likewise.
7735 * misc/getpagesize.c (__getpagesize): Likewise.
7736 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7737 (__get_nprocs): Likewise.
7738 (__get_phys_pages): Likewise.
7739 (__get_avphys_pages): Likewise.
7740 * misc/getttyent.c (getttyent): Likewise.
7741 (setttyent): Likewise.
7742 (endttyent): Likewise.
7743 * misc/getusershell.c (getusershell): Likewise.
7744 (endusershell): Likewise.
7745 (setusershell): Likewise.
7746 (initshells): Likewise.
7747 * misc/hsearch.c (__hdestroy): Likewise.
7748 * misc/sync.c (sync): Likewise.
7749 * misc/syslog.c (closelog_internal): Likewise.
7750 (closelog): Likewise.
7751 * misc/ttyslot.c (ttyslot): Likewise.
7752 * misc/vhangup.c (vhangup): Likewise.
7753 * posix/fork.c (__fork): Likewise.
7754 * posix/getegid.c (__getegid): Likewise.
7755 * posix/geteuid.c (__geteuid): Likewise.
7756 * posix/getgid.c (__getgid): Likewise.
7757 * posix/getpid.c (__getpid): Likewise.
7758 * posix/getppid.c (__getppid): Likewise.
7759 * posix/getuid.c (__getuid): Likewise.
7760 * posix/pause.c (pause): Likewise.
7761 * posix/setpgrp.c (setpgrp): Likewise.
7762 * posix/setsid.c (__setsid): Likewise.
7763 * posix/test-vfork.c (noop): Likewise.
7764 * resolv/gethnamaddr.c (_endhtent): Likewise.
7765 (_gethtent): Likewise.
7766 (ht_endhostent): Likewise.
7767 (gethostent): Likewise.
7768 (dns_service): Likewise.
7769 * stdlib/drand48.c (drand48): Likewise.
7770 * stdlib/lrand48.c (lrand48): Likewise.
7771 * stdlib/mrand48.c (mrand48): Likewise.
7772 * stdlib/rand.c (rand): Likewise.
7773 * stdlib/random.c (__random): Likewise.
7774 * stdlib/setenv.c (clearenv): Likewise.
7775 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7776 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7777 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7778 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7779 (__get_nprocs): Likewise.
7780 (__get_phys_pages): Likewise.
7781 (__get_avphys_pages): Likewise.
7782 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7783 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7784 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7785 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7786 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7787 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7788 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7789 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7790 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7791 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7792 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7793 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7794 * sysdeps/posix/clock.c (clock): Likewise.
7795 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7796 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7797 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7798 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7799 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7800 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7801 (__get_nprocs_conf): Likewise.
7802 (__get_phys_pages): Likewise.
7803 (__get_avphys_pages): Likewise.
7804 * time/clock.c (clock): Likewise.
7805 * time/tzset.c (__tzname_max): Likewise.
7806
2e09a79a
JM
78072013-06-07 Joseph Myers <joseph@codesourcery.com>
7808
7809 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7810 (__bswap_32): Do not use "register".
7811 * crypt/crypt.c (_ufc_doit_r): Likewise.
7812 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7813 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7814 * gmon/gmon.c (__monstartup): Likewise.
7815 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7816 * hurd/hurdmalloc.c (more_memory): Likewise.
7817 (malloc): Likewise.
7818 (free): Likewise.
7819 (realloc): Likewise.
7820 (malloc_fork_prepare): Likewise.
7821 (malloc_fork_parent): Likewise.
7822 (malloc_fork_child): Likewise.
7823 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7824 (_svcauth_des): Likewise.
7825 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7826 * inet/inet_net.c (inet_network): Likewise.
7827 * inet/inet_netof.c (inet_netof): Likewise.
7828 * inet/rcmd.c (__validuser2_sa): Likewise.
7829 * io/fts.c (fts_open): Likewise.
7830 (fts_load): Likewise.
7831 (fts_close): Likewise.
7832 (fts_read): Likewise.
7833 (fts_children): Likewise.
7834 (fts_build): Likewise.
7835 (fts_stat): Likewise.
7836 (fts_sort): Likewise.
7837 (fts_alloc): Likewise.
7838 (fts_lfree): Likewise.
7839 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7840 (_IO_file_xsgetn): Likewise.
7841 (_IO_file_xsgetn_mmap): Likewise.
7842 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7843 (_IO_cookie_write): Likewise.
7844 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7845 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7846 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7847 * malloc/obstack.c (_obstack_begin): Likewise.
7848 (_obstack_begin_1): Likewise.
7849 (_obstack_newchunk): Likewise.
7850 (_obstack_allocated_p): Likewise.
7851 (obstack_free): Likewise.
7852 (_obstack_memory_used): Likewise.
7853 * misc/getttyent.c (getttynam): Likewise.
7854 (getttyent): Likewise.
7855 (skip): Likewise.
7856 (value): Likewise.
7857 * misc/getusershell.c (initshells): Likewise.
7858 * misc/syslog.c (__vsyslog_chk): Likewise.
7859 * misc/ttyslot.c (ttyslot): Likewise.
7860 * nis/nis_hash.c (__nis_hash): Likewise.
7861 * posix/fnmatch_loop.c (FCT): Likewise.
7862 * posix/getconf.c (print_all): Likewise.
7863 (main): Likewise.
7864 * posix/getopt.c (exchange): Likewise.
7865 * posix/glob.c (globfree): Likewise.
7866 (prefix_array): Likewise.
7867 (__glob_pattern_type): Likewise.
7868 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7869 (NS_GET32): Likewise.
7870 (NS_PUT16): Likewise.
7871 (NS_PUT32): Likewise.
7872 * resolv/gethnamaddr.c (getanswer): Likewise.
7873 (gethostbyname2): Likewise.
7874 (gethostbyaddr): Likewise.
7875 (_gethtent): Likewise.
7876 (_gethtbyname2): Likewise.
7877 (_gethtbyaddr): Likewise.
7878 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7879 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7880 * resolv/res_init.c (__res_vinit): Likewise.
7881 (net_mask): Likewise.
7882 * resolv/res_mkquery.c (outchar): Likewise.
7883 (PRINT): Likewise.
7884 * stdio-common/printf_fp.c (outchar): Likewise.
7885 (PRINT): Likewise.
7886 * stdio-common/printf_fphex.c (outchar): Likewise.
7887 (PRINT): Likewise.
7888 * stdio-common/printf_size.c (outchar): Likewise.
7889 (PRINT): Likewise.
7890 * stdio-common/test_rdwr.c (main): Likewise.
7891 * stdio-common/tfformat.c (matches): Likewise.
7892 * stdio-common/vfprintf.c (outchar): Likewise.
7893 (printf_unknown): Likewise.
7894 (buffered_vfprintf): Likewise.
7895 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7896 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7897 (ReadFile): Likewise.
7898 * stdlib/qsort.c (SWAP): Likewise.
7899 (_quicksort): Likewise.
7900 * stdlib/setenv.c (__add_to_environ): Likewise.
7901 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7902 * stdlib/strtol_l.c (__strtol_l): Likewise.
7903 * stdlib/tst-strtod.c (main): Likewise.
7904 * stdlib/tst-strtol.c (main): Likewise.
7905 * stdlib/tst-strtoll.c (main): Likewise.
7906 * string/bits/string2.h (__strcmp_cc): Likewise.
7907 (__strcmp_cg): Likewise.
7908 (__strcspn_c1): Likewise.
7909 (__strcspn_c2): Likewise.
7910 (__strcspn_c3): Likewise.
7911 (__strspn_c1): Likewise.
7912 (__strspn_c2): Likewise.
7913 (__strspn_c3): Likewise.
7914 (__strsep_1c): Likewise.
7915 (__strsep_2c): Likewise.
7916 (__strsep_3c): Likewise.
7917 * string/memccpy.c (__memccpy): Likewise.
7918 * string/stpcpy.c (__stpcpy): Likewise.
7919 * string/strcmp.c (strcmp): Likewise.
7920 * string/strrchr.c (strrchr): Likewise.
7921 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7922 Likewise.
7923 * sysdeps/mach/hurd/getcwd.c
7924 (_hurd_canonicalize_directory_name_internal): Likewise.
7925 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7926 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7927 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7928 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7929 Likewise, in both definitions.
7930 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7931 definitions.
7932 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7933 64] (__bswap_64): Likewise.
7934 * time/test_time.c (main): Likewise.
7935 * time/tzfile.c (__tzfile_read): Likewise.
7936 (__tzfile_compute): Likewise.
7937 * time/tzset.c (__tzset_parse_tz): Likewise.
7938 (tzset_internal): Likewise.
7939 (compute_change): Likewise.
7940 * wcsmbs/wcscat.c (__wcscat): Likewise.
7941 * wcsmbs/wcschr.c (wcschr): Likewise.
7942 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7943 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7944 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7945 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7946 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7947 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7948 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7949 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7950 * wcsmbs/wmemset.c (wmemset): Likewise.
7951
9e54314b
JM
79522013-06-06 Joseph Myers <joseph@codesourcery.com>
7953
7954 * scripts/config.guess: Update to version 2013-05-16.
7955 * scripts/config.sub: Update to version 2013-04-24.
7956 * scripts/install-sh: Update to version 2011-11-20.07.
7957 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7958 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7959
350635a5
OB
79602013-06-06 Ondřej Bílka <neleai@seznam.cz>
7961
7962 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7963 * elf/sln.c: Likewise.
7964 * hurd/hurd/ioctl.h: Likewise.
7965 * hurd/hurdmalloc.c: Likewise.
7966 * hurd/xattr.c: Likewise.
7967 * include/shlib-compat.h: Likewise.
7968 * inet/ruserpass.c: Likewise.
7969 * libio/iofgets_u.c: Likewise.
7970 * libio/iofgetws_u.c: Likewise.
7971 * locale/programs/ld-identification.c: Likewise.
7972 * locale/programs/ld-time.c: Likewise.
7973 * mach/msg-destroy.c: Likewise.
7974 * nss/nss_files/files-netgrp.c: Likewise.
7975 * resolv/res_data.c: Likewise.
7976 * soft-fp/op-1.h: Likewise.
7977 * soft-fp/op-2.h: Likewise.
7978 * soft-fp/op-4.h: Likewise.
7979 * soft-fp/op-common.h: Likewise.
7980 * stdio-common/printf_fphex.c: Likewise.
7981 * stdlib/strtod_l.c: Likewise.
7982 * sunrpc/rpc/clnt.h: Likewise.
7983 * sysdeps/generic/framestate.c: Likewise.
7984 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7985 * sysdeps/i386/bsd-setjmp.S: Likewise.
7986 * sysdeps/i386/__longjmp.S: Likewise.
7987 * sysdeps/i386/setjmp.S: Likewise.
7988 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7989 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7990 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7991 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7992 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7993 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7994 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7995 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7996 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7997 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7998 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7999 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8000 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8001 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8002 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8003 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8004 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8005 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8006 * sysdeps/ieee754/support.c: Likewise.
8007 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8008 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8009 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8010 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8011 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8012 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8013 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8014 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8015 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8016 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8017 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8018 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8019 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8020 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8021 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8022 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8023 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8025
44a988af
OB
80262013-06-05 Ondřej Bílka <neleai@seznam.cz>
8027
25506f09 8028 * posix/transbug.c: Remove executable mode.
44a988af 8029
9c84384c
JM
80302013-06-05 Joseph Myers <joseph@codesourcery.com>
8031
8032 * crypt/speeds.c: Remove trailing whitespace.
8033 * dlfcn/default.c: Likewise.
8034 * elf/ifuncdep2.c: Likewise.
8035 * elf/ifuncmain1.c: Likewise.
8036 * elf/ifuncmain1vis.c: Likewise.
8037 * elf/testobj.h: Likewise.
8038 * elf/tst-stackguard1.c: Likewise.
8039 * gmon/sys/gmon.h: Likewise.
8040 * hurd/hurdmsg.c: Likewise.
8041 * hurd/new-fd.c: Likewise.
8042 * hurd/ports-get.c: Likewise.
8043 * iconvdata/ibm1008_420.c: Likewise.
8044 * inet/tst-getni1.c: Likewise.
8045 * inet/tst-getni2.c: Likewise.
8046 * libio/ioungetc.c: Likewise.
8047 * libio/wfiledoalloc.c: Likewise.
8048 * manual/libm-err-tab.pl: Likewise.
8049 * math/w_dremf.c: Likewise.
8050 * misc/ftruncate.c: Likewise.
8051 * posix/bug-glob2.c: Likewise.
8052 * posix/tst-pcre.c: Likewise.
8053 * posix/wait4.c: Likewise.
8054 * resolv/README: Likewise.
8055 * resolv/res_debug.h: Likewise.
8056 * resolv/tst-inet_ntop.c: Likewise.
8057 * setjmp/bug269-setjmp.c: Likewise.
8058 * soft-fp/extended.h: Likewise.
8059 * soft-fp/op-1.h: Likewise.
8060 * soft-fp/op-2.h: Likewise.
8061 * soft-fp/op-4.h: Likewise.
8062 * soft-fp/op-8.h: Likewise.
8063 * soft-fp/testit.c: Likewise.
8064 * stdio-common/bug16.c: Likewise.
8065 * stdlib/random.c: Likewise.
8066 * sunrpc/rpcsvc/rquota.x: Likewise.
8067 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8068 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8069 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8070 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8071 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8072 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8073 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8074 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8075 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8076 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8077 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8078 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8079 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8080 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8081 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8082 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8083 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8084 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8085 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8086 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8087 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8088 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8089 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8090 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8091 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8092 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8093 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8094 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8095 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8096 * sysdeps/ieee754/s_lib_version.c: Likewise.
8097 * sysdeps/mach/hurd/check_fds.c: Likewise.
8098 * sysdeps/mach/hurd/getsockname.c: Likewise.
8099 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8100 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8101 * sysdeps/powerpc/bits/link.h: Likewise.
8102 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8103 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8104 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8105 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8106 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8107 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8108 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8109 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8110 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8111 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8112 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8113 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8114 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8115 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8116 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8117 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8118 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8119 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8120 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8121 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8122 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8123 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8124 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8125 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8126 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8127 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8128 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8129 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8130 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8131 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8132 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8133 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8134 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8135 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8136 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8137 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8138 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8139 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8140 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8141 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8142 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8143 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8144 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8145 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8146 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8147 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8148 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8149 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8150 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8151 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8152 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8153 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8154 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8155 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8156 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8157 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8158 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8159 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8160 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8161 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8162 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8163 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8164 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8165 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8166 * sysdeps/powerpc/sysdep.h: Likewise.
8167 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8168 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8169 * sysdeps/sh/dl-trampoline.S: Likewise.
8170 * sysdeps/sh/memset.S: Likewise.
8171 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8172 * sysdeps/sh/strlen.S: Likewise.
8173 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8174 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8175 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8176 * sysdeps/sparc/sparc32/rem.S: Likewise.
8177 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8178 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8179 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8180 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8181 * sysdeps/sparc/sparc32/urem.S: Likewise.
8182 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8183 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8184 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8185 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8186 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8187 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8188 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8189 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8190 * sysdeps/unix/bsd/times.c: Likewise.
8191 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8192 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8196 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8197 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8198 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8199 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8200 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8201 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8202 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8203 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8204 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8205 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8206 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8207 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8208 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8209 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8210 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8211 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8212 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8213 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8214 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8215 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8216 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8217 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8218 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8219 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8220 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8221 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8222 * sysdeps/x86_64/strcspn.S: Likewise.
8223
869378a5
RA
82242013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8225
8226 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8227 generated file. Regenerate properly from gen-translit.pl.
8228 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8229 locale/C-translit.h.
8230
840e2943
AS
82312013-06-05 Andreas Schwab <schwab@suse.de>
8232
8233 [BZ #15100]
8234 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8235 week as 6 instead of -1.
8236 * time/tst-strptime.c (day_tests): Add test case.
8237
4c60cb0c
SP
82382013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8239
8240 * sysdeps/generic/math_private.h
8241 (libc_feholdexcept_setround_53bit): Replace with
8242 libc_feholdsetround_53bit.
8243 (libc_feupdateenv_53bit): Replace with
8244 libc_feresetround_53bit.
8245 (SET_RESTORE_ROUND_53BIT): Adjust.
8246
d180203e
SP
82472013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8248
96df079a
SP
8249 * string/test-strchrnul.c: Add copyright header.
8250
d180203e
SP
8251 * posix/tst-getaddrinfo4.c: Increase test timeout.
8252
8b0ccb2d
CD
82532013-06-03 Carlos O'Donell <carlos@redhat.com>
8254
8255 [BZ #15536]
8256 * math/libm-test.inc (MAX_EXP): Remove
8257 (MIN_EXP): Define.
8258 (ulp): Use MIN_EXP - MANT_DIG.
8259 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8260
3b3c4d40
CD
82612013-05-31 Carlos O'Donell <carlos@redhat.com>
8262
8263 * po/be.po: Revert last change.
8264 * po/zh_CN.po: Likewise.
8265 * po/header.pot: Likewise.
8266
fab7ce3f
JM
82672013-05-31 Joseph Myers <joseph@codesourcery.com>
8268
8269 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8270 link-libc-deps to empty as target-specific variable.
8271 * Makerules (link-libc-args): New variable.
8272 (libc-for-link): Likewise.
8273 (link-libc-deps): Likewise.
8274 (lib%.so): Depend on $(link-libc-deps). Link with
8275 $(link-libc-args).
8276 (build-module): Link with $(link-libc-args).
8277 (build-module-asneeded): Likewise.
8278 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8279 list of objects.
8280 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8281 target-specific variable.
8282 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8283 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8284 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8285 libc.
8286 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8287 libc and ld.so.
8288 ($(objpfx)libpcprofile.so): Likewise.
8289 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8290 libc_nonshared.a.
8291 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8292 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8293 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8294 $(link-libc-deps).
8295 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8296 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8297 * login/Makefile ($(objpfx)libutil.so): Likewise.
8298 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8299 * math/Makefile ($(objpfx)libm.so): Likewise.
8300 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8301 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8302 variable instead of depending directly on libc.
8303 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8304 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8305 $(link-libc-deps).
8306 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8307 libc.
8308 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8309 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8310 ($(objpfx)libanl.so): Likewise.
8311 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8312 ld.so.
8313 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8314 $(link-libc-deps).
8315 * sysdeps/i386/fpu/Makefile: Remove file.
8316 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8317 ($(objpfx)libm.so): Remove dependency on ld.so.
8318
eca5920c
PF
83192013-05-30 Patsy Franklin <pfrankli@redhat.com>
8320
8321 [BZ # 15553]
8322 * nis/yp_xdr.c (XDRMAXNAME): Define.
8323 (XDRMAXRECORD): Define.
8324 (xdr_domainname): Use XDRMAXNAME.
8325 (xdr_mapname): Likewise.
8326 (xdr_peername): Likewise.
8327 (xdr_keydat): Use XDRMAXRECORD.
8328 (xdr_valdat): Likewise.
8329
83302013-05-30 Jeff Law <law@redhat.com>
96945714
JL
8331
8332 [BZ #14256]
8333 * manual/errno.texi (ESTALE): Update to account for more than
8334 just NFS file systems.
8335 * sysdeps/gnu/errlist.c: Regenerated.
8336
b9375348
SP
83372013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8338
8339 [BZ #15465]
8340 * elf/Makefile (tests): Add tst-null-argv.
8341 (modules-names): Add tst-null-argv-lib.
8342 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8343 (tst-null-argv-ENV): Set environment for tst-null-argv.
8344 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8345 (RTLD_PROGNAME): New macro.
8346 * elf/tst-null-argv.c: New test case.
8347 * elf/tst-null-argv-lib.c: Library for test case.
8348 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8349 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8350 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8351 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8352 * elf/dl-init.c (call_init): Likewise.
8353 (_dl_init): Likewise.
8354 * elf/dl-load.c (print_search_path): Likewise.
8355 (_dl_map_object): Likewise.
8356 * elf/dl-lookup.c (do_lookup_x): Likewise.
8357 (add_dependency): Likewise.
8358 (_dl_lookup_symbol_x): Likewise.
8359 (_dl_debug_bindings): Likewise.
8360 * elf/dl-open.c (_dl_show_scope): Likewise.
8361 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8362 * elf/dl-version.c (match_symbol): Likewise.
8363 (_dl_check_map_versions): Likewise.
8364 * elf/rtld.c (dl_main): Likewise.
8365 (print_unresolved): Use RTLD_PROGNAME.
8366 (print_missing_version): Likewise.
8367 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8368 (elf_machine_rela): Likewise.
8369 * sysdeps/powerpc/powerpc32/dl-machine.c
8370 (__process_machine_rela): Likewise.
8371 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8372 Likewise.
8373 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8374 Likewise.
8375 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8376 Likewise.
8377 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8378 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8379 Likewise.
8380 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8381 Likewise.
8382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8383
8a9f20c8
CD
83842013-05-28 Carlos O'Donell <carlos@redhat.com>
8385
8386 * po/be.po: Add descriptive title.
8387 * po/zh_CN.po: Likewise.
8388 * po/header.pot: Likewise.
8389
0e60d68e
MF
83902013-05-28 Mike Frysinger <vapier@gentoo.org>
8391
8392 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8393 error message.
8394 (enlarge_archive): Likewise.
8395
56b672e9
BN
83962013-05-28 Ben North <ben@redfrontdoor.org>
8397
8398 * manual/arith.texi (frexp): It is the magnitude of the return
8399 value which lies in [0.5, 1), not the return value itself.
8400
5e056687
AZ
84012013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8402
8403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8404
2b66ef5d
TS
84052013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8406
528c2405
TS
8407 * stdio-common/bug26.c (main): Correct fscanf template.
8408
07b4c13d
TS
8409 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8410 declare _dl_skip_args.
8411
ec9dd97c
TS
8412 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8413 Don't declare.
8414
2b66ef5d
TS
8415 * manual/platform.texi: Add missing @end deftypefun.
8416
4f8dfe27
JM
84172013-05-24 Joseph Myers <joseph@codesourcery.com>
8418
0323d086
JM
8419 [BZ #15529]
8420 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8421 bit of mantissa of 2^16382.
8422 * math/libm-test.inc (hypot_test_data): Add more tests.
8423
dd4259b9
JM
8424 * math/libm-test.inc: Add drem and pow10 to list of tested
8425 functions.
8426 (pow10_test): New function.
8427 (drem_test): Likewise.
8428 (drem_test_tonearest): Likewise.
8429 (drem_test_towardzero): Likewise.
8430 (drem_test_downward): Likewise.
8431 (drem_test_upward): Likewise.
8432 (main): Call the new functions.
8433
4f8dfe27
JM
8434 * math/libm-test.inc (finite_test_data): Remove.
8435 (finite_test): Run tests from isfinite_test_data.
8436 (gamma_test_data): Remove.
8437 (gamma_test): Run tests from lgamma_test_data.
8438 * sysdeps/i386/fpu/libm-test-ulps: Update.
8439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8440
d116b7c4
AZ
84412013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8442
8443 * manual/platform.texi: Add PowerPC PPR function set documentation.
8444 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8445 implementation.
8446
e96e3767
CD
84472013-05-24 Carlos O'Donell <carlos@redhat.com>
8448
8449 * math/libm-test.inc (MAX_EXP): Define.
8450 (ULPDIFF): Define.
8451 (ulp): New function.
8452 (check_float_internal): Use ULPDIFF.
8453 (cpow_test): Disable failing test.
8454 (check_ulp): Test ulp() implemetnation.
8455 (main): Call check_ulp before starting tests.
8456
b679a606
JM
84572013-05-24 Joseph Myers <joseph@codesourcery.com>
8458
e8bdba36
JM
8459 * math/gen-libm-test.pl (generate_testfile): Do not handle
8460 START_DATA and END_DATA.
8461 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8462 END_DATA.
8463 (acos_tonearest_test_data): Likewise.
8464 (acos_towardzero_test_data): Likewise.
8465 (acos_downward_test_data): Likewise.
8466 (acos_upward_test_data): Likewise.
8467 (acosh_test_data): Likewise.
8468 (asin_test_data): Likewise.
8469 (asin_tonearest_test_data): Likewise.
8470 (asin_towardzero_test_data): Likewise.
8471 (asin_downward_test_data): Likewise.
8472 (asin_upward_test_data): Likewise.
8473 (asinh_test_data): Likewise.
8474 (atan_test_data): Likewise.
8475 (atanh_test_data): Likewise.
8476 (atan2_test_data): Likewise.
8477 (cabs_test_data): Likewise.
8478 (cacos_test_data): Likewise.
8479 (cacosh_test_data): Likewise.
8480 (carg_test_data): Likewise.
8481 (casin_test_data): Likewise.
8482 (casinh_test_data): Likewise.
8483 (catan_test_data): Likewise.
8484 (catanh_test_data): Likewise.
8485 (cbrt_test_data): Likewise.
8486 (ccos_test_data): Likewise.
8487 (ccosh_test_data): Likewise.
8488 (ceil_test_data): Likewise.
8489 (cexp_test_data): Likewise.
8490 (cimag_test_data): Likewise.
8491 (clog_test_data): Likewise.
8492 (clog10_test_data): Likewise.
8493 (conj_test_data): Likewise.
8494 (copysign_test_data): Likewise.
8495 (cos_test_data): Likewise.
8496 (cos_tonearest_test_data): Likewise.
8497 (cos_towardzero_test_data): Likewise.
8498 (cos_downward_test_data): Likewise.
8499 (cos_upward_test_data): Likewise.
8500 (cosh_test_data): Likewise.
8501 (cosh_tonearest_test_data): Likewise.
8502 (cosh_towardzero_test_data): Likewise.
8503 (cosh_downward_test_data): Likewise.
8504 (cosh_upward_test_data): Likewise.
8505 (cpow_test_data): Likewise.
8506 (cproj_test_data): Likewise.
8507 (creal_test_data): Likewise.
8508 (csin_test_data): Likewise.
8509 (csinh_test_data): Likewise.
8510 (csqrt_test_data): Likewise.
8511 (ctan_test_data): Likewise.
8512 (ctan_tonearest_test_data): Likewise.
8513 (ctan_towardzero_test_data): Likewise.
8514 (ctan_downward_test_data): Likewise.
8515 (ctan_upward_test_data): Likewise.
8516 (ctanh_test_data): Likewise.
8517 (ctanh_tonearest_test_data): Likewise.
8518 (ctanh_towardzero_test_data): Likewise.
8519 (ctanh_downward_test_data): Likewise.
8520 (ctanh_upward_test_data): Likewise.
8521 (erf_test_data): Likewise.
8522 (erfc_test_data): Likewise.
8523 (exp_test_data): Likewise.
8524 (exp_tonearest_test_data): Likewise.
8525 (exp_towardzero_test_data): Likewise.
8526 (exp_downward_test_data): Likewise.
8527 (exp_upward_test_data): Likewise.
8528 (exp10_test_data): Likewise.
8529 (exp2_test_data): Likewise.
8530 (expm1_test_data): Likewise.
8531 (fabs_test_data): Likewise.
8532 (fdim_test_data): Likewise.
8533 (finite_test_data): Likewise.
8534 (floor_test_data): Likewise.
8535 (fma_test_data): Likewise.
8536 (fma_towardzero_test_data): Likewise.
8537 (fma_downward_test_data): Likewise.
8538 (fma_upward_test_data): Likewise.
8539 (fmax_test_data): Likewise.
8540 (fmin_test_data): Likewise.
8541 (fmod_test_data): Likewise.
8542 (fpclassify_test_data): Likewise.
8543 (frexp_test_data): Likewise.
8544 (gamma_test_data): Likewise.
8545 (hypot_test_data): Likewise.
8546 (ilogb_test_data): Likewise.
8547 (isfinite_test_data): Likewise.
8548 (isgreater_test_data): Likewise.
8549 (isgreaterequal_test_data): Likewise.
8550 (isinf_test_data): Likewise.
8551 (isless_test_data): Likewise.
8552 (islessequal_test_data): Likewise.
8553 (islessgreater_test_data): Likewise.
8554 (isnan_test_data): Likewise.
8555 (isnormal_test_data): Likewise.
8556 (issignaling_test_data): Likewise.
8557 (isunordered_test_data): Likewise.
8558 (j0_test_data): Likewise.
8559 (j1_test_data): Likewise.
8560 (jn_test_data): Likewise.
8561 (ldexp_test_data): Likewise.
8562 (lgamma_test_data): Likewise.
8563 (lrint_test_data): Likewise.
8564 (lrint_tonearest_test_data): Likewise.
8565 (lrint_towardzero_test_data): Likewise.
8566 (lrint_downward_test_data): Likewise.
8567 (lrint_upward_test_data): Likewise.
8568 (llrint_test_data): Likewise.
8569 (llrint_tonearest_test_data): Likewise.
8570 (llrint_towardzero_test_data): Likewise.
8571 (llrint_downward_test_data): Likewise.
8572 (llrint_upward_test_data): Likewise.
8573 (log_test_data): Likewise.
8574 (log10_test_data): Likewise.
8575 (log1p_test_data): Likewise.
8576 (log2_test_data): Likewise.
8577 (logb_test_data): Likewise.
8578 (logb_downward_test_data): Likewise.
8579 (lround_test_data): Likewise.
8580 (llround_test_data): Likewise.
8581 (modf_test_data): Likewise.
8582 (nearbyint_test_data): Likewise.
8583 (nextafter_test_data): Likewise.
8584 (nexttoward_test_data): Likewise.
8585 (pow_test_data): Likewise.
8586 (pow_tonearest_test_data): Likewise.
8587 (pow_towardzero_test_data): Likewise.
8588 (pow_downward_test_data): Likewise.
8589 (pow_upward_test_data): Likewise.
8590 (remainder_test_data): Likewise.
8591 (remainder_tonearest_test_data): Likewise.
8592 (remainder_towardzero_test_data): Likewise.
8593 (remainder_downward_test_data): Likewise.
8594 (remainder_upward_test_data): Likewise.
8595 (remquo_test_data): Likewise.
8596 (rint_test_data): Likewise.
8597 (rint_tonearest_test_data): Likewise.
8598 (rint_towardzero_test_data): Likewise.
8599 (rint_downward_test_data): Likewise.
8600 (rint_upward_test_data): Likewise.
8601 (round_test_data): Likewise.
8602 (scalb_test_data): Likewise.
8603 (scalbn_test_data): Likewise.
8604 (scalbln_test_data): Likewise.
8605 (signbit_test_data): Likewise.
8606 (sin_test_data): Likewise.
8607 (sin_tonearest_test_data): Likewise.
8608 (sin_towardzero_test_data): Likewise.
8609 (sin_downward_test_data): Likewise.
8610 (sin_upward_test_data): Likewise.
8611 (sincos_test_data): Likewise.
8612 (sinh_test_data): Likewise.
8613 (sinh_tonearest_test_data): Likewise.
8614 (sinh_towardzero_test_data): Likewise.
8615 (sinh_downward_test_data): Likewise.
8616 (sinh_upward_test_data): Likewise.
8617 (sqrt_test_data): Likewise.
8618 (tan_test_data): Likewise.
8619 (tan_tonearest_test_data): Likewise.
8620 (tan_towardzero_test_data): Likewise.
8621 (tan_downward_test_data): Likewise.
8622 (tan_upward_test_data): Likewise.
8623 (tanh_test_data): Likewise.
8624 (tgamma_test_data): Likewise.
8625 (trunc_test_data): Likewise.
8626 (y0_test_data): Likewise.
8627 (y1_test_data): Likewise.
8628 (yn_test_data): Likewise.
8629 (significand_test_data): Likewise.
8630
b679a606
JM
8631 * math/gen-libm-test.pl (@functions): Remove variable.
8632 (generate_testfile): Don't handle START and END lines.
8633 * math/libm-test.inc (START): New macro.
8634 (END): Likewise.
8635 (END_COMPLEX): Likewise.
8636 (acos_test): Use END macro without arguments.
8637 (acos_test_tonearest): Likewise.
8638 (acos_test_towardzero): Likewise.
8639 (acos_test_downward): Likewise.
8640 (acos_test_upward): Likewise.
8641 (acosh_test): Likewise.
8642 (asin_test): Likewise.
8643 (asin_test_tonearest): Likewise.
8644 (asin_test_towardzero): Likewise.
8645 (asin_test_downward): Likewise.
8646 (asin_test_upward): Likewise.
8647 (asinh_test): Likewise.
8648 (atan_test): Likewise.
8649 (atanh_test): Likewise.
8650 (atan2_test): Likewise.
8651 (cabs_test): Likewise.
8652 (cacos_test): Use END_COMPLEX macro without arguments.
8653 (cacosh_test): Likewise.
8654 (carg_test): Use END macro without arguments.
8655 (casin_test): Use END_COMPLEX macro without arguments.
8656 (casinh_test): Likewise.
8657 (catan_test): Likewise.
8658 (catanh_test): Likewise.
8659 (cbrt_test): Use END macro without arguments.
8660 (ccos_test): Use END_COMPLEX macro without arguments.
8661 (ccosh_test): Likewise.
8662 (ceil_test): Use END macro without arguments.
8663 (cexp_test): Use END_COMPLEX macro without arguments.
8664 (cimag_test): Use END macro without arguments.
8665 (clog_test): Use END_COMPLEX macro without arguments.
8666 (clog10_test): Likewise.
8667 (conj_test): Likewise.
8668 (copysign_test): Use END macro without arguments.
8669 (cos_test): Likewise.
8670 (cos_test_tonearest): Likewise.
8671 (cos_test_towardzero): Likewise.
8672 (cos_test_downward): Likewise.
8673 (cos_test_upward): Likewise.
8674 (cosh_test): Likewise.
8675 (cosh_test_tonearest): Likewise.
8676 (cosh_test_towardzero): Likewise.
8677 (cosh_test_downward): Likewise.
8678 (cosh_test_upward): Likewise.
8679 (cpow_test): Use END_COMPLEX macro without arguments.
8680 (cproj_test): Likewise.
8681 (creal_test): Use END macro without arguments.
8682 (csin_test): Use END_COMPLEX macro without arguments.
8683 (csinh_test): Likewise.
8684 (csqrt_test): Likewise.
8685 (ctan_test): Likewise.
8686 (ctan_test_tonearest): Likewise.
8687 (ctan_test_towardzero): Likewise.
8688 (ctan_test_downward): Likewise.
8689 (ctan_test_upward): Likewise.
8690 (ctanh_test): Likewise.
8691 (ctanh_test_tonearest): Likewise.
8692 (ctanh_test_towardzero): Likewise.
8693 (ctanh_test_downward): Likewise.
8694 (ctanh_test_upward): Likewise.
8695 (erf_test): Use END macro without arguments.
8696 (erfc_test): Likewise.
8697 (exp_test): Likewise.
8698 (exp_test_tonearest): Likewise.
8699 (exp_test_towardzero): Likewise.
8700 (exp_test_downward): Likewise.
8701 (exp_test_upward): Likewise.
8702 (exp10_test): Likewise.
8703 (exp2_test): Likewise.
8704 (expm1_test): Likewise.
8705 (fabs_test): Likewise.
8706 (fdim_test): Likewise.
8707 (finite_test): Likewise.
8708 (floor_test): Likewise.
8709 (fma_test): Likewise.
8710 (fma_test_towardzero): Likewise.
8711 (fma_test_downward): Likewise.
8712 (fma_test_upward): Likewise.
8713 (fmax_test): Likewise.
8714 (fmin_test): Likewise.
8715 (fmod_test): Likewise.
8716 (fpclassify_test): Likewise.
8717 (frexp_test): Likewise.
8718 (gamma_test): Likewise.
8719 (hypot_test): Likewise.
8720 (ilogb_test): Likewise.
8721 (isfinite_test): Likewise.
8722 (isgreater_test): Likewise.
8723 (isgreaterequal_test): Likewise.
8724 (isinf_test): Likewise.
8725 (isless_test): Likewise.
8726 (islessequal_test): Likewise.
8727 (islessgreater_test): Likewise.
8728 (isnan_test): Likewise.
8729 (isnormal_test): Likewise.
8730 (issignaling_test): Likewise.
8731 (isunordered_test): Likewise.
8732 (j0_test): Likewise.
8733 (j1_test): Likewise.
8734 (jn_test): Likewise.
8735 (ldexp_test): Likewise.
8736 (lgamma_test): Likewise.
8737 (lrint_test): Likewise.
8738 (lrint_test_tonearest): Likewise.
8739 (lrint_test_towardzero): Likewise.
8740 (lrint_test_downward): Likewise.
8741 (lrint_test_upward): Likewise.
8742 (llrint_test): Likewise.
8743 (llrint_test_tonearest): Likewise.
8744 (llrint_test_towardzero): Likewise.
8745 (llrint_test_downward): Likewise.
8746 (llrint_test_upward): Likewise.
8747 (log_test): Likewise.
8748 (log10_test): Likewise.
8749 (log1p_test): Likewise.
8750 (log2_test): Likewise.
8751 (logb_test): Likewise.
8752 (logb_test_downward): Likewise.
8753 (lround_test): Likewise.
8754 (llround_test): Likewise.
8755 (modf_test): Likewise.
8756 (nearbyint_test): Likewise.
8757 (nextafter_test): Likewise.
8758 (nexttoward_test): Likewise.
8759 (pow_test): Likewise.
8760 (pow_test_tonearest): Likewise.
8761 (pow_test_towardzero): Likewise.
8762 (pow_test_downward): Likewise.
8763 (pow_test_upward): Likewise.
8764 (remainder_test): Likewise.
8765 (remainder_test_tonearest): Likewise.
8766 (remainder_test_towardzero): Likewise.
8767 (remainder_test_downward): Likewise.
8768 (remainder_test_upward): Likewise.
8769 (remquo_test): Likewise.
8770 (rint_test): Likewise.
8771 (rint_test_tonearest): Likewise.
8772 (rint_test_towardzero): Likewise.
8773 (rint_test_downward): Likewise.
8774 (rint_test_upward): Likewise.
8775 (round_test): Likewise.
8776 (scalb_test): Likewise.
8777 (scalbn_test): Likewise.
8778 (scalbln_test): Likewise.
8779 (signbit_test): Likewise.
8780 (sin_test): Likewise.
8781 (sin_test_tonearest): Likewise.
8782 (sin_test_towardzero): Likewise.
8783 (sin_test_downward): Likewise.
8784 (sin_test_upward): Likewise.
8785 (sincos_test): Likewise.
8786 (sinh_test): Likewise.
8787 (sinh_test_tonearest): Likewise.
8788 (sinh_test_towardzero): Likewise.
8789 (sinh_test_downward): Likewise.
8790 (sinh_test_upward): Likewise.
8791 (sqrt_test): Likewise.
8792 (tan_test): Likewise.
8793 (tan_test_tonearest): Likewise.
8794 (tan_test_towardzero): Likewise.
8795 (tan_test_downward): Likewise.
8796 (tan_test_upward): Likewise.
8797 (tanh_test): Likewise.
8798 (tgamma_test): Likewise.
8799 (trunc_test): Likewise.
8800 (y0_test): Likewise.
8801 (y1_test): Likewise.
8802 (yn_test): Likewise.
8803 (significand_test): Likewise.
8804
bae143d2
OB
88052013-05-24 Ondřej Bílka <neleai@seznam.cz>
8806
8807 [BZ #15381]
8808 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8809
9323d39b
EM
88102013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8811
d4ea44a0 8812 [BZ #14894]
9323d39b
EM
8813 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8814 __ppc_mdoio and __ppc_mdoom.
8815 * manual/platform.texi: Document new functions __ppc_yield,
8816 __ppc_mdoio and __ppc_mdoom.
8817
13e23af7
CD
88182013-05-22 Carlos O'Donell <carlos@redhat.com>
8819
8820 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8821 (main): Mention "tls" pseudo-hwcap is legacy.
8822 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8823
351fe550
JM
88242013-05-22 Joseph Myers <joseph@codesourcery.com>
8825
8826 * math/gen-libm-test.pl (parse_args): Output only string of
8827 arguments as text for test name, not full call or descriptions of
8828 tests for extra outputs.
8829 (generate_testfile): Do not pass function name to parse_args.
8830 Generate this_func variable from START.
8831 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8832 field to arg_str.
8833 (struct test_ff_f_data): Likewise.
8834 (test_ff_f_data_nexttoward): Likewise.
8835 (struct test_fi_f_data): Likewise.
8836 (struct test_fl_f_data): Likewise.
8837 (struct test_if_f_data): Likewise.
8838 (struct test_fff_f_data): Likewise.
8839 (struct test_c_f_data): Likewise.
8840 (struct test_f_f1_data): Likewise. Remove field extra_name.
8841 (struct test_fF_f1_data): Likewise.
8842 (struct test_ffI_f1_data): Likewise.
8843 (struct test_c_c_data): Rename test_name field to arg_str.
8844 (struct test_cc_c_data): Likewise.
8845 (struct test_f_i_data): Likewise.
8846 (struct test_ff_i_data): Likewise.
8847 (struct test_f_l_data): Likewise.
8848 (struct test_f_L_data): Likewise.
8849 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8850 and extra2_name.
8851 (COMMON_TEST_SETUP): New macro.
8852 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8853 (COMMON_TEST_CLEANUP): Likewise.
8854 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8855 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8856 macros.
8857 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8858 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8859 macros.
8860 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8861 (RUN_TEST_fff_f): Take argument string. Call new setup and
8862 cleanup macros.
8863 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8864 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8865 macros.
8866 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8867 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8868 macros.
8869 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8870 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8871 cleanup macros.
8872 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8873 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8874 cleanup macros.
8875 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8876 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8877 cleanup macros.
8878 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8879 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8880 macros.
8881 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8882 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8883 macros.
8884 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8885 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8886 macros.
8887 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8888 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8889 cleanup macros.
8890 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8891 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8892 cleanup macros.
8893 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8894 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8895 macros.
8896 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8897 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8898 cleanup macros.
8899 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8900 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8901 macros.
8902 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8903 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8904 macros.
8905 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8906 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8907 cleanup macros.
8908 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8909
85118d4d
EBM
89102013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8911
8912 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8913 to _sifields.sigfault.
8914 (si_addr_lsb): Define new macro.
8915 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8916 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8917 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8918
7a44c18f
CD
89192013-05-03 Carlos O'Donell <carlos at redhat.com>
8920
8921 [BZ #15441]
8922 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8923 returns -1.
8924 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8925 null return -1.
8926 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8927 loading the domain.
8928
b50a7181
JM
89292013-05-22 Joseph Myers <joseph@codesourcery.com>
8930
8931 * math/gen-libm-test.pl (parse_args): Do not include expected
8932 result in test name.
8933 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8934 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8935 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8936 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8937 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8939
051063c8
SP
89402013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8941
3ce9e010
SP
8942 * benchtests/Makefile: Sort function entries.
8943
051063c8
SP
8944 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8945 tanh, asinh, acosh, atanh.
8946 * benchtests/acos-inputs: New file.
8947 * benchtests/acosh-inputs: New file.
8948 * benchtests/asin-inputs: New file.
8949 * benchtests/asinh-inputs: New file.
8950 * benchtests/atanh-inputs: New file.
8951 * benchtests/cosh-inputs: New file.
8952 * benchtests/log-inputs: New file.
8953 * benchtests/sinh-inputs: New file.
8954 * benchtests/tanh-inputs: New file.
8955
47c22455
DL
89562013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8957
8958 [BZ #15339]
8959 * posix/tst-getaddrinfo4.c: New test.
8960 * posix/Makefile (tests): Add it.
8961
3d04f5db
SP
89622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8963
8964 [BZ #15339]
8965 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8966 when no services were used.
8967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8968 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8969
d5dd6189
AS
89702013-05-21 Andreas Schwab <schwab@suse.de>
8971
8972 [BZ #15014]
8973 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8974 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8975 successful.
8976 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8977 redundant variable declarations and reallocation of buffer when
8978 parsing as IPv6 address. Always set NSS status when called from
8979 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8980 buffer too small. Correct computation of needed size.
8981 * nss/Makefile (tests): Add test-digits-dots.
8982 * nss/test-digits-dots.c: New test.
8983
fef94eab
SP
89842013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8985
8986 * benchtests/Makefile: Remove instructions for adding
8987 benchmark tests.
8988 * benchtests/README: New file to explain how to execute and
8989 enhance the benchmark tests.
8990
e39adf43
AS
89912013-05-21 Andreas Schwab <schwab@suse.de>
8992
8993 [BZ #15493]
8994 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8995 * setjmp/tst-sigsetjmp.c: New test.
8996
b2b671b6
OB
89972013-05-20 Ondřej Bílka <neleai@seznam.cz>
8998
8999 * sysdeps/x86_64/memset.S (memset): New implementation.
9000 (__bzero): Likewise.
9001 (__memset_tail): New function.
9002
2d48b41c
OB
90032013-05-20 Ondřej Bílka <neleai@seznam.cz>
9004
9005 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9006 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9007 __memcpy_sse2_unaligned ifunc selection.
9008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9009 Add memcpy-sse2-unaligned.S.
9010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9011 Add: __memcpy_sse2_unaligned.
9012
f16cc3eb
JM
90132013-05-19 Joseph Myers <joseph@codesourcery.com>
9014
3e694268
JM
9015 [BZ #15490]
9016 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9017 math_force_eval before restoring floating-point envrionment.
9018 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9020 Likewise.
9021 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9022 <math_private.h>.
9023 (__nearbyintl): Use math_force_eval before restoring
9024 floating-point environment.
9025 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9026
db62a907
JM
9027 * math/gen-libm-test.pl (special_functions): Remove.
9028 (parse_args): Don't handle TEST_extra. Handle functions with no
9029 return value.
9030 * math/libm-test.inc (struct test_sincos_data): Replace with
9031 struct test_fFF_11_data.
9032 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9033 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9034 (sincos_test_data): Change element type to struct
9035 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9036 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9037 RUN_TEST_LOOP_sincos.
9038 * math/README.libm-test: Don't mention special handling of
9039 individual functions.
9040 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9041 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9042 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9043 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9044 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9046
f16cc3eb
JM
9047 * math/gen-libm-test.pl (get_variable): Remove function.
9048 (parse_args): Don't show pointer parameters to call in test
9049 names. Use "extra output N" in test names for extra outputs
9050 rather than naming variables.
9051
3779b5b6
JM
90522013-05-18 Joseph Myers <joseph@codesourcery.com>
9053
2ee094ff
JM
9054 [BZ #15488]
9055 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9056 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9057 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9058 double tests.
9059 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9060 disable.
9061 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9062 check_long_double.
9063
3779b5b6
JM
9064 * math/gen-libm-test.pl (@tests): Remove variable.
9065 ($count): Likewise.
9066 (new_test): Remove function.
9067 (show_exceptions): New function.
9068 (special_functions): Use show_exceptions instead of new_test.
9069 (parse_args): Likewise.
9070 (generate_testfile): Pass only function name in generated call to
9071 print_max_error or print_complex_max_error.
9072 (get_ulps): Do not handle complex tests specially.
9073 (output_test): Rename to ...
9074 (get_all_ulps_for_test): ... this. Return a string rather than
9075 printing to a file. Require ulps to be present.
9076 (output_ulps): Generate arrays rather than #defines.
9077 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9078 (struct ulp_data): New type.
9079 (BUILD_COMPLEX_ULP): Remove macro.
9080 (compare_ulp_data): New function.
9081 (find_ulps): Likewise.
9082 (find_test_ulps): Likewise.
9083 (find_function_ulps): Likewise.
9084 (find_complex_function_ulps): Likewise.
9085 (print_max_error): Determine allowed ulps using
9086 find_function_ulps.
9087 (print_complex_max_error): Determine allowed ulps using
9088 find_complex_function_ulps.
9089 (check_float_internal): Determine max ulps using find_test_ulps.
9090 (check_float): Do not take max_ulp parameter. Update call to
9091 check_float_internal.
9092 (check_complex): Likewise.
9093 (check_int): Do not take max_ulp parameter.
9094 (check_long): Likewise.
9095 (check_bool): Likewise.
9096 (check_longlong): Likewise.
9097 (struct test_f_f_data): Remove max_ulp field.
9098 (struct test_ff_f_data): Likewise.
9099 (struct test_ff_f_data_nexttoward): Likewise.
9100 (struct test_fi_f_data): Likewise.
9101 (struct test_fl_f_data): Likewise.
9102 (struct test_if_f_data): Likewise.
9103 (struct test_fff_f_data): Likewise.
9104 (struct test_c_f_data): Likewise.
9105 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9106 (struct test_fF_f1_data): Likewise.
9107 (struct test_ffI_f1_data): Likewise.
9108 (struct test_c_c_data): Remove max_ulp field.
9109 (struct test_cc_c_data): Likewise.
9110 (struct test_f_i_data): Likewise.
9111 (struct test_ff_i_data): Likewise.
9112 (struct test_f_l_data): Likewise.
9113 (struct test_f_L_data): Likewise.
9114 (struct test_sincos_data): Likewise.
9115 (RUN_TEST_f_f): Do not handle ulps.
9116 (RUN_TEST_LOOP_f_f): Likewise.
9117 (RUN_TEST_2_f): Likewise.
9118 (RUN_TEST_LOOP_2_f): Likewise.
9119 (RUN_TEST_fff_f): Likewise.
9120 (RUN_TEST_LOOP_fff_f): Likewise.
9121 (RUN_TEST_c_f): Likewise.
9122 (RUN_TEST_LOOP_c_f): Likewise.
9123 (RUN_TEST_f_f1): Likewise.
9124 (RUN_TEST_LOOP_f_f1): Likewise.
9125 (RUN_TEST_fF_f1): Likewise.
9126 (RUN_TEST_LOOP_fF_f1): Likewise.
9127 (RUN_TEST_fI_f1): Likewise.
9128 (RUN_TEST_LOOP_fI_f1): Likewise.
9129 (RUN_TEST_ffI_f1): Likewise.
9130 (RUN_TEST_LOOP_ffI_f1): Likewise.
9131 (RUN_TEST_c_c): Likewise.
9132 (RUN_TEST_LOOP_c_c): Likewise.
9133 (RUN_TEST_cc_c): Likewise.
9134 (RUN_TEST_LOOP_cc_c): Likewise.
9135 (RUN_TEST_f_i): Likewise.
9136 (RUN_TEST_LOOP_f_i): Likewise.
9137 (RUN_TEST_f_i_tg): Likewise.
9138 (RUN_TEST_LOOP_f_i_tg): Likewise.
9139 (RUN_TEST_ff_i_tg): Likewise.
9140 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9141 (RUN_TEST_f_b): Likewise.
9142 (RUN_TEST_LOOP_f_b): Likewise.
9143 (RUN_TEST_f_b_tg): Likewise.
9144 (RUN_TEST_LOOP_f_b_tg): Likewise.
9145 (RUN_TEST_f_l): Likewise.
9146 (RUN_TEST_LOOP_f_l): Likewise.
9147 (RUN_TEST_f_L): Likewise.
9148 (RUN_TEST_LOOP_f_L): Likewise.
9149 (RUN_TEST_sincos): Likewise.
9150 (RUN_TEST_LOOP_sincos): Likewise.
9151
8269107f
JM
91522013-05-17 Joseph Myers <joseph@codesourcery.com>
9153
bb38759d
JM
9154 [BZ #15480]
9155 [BZ #15485]
9156 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9157 main case of finite arguments, set rounding mode to FE_TONEAREST
9158 and discard exceptions.
9159 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9160 exceptions.
9161 (remainder_tonearest_test_data): New variable.
9162 (remainder_test_tonearest): New function.
9163 (remainder_towardzero_test_data): New variable.
9164 (remainder_test_towardzero): New function.
9165 (remainder_downward_test_data): New variable.
9166 (remainder_test_downward): New function.
9167 (remainder_upward_test_data): New variable.
9168 (remainder_test_upward): New function.
9169 (main): Call the new test functions.
9170
a00bdcf0
JM
9171 * math/libm-test.inc (struct test_f_f1_data): Remove field
9172 extra_init.
9173 (struct test_fF_f1_data): Likewise.
9174 (struct test_ffI_f1_data): Likewise.
9175 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9176 based on value of EXTRA_EXPECTED.
9177 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9178 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9179 EXTRA_VAR based on value of EXTRA_EXPECTED.
9180 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9181 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9182 EXTRA_VAR based on value of EXTRA_EXPECTED.
9183 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9184 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9185 EXTRA_VAR based on value of EXTRA_EXPECTED.
9186 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9187 * math/gen-libm-test.pl (parse_args): Don't output initializers
9188 for extra output values.
9189
de407f79
JM
9190 * math/libm-test.inc (check_int): Expect result to be exactly
9191 equal to expected value and do not handle ulps.
9192 (check_long): Likewise.
9193 (check_longlong): Likewise.
9194
8269107f
JM
9195 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9196 exceptions.
9197 (cimag_test_data): Likewise.
9198 (conj_test_data): Likewise.
9199 (copysign_test_data): Likewise.
9200 (cproj_test_data): Likewise.
9201 (creal_test_data): Likewise.
9202 (fabs_test_data): Likewise.
9203 (fdim_test_data): Likewise.
9204 (finite_test_data): Likewise.
9205 (floor_test_data): Likewise.
9206 (fmax_test_data): Likewise.
9207 (fmin_test_data): Likewise.
9208 (fmod_test_data): Likewise.
9209 (fpclassify_test_data): Likewise.
9210 (frexp_test_data): Likewise.
9211 (ilogb_test_data): Likewise.
9212 (isfinite_test_data): Likewise.
9213 (isgreater_test_data): Likewise.
9214 (isgreaterequal_test_data): Likewise.
9215 (isinf_test_data): Likewise.
9216 (isless_test_data): Likewise.
9217 (islessequal_test_data): Likewise.
9218 (islessgreater_test_data): Likewise.
9219 (isnan_test_data): Likewise.
9220 (isnormal_test_data): Likewise.
9221 (issignaling_test_data): Likewise.
9222 (isunordered_test_data): Likewise.
9223 (ldexp_test_data): Likewise.
9224 (lrint_test_data): Likewise.
9225 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9226 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9227 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9228 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9229 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9230 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9231 test input.
9232 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9233 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9234 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9235 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9236 that test input.
9237 (lrint_downward_test_data): Test for "inexact" exceptions.
9238 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9239 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9240 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9241 test input.
9242 (lrint_upward_test_data): Test for "inexact" exceptions.
9243 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9244 test input.
9245 (llrint_test_data): Test for "inexact" exceptions.
9246 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9247 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9248 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9249 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9250 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9251 (llrint_downward_test_data): Test for "inexact" exceptions.
9252 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9253 (llrint_upward_test_data): Test for "inexact" exceptions.
9254 (logb_test_data): Likewise.
9255 (logb_downward_test_data): Likewise.
9256 (nextafter_test_data): Likewise.
9257 (nexttoward_test_data): Likewise.
9258 (remainder_test_data): Likewise.
9259 (remquo_test_data): Likewise.
9260 (scalbn_test_data): Likewise.
9261 (scalbln_test_data): Likewise.
9262 (signbit_test_data): Likewise.
9263 (sqrt_test_data): Likewise.
9264 (significand_test_data): Likewise.
9265
48a18de1
SP
92662013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9267
9268 [BZ #15424]
9269 * benchtests/bench-modf.c (struct args): Mark arg0 as
9270 volatile.
9271 * scripts/bench.pl: Mark members of struct args as volatile.
9272
13d3b41a
AZ
92732013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9274
68191c1d 9275 [BZ # 15497]
13d3b41a
AZ
9276 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9277 negative infinity on POWER6 or lower.
9278 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9279
2848b105
MR
92802013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9281
9282 [BZ #15442]
9283 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9284 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9285 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9286 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9287 (_FP_SETQNAN): New macro.
9288 (_FP_SETQNAN_SEMIRAW): Likewise.
9289 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9290 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9291 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9292 (FP_EXTEND): Use _FP_FRAC_SNANP.
9293 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9294 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9295 into account.
9296 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9297 New macro.
9298 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9299 Likewise.
9300
323e5cb7
JM
93012013-05-16 Joseph Myers <joseph@codesourcery.com>
9302
c58b274f
JM
9303 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9304 with DIVIDE_BY_ZERO_EXCEPTION.
9305 (gamma_test_data): Likewise.
9306 (lgamma_test_data): Likewise.
9307 (log_test_data): Likewise.
9308 (log10_test_data): Likewise.
9309 (log2_test_data): Likewise.
9310 (tgamma_test_data): Likewise.
9311
0ab34904
JM
9312 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9313 (acos_test_tonearest): Likewise.
9314 (acos_test_towardzero): Likewise.
9315 (acos_test_downward): Likewise.
9316 (acos_test_upward): Likewise.
9317 (acosh_test): Likewise.
9318 (asin_test): Likewise.
9319 (asin_test_tonearest): Likewise.
9320 (asin_test_towardzero): Likewise.
9321 (asin_test_downward): Likewise.
9322 (asin_test_upward): Likewise.
9323 (asinh_test): Likewise.
9324 (atan_test): Likewise.
9325 (atanh_test): Likewise.
9326 (atan2_test): Likewise.
9327 (cabs_test): Likewise.
9328 (cacos_test): Likewise.
9329 (cacosh_test): Likewise.
9330 (casin_test): Likewise.
9331 (casinh_test): Likewise.
9332 (catan_test): Likewise.
9333 (catanh_test): Likewise.
9334 (cbrt_test): Likewise.
9335 (ccos_test): Likewise.
9336 (ccosh_test): Likewise.
9337 (cexp_test): Likewise.
9338 (clog_test): Likewise.
9339 (clog10_test): Likewise.
9340 (cos_test): Likewise.
9341 (cos_test_tonearest): Likewise.
9342 (cos_test_towardzero): Likewise.
9343 (cos_test_downward): Likewise.
9344 (cos_test_upward): Likewise.
9345 (cosh_test): Likewise.
9346 (cosh_test_tonearest): Likewise.
9347 (cosh_test_towardzero): Likewise.
9348 (cosh_test_downward): Likewise.
9349 (cosh_test_upward): Likewise.
9350 (cpow_test): Likewise.
9351 (csin_test): Likewise.
9352 (csinh_test): Likewise.
9353 (csqrt_test): Likewise.
9354 (ctan_test): Likewise.
9355 (ctan_test_tonearest): Likewise.
9356 (ctan_test_towardzero): Likewise.
9357 (ctan_test_downward): Likewise.
9358 (ctan_test_upward): Likewise.
9359 (ctanh_test): Likewise.
9360 (ctanh_test_tonearest): Likewise.
9361 (ctanh_test_towardzero): Likewise.
9362 (ctanh_test_downward): Likewise.
9363 (ctanh_test_upward): Likewise.
9364 (erf_test): Likewise.
9365 (erfc_test): Likewise.
9366 (exp_test): Likewise.
9367 (exp_test_tonearest): Likewise.
9368 (exp_test_towardzero): Likewise.
9369 (exp_test_downward): Likewise.
9370 (exp_test_upward): Likewise.
9371 (exp10_test): Likewise.
9372 (exp2_test): Likewise.
9373 (expm1_test): Likewise.
9374 (fmod_test): Likewise.
9375 (gamma_test): Likewise.
9376 (hypot_test): Likewise.
9377 (j0_test): Likewise.
9378 (j1_test): Likewise.
9379 (jn_test): Likewise.
9380 (lgamma_test): Likewise.
9381 (log_test): Likewise.
9382 (log10_test): Likewise.
9383 (log1p_test): Likewise.
9384 (log2_test): Likewise.
9385 (logb_test_downward): Likewise.
9386 (pow_test): Likewise.
9387 (pow_test_tonearest): Likewise.
9388 (pow_test_towardzero): Likewise.
9389 (pow_test_downward): Likewise.
9390 (pow_test_upward): Likewise.
9391 (remainder_test): Likewise.
9392 (remquo_test): Likewise.
9393 (sin_test): Likewise.
9394 (sin_test_tonearest): Likewise.
9395 (sin_test_towardzero): Likewise.
9396 (sin_test_downward): Likewise.
9397 (sin_test_upward): Likewise.
9398 (sincos_test): Likewise.
9399 (sinh_test): Likewise.
9400 (sinh_test_tonearest): Likewise.
9401 (sinh_test_towardzero): Likewise.
9402 (sinh_test_downward): Likewise.
9403 (sinh_test_upward): Likewise.
9404 (sqrt_test): Likewise.
9405 (tan_test): Likewise.
9406 (tan_test_tonearest): Likewise.
9407 (tan_test_towardzero): Likewise.
9408 (tan_test_downward): Likewise.
9409 (tan_test_upward): Likewise.
9410 (tanh_test): Likewise.
9411 (tgamma_test): Likewise.
9412 (y0_test): Likewise.
9413 (y1_test): Likewise.
9414 (yn_test): Likewise.
9415
323e5cb7
JM
9416 * math/gen-libm-test.pl (adjust_arg): Remove function.
9417 (special_function): Remove argument $in_func. Only handle
9418 generating output for tables of tests, not inside functions.
9419 (parse_args): Likewise.
9420 (generate_testfile): Remove variable $in_func. Update call to
9421 parse_args.
9422 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9423 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9424 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9425 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9426 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9427 (MAX_VALUE_INIT): Rename macro to max_value.
9428 (MIN_VALUE_INIT): Rename macro to min_value.
9429 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9430 (plus_zero): Remove variable.
9431 (minus_zero): Likewise.
9432 (plus_infty): Likewise.
9433 (minus_infty): Likewise.
9434 (qnan_value): Likewise.
9435 (max_value): Likewise.
9436 (min_value): Likewise.
9437 (min_subnorm_value): Likewise.
9438
e054f494
RA
94392013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9440
9441 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9442 uint64_t or uint32_t usage.
9443 * crypt/sha256-block.c: Likewise.
9444 * crypt/sha256-crypt.c: Likewise.
9445 * crypt/sha256.c: Likewise.
9446 * crypt/sha512-block.c: Likewise.
9447 * crypt/sha512-crypt.c: Likewise.
9448 * crypt/sha512.c: Likewise.
9449 * debug/backtrace-tst.c: Likewise.
9450 * debug/pcprofiledump.c: Likewise.
9451 * elf/cache.c: Likewise.
9452 * elf/dl-cache.c: Likewise.
9453 * elf/dl-misc.c: Likewise.
9454 * elf/dl-profile.c: Likewise.
9455 * elf/dl-support.c: Likewise.
9456 * elf/ldconfig.c: Likewise.
9457 * elf/sprof.c: Likewise.
9458 * iconv/dummy-repertoire.c: Likewise.
9459 * iconv/iconv_charmap.c: Likewise.
9460 * iconv/skeleton.c: Likewise.
9461 * iconvdata/8bit-generic.c: Likewise.
9462 * iconvdata/cp737.h: Likewise.
9463 * iconvdata/cp775.h: Likewise.
9464 * iconvdata/ibm1008.h: Likewise.
9465 * iconvdata/ibm1025.h: Likewise.
9466 * iconvdata/ibm1046.h: Likewise.
9467 * iconvdata/ibm1097.h: Likewise.
9468 * iconvdata/ibm1112.h: Likewise.
9469 * iconvdata/ibm1122.h: Likewise.
9470 * iconvdata/ibm1123.h: Likewise.
9471 * iconvdata/ibm1124.h: Likewise.
9472 * iconvdata/ibm1129.h: Likewise.
9473 * iconvdata/ibm1130.h: Likewise.
9474 * iconvdata/ibm1132.h: Likewise.
9475 * iconvdata/ibm1133.h: Likewise.
9476 * iconvdata/ibm1137.h: Likewise.
9477 * iconvdata/ibm1140.h: Likewise.
9478 * iconvdata/ibm1141.h: Likewise.
9479 * iconvdata/ibm1142.h: Likewise.
9480 * iconvdata/ibm1143.h: Likewise.
9481 * iconvdata/ibm1144.h: Likewise.
9482 * iconvdata/ibm1145.h: Likewise.
9483 * iconvdata/ibm1146.h: Likewise.
9484 * iconvdata/ibm1147.h: Likewise.
9485 * iconvdata/ibm1148.h: Likewise.
9486 * iconvdata/ibm1149.h: Likewise.
9487 * iconvdata/ibm1153.h: Likewise.
9488 * iconvdata/ibm1154.h: Likewise.
9489 * iconvdata/ibm1155.h: Likewise.
9490 * iconvdata/ibm1156.h: Likewise.
9491 * iconvdata/ibm1157.h: Likewise.
9492 * iconvdata/ibm1158.h: Likewise.
9493 * iconvdata/ibm1160.h: Likewise.
9494 * iconvdata/ibm1161.h: Likewise.
9495 * iconvdata/ibm1162.h: Likewise.
9496 * iconvdata/ibm1163.h: Likewise.
9497 * iconvdata/ibm1164.h: Likewise.
9498 * iconvdata/ibm1166.h: Likewise.
9499 * iconvdata/ibm1167.h: Likewise.
9500 * iconvdata/ibm12712.h: Likewise.
9501 * iconvdata/ibm1390.h: Likewise.
9502 * iconvdata/ibm1399.h: Likewise.
9503 * iconvdata/ibm16804.h: Likewise.
9504 * iconvdata/ibm4517.h: Likewise.
9505 * iconvdata/ibm4899.h: Likewise.
9506 * iconvdata/ibm4909.h: Likewise.
9507 * iconvdata/ibm4971.h: Likewise.
9508 * iconvdata/ibm5347.h: Likewise.
9509 * iconvdata/ibm803.h: Likewise.
9510 * iconvdata/ibm856.h: Likewise.
9511 * iconvdata/ibm901.h: Likewise.
9512 * iconvdata/ibm902.h: Likewise.
9513 * iconvdata/ibm9030.h: Likewise.
9514 * iconvdata/ibm9066.h: Likewise.
9515 * iconvdata/ibm921.h: Likewise.
9516 * iconvdata/ibm922.h: Likewise.
9517 * iconvdata/ibm9448.h: Likewise.
9518 * iconvdata/isiri-3342.h: Likewise.
9519 * iconvdata/jis0201.h: Likewise.
9520 * include/link.h: Likewise.
9521 * include/netdb.h: Likewise.
9522 * inet/check_native.c: Likewise.
9523 * inet/check_pf.c: Likewise.
9524 * inet/getipv4sourcefilter.c: Likewise.
9525 * inet/getnameinfo.c: Likewise.
9526 * inet/getsourcefilter.c: Likewise.
9527 * inet/htonl.c: Likewise.
9528 * inet/setipv4sourcefilter.c: Likewise.
9529 * inet/setsourcefilter.c: Likewise.
9530 * inet/test-inet6_opt.c: Likewise.
9531 * inet/tst-network.c: Likewise.
9532 * locale/C-collate.c: Likewise.
9533 * locale/C-ctype.c: Likewise.
9534 * locale/C-time.c: Likewise.
9535 * locale/C-translit.h: Likewise.
9536 * locale/loadarchive.c: Likewise.
9537 * locale/programs/3level.h: Likewise.
9538 * locale/programs/charmap.c: Likewise.
9539 * locale/programs/charmap.h: Likewise.
9540 * locale/programs/ld-address.c: Likewise.
9541 * locale/programs/ld-collate.c: Likewise.
9542 * locale/programs/ld-ctype.c: Likewise.
9543 * locale/programs/ld-identification.c: Likewise.
9544 * locale/programs/ld-measurement.c: Likewise.
9545 * locale/programs/ld-messages.c: Likewise.
9546 * locale/programs/ld-monetary.c: Likewise.
9547 * locale/programs/ld-name.c: Likewise.
9548 * locale/programs/ld-numeric.c: Likewise.
9549 * locale/programs/ld-paper.c: Likewise.
9550 * locale/programs/ld-telephone.c: Likewise.
9551 * locale/programs/ld-time.c: Likewise.
9552 * locale/programs/linereader.c: Likewise.
9553 * locale/programs/locale.c: Likewise.
9554 * locale/programs/locarchive.c: Likewise.
9555 * locale/programs/locfile.h: Likewise.
9556 * locale/programs/repertoire.c: Likewise.
9557 * locale/programs/simple-hash.c: Likewise.
9558 * locale/programs/simple-hash.h: Likewise.
9559 * malloc/memusage.c: Likewise.
9560 * malloc/memusagestat.c: Likewise.
9561 * nis/nis_defaults.c: Likewise.
9562 * nis/nis_hash.c: Likewise.
9563 * nis/nis_print.c: Likewise.
9564 * nis/nis_xdr.c: Likewise.
9565 * nscd/connections.c: Likewise.
9566 * nscd/hstcache.c: Likewise.
9567 * nscd/nscd_gethst_r.c: Likewise.
9568 * nscd/nscd_getserv_r.c: Likewise.
9569 * nscd/nscd_helper.c: Likewise.
9570 * nscd/servicescache.c: Likewise.
9571 * nss/makedb.c: Likewise.
9572 * nss/nss_db/db-XXX.c: Likewise.
9573 * nss/nss_db/db-initgroups.c: Likewise.
9574 * nss/nss_db/db-netgrp.c: Likewise.
9575 * nss/nss_files/files-network.c: Likewise.
9576 * nss/nss_files/files-parse.c: Likewise.
9577 * posix/bug-regex5.c: Likewise.
9578 * posix/fnmatch_loop.c: Likewise.
9579 * posix/regcomp.c: Likewise.
9580 * posix/regexec.c: Likewise.
9581 * posix/tst-rfc3484-2.c: Likewise.
9582 * posix/tst-rfc3484-3.c: Likewise.
9583 * posix/tst-rfc3484.c: Likewise.
9584 * resolv/nss_dns/dns-canon.c: Likewise.
9585 * resolv/nss_dns/dns-network.c: Likewise.
9586 * resolv/res_init.c: Likewise.
9587 * resolv/res_mkquery.c: Likewise.
9588 * resolv/tst-aton.c: Likewise.
9589 * stdlib/cxa_atexit.c: Likewise.
9590 * stdlib/cxa_finalize.c: Likewise.
9591 * stdlib/gen-fpioconst.c: Likewise.
9592 * stdlib/strtol_l.c: Likewise.
9593 * string/tst-endian.c: Likewise.
9594 * sunrpc/auth_des.c: Likewise.
9595 * sunrpc/clnt_udp.c: Likewise.
9596 * sunrpc/rtime.c: Likewise.
9597 * sunrpc/svcauth_des.c: Likewise.
9598 * sunrpc/xdr.c: Likewise.
9599 * sunrpc/xdr_intXX_t.c: Likewise.
9600 * sunrpc/xdr_rec.c: Likewise.
9601 * sysdeps/generic/ldconfig.h: Likewise.
9602 * sysdeps/generic/ldsodefs.h: Likewise.
9603 * sysdeps/generic/memusage.h: Likewise.
9604 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9605 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9606 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9607 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9608 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9609 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9610 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9611 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9612 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9613 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9614 * sysdeps/posix/getaddrinfo.c: Likewise.
9615 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9616 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9617 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9618 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9619 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9620 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9621 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9622 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9623 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9624 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9625 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9626 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9627 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9628 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9629 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9630 * sysdeps/x86_64/dl-tls.h: Likewise.
9631 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9632 * time/alt_digit.c: Likewise.
9633 * time/era.c: Likewise.
9634 * wcsmbs/tst-c16c32-1.c: Likewise.
9635
8c75f674
JM
96362013-05-16 Joseph Myers <joseph@codesourcery.com>
9637
9638 * math/libm-test.inc (struct test_sincos_data): New type.
9639 (RUN_TEST_LOOP_sincos): New macro.
9640 (sincos_test_data): New variable.
9641 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9642
e6e49e59
RH
96432013-05-16 Richard Henderson <rth@redhat.com>
9644
9645 * math/atest-exp2.c (LIMB64): New macro.
9646 (CONSTSZ): New macro.
9647 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9648 (hexdig): Move ...
9649 (print_mpn_fp): ... to function scope.
9650 (read_mpn_hex): Remove.
9651 (get_log2): Remove.
9652 (exp2_mpn): Use mp_log2.
9653 (main): Use mp_exp1.
9654
15c7c18d
JM
96552013-05-16 Joseph Myers <joseph@codesourcery.com>
9656
105a07df
JM
9657 * math/libm-test.inc: Remove comment about not testing "inexact"
9658 exceptions.
9659 (INEXACT_EXCEPTION): New macro.
9660 (NO_INEXACT_EXCEPTION): Likewise.
9661 (INVALID_EXCEPTION_OK): Update value.
9662 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9663 (OVERFLOW_EXCEPTION_OK): Likewise.
9664 (UNDERFLOW_EXCEPTION_OK): Likewise.
9665 (IGNORE_ZERO_INF_SIGN): Likewise.
9666 (ERRNO_UNCHANGED): Likewise.
9667 (ERRNO_EDOM): Likewise.
9668 (ERRNO_ERANGE): Likewise.
9669 (test_exceptions): Handle testing "inexact" exceptions.
9670 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9671 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9672 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9673 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9674 INEXACT_EXCEPTION.
9675 (rint_towardzero_test_data): Likewise.
9676 (rint_downward_test_data): Likewise.
9677 (rint_upward_test_data): Likewise.
9678
e9eee333
JM
9679 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9680 with OVERFLOW_EXCEPTION.
9681 (exp10_test_data): Likewise.
9682 (exp2_test_data): Likewise.
9683 (expm1_test_data): Likewise.
9684 (lgamma_test_data): Likewise.
9685 (pow_test_data): Likewise.
9686 (tgamma_test_data): Likewise.
9687 (yn_test_data): Remove duplicate test of overflow.
9688
1c38ff73
JM
9689 * math/libm-test.inc (struct test_cc_c_data): New type.
9690 (RUN_TEST_LOOP_cc_c): New macro.
9691 (cpow_test_data): New variable.
9692 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9693
15c7c18d
JM
9694 * math/libm-test.inc (struct test_f_L_data): New type.
9695 (RUN_TEST_LOOP_f_L): New macro.
9696 (llrint_test_data): New variable.
9697 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9698 (llrint_tonearest_test_data): New variable.
9699 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9700 (llrint_towardzero_test_data): New variable.
9701 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9702 (llrint_downward_test_data): New variable.
9703 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9704 (llrint_upward_test_data): New variable.
9705 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9706 (llround_test_data): New variable.
9707 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9708
f137ff13
PC
97092013-05-13 Peter Collingbourne <pcc@google.com>
9710
9711 * math/atest-exp2.c (get_log2): Remove const attribute.
9712
3608cb24
JM
97132013-05-15 Joseph Myers <joseph@codesourcery.com>
9714
9715 * math/libm-test.inc (struct test_f_l_data): New type.
9716 (RUN_TEST_LOOP_f_l): New macro.
9717 (lrint_test_data): New variable.
9718 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9719 (lrint_tonearest_test_data): New variable.
9720 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9721 (lrint_towardzero_test_data): New variable.
9722 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9723 (lrint_downward_test_data): New variable.
9724 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9725 (lrint_upward_test_data): New variable.
9726 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9727 (lround_test_data): New variable.
9728 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9729
39b1f617
PC
97302013-05-15 Peter Collingbourne <pcc@google.com>
9731
1deff3dc
PC
9732 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9733 (EXTRACT_WORDS64) Use where appropriate.
9734 (INSERT_WORDS64) Likewise.
9735
791f3ba0
PC
9736 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9737 constraints with x constraints.
9738 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9739
39b1f617
PC
9740 * malloc/obstack.c (_obstack_compat): Add initializer.
9741
12fba011
EM
97422013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9743
9744 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9745 si_trapno and add si_addr_lsb to _sifields.sigfault.
9746 (si_trapno): Remove macro.
9747 (si_addr_lsb): Define new macro.
9748 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9749
d369f531
JM
97502013-05-15 Joseph Myers <joseph@codesourcery.com>
9751
b861c6c4
JM
9752 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9753 instead of TEST_f_l.
9754 (llrint_test_tonearest): Likewise.
9755 (llrint_test_towardzero): Likewise.
9756 (llrint_test_downward): Likewise.
9757 (llrint_test_upward): Likewise.
9758 (llround_test): Likewise.
9759
7abeee12
JM
9760 * math/libm-test.inc (struct test_f_i_data): Add comment.
9761 (RUN_TEST_LOOP_f_b): New macro.
9762 (RUN_TEST_LOOP_f_b_tg): Likewise.
9763 (finite_test_data): New variable.
9764 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9765 (isfinite_test_data): New variable.
9766 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9767 (isinf_test_data): New variable.
9768 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9769 (isnan_test_data): New variable.
9770 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9771 (isnormal_test_data): New variable.
9772 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9773 (issignaling_test_data): New variable.
9774 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9775 (signbit_test_data): New variable.
9776 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9777
cbe8c4d3
JM
9778 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9779 with INVALID_EXCEPTION.
9780 (acosh_test_data): Likewise.
9781 (asin_test_data): Likewise.
9782 (atanh_test_data): Likewise.
9783 (fmod_test_data): Likewise.
9784 (log_test_data): Likewise.
9785 (log10_test_data): Likewise.
9786 (log2_test_data): Likewise.
9787 (pow_test_data): Likewise.
9788 (sqrt_test_data): Likewise.
9789 (y0_test_data): Likewise.
9790 (y1_test_data): Likewise.
9791 (yn_test_data): Likewise.
9792
5575c0e5
JM
9793 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9794 function contents.
9795
d369f531
JM
9796 * math/libm-test.inc (struct test_ff_i_data): New type.
9797 (RUN_TEST_LOOP_ff_i_tg): New macro.
9798 (isgreater_test_data): New variable.
9799 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9800 (isgreaterequal_test_data): New variable.
9801 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9802 (isless_test_data): New variable.
9803 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9804 (islessequal_test_data): New variable.
9805 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9806 (islessgreater_test_data): New variable.
9807 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9808 (isunordered_test_data): New variable.
9809 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9810
781fd748
DM
98112013-05-14 David S. Miller <davem@davemloft.net>
9812
9813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9814
87aa21df
JM
98152013-05-14 Joseph Myers <joseph@codesourcery.com>
9816
5e908270
JM
9817 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9818
f71172e5
JM
9819 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9820 extra_test to int.
9821 (struct test_f_i_data): Change type of max_ulp to int.
9822
8cfa635a
JM
9823 * math/libm-test.inc (test_ffI_f1_data): New type.
9824 (RUN_TEST_LOOP_ffI_f1): New macro.
9825 (remquo_test_data): New variable.
9826 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9827
2bcb36b2
JM
9828 * setjmp/tst-setjmp-fp.c: New file.
9829 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9830 (link-libm): New variable.
9831 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9832
acbd839a
JM
9833 * math/libm-test.inc (struct test_f_i_data): New type.
9834 (RUN_TEST_LOOP_f_i): New macro.
9835 (RUN_TEST_LOOP_f_i_tg): Likewise.
9836 (fpclassify_test_data): New variable.
9837 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9838 (ilogb_test_data): New variable.
9839 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9840
e414d745
JM
9841 * math/libm-test.inc (scalbln_test): Correct function name in END
9842 call.
9843
d9c2a0fd
JM
9844 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9845 (RUN_TEST_LOOP_fI_f1): New macro.
9846 (frexp_test_data): New variable.
9847 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9848
9dc9095d
JM
9849 * math/libm-test.inc (struct test_fF_f1_data): New type.
9850 (RUN_TEST_LOOP_fF_f1): New macro.
9851 (modf_test_data): New variable.
9852 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9853
87aa21df
JM
9854 * math/libm-test.inc (struct test_f_f1_data): New type.
9855 (RUN_TEST_LOOP_f_f1): New macro.
9856 (gamma_test_data): New variable.
9857 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9858 (lgamma_test_data): New variable.
9859 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9860
141af660
CD
98612013-05-13 Carlos O'Donell <carlos@redhat.com>
9862
9863 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9864 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9865 (main): Comment "tls" pseudo-hwcap.
9866
6d33265c
JM
98672013-05-13 Joseph Myers <joseph@codesourcery.com>
9868
68fc074c
JM
9869 * math/libm-test.inc (struct test_fl_f_data): New type.
9870 (RUN_TEST_LOOP_fl_f): New variable.
9871 (scalbln_test_data): New variable.
9872 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9873
243216e1
JM
9874 * math/libm-test.inc (struct test_fi_f_data): New type.
9875 (RUN_TEST_LOOP_fi_f): New macro.
9876 (ldexp_test_data): New variable.
9877 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9878 (scalbn_test_data): New variable.
9879 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9880
6a1992e2
JM
9881 * math/libm-test.inc (struct test_c_f_data): New type.
9882 (RUN_TEST_LOOP_c_f): New macro.
9883 (cabs_test_data): New variable.
9884 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9885 (carg_test_data): New variable.
9886 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9887 (cimag_test_data): New variable.
9888 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9889 (creal_test_data): New variable.
9890 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9891
0e400df5
JM
9892 * math/libm-test.inc (struct test_if_f_data): New type.
9893 (RUN_TEST_LOOP_if_f): New macro.
9894 (jn_test_data): New variable.
9895 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9896 (yn_test_data): New variable.
9897 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9898
6d33265c
JM
9899 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9900
f98ece5f
AZ
99012013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9902
9903 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9904 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9905
0f7d347b
SP
99062013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9907
43fe811b
SP
9908 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9909 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9910 (bench-deps): Add bench-timing.h.
9911 * benchtests-bench-skeleton.c: Include bench-timing.h.
9912 (main): Use TIMING_* macros instead of clock_gettime.
9913 * benchtests/bench-timing.h: New file.
9914
0f7d347b
SP
9915 [BZ #14582]
9916 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9917 Renamed from _LIB_VERSION.
9918 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9919
601a3a5f
JM
99202013-05-12 Joseph Myers <joseph@codesourcery.com>
9921
4f184d30
JM
9922 * math/libm-test.inc (struct test_fff_f_data): New type.
9923 (RUN_TEST_LOOP_fff_f): New macro.
9924 (fma_test_data): New variable.
9925 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9926 (fma_towardzero_test_data): New variable.
9927 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9928 (fma_downward_test_data): New variable.
9929 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9930 (fma_upward_test_data): New variable.
9931 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9932
08198877
JM
9933 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9934 (struct test_c_c_data): New type.
9935 (RUN_TEST_LOOP_c_c): New macro.
9936 (cacos_test_data): New variable.
9937 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9938 (cacosh_test_data): New variable.
9939 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9940 (casin_test_data): New variable.
9941 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9942 (casinh_test_data): New variable.
9943 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9944 (catan_test_data): New variable.
9945 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9946 (catanh_test_data): New variable.
9947 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9948 (ccos_test_data): New variable.
9949 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9950 (ccosh_test_data): New variable.
9951 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9952 (cexp_test_data): New variable.
9953 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9954 (clog_test_data): New variable.
9955 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9956 (clog10_test_data): New variable.
9957 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9958 (conj_test_data): New variable.
9959 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9960 (cproj_test_data): New variable.
9961 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9962 (csin_test_data): New variable.
9963 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9964 (csinh_test_data): New variable.
9965 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9966 (csqrt_test_data): New variable.
9967 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9968 (ctan_test_data): New variable.
9969 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9970 (ctan_tonearest_test_data): New variable.
9971 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9972 (ctan_towardzero_test_data): New variable.
9973 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9974 (ctan_downward_test_data): New variable.
9975 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9976 (ctan_upward_test_data): New variable.
9977 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9978 (ctanh_test_data): New variable.
9979 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9980 (ctanh_tonearest_test_data): New variable.
9981 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9982 (ctanh_towardzero_test_data): New variable.
9983 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9984 (ctanh_downward_test_data): New variable.
9985 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9986 (ctanh_upward_test_data): New variable.
9987 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9988 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9989 of BUILD_COMPLEX.
9990
601a3a5f
JM
9991 * math/libm-test.inc (struct test_ff_f_data): New type.
9992 (struct test_ff_f_data_nexttoward): Likewise.
9993 (RUN_TEST_LOOP_2_f): New macro.
9994 (RUN_TEST_LOOP_ff_f): Likewise.
9995 (atan2_test_data): New variable.
9996 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9997 (copysign_test_data): New variable.
9998 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9999 (fdim_test_data): New variable.
10000 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10001 (fmax_test_data): New variable.
10002 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10003 (fmin_test_data): New variable.
10004 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10005 (fmod_test_data): New variable.
10006 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10007 (hypot_test_data): New variable.
10008 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10009 (nextafter_test_data): New variable.
10010 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10011 (nexttoward_test_data): New variable.
10012 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10013 (pow_test_data): New variable.
10014 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10015 (pow_tonearest_test_data): New variable.
10016 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10017 (pow_towardzero_test_data): New variable.
10018 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10019 (pow_downward_test_data): New variable.
10020 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10021 (pow_upward_test_data): New variable.
10022 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10023 (remainder_test_data): New variable.
10024 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10025 (scalb_test_data): New variable.
10026 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10027 * sysdeps/i386/fpu/libm-test-ulps: Update.
10028
74c57478
JM
100292013-05-11 Joseph Myers <joseph@codesourcery.com>
10030
8329e4da
JM
10031 * math/libm-test.inc (fma_test): Use max_value instead of local
10032 variable fltmax.
10033 (nextafter_test): Likewise.
10034
74c57478
JM
10035 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10036 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10037 (acos_downward_test_data): New variable.
10038 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10039 (acos_upward_test_data): New variable.
10040 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10041 (acosh_test_data): New variable.
10042 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10043 (asin_test_data): New variable.
10044 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10045 (asin_tonearest_test_data): New variable.
10046 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10047 (asin_towardzero_test_data): New variable.
10048 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10049 (asin_downward_test_data): New variable.
10050 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10051 (asin_upward_test_data): New variable.
10052 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10053 (asinh_test_data): New variable.
10054 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10055 (atan_test_data): New variable.
10056 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10057 (atanh_test_data): New variable.
10058 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10059 (cbrt_test_data): New variable.
10060 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10061 (ceil_test_data): New variable.
10062 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10063 (cos_test_data): New variable.
10064 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10065 (cos_tonearest_test_data): New variable.
10066 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10067 (cos_towardzero_test_data): New variable.
10068 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10069 (cos_downward_test_data): New variable.
10070 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10071 (cos_upward_test_data): New variable.
10072 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10073 (cosh_test_data): New variable.
10074 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10075 (cosh_tonearest_test_data): New variable.
10076 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10077 (cosh_towardzero_test_data): New variable.
10078 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10079 (cosh_downward_test_data): New variable.
10080 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10081 (cosh_upward_test_data): New variable.
10082 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10083 (erf_test_data): New variable.
10084 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10085 (erfc_test_data): New variable.
10086 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10087 (exp_test_data): New variable.
10088 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10089 (exp_tonearest_test_data): New variable.
10090 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10091 (exp_towardzero_test_data): New variable.
10092 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10093 (exp_downward_test_data): New variable.
10094 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10095 (exp_upward_test_data): New variable.
10096 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10097 (exp10_test_data): New variable.
10098 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10099 (exp2_test_data): New variable.
10100 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10101 (expm1_test_data): New variable.
10102 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10103 (fabs_test_data): New variable.
10104 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10105 (floor_test_data): New variable.
10106 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10107 (j0_test_data): New variable.
10108 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10109 (j1_test_data): New variable.
10110 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10111 (log_test_data): New variable.
10112 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10113 (log10_test_data): New variable.
10114 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10115 (log1p_test_data): New variable.
10116 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10117 (log2_test_data): New variable.
10118 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10119 (logb_test_data): New variable.
10120 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10121 (logb_downward_test_data): New variable.
10122 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10123 (nearbyint_test_data): New variable.
10124 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10125 (rint_test_data): New variable.
10126 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10127 (rint_tonearest_test_data): New variable.
10128 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10129 (rint_towardzero_test_data): New variable.
10130 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10131 (rint_downward_test_data): New variable.
10132 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10133 (rint_upward_test_data): New variable.
10134 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10135 (round_test_data): New variable.
10136 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10137 (sin_test_data): New variable.
10138 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10139 (sin_tonearest_test_data): New variable.
10140 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10141 (sin_towardzero_test_data): New variable.
10142 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10143 (sin_downward_test_data): New variable.
10144 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10145 (sin_upward_test_data): New variable.
10146 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10147 (sinh_test_data): New variable.
10148 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10149 (sinh_tonearest_test_data): New variable.
10150 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10151 (sinh_towardzero_test_data): New variable.
10152 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10153 (sinh_downward_test_data): New variable.
10154 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10155 (sinh_upward_test_data): New variable.
10156 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10157 (sqrt_test_data): New variable.
10158 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10159 (tan_test_data): New variable.
10160 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10161 (tan_tonearest_test_data): New variable.
10162 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10163 (tan_towardzero_test_data): New variable.
10164 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10165 (tan_downward_test_data): New variable.
10166 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10167 (tan_upward_test_data): New variable.
10168 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10169 (tanh_test_data): New variable.
10170 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10171 (tgamma_test_data): New variable.
10172 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10173 (trunc_test_data): New variable.
10174 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10175 (y0_test_data): New variable.
10176 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10177 (y1_test_data): New variable.
10178 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10179 (significand_test_data): New variable.
10180 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10181
7187d844
CG
101822013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10183
10184 [BZ #12387]
10185 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10186
f63fae73
PT
101872013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10188
10189 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10190
8a67a4b3
AJ
101912013-05-10 Andreas Jaeger <aj@suse.de>
10192
10193 [BZ #15448]
10194 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10195 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10196
51df539d
JM
101972013-05-10 Joseph Myers <joseph@codesourcery.com>
10198
10199 * math/gen-libm-test.pl (adjust_arg): New function.
10200 (special_functions): Handle generating output in both functions
10201 and arrays.
10202 (parse_args): Likewise.
10203 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10204 $in_func argument to parse_args.
10205 * math/libm-test.inc (struct test_f_f_data): New type.
10206 (IF_ROUND_INIT_): New macro.
10207 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10208 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10209 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10210 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10211 (ROUND_RESTORE_): Likewise.
10212 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10213 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10214 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10215 (ROUND_RESTORE_FE_UPWARD): Likewise.
10216 (RUN_TEST_LOOP_f_f): New macro.
10217 (acos_test_data): New variable.
10218 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10219 (acos_tonearest_test_data): New variable.
10220 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10221
5c637fe5
SP
102222013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10223
10224 * benchtests/bench-skeleton.c (startup): Fix coding style.
10225
ab2b9461
JM
102262013-05-10 Joseph Myers <joseph@codesourcery.com>
10227
10228 [BZ #6809]
10229 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10230 negative infinity argument.
10231 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10232 negative infinity argument.
10233 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10234 negative infinity argument.
10235 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10236 domain errors.
10237
4c0fe6fe
FW
102382013-05-10 Florian Weimer <fweimer@redhat.com>
10239
10240 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10241 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10242 * iconv/iconv_prog.c (main): Likewise.
10243 * locale/programs/charmap-dir.c (charmap_readdir)
10244 (fopen_uncompressed): Likewise.
10245 * locale/programs/locfile.c (siblings_uncached)
10246 (write_locale_data): Use lstat64 instead of lstat.
10247 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10248 stat.
10249
a3375d29
AJ
102502013-05-10 Andreas Jaeger <aj@suse.de>
10251
10252 [BZ #15395]
10253 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10254 localization.
10255 Include <locale.h>.
10256
36129722
CD
102572013-05-09 Carlos O'Donell <carlos@redhat.com>
10258
10259 * elf/dl-close.c (_dl_close_worker): Add comments.
10260
faa7f811
JM
102612013-05-09 Joseph Myers <joseph@codesourcery.com>
10262
ed41ffef
JM
10263 [BZ #15359]
10264 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10265 high part of pi/2.
10266 (__ieee754_rem_pio2l): Update comments.
10267
d0213cd0
JM
10268 [BZ #15429]
10269 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10270 high part of pi/2.
10271 (__ieee754_rem_pio2l): Update comments.
10272
0d3e777a
JM
10273 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10274 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10275
24f56066
JM
10276 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10277 M_PI_4l.
10278
faa7f811
JM
10279 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10280 (M_PI_34_LOG10El): Likewise.
10281 (M_PI2_LOG10El): Likewise.
10282 (M_PI4_LOG10El): Likewise.
10283 (M_PI_LOG10El): Likewise.
10284
e9a5e0fd
AZ
102852013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10286
10287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10288
d8cd06db
JM
102892013-05-08 Joseph Myers <joseph@codesourcery.com>
10290
a0d9f9d7
JM
10291 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10292 (MINUS_ZERO_INIT): Likewise.
10293 (PLUS_INFTY_INIT): Likewise.
10294 (MINUS_INFTY_INIT): Likewise.
10295 (QNAN_VALUE_INIT): Likewise.
10296 (MAX_VALUE_INIT): Likewise.
10297 (MIN_VALUE_INIT): Likewise.
10298 (MIN_SUBNORM_VALUE_INIT): Likewise.
10299 (plus_zero): Initialize with PLUS_ZERO_INIT.
10300 (minus_zero): Initialize with MINUS_ZERO_INIT.
10301 (plus_infty): Initialize with PLUS_INFTY_INIT.
10302 (minus_infty): Initialize with MINUS_INFTY_INIT.
10303 (qnan_value): Initialize with QNAN_VALUE_INIT.
10304 (max_value): Initialize with MAX_VALUE_INIT.
10305 (min_value): Initialize with MIN_VALUE_INIT.
10306 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10307
ae08db3b
JM
10308 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10309 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10310 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10311 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10312
f44bf14a
JM
10313 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10314 (RUN_TEST_2_f): Likewise.
10315 (RUN_TEST_ff_f): Likewise.
10316 (RUN_TEST_fi_f): Likewise.
10317 (RUN_TEST_fl_f): Likewise.
10318 (RUN_TEST_fff_f): Likewise.
10319 (RUN_TEST_c_f): Likewise.
10320 (RUN_TEST_f_f1): Likewise.
10321 (RUN_TEST_fF_f1): Likewise.
10322 (RUN_TEST_fI_f1): Likewise.
10323 (RUN_TEST_ffI_f1): Likewise.
10324 (RUN_TEST_c_c): Likewise.
10325 (RUN_TEST_cc_c): Likewise.
10326 (RUN_TEST_f_i): Likewise.
10327 (RUN_TEST_f_i_tg): Likewise.
10328 (RUN_TEST_ff_i_tg): Likewise.
10329 (RUN_TEST_f_b): Likewise.
10330 (RUN_TEST_f_b_tg): Likewise.
10331 (RUN_TEST_f_l): Likewise.
10332 (RUN_TEST_f_L): Likewise.
10333 (RUN_TEST_sincos): Likewise.
10334 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10335 whether to show exceptions. Do not include ");\n" in return
10336 value.
10337 (special_functions): Output call to RUN_TEST_sincos instead of
10338 check_float calls. Update calls to new_test.
10339 (parse_args): Output call to single RUN_TEST_* macro instead of
10340 check_* calls and other assignments. Update calls to new_test.
10341
d8cd06db
JM
10342 [BZ #2546]
10343 [BZ #2560]
10344 [BZ #5159]
10345 [BZ #15426]
10346 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10347 input to result for tgamma overflow.
10348 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10349 (gamma_coeff): New variable.
10350 (NCOEFF): New macro.
10351 (gamma_positive): New function.
10352 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10353 underflow here. Use gamma_positive instead of exp (lgamma) for
10354 other arguments.
10355 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10356 (gamma_coeff): New variable.
10357 (NCOEFF): New macro.
10358 (gammaf_positive): New function.
10359 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10360 underflow here. Use gamma_positive instead of exp (lgamma) for
10361 other arguments.
10362 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10363 (gamma_coeff): New variable.
10364 (NCOEFF): New macro.
10365 (gammal_positive): New function.
10366 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10367 underflow here. Use gamma_positive instead of exp (lgamma) for
10368 other arguments.
10369 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10370 (gamma_coeff): New variable.
10371 (NCOEFF): New macro.
10372 (gammal_positive): New function.
10373 (__ieee754_gammal_r): Handle positive infinity, overflow and
10374 underflow here. Handle NaN the same as positive infinity. Remove
10375 check x < 0xffffffff for negative integers. Use gamma_positive
10376 instead of exp (lgamma) for other arguments.
10377 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10378 (gamma_coeff): New variable.
10379 (NCOEFF): New macro.
10380 (gammal_positive): New function.
10381 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10382 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10383 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10384 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10385 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10386 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10387 * sysdeps/generic/math_private.h (__gamma_productf): New
10388 prototype.
10389 (__gamma_product): Likewise.
10390 (__gamma_productl): Likewise.
10391 * math/Makefile (libm-calls): Add gamma_product.
10392 * math/libm-test.inc (tgamma_test): Add more tests.
10393 * sysdeps/i386/fpu/libm-test-ulps: Update.
10394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10395
bb7cf681
OB
103962013-05-08 Ondřej Bílka <neleai@seznam.cz>
10397
10398 * benchtests/bench-skeleton.c (main): Preheat CPU.
10399
ba853947
AJ
104002013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10401
10402 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10403
8347c74c
RM
104042013-05-07 Roland McGrath <roland@hack.frob.com>
10405
10406 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10407 and _dl_skip_args_internal.
10408
e8dd4791
CD
104092013-05-07 Carlos O'Donell <carlos@redhat.com>
10410
10411 * manual/message.texi (Message Translation): Talk about users.
10412 Message to key mapping impacts design.
10413
c7405830
RM
104142013-05-06 Roland McGrath <roland@hack.frob.com>
10415
a9173057
RM
10416 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10417
976e2f03
RM
10418 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10419
9723ffc5
RM
10420 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10421 * sysdeps/wordsize-64/glob64.c: ... here.
10422
962e6658
RM
10423 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10424 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10425 New macros.
10426
ee586a6d
RM
10427 * debug/getlogin_r_chk.c: Moved to ...
10428 * login/getlogin_r_chk.c: ... here.
10429 * debug/Makefile (routines): Move getlogin_r_chk to ...
10430 * login/Makefile (routines): ... here.
10431 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10432 * login/Versions (libc: GLIBC_2.4): ... here.
10433
355f9165
RM
10434 * io/poll.c (__poll): Renamed from poll.
10435 Add libc_hidden_def.
10436 (poll): Define as weak alias.
10437
bd9ffde6
RM
10438 * debug/ptsname_r_chk.c: Moved to ...
10439 * login/ptsname_r_chk.c: ... here.
10440 * debug/Makefile (routines): Move ptsname_r_chk to ...
10441 * login/Makefile (routines): ... here.
10442 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10443 * login/Versions (libc: GLIBC_2.4): ... here.
10444
8fb16a04
RM
10445 * posix/getlogin.c: Moved to ...
10446 * login/getlogin.c: ... here.
10447 * posix/getlogin_r.c: Moved to ...
10448 * login/getlogin_r.c: ... here.
10449 * posix/getlogin_r.c: Moved to ...
10450 * login/getlogin_r.c: ... here.
10451 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10452 * login/Makefile (routines): ... here.
10453 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10454 * login/Versions (libc: GLIBC_2.0): ... here.
10455
b99b892f
RM
10456 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10457 (setrlimit): Define as weak alias.
10458
c7405830
RM
10459 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10460 Call __ names for open, ftruncate, and close.
10461 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10462 (truncate): Define as weak alias.
10463
5bf96de5
JM
104642013-05-06 Joseph Myers <joseph@codesourcery.com>
10465
9ea3513c
JM
10466 * math/gen-libm-test.pl (parse_args): Initialize x before each
10467 test of frexp, modf and remquo.
10468
5bf96de5
JM
10469 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10470 test signgam value.
10471
16e616a7
AZ
104722013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10473
10474 [BZ #15418]
10475 [BZ #15419]
10476 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10477 internal tests.
10478 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10479
d5e82754
RM
104802013-05-06 Roland McGrath <roland@hack.frob.com>
10481
10482 * elf/dl-writev.h: New file.
10483 * elf/dl-misc.c: Include it.
10484 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10485 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10486
a7548d41
JM
104872013-05-04 Joseph Myers <joseph@codesourcery.com>
10488
b7dab1e4
JM
10489 * math/libm-test.inc (noXFails): Remove variable.
10490 (noXPasses): Likewise.
10491 (BUILD_COMPLEX_INT): Remove macro.
10492 (print_screen): Remove xfail argument.
10493 (print_screen_max_error): Likewise.
10494 (update_stats): Likewise.
10495 (print_max_error): Likewise. Update calls to other affected
10496 functions.
10497 (print_complex_max_error): Likewise.
10498 (test_single_exception): Update calls to print_screen.
10499 (test_single_errno): Likewise.
10500 (check_float_internal): Remove xfail argument. Update calls to
10501 other affected functions.
10502 (check_float): Likewise.
10503 (check_complex): Likewise.
10504 (check_int): Likewise.
10505 (check_long): Likewise.
10506 (check_bool): Likewise.
10507 (check_longlong): Likewise.
10508 (main): Don't print noXFails and noXPasses.
10509 * math/gen-libm-test.pl (top level): Don't mention expected
10510 failure handling in comment.
10511 (new_test): Don't handle expected failures.
10512 (parse_args): Don't mention expected failure handling in comment.
10513 (generate_testfile): Don't handle expected failures.
10514 (parse_ulps): Likewise.
10515 (print_ulps_file): Likewise.
10516 (get_failure): Remove function.
10517 (output_test): Don't handle expected failures.
10518 * make/README.libm-test: Don't mention expected failure handling.
10519
a7548d41
JM
10520 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10521 (minus_zero): Likewise.
10522 (plus_infty): Likewise.
10523 (minus_infty): Likewise.
10524 (qnan_value): Likewise.
10525 (max_value): Likewise.
10526 (min_value): Likewise.
10527 (min_subnorm_value): Likewise.
10528 (initialize): Do not initialize those variables dynamically.
10529
60bfd54c
RM
105302013-05-03 Roland McGrath <roland@hack.frob.com>
10531
cc0e6ed8
RM
10532 * io/open.c (__open_2): Moved to ...
10533 * io/open_2.c: ... this new file.
10534 * io/open64.c (__open64_2): Moved to ...
10535 * io/open64_2.c: ... this new file.
10536 * io/openat.c (__openat_2): Moved to ...
10537 * io/openat_2.c: ... this new file.
10538 * io/openat64.c (__openat64_2): Moved to ...
10539 * io/openat64_2.c: ... this new file.
10540 * io/Makefile (routines): Add them.
10541 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10542 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10543 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10544 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10545 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10546 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10547 (__openat64): Add hidden_ver.
10548 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10549 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10550
60bfd54c
RM
10551 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10552 Separately conditionalize setting of GLRO(dl_sysinfo) so
10553 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10554 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10555
83e7640f
AZ
105562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10557
10558 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10559 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10560 definition.
10561 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10562 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10563 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10564 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10565 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10566
d5dc2af3
JM
105672013-05-03 Joseph Myers <joseph@codesourcery.com>
10568
c31a5b1e
JM
10569 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10570 test signgam value.
10571
d5dc2af3
JM
10572 * math/libm-test.inc (hypot_test): Do not use
10573 IGNORE_ZERO_INF_SIGN.
10574
164fd39d
AJ
105752013-05-03 Andreas Jaeger <aj@suse.de>
10576
10577 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10578 Linux 3.9.
10579 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10580 (PF_MAX): Adjust for VSOCK change.
10581
8237f48c
AZ
105822013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10583
10584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10585
9df02941
CD
105862013-05-02 Carlos O'Donell <carlos@redhat.com>
10587
10588 [BZ #15264]
10589 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10590 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10591 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10592
d422395e
DM
105932013-05-02 David S. Miller <davem@davemloft.net>
10594
10595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10596
a07c5731
OB
105972013-05-01 Ondřej Bílka <neleai@seznam.cz>
10598
10599 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10600
1324e37f
RM
106012013-05-01 Roland McGrath <roland@hack.frob.com>
10602
10603 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10604
0695940b
RS
106052013-05-01 Richard Smith <richard@metafoo.co.uk>
10606
bb5f27ad 10607 [BZ #14952]
0695940b
RS
10608 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10609 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10610 Use __attribute__ ((__gnu_inline__)).
10611 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10612 Don't use __attribute__ ((__gnu_inline__)).
10613
10de07f5
JM
106142013-05-01 Joseph Myers <joseph@codesourcery.com>
10615
10616 [BZ #15423]
10617 * math/s_catan.c (__catan): Handle small real or imaginary part of
10618 input specially to avoid spurious underflow.
10619 * math/s_catanf.c (__catanf): Likewise.
10620 * math/s_catanh.c (__catanh): Likewise.
10621 * math/s_catanhf.c (__catanhf): Likewise.
10622 * math/s_catanhl.c (__catanhl): Likewise.
10623 * math/s_catanl.c (__catanl): Likewise.
10624 * math/libm-test.inc (catan_test): Add more tests.
10625 (catanh_test): Likewise.
10626 * sysdeps/i386/fpu/libm-test-ulps: Update.
10627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10628
cb4d5414
AZ
106292013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10630
10631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10632
caf84319
JM
106332013-04-30 Joseph Myers <joseph@codesourcery.com>
10634
10635 [BZ #15416]
10636 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10637 accurately for denominator in atan2.
10638 * math/s_catanf.c (__catanf): Likewise.
10639 * math/s_catanh.c (__catanh): Likewise.
10640 * math/s_catanhf.c (__catanhf): Likewise.
10641 * math/s_catanhl.c (__catanhl): Likewise.
10642 * math/s_catanl.c (__catanl): Likewise.
10643 * math/libm-test.inc (catan_test): Add more tests.
10644 (catanh_test): Likewise.
10645 * sysdeps/i386/fpu/libm-test-ulps: Update.
10646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10647
d569c6ee
SP
106482013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10649
6dbe713d
SP
10650 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10651
f0ee064b
SP
10652 * benchtests/Makefile (bench): Remove slow benchmarks.
10653 * benchtests/atan-inputs: Add slow benchmark inputs.
10654 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10655 (BENCH_FUNC): Accept variant offset.
10656 (VARIANT): Define.
10657 * benchtests/bench-skeleton.c (main): Run benchmark for each
10658 variant.
10659 * benchtests/cos-inputs: Add slow benchmark inputs.
10660 * benchtests/exp-inputs: Likewise.
10661 * benchtests/pow-inputs: Likewise.
10662 * benchtests/sin-inputs: Likewise.
10663 * benchtests/slowatan-inputs: Remove.
10664 * benchtests/slowatan.c: Remove.
10665 * benchtests/slowcos-inputs: Remove.
10666 * benchtests/slowcos.c: Remove.
10667 * benchtests/slowexp-inputs: Remove.
10668 * benchtests/slowexp.c: Remove.
10669 * benchtests/slowpow-inputs: Remove.
10670 * benchtests/slowpow.c: Remove.
10671 * benchtests/slowsin-inputs: Remove.
10672 * benchtests/slowsin.c: Remove.
10673 * benchtests/slowtan-inputs: Remove.
10674 * benchtests/slowtan.c: Remove.
10675 * benchtests/tan-inputs: Add slow benchmark inputs.
10676 * scripts/bench.pl: Parse comments and directives.
10677
d569c6ee
SP
10678 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10679 in CPPFLAGS.
10680 ($(objpfx)bench-%.c): Remove *-ITER.
10681 * benchtests/bench-modf.c: Remove definition of ITER.
10682 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10683 (main): Loop for DURATION seconds instead of fixed number of
10684 iterations.
10685 * scripts/bench.pl: Don't expect iterations in parameters.
10686
a6a242fe
RM
106872013-04-29 Roland McGrath <roland@hack.frob.com>
10688
10689 * io/fchdir.c (__fchdir): Renamed from fchdir.
10690 (fchdir): Define as weak alias.
10691
f2da7793
JM
106922013-04-29 Joseph Myers <joseph@codesourcery.com>
10693
10694 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10695 (ERRNO_EDOM): Likewise.
10696 (ERRNO_ERANGE): Likewise.
10697 (noErrnoTests): New variable.
10698 (init_max_error): Set errno to 0.
10699 (test_single_errno): New function.
10700 (test_errno): Likewise.
10701 (check_float_internal): Call test_errno. Set errno to 0.
10702 (check_complex): Refer to errno tests in comment.
10703 (check_int): Call test_errno. Set errno to 0.
10704 (check_long): Likewise.
10705 (check_bool): Likewise.
10706 (check_longlong): Likewise.
10707 (cos_test): Use ERRNO_* flags for errno tests instead of
10708 check_int.
10709 (expm1_test): Likewise.
10710 (fmod_test): Likewise.
10711 (ilogb_test): Likewise.
10712 (lgamma_test): Likewise.
10713 (pow_test): Likewise.
10714 (remainder_test): Likewise.
10715 (sin_test): Likewise.
10716 (tan_test): Likewise.
10717 (yn_test): Likewise.
10718 (initialize): Set errno to 0.
10719 (main): Print number of errno tests.
10720 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10721
b1a36ceb
AJ
107222013-04-29 Andreas Jaeger <aj@suse.de>
10723
c3ed8088
AJ
10724 [BZ #15084]
10725 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10726 and RES_USEVC.
10727
f1a24198
AJ
10728 [BZ #15085]
10729 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10730 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10731 unimplemented.
10732
9ce3b2cb
AJ
10733 [BZ #15380]
10734 * stdlib/random.c (__initstate): Return NULL if
10735 __initstate fails.
10736
f1a24198 10737 [BZ #15086]
b1a36ceb
AJ
10738 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10739 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10740 RES_SNGLKUPREOP.
10741
7e7b6f36
AZ
107422013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10743
10744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10745
4d14f449
JM
107462013-04-29 Joseph Myers <joseph@codesourcery.com>
10747
10748 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10749 of individual tests.
10750 (casin_test): Likewise.
10751 (casinh_test): Likewise.
10752
5b4217d7
JM
107532013-04-27 Joseph Myers <joseph@codesourcery.com>
10754
10755 [BZ #15409]
10756 * math/s_catan.c (__catan): Handle arguments with large real or
10757 imaginary part separately without squaring.
10758 * math/s_catanf.c (__catanf): Likewise.
10759 * math/s_catanh.c (__catanh): Likewise.
10760 * math/s_catanhf.c (__catanhf): Likewise.
10761 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10762 and redefine.
10763 (__catanhl): Handle arguments with large real or imaginary part
10764 separately without squaring.
10765 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10766 and redefine.
10767 (__catanl): Handle arguments with large real or imaginary part
10768 separately without squaring.
10769 * math/libm-test.inc (catan_test): Add more tests.
10770 (catanh_test): Likewise.
10771 * sysdeps/i386/fpu/libm-test-ulps: Update.
10772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10773
4220c3ef
AJ
107742013-04-27 Andreas Jaeger <aj@suse.de>
10775
10776 [BZ #15007]
10777 * stdlib/stdlib.h: Update guards for qecvt.
10778 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10779 <stdlib.h>.
10780
4721b2d1
AM
107812013-04-27 Allan McRae <allan@archlinux.org>
10782
10783 * sysdeps/i386/fpu/libm-test-ulps: Update.
10784
f0302940
JM
107852013-04-26 Joseph Myers <joseph@codesourcery.com>
10786
9457fd95
JM
10787 [BZ #15406]
10788 * math/s_catan.c: Include <float.h>.
10789 (__catan): Ensure underflow exception occurs for underflowed
10790 result.
10791 * math/s_catanf.c: Include <float.h>.
10792 (__catanf): Ensure underflow exception occurs for underflowed
10793 result.
10794 * math/s_catanh.c: Include <float.h>.
10795 (__catanh): Ensure underflow exception occurs for underflowed
10796 result.
10797 * math/s_catanhf.c: Include <float.h>.
10798 (__catanhf): Ensure underflow exception occurs for underflowed
10799 result.
10800 * math/s_catanhl.c: Include <float.h>.
10801 (__catanhl): Ensure underflow exception occurs for underflowed
10802 result.
10803 * math/s_catanl.c: Include <float.h>.
10804 (__catanl): Ensure underflow exception occurs for underflowed
10805 result.
10806 * math/libm-test.inc (catan_test): Add more tests.
10807 (catanh_test): Likewise.
10808
f0302940
JM
10809 [BZ #15405]
10810 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10811 underflowed result.
10812 * math/s_ccoshf.c (__ccoshf): Likewise.
10813 * math/s_ccoshl.c (__ccoshl): Likewise.
10814 * math/s_csin.c (__csin): Likewise.
10815 * math/s_csinf.c (__csinf): Likewise.
10816 * math/s_csinh.c (__csinh): Likewise.
10817 * math/s_csinhf.c (__csinhf): Likewise.
10818 * math/s_csinhl.c (__csinhl): Likewise.
10819 * math/s_csinl.c (__csinl): Likewise.
10820 * math/libm-test.inc (ccos_test): Add more tests.
10821 (ccosh_test): Likewise.
10822 (csin_test): Likewise.
10823 (csinh_test): Likewise.
10824
aa630f59
AZ
108252013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10826
10827 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10828 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10829 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10830 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10831 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10832 powerpc/power5+/fpu folders.
10833 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10834
10835
1b835983
MT
108362013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10837
10838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10839
73709b26
JM
108402013-04-25 Joseph Myers <joseph@codesourcery.com>
10841
10842 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10843 additions to variable.
10844 [$(config-machine) = x86_64] (modules-names): Likewise.
10845 ($(objpfx)tst-audit3): Remove dependency.
10846 ($(objpfx)tst-audit3.out): Likewise.
10847 ($(objpfx)tst-audit4): Likewise.
10848 ($(objpfx)tst-audit4.out): Likewise.
10849 ($(objpfx)tst-audit5): Likewise.
10850 ($(objpfx)tst-audit5.out): Likewise.
10851 ($(objpfx)tst-audit6): Likewise.
10852 ($(objpfx)tst-audit6.out): Likewise.
10853 ($(objpfx)tst-audit7): Likewise.
10854 ($(objpfx)tst-audit7.out): Likewise.
10855 (tst-audit3-ENV): Remove variable.
10856 (tst-audit4-ENV): Likewise.
10857 (tst-audit5-ENV): Likewise.
10858 (tst-audit6-ENV): Likewise.
10859 (tst-audit7-ENV): Likewise.
10860 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10861 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10862 addition to variable.
10863 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10864 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10865 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10866 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10867 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10868 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10869 tst-audit3, tst-audit4 and tst-audit5.
10870 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10871 tst-audit6 and tst-audit7.
10872 [$(subdir) = elf] (modules-names): Add audit modules for those
10873 tests.
10874 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10875 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10876 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10877 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10878 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10879 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10880 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10881 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10882 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10883 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10884 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10885 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10886 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10887 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10888 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10889 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10890 Likewise.
10891 [$(subdir) = elf && $(config-cflags-avx) = yes]
10892 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10893 [$(subdir) = elf && $(config-cflags-avx) = yes]
10894 (CFLAGS-tst-auditmod4a.c): Likewise.
10895 [$(subdir) = elf && $(config-cflags-avx) = yes]
10896 (CFLAGS-tst-auditmod4b.c): Likewise.
10897 [$(subdir) = elf && $(config-cflags-avx) = yes]
10898 (CFLAGS-tst-auditmod6b.c): Likewise.
10899 [$(subdir) = elf && $(config-cflags-avx) = yes]
10900 (CFLAGS-tst-auditmod6c.c): Likewise.
10901 [$(subdir) = elf && $(config-cflags-avx) = yes]
10902 (CFLAGS-tst-auditmod7b.c): Likewise.
10903 * elf/tst-audit3.c: Move to ...
10904 * sysdeps/x86_64/tst-audit3.c: ... here.
10905 * elf/tst-audit4.c: Move to ...
10906 * sysdeps/x86_64/tst-audit4.c: ... here.
10907 * elf/tst-audit5.c: Move to ...
10908 * sysdeps/x86_64/tst-audit5.c: ... here.
10909 * elf/tst-audit6.c: Move to ...
10910 * sysdeps/x86_64/tst-audit6.c: ... here.
10911 * elf/tst-audit7.c: Move to ...
10912 * sysdeps/x86_64/tst-audit7.c: ... here.
10913 * elf/tst-auditmod3a.c: Move to ...
10914 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10915 * elf/tst-auditmod3b.c: Move to ...
10916 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10917 * elf/tst-auditmod4a.c: Move to ...
10918 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10919 * elf/tst-auditmod4b.c: Move to ...
10920 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10921 * elf/tst-auditmod5a.c: Move to ...
10922 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10923 * elf/tst-auditmod5b.c: Move to ...
10924 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10925 * elf/tst-auditmod6a.c: Move to ...
10926 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10927 * elf/tst-auditmod6b.c: Move to ...
10928 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10929 * elf/tst-auditmod6c.c: Move to ...
10930 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10931 * elf/tst-auditmod7a.c: Move to ...
10932 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10933 * elf/tst-auditmod7b.c: Move to ...
10934 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10935
1ef74943
PP
109362013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10937
10938 [BZ #15366]
10939 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10940 define unconditionally.
10941 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10942 define unconditionally.
10943 (INT8_C, INT16_C, etc.): Likewise.
10944
93fd48c5
MR
109452013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10946
ae9552cf
MR
10947 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10948 __ehdr_start with hidden visibility.
10949
93fd48c5
MR
10950 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10951
418601aa
CD
109522013-04-24 Carlos O'Donell <carlos@redhat.com>
10953
10954 * math/libm-test.inc (cos_test): Use accurate hex constants.
10955 (sincost_test): Likewise.
10956
2f38fbfe
JM
109572013-04-24 Joseph Myers <joseph@codesourcery.com>
10958
5e221800
JM
10959 * math/libm-test.inc (catan_test): Add more tests.
10960 (catanh_test): Likewise.
10961
77f143fd
JM
10962 * math/s_catanf.c (__catanf): Use suffixed floating-point
10963 constants.
10964 * math/s_catanhf.c (__catanhf): Likewise.
10965 * math/s_catanhl.c (__catanhl): Likewise.
10966 * math/s_catanl.c (__catanl): Likewise.
10967
2f38fbfe
JM
10968 [BZ #15394]
10969 * math/s_catan.c (__catan): Calculate imaginary part of result
10970 with log1p not log unless computing log of number close to 0.
10971 * math/s_catanf.c (__catanf): Likewise.
10972 * math/s_catanl.c (__catanl): Likewise.
10973 * math/s_catanh.c (__catanh): Calculate real part of result with
10974 log1p not log unless computing log of number close to 0.
10975 * math/s_catanhf.c (__catanhf): Likewise.
10976 * math/s_catanhl.c (__catanhl): Likewise.
10977 * math/libm-test.inc (catan_test): Add more tests.
10978 (catanh_test): Likewise.
10979 * sysdeps/i386/fpu/libm-test-ulps: Update.
10980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10981
45d69176
SP
109822013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10983
10984 * benchtests/Makefile: Mention files in which fast and slow
10985 paths of math functions are implemented.
10986
87f51853
RM
109872013-04-23 Roland McGrath <roland@hack.frob.com>
10988
10989 * sysdeps/posix/timespec_get.c: New file.
10990
3c026539
AZ
109912013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10992
10993 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10994 POWER.
10995 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10996 for POWER.
10997 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10998 powerpc/power5/fpu folders.
10999 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11000 * benchtests/Makefile: Add modf testcase.
11001 * benchtests/bench-modf.c: New file: Benchmark test for mo
11002
ff491d14
SP
110032013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11004
11005 [BZ #14888]
11006 * time/Makefile (tests): Add tst-strptime-whitespace.
11007 * time/strptime_l.c (get_number): Use ISSPACE.
11008 (__strptime_internal): Likewise.
11009 * time/tst-strptime-whitespace.c: New test case.
11010
7ed3f4e8
AS
110112013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11012
11013 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11014 member.
11015 (_nss_files_init): Set it here.
11016
5c95f7b6
HC
110172013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11018
11019 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11020 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11021 unsigned.
11022
d34c9158
JBG
110232013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11024
11025 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11026
2169712d
SP
110272013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11028
11029 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11030 size just once.
11031
29c5de99
DM
110322013-04-21 David S. Miller <davem@davemloft.net>
11033
11034 * po/ru.po: Update Russion translation from translation project.
11035
ccdad15d
AC
110362013-04-17 Adam Conrad <adconrad@0c3.net>
11037
11038 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11039 and setfsgid.
11040
0f122b8d
CD
110412013-04-17 Carlos O'Donell <carlos@redhat.com>
11042
5c5b07da 11043 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 11044 * configure: Regenerate.
5c5b07da 11045 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
11046 Add example to error message.
11047 * sysdeps/i386/configure: Regenerate.
11048
037714dd
SP
110492013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11050
11051 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11052 slowtan.
11053 * benchtests/cos-inputs: New file.
11054 * benchtests/slowcos-inputs: New file.
11055 * benchtests/slowcos.c: New file.
11056 * benchtests/slowtan-inputs: New file.
11057 * benchtests/slowtan.c: New file.
11058 * benchtests/tan-inputs: New file.
11059
e913141d
RM
110602013-04-16 Roland McGrath <roland@hack.frob.com>
11061
11062 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11063 considered kosher.
11064
a2964074
SP
110652013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11066
4856bcd2
SP
11067 * benchtests/Makefile: Include cppflags-iterator.mk to add
11068 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11069
a2964074
SP
11070 * Makefile.in (bench-clean): New target.
11071 * benchtests/Makefile (bench-clean): Likewise.
11072
9fbf9aca
DH
110732013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11074
11075 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11076
207d1e2a
TS
110772013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11078
11079 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11080
306dfba9
AS
110812013-04-15 Andreas Schwab <schwab@suse.de>
11082
11083 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11085 * nscd/pwdcache.c (cache_addpw): Likewise.
11086 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11087 more than recsize.
11088
206a6699
SP
110892013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11090
11091 * benchtests/Makefile (bench): Write all output to
11092 bench-out.tmp together.
11093
0582f6b3
AS
110942013-04-15 Andreas Schwab <schwab@suse.de>
11095
11096 * nscd/nscd.c (main): Don't fork again after closing files.
11097
acb4325f
SP
110982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11099
5cb26d0a
SP
11100 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11101
acb4325f
SP
11102 * benchtests/Rules (bench-deps): Collect dependencies into a
11103 single variable. Add Makefile to dependencies.
11104 ($(objpfx)bench-%.c): Depend on bench-deps.
11105
47792506
RM
111062013-04-12 Roland McGrath <roland@hack.frob.com>
11107 Xavier Roche <roche+kml2@exalead.com>
11108
11109 [BZ #15361]
11110 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11111 just that it's a file descriptor.
11112 * manual/llio.texi (Synchronizing AIO Operations): Update description
11113 for EBADF error from aio_fsync.
11114
8fc1bee5
SP
111152013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11116
11117 * Rules (bench): Move target definition...
11118 * benchtests/Makefile: ... here.
11119
aba5e333
CD
111202013-04-11 Carlos O'Donell <carlos@redhat.com>
11121
11122 * math/libm-test.inc (cos_test): Fix PI/2 test.
11123 (sincos_test): Likewise.
11124 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11125 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11126
273cdee8
AS
111272013-04-11 Andreas Schwab <schwab@suse.de>
11128
6ecec3b6
AS
11129 [BZ #13988]
11130 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11131 accept exponent character only when digits were seen.
11132 * stdio-common/Makefile (tests): Add bug26.
11133 * stdio-common/bug26.c: New file.
11134
273cdee8
AS
11135 [BZ #14293]
11136 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11137 non-freeable.
11138
8da491f5
SP
111392013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11140
01dc6df9
SP
11141 * Makeconfig (rtld-prefix): Define built linker prefix.
11142 * Rules (run-bench): Use it.
11143 * math/Makefile (run-regen-ulps): Likewise.
11144
8da491f5
SP
11145 * Rules (bench): Remove eval.
11146
abe7f530
SP
111472013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11148 Roland McGrath <roland@hack.frob.com>
11149 Ondrej Bilka <neleai@seznam.cz>
11150
11151 [BZ #15346]
11152 * time/getdate.c: Include ctype.h and alloca.h.
11153 (__getdate_r): Trim leading and trailing spaces of input.
11154 * time/tst-getdate.c (tests): Add tests with leading and
11155 trailing spaces.
11156
61c23e62
RM
111572013-04-08 Roland McGrath <roland@hack.frob.com>
11158
11159 [BZ #14280]
11160 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11161 when computing value.
11162
7208a313
CD
111632013-04-06 Carlos O'Donell <carlos@redhat.com>
11164
085b2d41
CD
11165 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11166 Use testrun.sh to run libm tests.
11167
7208a313
CD
11168 [BZ #15309]
11169 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11170
872c0acd
MM
111712013-04-06 Marko Myllynen <myllynen@redhat.com>
11172
11173 [BZ #15264]
11174 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11175
26510bdd
CD
111762013-04-06 Carlos O'Donell <carlos@redhat.com>
11177
11178 * Makefile.in (regen-ulps): New target.
11179 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11180 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11181 [ifneq (no,$(PERL)] (regen-ulps): New target.
11182 [ifeq (no,$(PERL)] (regen-ulps): New target.
11183 * math/libm-test.inc (ulps_file_name): Define.
11184 (output_dir): New variable.
11185 (options): Add "output-dir" option.
11186 (parse_opt): Handle 'o' case.
11187 (main): If output_dir is non-NULL use it as a prefix
11188 otherwise use "".
11189 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11190
a01f19c8
CD
111912013-04-06 Carlos O'Donell <carlos@redhat.com>
11192
11193 [BZ #10060, #10062]
11194 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11195 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11196 fail configure if __sync_val_compare_and_swap is not inlined.
11197 * sysdeps/i386/configure: Regenerate.
11198 * configure.in: Build for i686 when configured for i386.
11199 * configure: Regenerate.
11200 * README: Remove i386 reference.
11201
b7a329a5
CD
112022013-04-06 Carlos O'Donell <carlos@redhat.com>
11203
11204 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11205 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11206
bf0f50df
TS
112072013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11208
ee091edf
TS
11209 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11210 (lmsnanval): New variables.
11211 (F): Add conversion tests.
11212 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11213 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11214
a8b792d6
TS
11215 * stdio-common/tstdiomisc.c (F): Properly collect individual
11216 tests' results.
11217
a1cbf437
TS
11218 [BZ #14686, #15336]
11219 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11220 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11221 Instead, use input NaN values or generate a qNaN by arithmetic
11222 operation. Also fix bugs to comply with the standard.
11223 * math/libm-test.inc (remainder_test): Add more tests.
11224
8b43a0c9
TS
11225 [BZ #15335, #15342]
11226 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11227 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11228 input NaN values or generate a qNaN by arithmetic operation.
11229
d91da4ce
TS
11230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11231 unreachable code.
11232
bf0f50df
TS
11233 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11234 definitions.
11235
05e166c8
JM
112362013-04-03 Joseph Myers <joseph@codesourcery.com>
11237
11238 [BZ #14478]
11239 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11240 underflowed result.
11241 * math/s_cexpf.c (__cexpf): Likewise.
11242 * math/s_cexpl.c (__cexpl): Likewise.
11243 * math/libm-test.inc (cexp_test): Add more tests.
11244
1cef1b19
AS
112452013-04-03 Andreas Schwab <schwab@suse.de>
11246
11247 [BZ #15330]
11248 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11249 order arrays from heap if bigger than alloca cutoff.
11250
74d87055
TS
112512013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11252
11253 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11254 (SNAN_TESTS_double): Refer to GCC PR56831.
11255 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11256 GCC PR56828.
11257
d755bba4
SP
112582013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11259
90d5d5bb
SP
11260 * Rules (bench): Move bench.out after the run is complete.
11261
73e0cd5d
SP
11262 * Rules (bench): Echo currently running benchmark.
11263
64aabd4b
SP
11264 * benchtests/Makefile (bench): Add atan and slowatan.
11265 * benchtests/atan-inputs: New file.
11266 * benchtests/slowatan-inputs: New file.
11267 * benchtests/slowatan.c: New file.
11268
c871eccd
SP
11269 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11270 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11271 its value.
11272
d755bba4
SP
11273 [BZ #15305]
11274 * sysdeps/unix/sysv/linux/kernel-features.h
11275 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11276 __ASSUME_XFS_RESTRICTED_CHOWN.
11277 * sysdeps/unix/sysv/linux/pathconf.c
11278 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11279 Save and restore errno.
11280
52ce4860
JM
112812013-04-02 Joseph Myers <joseph@codesourcery.com>
11282
11283 [BZ #15327]
11284 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11285 arguments using __kernel_casinh.
11286 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11287 arguments using __kernel_casinhf.
11288 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11289 arguments using __kernel_casinhl.
11290 * math/libm-test.inc (cacosh_test): Add more tests.
11291 * sysdeps/i386/fpu/libm-test-ulps: Update.
11292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11293
81f311c2
SP
112942013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11295
e7906a47
SP
11296 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11297 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11298
92e3664b
SP
11299 * bench/Makefile (bench): Add sin and slowsin.
11300 * benchtests/sin-inputs: New file.
11301 * benchtests/slowsin-inputs: New file.
11302 * benchtests/slowsin.c: New file.
11303
81f311c2
SP
11304 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11305 (bench): Add slowexp and slowpow.
11306 (exp-ITER): Increase iterations.
11307 (pow-ITER): Likewise.
11308 * benchtests/exp-inputs: Change input.
11309 * benchtests/pow-inputs: Likewise.
11310 * benchtests/slowexp-inputs: New file.
11311 * benchtests/slowexp.c: New file.
11312 * benchtests/slowpow-inputs: New file.
11313 * benchtests/slowpow.c: New file.
11314
ab0f1aa9
AZ
113152013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11316
11317 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11318 instructions.
11319 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11320 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11321 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11322 * benchtests/Makefile: Add rint benchtest.
11323 * benchtests/rint-inputs: Input for rint benchtest.
11324
57267616
TS
113252013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11326
11327 * Versions.def (libm): Add GLIBC_2.18.
11328 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11329 hidden libm prototypes.
11330 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11331 * math/Makefile (libm-calls): Add s_issignaling.
11332 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11333 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11334 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11335 declaration.
11336 * math/math.h [__USE_GNU] (issignaling): New macro.
11337 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11338 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11340 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11342 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11343 * manual/arith.texi (issignaling): New section.
11344 * manual/libm-err-tab.pl (@all_functions): Update comment.
11345 * math/gen-libm-test.pl (parse_args): Apply special handling for
11346 issignaling.
11347 * math/libm-test.inc (print_float, issignaling_test): New
11348 functions.
11349 (check_float_internal): Add issignaling checks.
11350 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11351 default definition.
11352 * sysdeps/powerpc/math-tests.h: New file.
11353 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11354 tests.
11355 * math/test-snan.c (TEST_FUNC): Likewise.
11356
6142896d
DM
113572013-03-30 David S. Miller <davem@davemloft.net>
11358
11359 * po/de.po: Update from translation team.
11360
ccc8cadf
JM
113612013-03-30 Joseph Myers <joseph@codesourcery.com>
11362
11363 [BZ #10357]
11364 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11365 imaginary part less than 1.0 and real part less than 0.5
11366 specially.
11367 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11368 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11369 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11370 (cacos_test): Add more tests.
11371 (casin_test): Likewise.
11372 (casinh_test): Likewise.
11373 * sysdeps/i386/fpu/libm-test-ulps: Update.
11374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11375
0f6a8d4b
SP
113762013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11377
0d1029de
SP
11378 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11379 ONE with its value.
11380
c2d94018
SP
11381 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11382 (__pow_mp): Replace ONE and MONE with their values.
11383 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11384 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11385 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11386 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11387 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11388 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11389
27ec37f1
SP
11390 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11391
a64d7e0e
SP
11392 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11393 (__pow_mp): Replace ZERO and MZERO with their values.
11394 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11395 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11396 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11397 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11398 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11399 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11400 (__sqr): Likewise.
11401
d26dd3eb
SP
11402 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11403
0f6a8d4b
SP
11404 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11405
e57b0c61
RM
114062013-03-28 Roland McGrath <roland@hack.frob.com>
11407
11408 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11409 Declare with __attribute__ ((weak)).
11410 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11411 Call __call_tls_dtors only if it's not NULL.
11412
356b3480
RM
114132013-03-28 Roland McGrath <roland@hack.frob.com>
11414
288f7d79
RM
11415 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11416 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11417 magic __ehdr_start linker symbol if it's defined.
11418 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11419 them up here if it was already done.
11420
dc0a0263
RM
11421 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11422 (_dl_aux_init): Use const in cast when setting it.
11423 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11424 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11425 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11426
3d3436ae
RM
11427 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11428 Declare them here.
11429 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11430 * csu/libc-tls.c: Nor here.
11431 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11432
356b3480
RM
11433 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11434 (__libc_message): Never call vsyslog.
11435
b0f1246a
AM
114362013-03-28 Alan Modra <amodra@gmail.com>
11437
11438 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11439 Define as empty.
11440 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11441 Likewise.
11442
fbbe2b9a
AZ
114432013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11444
11445 [BZ #15214]
11446 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11447 underflow.
11448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11449
1728ab37
SP
114502013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11451
7a86be6e
SP
11452 [BZ #15304]
11453 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11454 Don't add gid passed as argument.
11455
1728ab37
SP
11456 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11457
3a7182a1
JM
114582013-03-27 Joseph Myers <joseph@codesourcery.com>
11459
11460 [BZ #15307]
11461 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11462 imaginary part between 1.0 and 1.5 and real part less than 0.5
11463 specially.
11464 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11465 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11466 * math/libm-test.inc (cacos_test): Add more tests.
11467 (casin_test): Likewise.
11468 (casinh_test): Likewise.
11469 * sysdeps/i386/fpu/libm-test-ulps: Update.
11470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11471
6f2e90e7
SP
114722013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11473
5739f705
SP
11474 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11475 constants.
11476 (norm): Likewise.
11477 (denorm): Likewise.
11478 (__dbl_mp): Likewise.
11479 (add_magnitudes): Likewise.
11480 (sub_magnitudes): Likewise.
11481 (__add): Likewise.
11482 (__sub): Likewise.
11483 (__mul): Likewise.
11484 (__sqr): Likewise.
11485 (__inv): Likewise.
11486 (__dvd): Likewise.
11487
e375e83d
SP
11488 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11489 commented code.
11490 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11491 (__dubcos): Likewise.
11492 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11493 (__ieee754_acos): Likewise.
11494 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11495 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11496 (__exp1): Likewise.
11497 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11498 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11499 (log1): Likewise.
11500 (my_log2): Likewise.
11501 (checkint): Likewise.
11502 * sysdeps/ieee754/dbl-64/e_remainder.c
11503 (__ieee754_remainder): Likewise.
11504 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11505 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11506 (bsloww): Likewise.
11507 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11508
6f2e90e7
SP
11509 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11510 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11511 MANTISSA_STORE_T to store computations on mantissa. Use
11512 macros for rounding and division.
11513 (denorm): Likewise.
11514 (__dbl_mp): Likewise.
11515 (add_magnitudes): Likewise.
11516 (sub_magnitudes): Likewise.
11517 (__mul): Likewise.
11518 (__sqr): Likewise.
11519 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11520 powers of two in terms of TWOPOW macro.
11521 (mp_no): Make type of mantissa as MANTISSA_T.
11522 [!RADIXI]: Define RADIXI.
11523 [!TWO52]: Define TWO52.
11524 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11525
fce14d4e
AZ
115262013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11527
11528 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11529 llroundl symbol when building for PPC32.
11530
9ad027fb
MW
115312013-03-24 Mark H Weaver <mhw@netris.org>
11532
11533 * manual/arith.texi (Normalization Functions): Fix prototypes for
11534 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11535
e42a38dd
AZ
115362013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11537
11538 [BZ #13889]
11539 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11540 high value to check if expl overflow.
11541 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11542 to check for underflow and overflow.
11543 * math/libm-test.inc: Add exp test.
11544
2e0fb521
DL
115452013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11546
11547 [BZ #11120]
11548 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11549 with NOT_IN_libc.
11550
b5784d95
AZ
115512013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11552
11553 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11554 symbol.
11555
5aa4a1a1
TS
115562013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11557
bdef0be7
TS
11558 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11559 wrap blocks consisting of several statements.
11560
5aa4a1a1
TS
11561 * sysdeps/generic/math-tests.h: New file.
11562 * sysdeps/i386/fpu/math-tests.h: Likewise.
11563 * math/test-snan.c: Include it.
11564 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11565
98c48fe5
JM
115662013-03-21 Joseph Myers <joseph@codesourcery.com>
11567
11568 [BZ #15285]
11569 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11570 (__ieee754_j0l): Do not improve calculations using cos of twice
11571 input for inputs above LDBL_MAX / 2.0L.
11572 (__ieee754_y0l): Likewise.
11573 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11574 (__ieee754_j1l): Do not improve calculations using cos of twice
11575 input for inputs above LDBL_MAX / 2.0L.
11576 (__ieee754_y1l): Likewise.
11577 * math/libm-test.inc (j0_test): Add another test.
11578 (j1_test): Likewise.
11579 (y0_test): Likewise.
11580 (y1_test): Likewise.
11581 * sysdeps/i386/fpu/libm-test-ulps: Update.
11582
3775a8bc
SP
115832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11584
11585 * Rules ($(objpfx)bench-%.c): Include code from a C source
11586 file.
11587
0a1b2ae6
JM
115882013-03-21 Joseph Myers <joseph@codesourcery.com>
11589
11590 [BZ #15287]
11591 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11592 imaginary part 1.0 and real part less than 0.5 specially.
11593 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11594 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11595 * math/libm-test.inc (cacos_test): Add more tests.
11596 (casin_test): Likewise.
11597 (casinh_test): Likewise.
11598 * sysdeps/i386/fpu/libm-test-ulps: Update.
11599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11600
b33d4ce4
SP
116012013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11602
11603 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11604 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11605
bef0b507
JM
116062013-03-20 Joseph Myers <joseph@codesourcery.com>
11607
11608 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11609 * config.make.in (config-cflags-sse4): Remove variable.
11610 (config-cflags-avx): Likewise.
11611 (config-cflags-sse2avx): Likewise.
11612 (config-cflags-novzeroupper): Likewise.
11613 (config-asflags-i686): Likewise.
11614 (have-mfma4): Likewise.
11615 (have-as-vis3): Likewise.
11616 (MIG): Likewise.
11617 * configure.in (MIG): Do not AC_SUBST.
11618 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11619 (libc_cv_cc_sse4): Do not AC_SUBST.
11620 (libc_cv_cc_avx): Likewise.
11621 (libc_cv_cc_sse2avx): Likewise.
11622 (libc_cv_cc_novzeroupper): Likewise.
11623 (libc_cv_cc_fma4): Likewise.
11624 (libc_cv_as_i686): Likewise.
11625 (libc_cv_sparc_as_vis3): Likewise.
11626 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11627 LIBC_CONFIG_VAR.
11628 (config-asflags-i686): Likewise.
11629 (config-cflags-avx): Likewise.
11630 (config-cflags-sse2avx): Likewise.
11631 (have-mfma4): Likewise.
11632 (config-cflags-novzeroupper): Likewise.
11633 * sysdeps/mach/configure.in (MIG): Likewise.
11634 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11635 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11636 LIBC_CONFIG_VAR.
11637 (config-cflags-avx): Likewise.
11638 (config-cflags-sse2avx): Likewise.
11639 (have-mfma4): Likewise.
11640 (config-cflags-novzeroupper): Likewise.
11641 * configure: Regenerated.
11642 * sysdeps/i386/configure: Likewise.
11643 * sysdeps/mach/configure: Likewise.
11644 * sysdeps/sparc/configure: Likewise.
11645 * sysdeps/x86_64/configure: Likewise.
11646
912cc4b3
RM
116472013-03-20 Roland McGrath <roland@hack.frob.com>
11648
11649 [BZ #14812]
11650 * locale/programs/localedef.c (options): Put N_ translation marker
11651 on argument names, not just descriptions.
11652
04eed2b0
MS
116532013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11654
11655 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11656
a065ceff
OB
116572013-03-20 Ondřej Bílka <neleai@seznam.cz>
11658
9bb2a810 11659 [BZ #14176]
a065ceff
OB
11660 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11661
a600e5ce
RM
116622013-03-19 Roland McGrath <roland@hack.frob.com>
11663
11664 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11665 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11666 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11667 [!BEFORE_ABORT] (before_abort): New function.
11668 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11669 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11670 (writev_for_fatal): New function.
11671 (WRITEV_FOR_FATAL): New macro; call that.
11672 (backtrace_and_maps): New function.
11673 (BEFORE_ABORT): New macro; call that.
11674 (struct str_list): Type removed.
11675 (__libc_message, __libc_fatal): Functions removed.
11676 Include <sysdeps/posix/libc_fatal.c> instead.
11677
6b18bea6
JM
116782013-03-19 Joseph Myers <joseph@codesourcery.com>
11679
11680 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11681 constants.
11682 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11683 double constants.
11684
aaa8cb4b
AS
116852013-03-19 Andreas Schwab <schwab@suse.de>
11686
44673770
AS
11687 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11688 * sysdeps/gnu/configure: Regenerate.
11689
aaa8cb4b
AS
11690 * configure.in: Substitute libc_cv_rtlddir.
11691 * configure: Regenerate.
11692 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11693 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11694 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11695 * elf/Makefile (install-others, CFLAGS-interp.c)
11696 (ldso_install, common-ldd-rewrite): Likewise.
11697 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11698 $(inst_slibdir)/$(rtld-installed-name).
11699 * scripts/rellns-sh: Add -p option.
11700 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11701 for source.
11702
d3cfc668
SP
117032013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11704
11705 * manual/nptl.texi: Renamed to ...
11706 * manual/threads.texi: ... this.
11707 * manual/Makefile (chapters): Update.
11708
0e2b9cdd
RM
117092013-03-18 Roland McGrath <roland@hack.frob.com>
11710
11711 [BZ #14812]
11712 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11713 on argument names, not just descriptions.
0e2b9cdd
RM
11714 * malloc/memusagestat.c (options): Likewise.
11715 * nss/getent.c (options): Likewise.
63270c24
RM
11716
117172013-03-18 Benno Schulenberg <bensberg@justemail.net>
11718
11719 [BZ #14812]
11720 * iconv/iconv_prog.c (options): Put N_ translation marker
11721 on argument names, not just descriptions.
11722 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11723
b2e1393c
OB
117242013-03-18 Ondrej Bilka <neleai@seznam.cz>
11725
11726 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11727 implementation which is faster on all x86_64 architectures.
11728 Tested on AMD, Intel Nehalem, SNB, IVB.
11729 * sysdeps/x86_64/strnlen.S: Likewise.
11730
11731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11732 Remove all multiarch strlen and strnlen versions.
11733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11734 Remove strlen and strnlen related parts.
11735
11736 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11737 Inline strlen part.
11738 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11739
11740 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11741 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11742 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11743 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11744 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11745 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11746
ec4ff04d
CD
117472013-03-17 Carlos O'Donell <carlos@redhat.com>
11748
11749 * manual/memory.texi (Malloc Tunable Parameters):
11750 Sort parameters alphabetically. Add comments for missing entries.
11751
cd18e90a
DM
117522013-03-17 David S. Miller <davem@davemloft.net>
11753
11754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11755
2a185d32
JM
117562013-03-16 Joseph Myers <joseph@codesourcery.com>
11757
d2f9799e
JM
11758 [BZ #15283]
11759 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11760 for arguments at most half maximum finite value.
11761 * math/libm-test.inc (j0_test): Add more tests.
11762 (j1_test): Likewise.
11763 (y0_test): Likewise.
11764 (y1_test): Likewise.
11765 * sysdeps/i386/fpu/libm-test-ulps: Update.
11766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11767
2a185d32
JM
11768 [BZ #14155]
11769 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11770 1 / x and functions P and Q for arguments above 0x1p256L.
11771 (__ieee754_y0l): Likewise.
11772 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11773 (__ieee754_y1l): Likewise.
11774 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11775 (j1_test): Likewise.
11776 (y0_test): Likewise.
11777 (y1_test): Likewise.
11778
6cbec759
TS
117792013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11780
11781 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11782 variable.
11783
bc16e260
RM
117842013-03-15 Roland McGrath <roland@hack.frob.com>
11785
aefc9b8c
RM
11786 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11787 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11788 zero since it's initialized to EXEC_PAGESIZE.
11789
bc16e260
RM
11790 * sysdeps/unix/sysv/linux/ldsodefs.h
11791 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11792 * sysdeps/generic/ldsodefs.h: ... here.
11793
a57da955
TS
117942013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11795
af00a34d
TS
11796 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11797
495ded2c
TS
11798 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11799 math/test-snan.c.
11800 * math/test-snan.c: Renamed from
11801 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11802 * math/Makefile (tests): Add test-snan.
11803 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11804 test-powerpc-snan.
11805
777b0332
TS
11806 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11807 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11808 functions.
11809 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11810 __builtin_nan family of functions.
11811 * math/libm-test.inc (initialize): Initialize qnan_value with
11812 __builtin_nan family of functions.
11813 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11814 Remove variables.
11815 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11816 Remove functions.
11817 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11818 storage class. Initialize qNaN_var and sNaN_var with
11819 __builtin_nan and __builtin_nans families of functions,
11820 respectively.
11821
64d063b8
TS
11822 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11823 (sqrt_test): Remove duplicate test with qNaN input.
11824 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11825 (round_test, signbit_test, significand_test): Note missing +/-Inf
11826 as well as qNaN tests.
11827
67e971f1
TS
11828 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11829 qNaN_var. Fix a few strings, too.
11830 * math/libm-test.inc (nan_value): Rename to qnan_value.
11831 * math/gen-libm-test.pl (%beautify): Adjust to that.
11832 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11833 * math/test-misc.c (main): Likewise.
11834 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11835 to __qnan_bytes, and __qnan_union, respectively.
11836 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11837 Likewise.
11838 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11839 and lqnanval, respectively.
11840 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11841 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11842 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11843 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11844
64487e12
TS
11845 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11846 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11847 doubles.
11848
e015e27b
TS
11849 * math/test-misc.c (main): Fix copy'n'pastos.
11850 * misc/tst-efgcvt.c (special): Likewise.
11851
a57da955
TS
11852 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11853 Remove declarations.
11854
1e380345
SP
118552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11856
11857 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11858 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11859 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11860 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11861
ef26eece
AZ
118622013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11863
11864 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11865 macro to return vdso values correctly in IFUNC implementations.
11866 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11867 Optimization by using IFUNC.
11868
8cfdb7e0
SP
118692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11870 Richard Henderson <rth@redhat.com>
11871 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11872
11873 * Makefile.in (bench): New target.
11874 * NEWS: Mention the benchmark framework.
11875 * Rules (bench): Likewise.
11876 (binaries-bench): Generate binaries for functions to
11877 benchmark.
11878 * benchtests/Makefile: New makefile for benchmark tests.
11879 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11880 programs.
11881 * benchtests/exp-inputs: New input file for EXP function.
11882 * benchtests/pow-inputs: New input file for POW function.
11883 * scripts/bench.pl: New script to generate source files for
11884 benchmark programs.
11885
bcda9880
SP
118862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11887
d22ca8cd
SP
11888 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11889 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11890 computations on mantissa. Use macros for rounding and
11891 division.
11892 (denorm): Likewise.
11893 (__dbl_mp): Likewise.
11894 (add_magnitudes): Likewise.
11895 (sub_magnitudes): Likewise.
11896 (__mul): Likewise.
11897 (__sqr): Likewise.
11898 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11899 powers of two in terms of TWOPOW macro.
11900 (mp_no): Make type of mantissa as MANTISSA_T.
11901 [!RADIXI]: Define RADIXI.
11902 [!TWO52]: Define TWO52.
11903 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11904
bcda9880
SP
11905 * manual/nptl.texi (cindex): Modify threads to pthreads.
11906
06d5adfb
JM
119072013-03-15 Joseph Myers <joseph@codesourcery.com>
11908
11909 * sysdeps/x86_64/preconfigure: Regenerated.
11910
41c7328e
JM
119112013-03-14 Joseph Myers <joseph@codesourcery.com>
11912
11913 [BZ #14155]
11914 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11915 0x1p28 and above.
11916 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11917 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11918 0x1p28 and above.
11919 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11920 * math/libm-test.inc (j0_test): Do not allow one spurious
11921 underflow exception.
11922 (y1_test): Likewise.
11923
e25cfa60
SP
119242013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11925
0409959c
SP
11926 * manual/Makefile (chapters): Add nptl.
11927 * manual/debug.texi (Debugging Support): Add link to Threads
11928 chapter.
11929 * manual/nptl.texi: New file.
11930
e25cfa60
SP
11931 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11932
58a1335e
PB
119332013-03-14 Petr Baudis <pasky@ucw.cz>
11934
11935 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11936 for non-NULL pointer before the memory validity test. Pointed
11937 out by Holger Brunck <holger.brunck@keymile.com>.
11938
9dc7c64f
AS
119392013-03-13 Andreas Schwab <schwab@suse.de>
11940
11941 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11942 instead of .os.
11943
54206aa6
JM
119442013-03-13 Joseph Myers <joseph@codesourcery.com>
11945
11946 * timezone/zic.c: Update from tzcode 2013b.
11947
e98cdb38
CD
119482013-03-12 Carlos O'Donell <carlos@redhat.com>
11949
11950 * manual/install.texi (Configuring and compiling):
11951 Mention i686 and i586.
11952 * INSTALL: Regenerate.
11953
9967e003
RM
119542013-03-12 Roland McGrath <roland@hack.frob.com>
11955
11956 * sysdeps/init_array/elf-init.c: New file.
11957 * csu/elf-init.c
11958 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11959 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11960
11961 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11962 __gmon_start__ as global, but as static with a .preinit_array pointer.
11963 * sysdeps/init_array/gmon-start.c: New file. Use that.
11964 * sysdeps/init_array/crti.S: New file, empty except for comments.
11965 * sysdeps/init_array/crtn.S: Likewise.
11966
e6b5a293 119672013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11968
11969 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11970 definining bcopy.
80f844c9
OB
11971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11972 Remove Prefer_SSE_for_memop.
11973 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11974 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11975 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11977 memset-x86-64.
80f844c9 11978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11979 Remove bzero, memset ifunc support.
80f844c9
OB
11980 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11981 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11982 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11983 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11984
fb6b0fcb
AS
119852013-03-11 Andreas Schwab <schwab@suse.de>
11986
11987 [BZ #15234]
11988 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11989 by SHLIB_COMPAT.
11990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11991 (GLIBC_2.16): Remove pthread_atfork.
11992
3e6bd4b1
PP
119932013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11994
11995 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11996 (ptestcases.h): Likewise.
11997
222d7f00
RM
119982013-03-08 Roland McGrath <roland@hack.frob.com>
11999
12000 * Makeconfig ($(common-objpfx)config.status): Depend on
12001 sysdeps/*/preconfigure{,.in} too.
12002
1ba4f030
JM
120032013-03-08 Joseph Myers <joseph@codesourcery.com>
12004
a222d91a
JM
12005 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12006 (__free_hook): Use void * instead of __malloc_ptr_t.
12007 (__malloc_hook): Likewise.
12008 (__realloc_hook): Likewise.
12009 (__memalign_hook): Likewise.
12010 (__after_morecore_hook): Likewise.
12011 * malloc/arena.c (save_malloc_hook): Likewise.
12012 (save_free_hook): Likewise.
12013 * malloc/hooks.c (malloc_hook_ini): Likewise.
12014 (realloc_hook_ini): Likewise.
12015 (memalign_hook_ini): Likewise.
12016 * malloc/malloc.c (malloc_hook_ini): Likewise.
12017 (realloc_hook_ini): Likewise.
12018 (memalign_hook_ini): Likewise.
12019 (__free_hook): Likewise.
12020 (__malloc_hook): Likewise.
12021 (__realloc_hook): Likewise.
12022 (__memalign_hook): Likewise.
12023 (__libc_malloc): Likewise.
12024 (__libc_free): Likewise.
12025 (__libc_realloc): Likewise.
12026 (__libc_memalign): Likewise.
12027 (__libc_valloc): Likewise.
12028 (__libc_pvalloc): Likewise.
12029 (__libc_calloc): Likewise.
12030 (__posix_memalign): Likewise.
12031 * malloc/morecore.c (__sbrk): Likewise.
12032 (__default_morecore): Likewise.
12033
5cc45e10
JM
12034 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12035
dd54b864
JM
12036 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12037 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12038 __malloc_ptrdiff_t.
12039
1ba4f030
JM
12040 * malloc/malloc.h (__malloc_size_t): Remove macro.
12041 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12042 __malloc_size_t.
12043 (old_memalign_hook): Likewise.
12044 (old_realloc_hook): Likewise.
12045 (struct hdr): Likewise.
12046 (flood): Likewise.
12047 (mallochook): Likewise.
12048 (memalignhook): Likewise.
12049 (reallochook): Likewise.
12050 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12051 (tr_old_realloc_hook): Likewise.
12052 (tr_old_memalign_hook): Likewise.
12053 (tr_mallochook): Likewise.
12054 (tr_reallochook): Likewise.
12055 (tr_memalignhook): Likewise.
12056
edf66e57
AZ
120572013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12058
12059 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12060 default_ldbl_pack and using as default implementation.
12061 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12062 implementation.
12063 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12064 redundant definition.
12065 (ldbl_insert_mantissa): Likewise.
12066 (ldbl_canonicalize): Likewise.
12067 (ldbl_nearbyint): Likewise.
12068 (ldbl_pack): Rename to ldbl_pack_ppc.
12069 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12070 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12071 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12072
6d9145d8
SP
120732013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12074
12075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12076 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12077 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12078 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12080 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12081 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12082 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12083
4dd4e157
AJ
120842013-03-07 Andreas Jaeger <aj@suse.de>
12085
12086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12087 bits/mman-linux.h.
12088
adbb8027
SP
120892013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12090
ce544b5b
SP
12091 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12092 Include mpa.h and declare __MPEXP.
12093 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12094 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12095 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12096 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12097 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12098 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12099 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12100
4cc149fd
SP
12101 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12102 (__slowpow): Use long double EXPL and LOGL functions to
12103 compute POW.
12104 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12105 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12106 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12107 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12108 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12109 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12110
e6ebd4a7
SP
12111 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12112 intermediate variable to calculate exponent.
12113 (__sqr): Likewise.
12114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12115 Likewise.
12116 (__sqr): Likewise.
12117
82a9811d
SP
12118 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12119 [!NO__SQR]: Define __sqr.
12120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12121 and NO__SQR. Remove all code except __mul and __sqr. Include
12122 sysdeps/ieee754/dbl-64/mpa.c.
12123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12124
adbb8027
SP
12125 [BZ #12723]
12126 * posix/Makefile (tests): Add tst-pathconf.
12127 * posix/tst-pathconf.c: New test case.
12128 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12129 _PC_PIPE_BUF.
12130 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12131
39120df9
PF
121322013-03-06 Patsy Franklin <pfrankli@redhat.com>
12133
12134 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12135
67525cb8
AJ
121362013-03-06 Andreas Jaeger <aj@suse.de>
12137
664a9ce4
AJ
12138 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12139 definition via __MAP_ANONYMOUS.
12140
8e39047d
AJ
12141 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12142 it's not part of Linux headers.
12143
67525cb8
AJ
12144 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12145 (MAP_HUGE_MASK): Define.
12146
12147 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12148 Define.
12149 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12150 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12151 Define.
12152 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12153 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12154 Define.
12155 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12156 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12157 Define.
12158 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12159
12160 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12161 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12162 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12163 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12164 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12165 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12166
12167 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12168 Handle f2fs.
12169
12170 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12171 Handle f2fs and efivarfs.
12172
12173 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12174 f2fs.
12175
12176 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12177 (EFIVARFS_MAGIC): Add.
12178 (F2FS_LINK_MAX): Add.
12179
e1b42695
PP
121802013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12181
12182 * stdio-common/vfprintf.c: Replace __builtin_expect with
12183 __glibc_unlikely.
12184
2d67d91a
JM
121852013-03-06 Joseph Myers <joseph@codesourcery.com>
12186
12187 [BZ #13550]
12188 * sysdeps/generic/bp-sym.h: Remove file.
12189 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12190 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12191 <bp-sym.h> and <bp-asm.h>.
12192 (__longjmp): Don't use BP_SYM.
12193 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12194 and <bp-asm.h>.
12195 (memcpy): Don't use BP_SYM.
12196 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12197 <bp-sym.h> and <bp-asm.h>.
12198 (memcpy): Don't use BP_SYM.
12199 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12200 <bp-asm.h>.
12201 (memcpy): Don't use BP_SYM.
12202 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12203 <bp-asm.h>.
12204 (memset): Don't use BP_SYM.
12205 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12206 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12207 (__bzero): Don't use BP_SYM.
12208 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12209 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12210 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12211 <bp-sym.h> and <bp-asm.h>.
12212 (memcmp): Don't use BP_SYM. Remove comment about bounded
12213 pointers.
12214 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12215 <bp-sym.h> and <bp-asm.h>.
12216 (memcpy): Don't use BP_SYM.
12217 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12218 <bp-sym.h> and <bp-asm.h>.
12219 (memset): Don't use BP_SYM.
12220 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12221 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12222 (__bzero): Don't use BP_SYM.
12223 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12224 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12225 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12226 <bp-sym.h> and <bp-asm.h>.
12227 (strncmp): Don't use BP_SYM. Remove comment about bounded
12228 pointers.
12229 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12230 <bp-sym.h> and <bp-asm.h>.
12231 (memcpy): Don't use BP_SYM.
12232 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12233 <bp-sym.h> and <bp-asm.h>.
12234 (memset): Don't use BP_SYM.
12235 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12236 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12237 (__bzero): Don't use BP_SYM.
12238 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12239 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12240 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12241 <bp-sym.h> and <bp-asm.h>.
12242 (__memchr): Don't use BP_SYM.
12243 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12244 <bp-sym.h> and <bp-asm.h>.
12245 (memcmp): Don't use BP_SYM. Remove comment about bounded
12246 pointers.
12247 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12248 <bp-sym.h> and <bp-asm.h>.
12249 (memcpy): Don't use BP_SYM.
12250 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12251 <bp-sym.h> and <bp-asm.h>.
12252 (__mempcpy): Don't use BP_SYM.
12253 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12254 <bp-sym.h> and <bp-asm.h>.
12255 (__memrchr): Don't use BP_SYM.
12256 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12257 <bp-sym.h> and <bp-asm.h>.
12258 (memset): Don't use BP_SYM.
12259 (__bzero): Likewise.
12260 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12261 <bp-sym.h> and <bp-asm.h>.
12262 (__rawmemchr): Don't use BP_SYM.
12263 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12264 <bp-sym.h> and <bp-asm.h>.
12265 (__STRCMP): Don't use BP_SYM.
12266 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12267 <bp-sym.h> and <bp-asm.h>.
12268 (strchr): Don't use BP_SYM.
12269 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12270 <bp-sym.h> and <bp-asm.h>.
12271 (__strchrnul): Don't use BP_SYM.
12272 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12273 <bp-sym.h> and <bp-asm.h>.
12274 (strlen): Don't use BP_SYM.
12275 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12276 <bp-sym.h> and <bp-asm.h>.
12277 (strncmp): Don't use BP_SYM. Remove comment about bounded
12278 pointers.
12279 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12280 <bp-sym.h> and <bp-asm.h>.
12281 (__strnlen): Don't use BP_SYM.
12282 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12283 <bp-sym.h> and <bp-asm.h>.
12284 (__GI__setjmp): Don't use BP_SYM.
12285 (_setjmp): Likewise.
12286 (__sigsetjmp): Likewise.
12287 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12288 (L(start_addresses)): Don't use BP_SYM.
12289 (_start): Likewise.
12290 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12291 <bp-asm.h>.
12292 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12293 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12294 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12295 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12296 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12297 <bp-asm.h>.
12298 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12299 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12300 about bounded pointers.
12301 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12302 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12303 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12304 <bp-asm.h>.
12305 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12306 about bounded pointers. Remove GKM FIXME comments.
12307 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12308 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12309 <bp-asm.h>.
12310 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12311 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12312 Remove GKM FIXME comments.
12313 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12314 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12315 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12316 <bp-asm.h>.
12317 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12318 about bounded pointers. Remove GKM FIXME comment.
12319 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12320 and <bp-asm.h>.
12321 (strncmp): Don't use BP_SYM. Remove comment about bounded
12322 pointers.
12323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12324 <bp-sym.h> and <bp-asm.h>.
12325 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12327 <bp-sym.h> and <bp-asm.h>.
12328 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12329 comment.
12330
cdcf361f
PP
123312013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12332
12333 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12334 call free(NULL).
12335
3c4a2b15
DM
123362013-03-05 David S. Miller <davem@davemloft.net>
12337
12338 * po/es.po: Update from translation team.
12339
cdcf361f 123402013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
12341
12342 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12343 <bits/mman-linux.h>.
12344 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12345 is fine.
12346 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12347 <bits/mman-linux.h> to end of file.
12348 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12349 is fine.
12350 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12351 <bits/mman-linux.h> to end of file.
12352 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12353 is fine.
12354 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12355 <bits/mman-linux.h> to end of file.
12356
12357 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12358 (MCL_CURRENT, MCL_FUTURE): Define here.
12359
5f67c04f
AK
123602013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12361
8a4473cc 12362 [BZ #15232]
5f67c04f
AK
12363 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12364 attribute_hidden.
12365 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12366
c3e94a95
AK
123672013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12368
12369 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12370 fourth parameter needed for rt_sigprocmask syscall.
12371 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12372 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12373 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12374 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12375 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12376 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12377
cfb6382a
JM
123782013-03-04 Joseph Myers <joseph@codesourcery.com>
12379
12380 [BZ #13550]
12381 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12382 comment about bounded pointers.
12383 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12384 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12385
539d8e01
AJ
123862013-03-04 Andreas Jaeger <aj@suse.de>
12387
12388 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12389 common definitions.
12390
12391 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12392 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12393 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12394 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12395 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12396 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12397
2e167a70 123982013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12399
12400 [BZ #15055]
12401 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12402 __ieee754_sqrl instead of __sqrl.
12403
68508633
JM
124042013-03-01 Joseph Myers <joseph@codesourcery.com>
12405
12406 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12407 * sysdeps/powerpc/fpu_control.h: ... here.
12408 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12409 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12410 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12411 * sysdeps/powerpc/bits/mathinline.h: ... here.
12412
7775448e
RM
124132013-03-01 Roland McGrath <roland@hack.frob.com>
12414
12415 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12416 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12417 to just [NEED_DL_SYSINFO_DSO].
12418 * elf/dl-support.c: Likewise.
12419 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12420 * elf/rtld.c (dl_main): Likewise.
12421 * elf/setup-vdso.h (setup_vdso): Likewise.
12422 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12423 * sysdeps/unix/sysv/linux/dl-sysdep.c
12424 (_dl_discover_osversion): Likewise.
12425
4e9b5995
CD
124262013-03-01 Carlos O'Donell <carlos@redhat.com>
12427
12428 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12429 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12430
e23872c8
SP
124312013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12432
e5c74c63
SP
12433 * NEWS: Mention libm performance improvements and non-x86 PI
12434 futex support.
12435
e23872c8
SP
12436 * csu/libc-start.c (__pthread_initialize_minimal): Change
12437 function arguments.
12438 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12439
b5510883
JM
124402013-02-28 Joseph Myers <joseph@codesourcery.com>
12441
12442 [BZ #13550]
12443 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12444 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12445 <bp-sym.h> and <bp-asm.h>.
12446 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12447 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12448 and <bp-asm.h>.
12449 (memcpy): Don't use BP_SYM.
12450 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12451 <bp-asm.h>.
12452 (__mpn_add_n): Don't use BP_SYM.
12453 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12454 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12455 and <bp-asm.h>.
12456 (__mpn_addmul_1): Don't use BP_SYM.
12457 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12458 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12459 <bp-sym.h>.
12460 (_setjmp): Don't use BP_SYM.
12461 (__novmx_setjmp): Likewise.
12462 (__GI__setjmp): Likewise.
12463 (__vmx_setjmp): Likewise.
12464 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12465 <bp-sym.h>.
12466 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12467 (__bzero): Don't use BP_SYM.
12468 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12469 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12470 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12471 <bp-sym.h> and <bp-asm.h>.
12472 (memcpy): Don't use BP_SYM.
12473 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12474 <bp-sym.h> and <bp-asm.h>.
12475 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12476 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12477 <bp-sym.h> and <bp-asm.h>.
12478 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12479 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12480 <bp-asm.h>.
12481 (__mpn_lshift): Don't use BP_SYM.
12482 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12483 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12484 <bp-asm.h>.
12485 (memset): Don't use BP_SYM.
12486 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12487 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12488 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12489 <bp-asm.h>.
12490 (__mpn_mul_1): Don't use BP_SYM.
12491 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12492 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12493 <bp-sym.h> and <bp-asm.h>.
12494 (memcmp): Don't use BP_SYM.
12495 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12496 <bp-sym.h> and <bp-asm.h>.
12497 (memcpy): Don't use BP_SYM.
12498 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12499 <bp-sym.h> and <bp-asm.h>.
12500 (memset): Don't use BP_SYM.
12501 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12502 <bp-sym.h> and <bp-asm.h>.
12503 (strncmp): Don't use BP_SYM.
12504 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12505 <bp-sym.h> and <bp-asm.h>.
12506 (memcpy): Don't use BP_SYM.
12507 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12508 <bp-sym.h> and <bp-asm.h>.
12509 (memset): Don't use BP_SYM.
12510 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12511 <bp-sym.h> and <bp-asm.h>.
12512 (__memchr): Don't use BP_SYM.
12513 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12514 <bp-sym.h> and <bp-asm.h>.
12515 (memcmp): Don't use BP_SYM.
12516 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12517 <bp-sym.h> and <bp-asm.h>.
12518 (memcpy): Don't use BP_SYM.
12519 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12520 <bp-sym.h> and <bp-asm.h>.
12521 (__mempcpy): Don't use BP_SYM.
12522 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12523 <bp-sym.h> and <bp-asm.h>.
12524 (__memrchr): Don't use BP_SYM.
12525 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12526 <bp-sym.h> and <bp-asm.h>.
12527 (memset): Don't use BP_SYM.
12528 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12529 <bp-sym.h> and <bp-asm.h>.
12530 (__rawmemchr): Don't use BP_SYM.
12531 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12532 <bp-sym.h> and <bp-asm.h>.
12533 (__STRCMP): Don't use BP_SYM.
12534 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12535 <bp-sym.h> and <bp-asm.h>.
12536 (strchr): Don't use BP_SYM.
12537 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12538 <bp-sym.h> and <bp-asm.h>.
12539 (__strchrnul): Don't use BP_SYM.
12540 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12541 <bp-sym.h> and <bp-asm.h>.
12542 (strlen): Don't use BP_SYM.
12543 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12544 <bp-sym.h> and <bp-asm.h>.
12545 (strncmp): Don't use BP_SYM.
12546 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12547 <bp-sym.h> and <bp-asm.h>.
12548 (__strnlen): Don't use BP_SYM.
12549 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12550 <bp-asm.h>.
12551 (__mpn_rshift): Don't use BP_SYM.
12552 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12553 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12554 <bp-sym.h> and <bp-asm.h>.
12555 (__sigsetjmp): Don't use BP_SYM.
12556 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12557 (L(start_addresses)): Don't use BP_SYM.
12558 (_start): Likewise.
12559 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12560 <bp-asm.h>.
12561 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12562 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12563 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12564 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12565 <bp-asm.h>.
12566 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12567 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12568 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12569 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12570 <bp-asm.h>.
12571 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12572 comments.
12573 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12574 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12575 <bp-asm.h>.
12576 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12577 FIXME comments.
12578 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12579 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12580 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12581 <bp-asm.h>.
12582 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12583 comment.
12584 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12585 and <bp-asm.h>.
12586 (strncmp): Don't use BP_SYM,
12587 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12588 <bp-asm.h>.
12589 (__mpn_sub_n): Don't use BP_SYM.
12590 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12591 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12592 and <bp-asm.h>.
12593 (__mpn_submul_1): Don't use BP_SYM.
12594 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12596 <bp-sym.h> and <bp-asm.h>.
12597 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12599 <bp-sym.h> and <bp-asm.h>.
12600 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12601 comment.
12602
8d19fe64
SP
126032013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12604
12605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12606 Use ZK to minimize writes to Z.
12607 (sub_magnitudes): Simplify code a bit.
12608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12609 Use ZK to minimize writes to Z.
12610 (sub_magnitudes): Simplify code a bit.
12611
85bd816a
RM
126122013-02-27 Roland McGrath <roland@hack.frob.com>
12613
12614 * csu/gmon-start.c: Add special exception to license text.
12615
b5977bf2
RH
126162013-02-27 Richard Henderson <rth@redhat.com>
12617
12618 * scripts/config.guess: Update from config.git.
12619 * scripts/config.sub: Likewise.
12620
11d6e2f2
SP
126212013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12622
09c14ed2
SP
12623 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12624
a688864e
SP
12625 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12626
6295157a
SP
12627 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12628
b8de2202
SP
12629 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12630
11d6e2f2
SP
12631 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12632
7e80ddb8
RM
126332013-02-26 Roland McGrath <roland@hack.frob.com>
12634
12635 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12636 [$(build-shared = yes].
7e80ddb8 12637
7da6d9ed
SP
126382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12639
45f05884
SP
12640 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12641 (__mul): Reduce iterations for calculating mantissa.
12642
2236d359
SP
12643 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12644 MPTWO.
12645 (__mpranred): Likewise.
12646
7da6d9ed
SP
12647 [BZ #15160]
12648 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12649 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12650
b7688c42
PE
126512013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12652
12653 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12654 Define __attribute__.
12655
53a5c423
SP
126562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12657
12658 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12659 unused.
12660 * posix/regex_internal.h (__attribute): Remove.
12661 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12662 (re_string_context_at): Likewise.
12663 (bitset_not): Use __attribute__ and mark function as possibly
12664 unused.
12665 (bitset_merge): Likewise.
12666 (bitset_mask): Likewise.
12667 (re_string_char_size_at): Likewise.
12668 (re_string_wchar_at): Likewise.
12669 (re_string_elem_size_at): Likewise.
12670
60f5a8b5
SP
126712013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12672
2a983a2e
SP
12673 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12674 code.
12675 (cc32): Likewise.
12676
e69804d1
SP
12677 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12678 (__acr): Likewise.
12679 (__cpy): Likewise.
12680 (norm): Likewise.
12681 (denorm): Likewise.
12682 (__dbl_mp): Likewise.
12683 (add_magnitudes): Likewise.
12684 (sub_magnitudes): Likewise.
12685 (__mul): Likewise.
12686 (__inv): Likewise.
12687
2f22a1e8
SP
12688 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12689 style.
12690
8930ddc7
SP
12691 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12692 style.
12693
dc60cb11
SP
12694 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12695 code.
12696
60f5a8b5
SP
12697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12698 up changes with default code.
12699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12700 Likewise.
12701
b4d1fd33
AM
127022013-02-24 Allan McRae <allan@archlinux.org>
12703
faf6f8bc
AM
12704 * manual/socket.texi (The Internet Namespace): Order menu items
12705 to match that in the file.
12706
b4d1fd33
AM
12707 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12708 node listing of the info page menu.
12709
2366713d
JM
127102013-02-21 Joseph Myers <joseph@codesourcery.com>
12711
12712 [BZ #13550]
12713 * sysdeps/i386/bp-asm.h: Remove file.
12714 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12715 (PARMS): Do not use macros from bp-asm.h.
12716 (S1): Likewise.
12717 (S2): Likewise.
12718 (SIZE): Likewise.
12719 (__mpn_add_n): Do not use BP_SYM
12720 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12721 "bp-asm.h".
12722 (PARMS): Do not use macros from bp-asm.h.
12723 (S1): Likewise.
12724 (SIZE): Likewise.
12725 (__mpn_addmul_1): Do not use BP_SYM
12726 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12727 "bp-asm.h".
12728 (PARMS): Do not use macros from bp-asm.h.
12729 (SIGMSK): Likewise.
12730 (_setjmp): Likewise. Do not use BP_SYM.
12731 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12732 "bp-asm.h".
12733 (PARMS): Do not use macros from bp-asm.h.
12734 (SIGMSK): Likewise.
12735 (setjmp): Likewise. Do not use BP_SYM.
12736 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12737 "bp-asm.h".
12738 (PARMS): Do not use macros from bp-asm.h.
12739 (__frexp): Do not use BP_SYM.
12740 (frexp): Likewise.
12741 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12742 "bp-asm.h".
12743 (PARMS): Do not use macros from bp-asm.h.
12744 (__frexpf): Do not use BP_SYM.
12745 (frexpf): Likewise.
12746 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12747 "bp-asm.h".
12748 (PARMS): Do not use macros from bp-asm.h.
12749 (__frexpl): Do not use BP_SYM.
12750 (frexpl): Likewise.
12751 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12752 "bp-asm.h".
12753 (PARMS): Do not use macros from bp-asm.h.
12754 (__remquo): Do not use BP_SYM.
12755 (remquo): Likewise.
12756 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12757 "bp-asm.h".
12758 (PARMS): Do not use macros from bp-asm.h.
12759 (__remquof): Do not use BP_SYM.
12760 (remquof): Likewise.
12761 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12762 "bp-asm.h".
12763 (PARMS): Do not use macros from bp-asm.h.
12764 (__remquol): Do not use BP_SYM.
12765 (remquol): Likewise.
12766 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12767 "bp-asm.h".
12768 (PARMS): Do not use macros from bp-asm.h.
12769 (DEST): Likewise.
12770 (SRC): Likewise.
12771 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12772 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12773 "bp-asm.h".
12774 (PARMS): Do not use macros from bp-asm.h.
12775 (strlen): Do not use BP_SYM.
12776 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12777 "bp-asm.h".
12778 (PARMS): Do not use macros from bp-asm.h.
12779 (S1): Likewise.
12780 (S2): Likewise.
12781 (SIZE): Likewise.
12782 (__mpn_add_n): Do not use BP_SYM.
12783 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12784 "bp-asm.h".
12785 (PARMS): Do not use macros from bp-asm.h.
12786 (S1): Likewise.
12787 (SIZE): Likewise.
12788 (__mpn_addmul_1): Do not use BP_SYM.
12789 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12790 weak_alias.
12791 (bzero): Likewise.
12792 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12793 "bp-asm.h".
12794 (PARMS): Do not use macros from bp-asm.h.
12795 (S): Likewise.
12796 (SIZE): Likewise.
12797 (__mpn_lshift): Do not use BP_SYM.
12798 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12799 "bp-asm.h".
12800 (PARMS): Do not use macros from bp-asm.h.
12801 (DEST): Likewise.
12802 (SRC): Likewise.
12803 (LEN): Likewise.
12804 (memcpy): Likewise. Do not use BP_SYM.
12805 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12806 libc_hidden_def and weak_alias.
12807 (mempcpy): Do not use BP_SYM in weak_alias.
12808 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12809 "bp-asm.h".
12810 (PARMS): Do not use macros from bp-asm.h.
12811 (DEST): Likewise.
12812 (LEN): Likewise.
12813 [!BZERO_P] (CHR): Likewise.
12814 (memset): Likewise. Do not use BP_SYM.
12815 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12816 "bp-asm.h".
12817 (PARMS): Do not use macros from bp-asm.h.
12818 (S1): Likewise.
12819 (SIZE): Likewise.
12820 (__mpn_mul_1): Do not use BP_SYM.
12821 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12822 "bp-asm.h".
12823 (PARMS): Do not use macros from bp-asm.h.
12824 (S): Likewise.
12825 (SIZE): Likewise.
12826 (__mpn_rshift): Do not use BP_SYM.
12827 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12828 "bp-asm.h".
12829 (PARMS): Do not use macros from bp-asm.h.
12830 (STR): Likewise.
12831 (CHR): Likewise.
12832 (strchr): Likewise. Do not use BP_SYM.
12833 (index): Do not use BP_SYM in weak_alias.
12834 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12835 "bp-asm.h".
12836 (PARMS): Do not use macros from bp-asm.h.
12837 (DEST): Likewise.
12838 (SRC): Likewise.
12839 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12840 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12841 "bp-asm.h".
12842 (PARMS): Do not use macros from bp-asm.h.
12843 (strlen): Do not use BP_SYM.
12844 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12845 "bp-asm.h".
12846 (PARMS): Do not use macros from bp-asm.h.
12847 (S1): Likewise.
12848 (S2): Likewise.
12849 (SIZE): Likewise.
12850 (__mpn_sub_n): Do not use BP_SYM.
12851 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12852 "bp-asm.h".
12853 (PARMS): Do not use macros from bp-asm.h.
12854 (S1): Likewise.
12855 (SIZE): Likewise.
12856 (__mpn_submul_1): Do not use BP_SYM.
12857 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12858 "bp-asm.h".
12859 (PARMS): Do not use macros from bp-asm.h.
12860 (S1): Likewise.
12861 (S2): Likewise.
12862 (SIZE): Likewise.
12863 (__mpn_add_n): Do not use BP_SYM.
12864 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12865 weak_alias.
12866 (bzero): Likewise.
12867 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12868 "bp-asm.h".
12869 (PARMS): Do not use macros from bp-asm.h.
12870 (BLK2): Likewise.
12871 (LEN): Likewise.
12872 (memcmp): Do not use BP_SYM.
12873 (bcmp): Do not use BP_SYM in weak_alias.
12874 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12875 "bp-asm.h".
12876 (PARMS): Do not use macros from bp-asm.h.
12877 (DEST): Likewise.
12878 (SRC): Likewise.
12879 (LEN): Likewise.
12880 (memcpy): Likewise. Do not use BP_SYM.
12881 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12882 "bp-asm.h".
12883 (PARMS): Do not use macros from bp-asm.h.
12884 (DEST): Likewise.
12885 (SRC): Likewise.
12886 (LEN): Likewise.
12887 (memmove): Likewise. Do not use BP_SYM.
12888 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12889 "bp-asm.h".
12890 (PARMS): Do not use macros from bp-asm.h.
12891 (DEST): Likewise.
12892 (SRC): Likewise.
12893 (LEN): Likewise.
12894 (__mempcpy): Likewise. Do not use BP_SYM.
12895 (mempcpy): Do not use BP_SYM in weak_alias.
12896 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12897 "bp-asm.h".
12898 (PARMS): Do not use macros from bp-asm.h.
12899 (DEST): Likewise.
12900 (LEN): Likewise.
12901 [!BZERO_P] (CHR): Likewise.
12902 (memset): Likewise. Do not use BP_SYM.
12903 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12904 "bp-asm.h".
12905 (PARMS): Do not use macros from bp-asm.h.
12906 (STR2): Likewise.
12907 (strcmp): Do not use BP_SYM.
12908 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12909 "bp-asm.h".
12910 (PARMS): Do not use macros from bp-asm.h.
12911 (STR): Likewise.
12912 (DELIM): Likewise.
12913 [USE_AS_STRTOK_R] (SAVE): Likewise.
12914 (FUNCTION): Likewise. Do not use BP_SYM.
12915 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12916 aliases.
12917 (strtok_r): Likewise.
12918 (__GI___strtok_r): Likewise.
12919 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12920 (PARMS): Do not use macros from bp-asm.h.
12921 (S): Likewise.
12922 (SIZE): Likewise.
12923 (__mpn_lshift): Do not use BP_SYM.
12924 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12925 (PARMS): Do not use macros from bp-asm.h.
12926 (STR): Likewise.
12927 (CHR): Likewise.
12928 (__memchr): Do not use BP_SYM.
12929 (memchr): Do not use BP_SYM in weak_alias.
12930 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12931 (PARMS): Do not use macros from bp-asm.h.
12932 (BLK2): Likewise.
12933 (LEN): Likewise.
12934 (memcmp): Do not use BP_SYM.
12935 (bcmp): Do not use BP_SYM in weak_alias.
12936 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12937 (PARMS): Do not use macros from bp-asm.h.
12938 (S1): Likewise.
12939 (SIZE): Likewise.
12940 (__mpn_mul_1): Do not use BP_SYM.
12941 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12942 "bp-asm.h".
12943 (PARMS): Do not use macros from bp-asm.h.
12944 (STR): Likewise.
12945 (CHR): Likewise.
12946 (__rawmemchr): Do not use BP_SYM.
12947 (rawmemchr): Do not use BP_SYM in weak_alias.
12948 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12949 (PARMS): Do not use macros from bp-asm.h.
12950 (S): Likewise.
12951 (SIZE): Likewise.
12952 (__mpn_rshift): Do not use BP_SYM.
12953 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12954 (PARMS): Do not use macros from bp-asm.h.
12955 (SIGMSK): Likewise.
12956 (__sigsetjmp): Likewise. Do not use BP_SYM.
12957 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12958 (_start): Do not use BP_SYM.
12959 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12960 (PARMS): Do not use macros from bp-asm.h.
12961 (DEST): Likewise.
12962 (SRC): Likewise.
12963 (__stpcpy): Likewise. Do not use BP_SYM.
12964 (stpcpy): Do not use BP_SYM in weak_alias.
12965 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12966 "bp-asm.h".
12967 (PARMS): Do not use macros from bp-asm.h.
12968 (DEST): Likewise.
12969 (SRC): Likewise.
12970 (LEN): Likewise.
12971 (__stpncpy): Likewise. Do not use BP_SYM.
12972 (stpncpy): Do not use BP_SYM in weak_alias.
12973 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12974 (PARMS): Do not use macros from bp-asm.h.
12975 (STR): Likewise.
12976 (CHR): Likewise.
12977 (strchr): Likewise. Do not use BP_SYM.
12978 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12979 "bp-asm.h".
12980 (PARMS): Do not use macros from bp-asm.h.
12981 (STR): Likewise.
12982 (CHR): Likewise.
12983 (__strchrnul): Likewise. Do not use BP_SYM.
12984 (strchrnul): Do not use BP_SYM in weak_alias.
12985 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12986 "bp-asm.h".
12987 (PARMS): Do not use macros from bp-asm.h.
12988 (STOP): Likewise.
12989 (strcspn): Do not use BP_SYM.
12990 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12991 "bp-asm.h".
12992 (PARMS): Do not use macros from bp-asm.h.
12993 (STR): Likewise.
12994 (STOP): Likewise.
12995 (strpbrk): Likewise. Do not use BP_SYM.
12996 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12997 "bp-asm.h".
12998 (PARMS): Do not use macros from bp-asm.h.
12999 (STR): Likewise.
13000 (CHR): Likewise.
13001 (strrchr): Likewise. Do not use BP_SYM.
13002 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13003 (PARMS): Do not use macros from bp-asm.h.
13004 (SKIP): Likewise.
13005 (strspn): Do not use BP_SYM.
13006 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13007 (PARMS): Do not use macros from bp-asm.h.
13008 (STR): Likewise.
13009 (DELIM): Likewise.
13010 (SAVE): Likewise.
13011 (FUNCTION): Likewise. Do not use BP_SYM.
13012 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13013 aliases.
13014 (strtok_r): Likewise.
13015 (__GI___strtok_r): Likewise.
13016 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13017 (PARMS): Do not use macros from bp-asm.h.
13018 (S1): Likewise.
13019 (S2): Likewise.
13020 (SIZE): Likewise.
13021 (__mpn_sub_n): Do not use BP_SYM.
13022 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13023 "bp-asm.h".
13024 (PARMS): Do not use macros from bp-asm.h.
13025 (S1): Likewise.
13026 (SIZE): Likewise.
13027 (__mpn_submul_1): Do not use BP_SYM.
13028 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13029 <bp-sym.h>.
13030 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13031 and <bp-asm.h>.
13032 (PARMS): Do not use macros from bp-asm.h.
13033 (FLAGS): Likewise.
13034 (PTID): Likewise.
13035 (TLS): Likewise.
13036 (CTID): Likewise.
13037 (__clone): Do not use BP_SYM.
13038 (clone): Do not use BP_SYM in weak_alias.
13039 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13040 and <bp-asm.h>.
13041 (PARMS): Do not use macros from bp-asm.h.
13042 (LEN): Likewise.
13043 (__mmap64): Do not use BP_SYM.
13044 (mmap64): Do not use BP_SYM in weak_alias.
13045 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13046 <bp-sym.h> and <bp-asm.h>.
13047 (PARMS): Do not use macros from bp-asm.h.
13048 (__posix_fadvise64_l64): Do not use BP_SYM.
13049 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13050 (PARMS): Do not use macros from bp-asm.h.
13051 (NSOPS): Likewise.
13052 (semtimedop): Do not use BP_SYM.
13053 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13054 and <bp-asm.h>.
13055
582a3cff
AM
130562013-02-21 Allan McRae <allan@archlinux.org>
13057
13058 * manual/message.texi (Charset conversion in gettext):
13059 Move @end statement to beginning of line.
13060
bab8a695
SP
130612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13062
80945231
SP
13063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13064 static.
13065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13066 Likewise.
13067
bab8a695
SP
13068 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13069 (denorm): Likewise.
13070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13072
e21d7aa7
AK
130732013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13074
13075 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13076 tail-call to the resolved function if pltexit isn't needed.
13077
4c7a4263
SP
130782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13079
13080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13081 or Y being zero as being unlikely.
13082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13083 Likewise.
13084
41f49342
CD
130852013-02-20 Carlos O'Donell <carlos@redhat.com>
13086
13087 * manual/nss.texi (System Databases and Name Service Switch):
13088 Remove frobnicate @pxref.
13089
50022a93
TS
130902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13091
13092 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13093 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13094
08cbd996
PM
130952013-02-20 Petr Machata <pmachata@redhat.com>
13096
13097 * elf/elf.h (R_ARM_TARGET1): New macro.
13098 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13099 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13100 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13101 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13102 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13103 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13104 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13105 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13106 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13107 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13108 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13109 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13110 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13111 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13112 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13113 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13114 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13115 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13116 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13117 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13118 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13119 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13120 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13121 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13122 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13123 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13124 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13125 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13126 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13127 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13128 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13129 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13130 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13131 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13132 (R_ARM_THM_GOT_BREL12): Likewise.
13133 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13134 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13135 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13136 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13137 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13138 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13139 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13140 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13141 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13142
c7b275d6
TS
131432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13144
13145 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13146 __attribute_used__ to __attribute__ ((unused)).
13147
20cd7fb3
SP
131482013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13149
13150 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13151 powerpc mpa.c.
13152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13153 comment formatting.
13154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13155
92945b52
JM
131562013-02-19 Joseph Myers <joseph@codesourcery.com>
13157
13158 [BZ #13550]
13159 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13160 Remove macro.
13161 (ENTER): Remove both macro definitions.
13162 (LEAVE): Likewise.
13163 (CHECK_BOUNDS_LOW): Likewise.
13164 (CHECK_BOUNDS_HIGH): Likewise.
13165 (CHECK_BOUNDS_BOTH): Likewise.
13166 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13167 (RETURN_BOUNDED_POINTER): Likewise.
13168 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13169 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13170 (POP_ERRNO_LOCATION_RETURN): Likewise.
13171 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13172 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13173 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13174 macros.
13175 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13176 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13177 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13178 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13179 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13180 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13181 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13182 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13183 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13184 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13185 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13186 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13187 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13188 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13189 removed macros.
13190 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13191 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13192 macros.
13193 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13194 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13195 * sysdeps/i386/i586/memset.S (memset): Likewise.
13196 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13197 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13198 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13199 macros.
13200 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13201 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13202 Change uses of L(2) to L(out).
13203 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13204 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13205 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13206 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13207 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13208 removed macros.
13209 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13210 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13211 macros.
13212 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13213 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13214 (RETURN): Do not use macro LEAVE.
13215 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13216 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13217 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13218 * sysdeps/i386/i686/memset.S (memset): Likewise.
13219 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13220 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13221 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13222 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13223 Likewise.
13224 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13225 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13226 L(1_2) and L(1_3) into L(1).
13227 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13228 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13229 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13230 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13231 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13232 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13233 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13234 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13235 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13236 macros.
13237 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13238 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13239 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13240 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13241 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13242 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13243 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13244 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13245 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13246 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13247 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13248 * sysdeps/i386/strspn.S (strspn): Likewise.
13249 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13250 conditional code.
13251 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13252 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13253 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13254 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13255 L(1_3) into L(1_1).
13256 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13257 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13258 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13259 macros.
13260 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13261
2389741a
JJ
132622013-02-19 Jakub Jelinek <jakub@redhat.com>
13263
13264 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13265 macro.
13266
2016b3cd
SP
132672013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13268
e4f22324
SP
13269 * math/atest-exp.c (exp_mpn): Remove ROUND.
13270 * math/atest-exp2.c (exp_mpn): Likewise.
13271 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13272
2016b3cd
SP
13273 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13274 * stdlib/tst-tls-atexit-lib.c: Likewise.
13275 * stdlib/tst-tls-atexit.c: Likewise.
13276
4be9b544
MF
132772013-02-18 Mike Frysinger <vapier@gentoo.org>
13278
13279 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13280 and __attribute_alloc_size__.
13281
2f62b9ee
MF
132822013-02-18 Mike Frysinger <vapier@gentoo.org>
13283
13284 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13285 __attribute_alloc_size__.
13286 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13287 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13288
6ff444c4
MF
132892013-02-18 Mike Frysinger <vapier@gentoo.org>
13290
13291 * include/programs/xmalloc.h: New file.
13292 * catgets/gencat.c: Include it.
13293 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13294 * elf/pldd.c: Likewise.
13295 * iconv/iconv_charmap.c: Likewise.
13296 * iconv/iconvconfig.c: Likewise.
13297 * iconv/strtab.c: Likewise.
13298 * locale/programs/locale.c: Likewise.
13299 * locale/programs/localedef.h: Likewise.
13300 * locale/programs/simple-hash.c: Likewise.
13301 * nscd/nscd.h: Likewise.
13302 * nss/makedb.c: Likewise.
13303 * sysdeps/generic/ldconfig.h: Likewise.
13304
be179c8a
SP
133052013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13306
ba384f6e
SP
13307 * Versions.def: Add GLIBC_2.18.
13308 * include/link.h (struct link_map): New member l_tls_dtor_count.
13309 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13310 (__call_tls_dtors): Likewise.
13311 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13312 __cxa_thread_atexit_impl.
13313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13314 Likewise.
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13316 Likewise.
13317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13318 Likewise.
13319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13320 Likewise.
13321 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13323 Likewise.
13324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13325 Likewise.
13326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13328 Likewise.
13329 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13330 (tests): Add test case tst-tls-atexit.
13331 (modules-names): Add shared library for tst-tls-atexit.
85891aca 13332 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
13333 (GLIBC_PRIVATE): Add __call_tls_dtors.
13334 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13335 for libstdc++.
13336 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13337 * stdlib/tst-tls-atexit.c: New test case.
13338 * stdlib/tst-tls-atexit-lib.c: New test case.
13339
ffaa74cf 13340 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 13341
be179c8a
SP
13342 * elf/Versions (ld): Add _dl_find_dso_for_object.
13343 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13344 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13345 (dl_open_worker): Use _dl_find_dso_for_object.
13346 * elf/dl-sym.c (do_sym): Likewise.
13347 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13348
f78b5caa
AK
133492013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13350
13351 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13352 Syntactic changes only.
13353 (_dl_runtime_profile): Do a tail-call to the resolved function.
13354
29691210
JM
133552013-02-17 Joseph Myers <joseph@codesourcery.com>
13356
13357 [BZ #13550]
13358 * sysdeps/x86_64/bp-asm.h: Remove file.
13359 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13360 <bp-sym.h> and <bp-asm.h>.
13361 (__clone): Do not use BP_SYM.
13362 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13363 <bp-sym.h> and <bp-asm.h>.
13364 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13365 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13366 "bp-asm.h".
13367 (_setjmp): Do not use BP_SYM.
13368 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13369 "bp-asm.h".
13370 (setjmp): Do not use BP_SYM.
13371 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13372 libc_hidden_def.
13373 (mempcpy): Do not use BP_SYM in weak_alias.
13374 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13375 "bp-asm.h".
13376 (strchr): Do not use BP_SYM.
13377 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13378 "bp-asm.h".
13379 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13380 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13381 (_start): Do not use BP_SYM.
13382 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13383 "bp-asm.h".
13384 (strcat): Do not use BP_SYM.
13385 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13386 "bp-asm.h".
13387 (STRCMP): Do not use BP_SYM.
13388 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13389 "bp-asm.h".
13390 (STRCPY): Do not use BP_SYM.
13391 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13392 "bp-asm.h".
13393 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13394 "bp-asm.h".
13395 (FUNCTION): Do not use BP_SYM.
13396 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13397 weak_alias.
13398 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13399
f238fd19
AJ
134002013-02-17 Andreas Jaeger <aj@suse.de>
13401
13402 * time/Versions: Sort entries.
13403 * string/Versions: Likewise.
13404 * resolv/Versions: Likewise.
13405 * posix/Versions: Likewise.
13406 * iconv/Versions: Likewise.
13407 * elf/Versions: Likewise.
13408 * wcsmbs/Versions: Likewise.
13409
bd07f23c 134102013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13411
22af19f9
SP
13412 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13413 loop termination condition.
13414
4709fe76
SP
13415 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13416 variable to calculate EZ.
13417 (__sqr): Likewise.
2d0e0f29
SP
13418
13419 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13420 the lower precision input.
13421
daaa7713
JM
134222013-02-15 Joseph Myers <joseph@codesourcery.com>
13423
13424 [BZ #13550]
13425 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13426 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13427 (run-via-rtld-prefix): Do not handle %-bp tests.
13428 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13429 (all-object-suffixes): Remove .ob.
13430 (bppfx): Remove variable.
13431 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13432 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13433 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13434 [$(build-bounded) = yes] (libtype.ob): Likewise.
13435 * Makerules (elide-routines.ob): Remove variable.
13436 (do-tests-clean): Do not handle *-bp.out.
13437 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13438 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13439 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13440 (tests): Do not include $(tests-bp.out).
13441 (xtests): Do not include $(xtests-bp.out).
13442 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13443 [$(build-bounded) = yes] ($(addprefix
13444 $(objpfx),$(binaries-bounded))): Remove rule.
13445 ($(objpfx)%-bp.out): Remove rule.
13446 * config.make.in (build-bounded): Remove variable.
13447 * crypt/Makefile [$(build-bounded) = yes]
13448 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13449 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13450 append to variable.
13451 [$(build-bounded) = yes] (install-lib): Likewise.
13452 [$(build-bounded) = yes] (generated): Likewise.
13453 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13454 Remove rule.
13455 * intl/Makefile [$(build-bounded) = yes]
13456 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13457 * math/Makefile [$(build-bounded) = yes]
13458 ($(tests:%=$(objpfx)%-bp): Likewise.
13459 * misc/Makefile [$(build-bounded) = yes]
13460 ($(objpfx)tst-tsearch-bp): Likewise.
13461 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13462 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13463 Remove dependency.
13464 * string/Makefile (o-objects.ob): Remove variable.
13465 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13466 (CFLAGS-.ob): Remove variable.
13467 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13468 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13469 both definitions of variable.
13470 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13471 (ASFLAGS-.ob): Remove variable.
13472
e97ed6dd
JM
134732013-02-14 Joseph Myers <joseph@codesourcery.com>
13474
2bdd4ca6
JM
13475 [BZ #13550]
13476 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13477 Remove __BOUNDED_POINTERS__ from condition.
13478 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13479 * string/bits/string2.h [!__NO_STRING_INLINES &&
13480 !__BOUNDED_POINTERS__]: Likewise.
13481 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13482 Likewise.
13483 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13484 Remove conditional code.
13485 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13486 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13487 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13488 condition.
13489
e97ed6dd
JM
13490 [BZ #13550]
13491 * csu/libc-start.c: Do not include <bp-sym.h>.
13492 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13493 * elf/dl-open.c: Do not include <bp-sym.h>.
13494 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13495 * math/fegetenv.c: Do not include <bp-sym.h>.
13496 (fegetenv): Do not use BP_SYM in versioned symbols.
13497 * nptl/sysdeps/pthread/bits/libc-lockP.h
13498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13499 <bp-sym.h>.
13500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13501 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13503 (__pthread_mutex_destroy): Likewise.
13504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13505 (__pthread_mutex_lock): Likewise.
13506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13507 (__pthread_mutex_trylock): Likewise.
13508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13509 (__pthread_mutex_unlock): Likewise.
13510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13511 (__pthread_mutexattr_init): Likewise.
13512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13513 (__pthread_mutexattr_destroy): Likewise.
13514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13515 (__pthread_mutexattr_settype): Likewise.
13516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13517 (__pthread_rwlock_init): Likewise.
13518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13519 (__pthread_rwlock_destroy): Likewise.
13520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13521 (__pthread_rwlock_rdlock): Likewise.
13522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13523 (__pthread_rwlock_tryrdlock): Likewise.
13524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13525 (__pthread_rwlock_wrlock): Likewise.
13526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13527 (__pthread_rwlock_trywrlock): Likewise.
13528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13529 (__pthread_rwlock_unlock): Likewise.
13530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13531 (__pthread_key_create): Likewise.
13532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13533 (__pthread_setspecific): Likewise.
13534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13535 (__pthread_getspecific): Likewise.
13536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13537 Likewise.
13538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13539 (_pthread_cleanup_push_defer): Likewise.
13540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13541 (_pthread_cleanup_pop_restore): Likewise.
13542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13543 (pthread_setcancelstate): Likewise.
13544 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13545 <bp-sym.h>.
13546 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13547 (memchr): Do not use BP_SYM in weak_alias.
13548 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13549 (fegetenv): Do not use BP_SYM in versioned symbols.
13550 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13551 (fesetenv): Do not use BP_SYM in versioned symbols.
13552 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13553 (feupdateenv): Do not use BP_SYM in versioned symbols.
13554 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13555 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13556 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13557 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13558 (open64): Do not use BP_SYM in weak_alias.
13559 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13560 (fegetenv): Do not use BP_SYM in versioned symbols.
13561 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13562 (fesetenv): Do not use BP_SYM in versioned symbols.
13563 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13564 (feupdateenv): Do not use BP_SYM in versioned symbols.
13565 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13566 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13567 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13568 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13569 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13570 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13571 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13572 <bp-sym.h>.
13573 (__libc_start_main): Do not use BP_SYM.
13574
d6752ccd
SP
135752013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13576
cb57ce60
SP
13577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13578 redundant return line.
13579 (norm): Likewise.
13580 (denorm): Likewise.
13581 (dbl_mp): Likewise.
13582 (sub_magnitudes): Likewise.
13583 (__add): Likewise.
13584 (__sub): Likewise.
13585 (__mul): Likewise.
13586 (__inv): Likewise.
13587 (__dvd): Likewise.
13588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13589 (norm): Likewise.
13590 (denorm): Likewise.
13591 (dbl_mp): Likewise.
13592 (sub_magnitudes): Likewise.
13593 (__add): Likewise.
13594 (__sub): Likewise.
13595 (__mul): Likewise.
13596 (__inv): Likewise.
13597 (__dvd): Likewise.
13598
f414520d
SP
13599 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13600 instead of __mul.
13601 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13602 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13603 (cc32): Likewise.
13604
d6752ccd
SP
13605 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13606 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13608 of __mul for squares.
13609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13610 function
13611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13612 Likewise.
13613 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13614 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13615
70d9946a
JM
136162013-02-13 Joseph Myers <joseph@codesourcery.com>
13617
13618 [BZ #13550]
13619 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13620 code.
13621 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13622 prototype or function definition. Rename ubp_* variables and
13623 parameters. Remove argv definitions conditional on
13624 [__BOUNDED_POINTERS__].
13625 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13626 * elf/dl-runtime.c (_dl_fixup): Likewise.
13627 * include/set-hooks.h (RUN_HOOK): Likewise.
13628 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13629 definition.
13630 * string/strcpy.c (strcpy): Do not use __unbounded.
13631 * sysdeps/generic/frame.h (struct layout): Likewise.
13632 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13633 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13634 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13635 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13636 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13637 (__backtrace): Likewise.
13638 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13639 use __ptrvalue.
13640 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13641 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13642 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13643 Likewise.
13644 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13645 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13646 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13647 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13648 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13649 Do not use __unbounded.
13650 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13651 Rename __unboundedrlimits parameter to rlimits in prototype.
13652 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13653 Do not use __unbounded.
13654 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13655 not use __ptrvalue.
13656 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13657 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13658 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13659 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13660 __ptrvalue or __unbounded.
13661 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13662 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13663 use __unbounded.
13664 (__new_msgctl): Do not use __ptrvalue.
13665 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13666 __unbounded.
13667 (__libc_msgrcv): Do not use __ptrvalue.
13668 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13669 startup_info): Do not use __unbounded.
13670 (__libc_start_main): Likewise. Rename ubp_* variables and
13671 parameters. Remove argv definitions conditional on
13672 [__BOUNDED_POINTERS__].
13673 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13674 __ptrvalue.
13675 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13676 use __unbounded.
13677 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13678 or __ptrvalue.
13679 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13680 use __unbounded.
13681 (__new_shmctl): Do not use __ptrvalue.
13682 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13683 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13684 Likewise.
13685 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13686 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13687 (__libc_sigaction): Likewise.
13688 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13689 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13690 Likewise.
13691 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13692
cc7834d6
OB
136932013-02-13 Ondřej Bílka <neleai@seznam.cz>
13694
ffb1ec7b 13695 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13696
13697 * string/mempcpy.c: Implement by calling memcpy.
13698
bdf02814
SP
136992013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13700
c2af38aa
SP
13701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13702
4e92d59e
SP
13703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13704 evaluation.
13705
909279a5
SP
13706 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13707 values in the mantissa.
13708
bdf02814
SP
13709 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13710 minimize writes to Z.
13711 (sub_magnitudes): Simplify code a bit.
13712
cd525923
RM
137132013-02-12 Roland McGrath <roland@hack.frob.com>
13714
13715 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13716 from the message. The linker prefixes all warnings with that already.
13717
7e2f0d2d
AS
137182013-02-12 Andreas Schwab <schwab@suse.de>
13719
a445af0b
AS
13720 [BZ #15078]
13721 * posix/regexec.c (extend_buffers): Add parameter min_len.
13722 (check_matching): Pass minimum needed length.
13723 (clean_state_log_if_needed): Likewise.
13724 (get_subexp): Likewise.
13725 * posix/Makefile (tests): Add bug-regex34.
13726 (bug-regex34-ENV): Define.
13727 * posix/bug-regex34.c: New file.
13728
7e2f0d2d
AS
13729 [BZ #11561]
13730 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13731 elements compare against the byte sequence of it, not its name.
13732 * posix/Makefile (tests): Add bug-regex35.
13733 (bug-regex35-ENV): Define.
13734 * posix/bug-regex35.c: New file.
13735
a175b684
TV
137362013-02-11 Tom de Vries <tom@codesourcery.com>
13737
13738 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13739 comment.
13740 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13741 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13742 (CHECK_EOL): Add undef.
13743
310998fe 137442013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13745
13746 * bits/stdlib-bsearch.h: New file.
13747 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13748 * stdlib/stdlib.h: Likewise.
41eda41d 13749
8ded91fb
RM
137502013-02-11 Roland McGrath <roland@hack.frob.com>
13751
13752 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13753 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13754 declaration.
13755 * manual/search.texi (Array Search Function): Add missing const in
13756 lfind prototype.
13757 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13758 declaration to use rlim_t.
13759 (Basic Scheduling Functions): Remove erroneous const from
13760 sched_getparam prototype. Remove erroneous * from
13761 sched_get_priority_max and sched_get_priority_min prototypes.
13762 (Resource Usage): Fix summary @comment on vtimes to refer to
13763 sys/vtimes.h rather than vtimes.h.
13764 Add missing *s in vtimes prototype.
13765 (Limits on Resources): Fix ulimit prototype to return long int.
13766 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13767 prototypes to use long int rather than double.
13768 (BSD Random): Fix initstate and setstate to use char *, not void *.
13769 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13770 prototype to make second argument 'struct aiocb64 *const[]'.
13771 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13772 (Status of AIO Operations): Remove erroneous const in aio_return and
13773 aio_return64 prototypes.
13774 (Synchronizing I/O): Fix sync prototype to return void.
13775 * manual/startup.texi (Suboptions): Remove an erroneous const in
13776 getsubopt prototype.
13777 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13778 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13779 use size_t rather than int.
13780 (Scanning All Users): Likewise for getpwent_r.
13781 (Setting Groups): Add missing const to setgroups prototype.
13782 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13783 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13784 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13785 'const void *' rather than 'const char *'.
13786 (Host Address Functions): Likewise for inet_ntop.
13787 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13788 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13789 ssize_t for return value.
13790 (Sending Data): Likewise for send, sendto, sendmsg.
13791 (Socket Option Functions): Add a missing const in setsockopt prototype.
13792 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13793 use wchar_t for the argument.
13794 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13795 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13796 take no arguments.
13797 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13798 double/float/long double for second argument.
13799 Fix return types of significand, significandf, significandl.
13800 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13801 argument in fchmod prototype.
13802 (File Owner): Use uid_t and gid_t in fchown prototype.
13803 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13804 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13805 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13806 use 'const struct dirent **' as argument types to CMP function pointer
13807 argument.
13808 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13809 (File Times): Fix summary magic @comment for struct utimbuf and utime
13810 to refer to utime.h, not time.h.
13811 * manual/string.texi (Argz Functions): Add missing const in
13812 argz_extract and argz_next prototypes.
13813 (Finding Tokens in a String): Likewise for basename.
13814 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13815 (Copying and Concatenation): Fix typo in wmemmove prototype.
13816 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13817 (Signal Stack): Remove erroneous const in sigstack prototype.
13818 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13819 prototype.
13820 (Simple Calendar Time): Likewise for stime.
13821 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13822 prototype.
13823 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13824 say sys/sysctl.h instead.
13825 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13826 and vsyslog prototypes.
13827
fe77fe6d
TV
138282013-02-11 Tom de Vries <tom@codesourcery.com>
13829
13830 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13831 Remove.
13832
3a09b620
RM
138332013-02-11 Roland McGrath <roland@hack.frob.com>
13834
13835 * misc/sys/mman.h: Fix typo in mremap comment.
13836
550a0b89
RM
138372013-02-08 Roland McGrath <roland@hack.frob.com>
13838
13839 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13840 the '\0' terminator.
13841
a2da1673
JM
138422013-02-08 Joseph Myers <joseph@codesourcery.com>
13843
13844 [BZ #13550]
13845 * debug/segfault.c: Don't include <bp-checks.h>.
13846 * sysdeps/generic/bp-checks.h: Remove file.
13847 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13848 (__GETDENTS): Don't use CHECK_N.
13849 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13850 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13851 (__getgroups): Don't use CHECK_N.
13852 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13853 (setgroups): Don't use CHECK_N.
13854 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13855 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13856 (__libc_msgrcv): Don't use CHECK_N.
13857 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13858 (__libc_msgsnd): Don't use CHECK_N.
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13860 <bp-checks.h>.
13861 (__libc_pread): Don't use CHECK_N.
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13863 include <bp-checks.h>.
13864 (__libc_pread64): Don't use CHECK_N.
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13866 include <bp-checks.h>.
13867 (__libc_pwrite): Don't use CHECK_N.
13868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13869 include <bp-checks.h>.
13870 (__libc_pwrite64): Don't use CHECK_N.
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13872 <bp-checks.h>.
13873 (__libc_pread): Don't use CHECK_N.
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13875 include <bp-checks.h>.
13876 (__libc_pread64): Don't use CHECK_N.
13877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13878 include <bp-checks.h>.
13879 (__libc_pwrite): Don't use CHECK_N.
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13881 include <bp-checks.h>.
13882 (__libc_pwrite64): Don't use CHECK_N.
13883 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13884 (do_pread): Don't use CHECK_N.
13885 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13886 (do_pread64): Don't use CHECK_N.
13887 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13888 (do_pwrite): Don't use CHECK_N.
13889 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13890 (do_pwrite64): Don't use CHECK_N.
13891 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13892 (__libc_readv): Don't use CHECK_N.
13893 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13894 (semop): Don't use CHECK_N.
13895 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13896 <bp-checks.h>.
13897 (semtimedop): Don't use CHECK_N.
13898 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13899 (__libc_pread): Don't use CHECK_N.
13900 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13901 <bp-checks.h>.
13902 (__libc_pread64): Don't use CHECK_N.
13903 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13904 <bp-checks.h>.
13905 (__libc_pwrite): Don't use CHECK_N.
13906 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13907 <bp-checks.h>.
13908 (__libc_pwrite64): Don't use CHECK_N.
13909 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13910 <bp-checks.h>.
13911 (__libc_msgrcv): Don't use CHECK_N.
13912 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13913 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13914 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13915 (__libc_writev): Don't use CHECK_N.
13916
b84660a8
RM
139172013-02-08 Roland McGrath <roland@hack.frob.com>
13918
7f3e75f8
RM
13919 * string/strcpy.c: Removed unused variable.
13920
b84660a8
RM
13921 * Makeconfig (+sysdep-includes): Define with := rather than =.
13922 Use an existing include/ subdir of each sysdeps dir before it.
13923
471514d3
CD
139242013-02-08 Carlos O'Donell <carlos@redhat.com>
13925
13926 * nscd/connection.c (register_traced_file): Comment function.
13927 [HAVE_INOTIFY] (union __inev): Define.
13928 [HAVE_INOTIFY] (inotify_check_files): New function.
13929 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13930 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13931 clear_db_cache.
13932 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13933
b2d3c3be
CD
139342013-02-08 Carlos O'Donell <carlos@redhat.com>
13935
13936 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13937 loaded if not already and that a failure is permanent.
13938
b39949d2
CD
139392013-02-08 Carlos O'Donell <carlos@redhat.com>
13940
ddacd1db 13941 [BZ #15006]
b39949d2
CD
13942 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13943 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13944
b2c9eff4
JM
139452013-02-08 Joseph Myers <joseph@codesourcery.com>
13946
f3aae3f3
JM
13947 [BZ #13550]
13948 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13949 (CHECK_1_NULL_OK): Likewise.
13950 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13951 (__fxstat): Do not use CHECK_1.
13952 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13953 <bp-checks.h>.
13954 (___fxstat64): Do not use CHECK_1.
13955 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13956 <bp-checks.h>.
13957 (__fxstatat): Do not use CHECK_1.
13958 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13959 <bp-checks.h>.
13960 (__fxstatat64): Do not use CHECK_1.
13961 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13962 <bp-checks.h>.
13963 (__fxstat): Do not use CHECK_1.
13964 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13965 <bp-checks.h>.
13966 (__fxstatat): Do not use CHECK_1.
13967 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13968 <bp-checks.h>.
13969 (__getresgid): Do not use CHECK_1.
13970 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13971 <bp-checks.h>.
13972 (__getresuid): Do not use CHECK_1.
13973 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13974 <bp-checks.h>.
13975 (__lxstat): Do not use CHECK_1.
13976 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13977 <bp-checks.h>.
13978 (__old_msgctl): Do not use CHECK_1.
13979 (__new_msgctl): Likewise.
13980 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13981 <bp-checks.h>.
13982 (__new_setrlimit): Do not use CHECK_1.
13983 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13984 <bp-checks.h>.
13985 (__old_shmctl): Do not use CHECK_1.
13986 (__new_shmctl): Likewise.
13987 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13988 <bp-checks.h>.
13989 (__xstat): Do not use CHECK_1.
13990 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13991 (__lxstat): Do not use CHECK_1.
13992 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13993 <bp-checks.h>.
13994 (___lxstat64): Do not use CHECK_1.
13995 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13996 (__old_msgctl): Do not use CHECK_1.
13997 (__new_msgctl): Likewise.
13998 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13999 <bp-checks.h>.
14000 (__gettimeofday): Do not use CHECK_1.
14001 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14002 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14003 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14004 <bp-checks.h>.
14005 (__gettimeofday): Do not use CHECK_1.
14006 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14007 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14008 (__new_shmctl): Do not use CHECK_1.
14009 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14010 <bp-checks.h>.
14011 (do_sigtimedwait): Do not use CHECK_1.
14012 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14013 <bp-checks.h>.
14014 (do_sigwaitinfo): Do not use CHECK_1.
14015 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14016 <bp-checks.h>.
14017 (msgctl): Do not use CHECK_1.
14018 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14019 <bp-checks.h>.
14020 (shmctl): Do not use CHECK_1.
14021 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14022 (ustat): Do not use CHECK_1.
14023 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14024 <bp-checks.h>.
14025 (__fxstat): Do not use CHECK_1.
14026 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14027 <bp-checks.h>.
14028 (__fxstatat): Do not use CHECK_1.
14029 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14030 <bp-checks.h>.
14031 (__lxstat): Do not use CHECK_1.
14032 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14033 <bp-checks.h>.
14034 (__xstat): Do not use CHECK_1.
14035 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14036 (__xstat): Do not use CHECK_1.
14037 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14038 (___xstat64): Do not use CHECK_1.
14039
b2c9eff4
JM
14040 [BZ #13550]
14041 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14042 definitions.
14043 (CHECK_BOUNDS_HIGH): Likewise.
14044 * string/strcpy.c: Do not include <bp-checks.h>.
14045 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14046
f1d70dad
RM
140472013-02-07 Roland McGrath <roland@hack.frob.com>
14048
14049 * nscd/nscd-client.h (__nscd_drop_map_ref):
14050 Add __attribute__ ((unused)).
14051 * nis/nss-nisplus.h (niserr2nss): Likewise.
14052
14053 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14054 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14055
14056 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14057 Remove inline keyword.
14058 * include/rounding-mode.h (round_away): Likewise.
14059 * libio/wfileops.c (adjust_wide_data): Likewise.
14060 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14061 (__m128i_strloadu_tolower): Likewise.
14062 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14063 (__m128i_strloadu_tolower): Likewise.
14064 * time/mktime.c (ydhms_diff): Likewise.
14065 * locale/elem-hash.h (elem_hash): Likewise.
14066 * locale/setlocale.c (setdata): Likewise.
14067 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14068 (re_string_wchar_at): Likewise.
14069 (bitset_not, bitset_merge, bitset_mask): Likewise.
14070 [!(__GNUC__ > 3)] (inline): Remove macro.
14071 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14072 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14073 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14074 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14075 * string/memcmp.c (memcmp_bytes): Likewise.
14076 * locale/programs/locarchive.c (compute_hashval): Likewise.
14077 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14078 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14079 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14080 * nss/getent.c (print_rpc, print_protocols): Likewise.
14081 (print_passwd, print_group, print_aliases): Likewise.
14082 * nis/nss-nisplus.h (niserr2nss): Likewise.
14083 * nscd/connections.c (restart_p): Likewise.
14084 Change return type to bool.
14085
eab55bfb
RM
140862013-02-05 Roland McGrath <roland@hack.frob.com>
14087
7bd642f5
RM
14088 * Makeconfig (all-Depend-files): Add existing
14089 $(sorted-subdirs:=/Depend) files.
14090 (all-subdirs): Remove nss.
14091 * sysdeps/unix/inet/Subdirs: Add it here instead.
14092 * hesiod/Depend: New file.
14093
573c29b2
RM
14094 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14095 instead of calling alloca.
14096
b2e25af0
RM
14097 * io/lseek.c (__lseek): Rename to __libc_lseek.
14098 Define __lseek as an alias.
14099
eab55bfb
RM
14100 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14101
9a0d1941
CD
141022013-02-04 Carlos O'Donell <carlos@redhat.com>
14103
14104 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14105 else clause and remove check for non-standard endianness.
14106
b83bbec4
DM
141072013-02-04 David S. Miller <davem@davemloft.net>
14108
14109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14110
6277fdab
JM
141112013-02-04 Joseph Myers <joseph@codesourcery.com>
14112
14113 [BZ #13550]
14114 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14115 (__ubp_memchr): Remove prototype.
14116 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14117 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14118 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14119 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14120 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14121 Remove alias.
14122 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14123 (__ubp_memchr): Likewise.
14124 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14125 (__ubp_memchr): Likewise.
14126 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14127 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14128 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14129 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14130 CHECK_STRING.
14131 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14132 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14133 (__getcwd): Do not use CHECK_STRING.
14134 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14135 <bp-checks.h>.
14136 (__real_chown): Do not use CHECK_STRING.
14137 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14138 <bp-checks.h>.
14139 (fchownat): Do not use CHECK_STRING.
14140 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14141 CHECK_STRING.
14142 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14143 <bp-checks.h>.
14144 (__lchown): Do not use CHECK_STRING.
14145 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14146 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14147 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14148 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14150 include <bp-checks.h>.
14151 (truncate64): Do not use CHECK_STRING.
14152 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14153 <bp-checks.h>.
14154 (__real_chown): Do not use CHECK_STRING.
14155 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14156 <bp-checks.h>.
14157 (__lchown): Do not use CHECK_STRING.
14158 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14159 <bp-checks.h>.
14160 (__chown): Do not use CHECK_STRING.
14161 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14162 <bp-checks.h>.
14163 (truncate64): Do not use CHECK_STRING.
14164 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14165 Likewise.
14166 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14167 (__xmknod): Do not use CHECK_STRING.
14168 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14169 <bp-checks.h>.
14170 (__xmknodat): Do not use CHECK_STRING.
14171 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14172 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14173
903ae060
AS
141742013-02-04 Andreas Schwab <schwab@suse.de>
14175
14176 [BZ #14142]
14177 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14178 * include/netdb.h: Likewise for h_errno.
14179 * elf/tst-stackguard1.c: Include <tls.h>.
14180
542f9466
JK
141812013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14182
14183 * elf/link.h (struct link_map): Extend the l_addr comment.
14184 * include/link.h (struct link_map): Likewise.
14185
e782a927
JM
141862013-02-01 Joseph Myers <joseph@codesourcery.com>
14187
14188 [BZ #13550]
14189 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14190 (BOUNDED_1): Remove macro.
14191 * debug/backtrace.c: Don't include <bp-checks.h>.
14192 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14193 (__backtrace): Likewise.
14194 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14195 <bp-checks.h>.
14196 (__backtrace): Don't use BOUNDED_1.
14197 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14198 <bp-checks.h>.
14199 (__backtrace): Don't use BOUNDED_1.
14200 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14201 (__backtrace): Don't use BOUNDED_1.
14202 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14203 (shmat): Don't use BOUNDED_N.
14204
8cf28c5e
JM
142052013-01-31 Joseph Myers <joseph@codesourcery.com>
14206
3a7ac8a0
JM
14207 [BZ #13550]
14208 * sysdeps/generic/bp-start.h: Remove file.
14209 * csu/libc-start.c: Don't include <bp-start.h>.
14210 (LIBC_START_MAIN): Set up __environ directly instead of using
14211 INIT_ARGV_and_ENVIRON.
14212 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14213 <bp-start.h>.
14214
f3499f95
JM
14215 [BZ #13550]
14216 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14217 definitions.
14218 (CHECK_FCNTL): Likewise.
14219 (CHECK_N_PAGES): Likewise.
14220
32a45bea
JM
14221 [BZ #13550]
14222 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14223 definitions.
14224 (CHECK_SIGSET_NULL_OK): Likewise.
14225 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14226 <bp-checks.h>.
14227 (sigpending): Don't use CHECK_SIGSET.
14228 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14229 <bp-checks.h>.
14230 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14231 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14232 <bp-checks.h>.
14233 (do_sigsuspend): Don't use CHECK_SIGSET.
14234 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14235 use CHECK_SIGSET.
14236 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14237 (do_sigwait): Don't use CHECK_SIGSET.
14238 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14239 use CHECK_SIGSET.
14240 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14241 include <bp-checks.h>.
14242 (sigpending): Don't use CHECK_SIGSET.
14243 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14244 include <bp-checks.h>.
14245 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14246 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14247 <bp-checks.h>.
14248 (sigpending): Don't use CHECK_SIGSET.
14249 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14250 <bp-checks.h>.
14251 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14252
2e8a5c8c
JM
14253 [BZ #13550]
14254 * sysdeps/generic/bp-semctl.h: Remove file.
14255 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14256 <bp-checks.h> and <bp-semctl.h>.
14257 (__old_semctl): Don't use CHECK_SEMCTL.
14258 (__new_semctl): Likewise.
14259 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14260 and <bp-semctl.h>.
14261 (__old_semctl): Don't use CHECK_SEMCTL.
14262 (__new_semctl): Likewise.
14263 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14264 <bp-checks.h> and <bp-semctl.h>.
14265 (__old_semctl): Don't use CHECK_SEMCTL.
14266 (__new_semctl): Likewise.
14267 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14268 <bp-checks.h> and <bp-semctl.h>.
14269 (semctl): Don't use CHECK_SEMCTL.
14270
c2d54929
JM
14271 [BZ #13550]
14272 * Makerules (elide-bp-thunks): Remove variable.
14273 (elide-routines.oS): Don't use $(elide-bp-thunks).
14274 (elide-routines.os): Likewise.
14275 (elide-routines.o): Likewise.
14276 (elide-routines.op): Likewise.
14277 (elide-routines.og): Likewise.
14278 (objects): Don't use $(bp-thunks).
14279 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14280 include.
14281 (common-generated): Do not add s-proto-bp.d.
14282 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14283 (int): Likewise.
14284 (typ): Likewise.
14285 Do not generate makefile rules for bounded-pointer thunks.
14286 * sysdeps/generic/bp-thunks.h: Remove file.
14287 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14288 * sysdeps/unix/s-proto-bp.S: Likewise.
14289
8cf28c5e
JM
14290 [BZ #15062]
14291 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14292 parts of result separately when argument is not close to line from
14293 -i to i and one part of argument is small.
14294 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14295 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14296 * math/libm-test.inc (cacos_test): Add more tests.
14297 (casin_test): Likewise.
14298 (casinh_test): Likewise.
14299 * sysdeps/i386/fpu/libm-test-ulps: Update.
14300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14301
c4e33b8d
DM
143022013-01-31 David S. Miller <davem@davemloft.net>
14303
14304 * po/de.po: Update from translation team.
14305
3b60b421
MK
143062013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14307
14308 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14309
bb931195
TS
143102013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14311
b5a5da23
TS
14312 * configure.in (_AC_PROG_CC_C89): New definition.
14313 * configure: Regenerate.
14314
bb931195
TS
14315 * configure.in (AC_PROG_CPP): New definition.
14316 * configure: Regenerate.
14317
8c53a12c
JM
143182013-01-23 Joseph Myers <joseph@codesourcery.com>
14319
14320 * debug/tst-backtrace.h: New file.
14321 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14322 (ret): Remove variable.
14323 (x): Likewise.
14324 (FAIL): Remove macro.
14325 (NO_INLINE): Likewise.
14326 (fn1): Use match function instead of strstr.
14327 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14328 (ret): Remove variable.
14329 (x): Likewise.
14330 (FAIL): Remove macro.
14331 (NO_INLINE): Likewise.
14332 (fn): Use match function instead of strstr.
14333 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14334 (ret): Remove variable.
14335 (x): Likewise.
14336 (FAIL): Remove macro.
14337 (NO_INLINE): Likewise.
14338 (handle_signal): Use match function instead of strstr.
14339 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14340 (ret): Remove variable.
14341 (x): Likewise.
14342 (FAIL): Remove macro.
14343 (NO_INLINE): Likewise.
14344 (handle_signal): Use match function instead of strstr.
14345
4858fa2a
RM
143462013-01-23 Roland McGrath <roland@hack.frob.com>
14347
14348 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14349
bae8e7f5
DM
143502013-01-23 David S. Miller <davem@davemloft.net>
14351
14352 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14353 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14354 argument of CAS if possible.
14355 * sysdeps/sparc/sparc64/bits/atomic.h
14356 (__arch_compare_and_exchange_val_32_acq): Likewise.
14357 (__arch_compare_and_exchange_val_64_acq): Likewise.
14358
9cbbc4ae
PT
143592013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14360
14361 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14362 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14363 Include <limits.h>.
67b3f58c 14364 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14365
5655a0b5
AC
143662013-01-23 Adam Conrad <adconrad@0c3.net>
14367
14368 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14369 (LDFLAGS-tst-array5): Likewise.
14370
052aff95
JM
143712013-01-23 Joseph Myers <joseph@codesourcery.com>
14372
14373 [BZ #15036]
14374 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14375 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14376 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14377 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14378
7c1e01aa
DM
143792013-01-21 David S. Miller <davem@davemloft.net>
14380
14381 * sysdeps/sparc/backtrace.c: New file.
14382 * sysdeps/sparc/sparc32/backtrace.h: New file.
14383 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14384 * sysdeps/sparc/sparc64/backtrace.h: New file.
14385 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14386 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14387 -funwind-tables.
14388
ab087e0a
AS
143892013-01-21 Andreas Schwab <schwab@suse.de>
14390
14391 [BZ #15020]
14392 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14393 closed its stdout.
14394
ed689c2f
AS
143952013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14396
14397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14398 "mpa2.h".
14399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14400
31d470ac
JM
144012013-01-18 Joseph Myers <joseph@codesourcery.com>
14402 Mark Mitchell <mark@codesourcery.com>
14403 Tom de Vries <tom@codesourcery.com>
14404 Paul Pluzhnikov <ppluzhnikov@google.com>
14405
14406 * debug/tst-backtrace2.c: New file.
14407 * debug/tst-backtrace3.c: Likewise.
14408 * debug/tst-backtrace4.c: Likewise.
14409 * debug/tst-backtrace5.c: Likewise.
14410 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14411 (CFLAGS-tst-backtrace3.c): Likewise.
14412 (CFLAGS-tst-backtrace4.c): Likewise.
14413 (CFLAGS-tst-backtrace5.c): Likewise.
14414 (LDFLAGS-tst-backtrace2): Likewise.
14415 (LDFLAGS-tst-backtrace3): Likewise.
14416 (LDFLAGS-tst-backtrace4): Likewise.
14417 (LDFLAGS-tst-backtrace5): Likewise.
14418 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14419 tst-backtrace4 and tst-backtrace5.
14420
90567f30 144212013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14422 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14423
14424 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14425 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14426 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14427 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14429 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14430 "+r" and remove output regs list as redundant. Add explicit inline
14431 asm to specify register of return val to work around compiler codegen
14432 bug. Remove (int) cast on return value. Add return type parameter to
14433 use in macro so that this macro does not truncate return value for
14434 64-bit values.
14435 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14436 pass to INTERNAL_VSYSCALL_NCS.
14437 (INLINE_VSYSCALL): Add 'long int' as return type to
14438 INTERNAL_VSYSCALL_NCS macro invocation.
14439 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14440 INTERNAL_VSYSCALL_NCS macro invocation.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14442
d3b9ea61
SP
144432013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14444
0b57daeb
SP
14445 [BZ #14496]
14446 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14447 Fix application of SIMD FP exception mask.
14448
caa99d06
SP
14449 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14450 mp_no from a power of two.
14451 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14452 __mpexp_twomm1. Use __pow_mp.
14453
d3b9ea61
SP
14454 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14455 multiplication.
14456
1dbaee3c
DM
144572013-01-17 David S. Miller <davem@davemloft.net>
14458
14459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14460
728d7b43
JM
144612013-01-17 Joseph Myers <joseph@codesourcery.com>
14462
14463 [BZ #15023]
14464 * include/complex.h: Condition contents on [!_COMPLEX_H].
14465 (__kernel_casinhf): New prototype.
14466 (__kernel_casinh): Likewise.
14467 (__kernel_casinhl): Likewise.
14468 * math/Makefile (libm_calls): Add k_casinh.
14469 * math/k_casinh.c: New file.
14470 * math/k_casinhf.c: Likewise.
14471 * math/k_casinhl.c: Likewise.
14472 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14473 finite nonzero arguments.
14474 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14475 finite nonzero arguments.
14476 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14477 finite nonzero arguments.
14478 * math/s_casinh.c: Do not include <float.h>.
14479 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14480 * math/s_casinhf.c: Do not include <float.h>.
14481 (__casinhf): Move code for finite nonzero arguments to
14482 k_casinhf.c.
14483 * math/s_casinhl.c: Do not include <float.h>.
14484 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14485 redefine.
14486 (__casinhl): Move code for finite nonzero arguments to
14487 k_casinhl.c.
14488 * math/libm-test.inc (cacos_test): Add more tests.
14489 * sysdeps/i386/fpu/libm-test-ulps: Update.
14490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14491
2a26ef3a
PT
144922013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14493
14494 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14495 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14496 [!HAVE_MREMAP]: Remove [defined linux] case.
14497 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14498
a897655d
SP
144992013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14500
14501 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14502
881ebe89 145032013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14504
14505 * elf/elf.h (R_386_SIZE32): New relocation.
14506 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14507 R_386_SIZE32.
14508 (elf_machine_rela): Likewise.
14509 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14510 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14511
59981e9b
JM
145122013-01-17 Joseph Myers <joseph@codesourcery.com>
14513
14514 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14515 (FP_FAST_FMA): Do not define.
14516 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14517 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14518 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14519 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14520 !_SOFT_FLOAT]: Likewise.
14521 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14522 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14523 value.
14524 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14525 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14526 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14527 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14528 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14529 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14530 file.
14531
cfa8054f
AS
145322013-01-16 Andreas Schwab <schwab@suse.de>
14533
14534 [BZ #14327]
14535 * include/stdlib.h (__mktemp): Add declaration.
14536 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14537 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14538
dd930cc5
SP
145392013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14540
881ebe89
SP
14541 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14542 definitions.
14543 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14544 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14545 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14546 definitions here.
14547 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14548 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14549 definitions.
14550 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14551 and ONE.
14552 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14553 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14554 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14555 definitions.
14556 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14557 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14558 definitions.
14559 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14560
dd930cc5
SP
14561 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14562
c19a9f89
DM
145632013-01-15 David S. Miller <davem@davemloft.net>
14564
1aa61767
DM
14565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14566 trunc{,f} to libm-sysdep_routes.
14567 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14569 file.
14570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14572 file.
14573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14574 file.
14575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14577 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14578 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14579 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14580 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14581 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14582 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14583
c42d5e98
DM
14584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14585 nearbyint{,f} to libm-sysdep_routes.
14586 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14588 New file.
14589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14590 file.
14591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14592 New file.
14593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14594 file.
14595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14597 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14598 file.
14599 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14600 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14601 file.
14602 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14603 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14604 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14605
c19a9f89
DM
14606 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14607 libc_feholdexcept and libc_fesetenv.
14608
357679d2
MF
146092013-01-15 Mike Frysinger <vapier@gentoo.org>
14610
14611 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14612
65a82e3d
DM
146132013-01-14 David S. Miller <davem@davemloft.net>
14614
8b954ab9
DM
14615 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14616 (SPARC_ASM_VIS2_IFUNC): Likewise.
14617 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14619 use of 'siam' instruction.
14620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14621 Likewise.
14622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14623 Likewise.
14624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14625 Likewise.
14626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14631 file.
14632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14633 file.
14634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14635 file.
14636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14637 file.
14638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14641 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14643 new VIS2 routines.
14644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14647 Likewise.
14648 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14649 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14653 routines to libm-sysdep_routines.
14654 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14655
65a82e3d
DM
14656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14657 fdim/fdimf to libm-sysdep_routines.
14658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14659 file.
14660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14662 file.
14663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14666 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14667 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14668 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14669 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14670
e34ab705
SP
146712013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14672
2a91b573
SP
14673 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14674 to optimize copies.
14675
1066a534
SP
14676 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14679
e34ab705
SP
14680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14681 local variable MPTWO.
14682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14683 Likewise.
14684
aba5e596
MF
146852013-01-13 Mike Frysinger <vapier@gentoo.org>
14686
14687 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14688 GLOB_NOESCAPE.
14689
e557e9e5
MF
146902013-01-13 Mike Frysinger <vapier@gentoo.org>
14691
14692 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14693
0428cec9
MF
146942013-01-13 Mike Frysinger <vapier@gentoo.org>
14695
14696 * manual/pattern.texi (glob_t): Document gl_flags.
14697 (glob64_t): Likewise.
14698
8794a964
DM
146992013-01-11 David S. Miller <davem@davemloft.net>
14700
66438c3f
RM
14701 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14702 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14703 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14704 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14705 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14706 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14707 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14708 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14709 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14710 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14711 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14712 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14713 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14714
4ae4244d
DM
14715 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14716 sparc V9 rather than using V8 code.
14717 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14718 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14719
8794a964
DM
14720 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14721 Move to...
14722 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14723 Here.
14724
6270516e
RM
147252013-01-11 Roland McGrath <roland@hack.frob.com>
14726
14727 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14728 not in the main loop.
14729 * configure: Regenerated.
14730
6a57d931
JM
147312013-01-11 Joseph Myers <joseph@codesourcery.com>
14732
14733 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14734 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14735 to just #else.
14736 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14737 [!__GLIBC_HAVE_LONG_LONG] case.
14738 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14739 condition to just #else.
14740 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14741 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14742 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14743 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14744 unconditional.
14745 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14746 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14747 #elif condition to just #else.
14748 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14749 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14750 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14751 #elif condition to just #else.
14752
0e8529e9
SE
147532013-01-11 Steve Ellcey <sellcey@mips.com>
14754
14755 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14756 (EF_MIPS_ARCH_64): Fix value.
14757 (EF_MIPS_ARCH_32R2): New.
14758 (EF_MIPS_ARCH_64R2): New.
14759
740b3dbe
L
147602013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14761
14762 * Makeconfig (+link-pie-before-libc): New.
14763 (+link-pie-after-libc): Likewise.
14764 (+link-pie-tests): Likewise.
14765 (+link-pie): Rewritten.
14766 (link-before-libc): Remove $(config-LDFLAGS).
14767 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14768 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14769 (config-LDFLAGS): Renamed to ...
14770 (rtld-LDFLAGS): This.
14771 (rtld-tests-LDFLAGS): New macro.
14772 (link-libc-rpath-link): Likewise.
14773 (link-libc-tests-rpath-link): Likewise.
14774 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14775 (link-libc): Prepand $(link-libc-rpath-link).
14776 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14777 (test-program-prefix): New macro.
14778 (test-via-rtld-prefix): Likewise.
14779 (test-program-cmd): Likewise.
14780 (host-test-program-cmd): Likewise.
14781 * Makefile ($(common-objpfx)testrun.sh): Replace
14782 $(run-program-prefix) with $(test-program-prefix).
14783 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14784 $(rtld-LDFLAGS).
14785 ($(common-objpfx)shlib.lds): Likewise.
14786 (build-module-helper): Likewise.
14787 ($(common-objpfx)format.lds): Likewise.
14788 * Rules (binaries-pie-tests): New.
14789 (binaries-pie-notests): Likewise.
14790 (binaries-pie): Rewritten.
14791 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14792 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14793 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14794 (make-test-out): Replace $(host-built-program-cmd) with
14795 $(host-test-program-cmd).
14796 * config.make.in (build-hardcoded-path-in-tests): New variable.
14797 * configure.in (--enable-hardcoded-path-in-tests): New configure
14798 option.
14799 (hardcoded_path_in_tests): New AC_SUBST.
14800 * configure: Regenerated.
14801 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14802 $(built-program-cmd) with $(test-program-cmd).
14803 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14804 (test_program_cmd): This.
14805 * elf/Makefile ($(objpfx)order.out): Run test with
14806 $(test-program-prefix).
14807 ($(objpfx)order2.out): Likewise.
14808 ($(objpfx)tst-initorder.out): Likewise.
14809 ($(objpfx)tst-initorder2.out): Likewise.
14810 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14811 $(test-program-cmd).
14812 ($(objpfx)tst-array1-static.out): Likewise.
14813 ($(objpfx)tst-array2.out): Likewise.
14814 ($(objpfx)tst-array3.out): Likewise.
14815 ($(objpfx)tst-array4.out): Likewise.
14816 ($(objpfx)tst-array5.out): Likewise.
14817 ($(objpfx)tst-array5-static.out): Likewise.
14818 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14819 $(test-program-cmd).
14820 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14821 $(run-program-prefix) with $(test-program-prefix).
14822 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14823 (test_program_prefix): This.
14824 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14825 $(run-program-prefix) with $(test-program-prefix).
14826 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14827 (test_program_prefix): This.
14828 * iconvdata/tst-tables.sh: Likewise.
14829 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14830 $(run-program-prefix) with $(test-program-prefix).
14831 ($(objpfx)tst-translit.out): Likewise.
14832 ($(objpfx)tst-gettext2.out): Likewise.
14833 ($(objpfx)tst-gettext4.out): Likewise.
14834 ($(objpfx)tst-gettext6.out): Likewise.
14835 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14836 (test_program_prefix): This.
14837 * intl/tst-gettext2.sh: Likewise.
14838 * intl/tst-gettext4.sh Likewise.
14839 * intl/tst-gettext6.sh: Likewise.
14840 * intl/tst-translit.sh: Likewise.
14841 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14842 with $(test-program-cmd).
14843 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14844 $(run-program-prefix) with $(test-program-prefix).
14845 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14846 (test_program_prefix): This.
14847 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14848 $(run-program-prefix) with $(test-program-prefix).
14849 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14850 (test_program_prefix): This.
14851 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14852 * posix/Makefile ($(objpfx)globtest.out): Replace
14853 $(run-via-rtld-prefix) and $(test-wrapper) with
14854 $(test-program-prefix) and $(test-via-rtld-prefix).
14855 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14856 $(test-program-prefix).
14857 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14858 $(host-test-program-cmd).
14859 (tst-spawn-ARGS): Likewise.
14860 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14861 $(test-program-prefix).
14862 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14863 (test_via_rtld_prefix): This.
14864 (test_wrapper): Renamed to ...
14865 (test_program_prefix): This.
14866 (run_program_prefix): Replaced by test_program_prefix.
14867 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14868 (test_program_prefix): This.
14869 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14870 with $(host-test-program-cmd).
14871 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14872 $(run-program-prefix) with $(test-program-prefix).
14873 ($(objpfx)tst-printf.out): Likewise.
14874 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14875 $(test-program-cmd).
14876 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14877 (test_program_prefix): This.
14878 * stdio-common/tst-unbputc.sh: Likewise.
14879 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14880 $(run-program-prefix) with $(test-program-prefix).
14881 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14882 (test_program_prefix): This.
14883 * string/Makefile ($(objpfx)tst-svc.out): Replace
14884 $(built-program-cmd) with $(test-program-cmd).
14885
c6fe55cf
AJ
148862013-01-11 Andreas Jaeger <aj@suse.de>
14887
14888 [BZ #15003]
14889 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14890 value. Sync with Linux 3.7.
14891
9e6919c8
DM
148922013-01-10 David S. Miller <davem@davemloft.net>
14893
14894 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14895 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14896 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14897
1c9f1a02
RM
148982013-01-10 Roland McGrath <roland@hack.frob.com>
14899
14900 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14901 never set.
14902 * configure: Regenerated.
14903
b9de2dde
DM
149042013-01-10 David S. Miller <davem@davemloft.net>
14905
14906 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14907 sparc V9 rather than using V8 code.
14908 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14909 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14910
e7f68ef4
RM
149112013-01-10 Roland McGrath <roland@hack.frob.com>
14912
14913 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14914 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14915 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14916 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14917 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14918 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14919 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14920 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14921 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14922 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14923 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14924 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14925 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14926 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14927 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14928 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14929 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14930 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14931 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14932 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14933 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14934 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14935 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14936 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14937 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14938 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14939 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14940
5a47cc9c
DM
149412013-01-10 David S. Miller <davem@davemloft.net>
14942
14943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14944
4cf8f209
L
149452013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14946
14947 * posix/Makefile (tests-static): New variable.
14948 (tests): Add $(tests-static).
14949 (tst-exec-static-ARGS): New variable.
14950 (tst-spawn-static-ARGS): Likewise.
14951 * posix/tst-exec-static.c: New file.
14952 * posix/tst-spawn-static.c: Likewise.
14953 * posix/tst-exec.c: Support run directly.
14954 * posix/tst-spawn.c: Likewise.
14955
fed0faa1
JM
149562013-01-10 Joseph Myers <joseph@codesourcery.com>
14957
828beb13
JM
14958 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14959 long.
14960 * math/bits/mathcalls.h (llrint): Likewise.
14961 (llround): Likewise.
14962 * stdlib/stdlib.h (struct drand48_data): Likewise.
14963 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14964 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14965 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14966 Likewise.
14967 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14968 Likewise.
14969 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14970 (elf_greg_t): Likewise.
14971 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14972 (__jmp_buf): Likewise.
14973 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14974 definitions.
14975 (llrint): Likewise, for all definitions.
14976 (llrintl): Likewise.
14977
fed0faa1
JM
14978 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14979 Remove [__GNUC__] condition.
14980 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14981 condition to just [__USE_ISOC99].
14982 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14983
1a20cb20
L
149842013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14985
14986 [BZ #14200]
14987 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14988 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14989 defined.
14990 (_POSIX_V6_ILP32_OFF32): Likewise.
14991 (_XBS5_ILP32_OFF32): Likewise.
14992 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14993 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14994
751b85f7
SP
149952013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14996
7490eb81
SP
14997 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14998
751b85f7
SP
14999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15000 doubles __mpexp_twomm1. Adjust usage.
15001 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15002 Remove.
15003
988197f0
AS
150042013-01-10 Andreas Schwab <schwab@suse.de>
15005
15006 [BZ #14964]
15007 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15008 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15009
e83d7298
DM
150102013-01-09 David S. Miller <davem@davemloft.net>
15011
034ed64b 15012 [BZ #15003]
e83d7298
DM
15013 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15014 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15015 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15016 TCP_FASTOPEN): Define.
15017 (tcp_repair_opt): New structure.
15018 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15019 enum values.
15020 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15021 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15022 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15023 (tcp_cookie_transactions): New structure.
15024
d5e0b9bd
AB
150252013-01-09 Anton Blanchard <anton@samba.org>
15026
15027 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15028 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15029 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15030 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15031
0c07e3ea
JM
150322013-01-09 Joseph Myers <joseph@codesourcery.com>
15033
15034 * include/features.h (__USE_ANSI): Remove.
15035
232f7002
RM
150362013-01-09 Roland McGrath <roland@hack.frob.com>
15037
ad98e30c
RM
15038 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15039
232f7002
RM
15040 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15041
950c99ca
SP
150422013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15043
b5792741
SP
15044 * sysdeps/s390/fpu/libm-test-ulps: Update.
15045
47cf2278
SP
15046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15047
950c99ca
SP
15048 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15049 (__acr): Likewise.
15050 (__cpy): Likewise.
15051 (norm): Likewise.
15052 (denorm): Likewise.
15053 (__mp_dbl): Likewise.
15054 (__dbl_mp): Likewise.
15055 (add_magnitudes): Likewise.
15056 (sub_magnitudes): Likewise.
15057 (__add): Likewise.
15058 (__sub): Likewise.
15059 (__mul): Likewise.
15060 (__inv): Likewise.
15061 (__dvd): Likewise.
15062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15063 (__acr): Likewise.
15064 (__cpy): Likewise.
15065 (norm): Likewise.
15066 (denorm): Likewise.
15067 (__mp_dbl): Likewise.
15068 (__dbl_mp): Likewise.
15069 (add_magnitudes): Likewise.
15070 (sub_magnitudes): Likewise.
15071 (__add): Likewise.
15072 (__sub): Likewise.
15073 (__mul): Likewise.
15074 (__inv): Likewise.
15075 (__dvd): Likewise.
15076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15077 (__acr): Likewise.
15078 (__cpy): Likewise.
15079 (norm): Likewise.
15080 (denorm): Likewise.
15081 (__mp_dbl): Likewise.
15082 (__dbl_mp): Likewise.
15083 (add_magnitudes): Likewise.
15084 (sub_magnitudes): Likewise.
15085 (__add): Likewise.
15086 (__sub): Likewise.
15087 (__mul): Likewise.
15088 (__inv): Likewise.
15089 (__dvd): Likewise.
15090
eede9df9
JM
150912013-01-08 Joseph Myers <joseph@codesourcery.com>
15092
15093 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15094 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15095 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15096 2 && __USE_EXTERN_INLINES]: Likewise.
15097
c40ea3d9
AJ
150982013-01-08 Andreas Jaeger <aj@suse.de>
15099
15100 [BZ# 14985]
15101 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15102 Remove.
15103 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15104 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15105
2ccdea26
AB
151062013-01-07 Anton Blanchard <anton@samba.org>
15107
15108 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15109 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15110 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15111 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15112 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15113 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15114 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15115 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15117 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15118 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15119 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15120 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15121 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15122 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15123 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15124 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15125 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15126 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15127 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15128 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15129 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15130 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15131 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15132 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15133 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15134 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15135 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15136 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15137 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15138 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15140 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15141 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15142 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15143 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15144 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15145 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15146 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15147 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15148 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15149 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15150 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15151
a9708fed
JM
151522013-01-07 Joseph Myers <joseph@codesourcery.com>
15153
375607b9
JM
15154 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15155 (__MALLOC_PMT): Likewise.
15156 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15157 [__GNUC__], only on [_LIBC].
15158 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15159 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15160 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15161 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15162 forward declaration.
15163 (realloc_hook_ini): Likewise.
15164 (memalign_hook_ini): Likewise.
15165 (__libc_memalign): Do not use __MALLOC_PMT in variable
15166 declaration.
15167 (__libc_valloc): Likewise.
15168 (__libc_pvalloc): Likewise.
15169 (__libc_calloc): Likewise.
15170 (__posix_memalign): Likewise.
15171
a9708fed
JM
15172 [BZ #14996]
15173 * math/s_casinh.c: Include <float.h>.
15174 (__casinh): Do not do computation with squaring and square root
15175 for large arguments.
15176 * math/s_casinhf.c: Include <float.h>.
15177 (__casinhf): Do not do computation with squaring and square root
15178 for large arguments.
15179 * math/s_casinhl.c: Include <float.h>.
15180 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15181 (__casinhl): Do not do computation with squaring and square root
15182 for large arguments.
15183 * math/libm-test.inc (casin_test): Add more tests.
15184 (casinh_test): Likewise.
15185 * sysdeps/i386/fpu/libm-test-ulps: Update.
15186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15187
afec409a
L
151882013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15189
15190 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15191 (__x86_64_raw_data_cache_size): Likewise.
15192 (__x86_64_data_cache_size_half): Likewise.
15193 (__x86_64_raw_data_cache_size_half): Likewise.
15194 (__x86_64_shared_cache_size): Likewise.
15195 (__x86_64_raw_shared_cache_size): Likewise.
15196 (__x86_64_shared_cache_size_half): Likewise.
15197 (__x86_64_raw_shared_cache_size_half): Likewise.
15198 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15199 to ...
15200 (__x86_data_cache_size): This.
15201 (__x86_64_raw_data_cache_size): Renamed to ...
15202 (__x86_raw_data_cache_size): This.
15203 (__x86_64_data_cache_size_half): Renamed to ...
15204 (__x86_data_cache_size_half): This.
15205 (__x86_64_raw_data_cache_size_half): Renamed to ...
15206 (__x86_raw_data_cache_size_half): This.
15207 (__x86_64_shared_cache_size): Renamed to ...
15208 (__x86_shared_cache_size): This.
15209 (__x86_64_raw_shared_cache_size): Renamed to ...
15210 (__x86_raw_shared_cache_size): This.
15211 (__x86_64_shared_cache_size_half): Renamed to ...
15212 (__x86_shared_cache_size_half): This.
15213 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15214 (__x86_raw_shared_cache_size_half): This.
15215 * sysdeps/x86_64/memcpy.S: Updated.
15216 * sysdeps/x86_64/memset.S: Likewise.
15217 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15218 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15219 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15220
0b3986d0
DM
152212013-01-04 David S. Miller <davem@davemloft.net>
15222
15223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15224
e47686e9
AS
152252013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15226
d643bac1
AS
15227 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15228 1 to avoid redefinition warning.
15229 (__USE_GNU): Don't define.
15230 (init_signaling_nan): Protoize.
15231
e47686e9
AS
15232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15233
b18decba
SP
152342013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15235
fffb407f
SP
15236 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15238 (__cpymn): Likewise.
15239 (norm): Remove commented code.
15240 (denorm): Likewise.
15241 (__mp_dbl): Likewise.
15242 (__inv): Likewise.
15243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15244 (__cpymn): Likewise.
15245 (norm): Remove commented code.
15246 (denorm): Likewise.
15247 (__mp_dbl): Likewise.
15248 (__inv): Likewise.
15249
b18decba
SP
15250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15251 mp_no value for 1.0 and 2.0.
15252 (norm): Use RADIXI instead of radixi.d.
15253 (denorm): Likewise.
15254 (__mul): Use 0.0 instead of zero.d.
15255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15256 mp_no value for 1.0 and 2.0.
15257 (norm): Use RADIXI instead of radixi.d.
15258 (denorm): Likewise.
15259 (__mul): Use 0.0 instead of zero.d.
15260
cdc1c96f
JM
152612013-01-04 Joseph Myers <joseph@codesourcery.com>
15262
15263 [BZ #14994]
15264 * math/s_casinh.c (__casinh): Reduce finite argument to first
15265 quadrant then set signs of results at the end.
15266 * math/s_casinhf.c (__casinhf): Likewise.
15267 * math/s_casinhl.c (__casinhl): Likewise.
15268 * math/libm-test.inc (casin_test): Add more tests.
15269 (casinh_test): Likewise.
15270 * sysdeps/i386/fpu/libm-test-ulps: Update.
15271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15272
302913e1
SP
152732013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15274
6420d207
SP
15275 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15276
a9e48ab4
SP
15277 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15278
b7837264
SP
15279 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15280 declarations.
15281 (denorm): Likewise.
15282 (__mp_dbl): Likewise.
15283 (__inv): Likewise.
15284
f8af25d2
SP
15285 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15286 and adjust the header comment.
15287
302913e1
SP
15288 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15289 variable name from declaration.
15290
5d7dd1ca
L
152912013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15292
15293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15294 Initialize COMMON_CPUID_INDEX_7 element.
15295 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15296 (CPUID_RTM): Likewise.
15297 (HAS_RTM): Likewise.
15298 (COMMON_CPUID_INDEX_7): New enum.
15299
2f5f40f4
AS
153002013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15301
15302 [BZ #14981]
15303 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15304 size is zero, record memory as freed.
15305
4056f4a0
AJ
153062013-01-03 Andreas Jaeger <aj@suse.de>
15307
15308 * po/ia.po: Add new Interlingua translation.
15309
ab15736f 153102012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
15311
15312 * locale/programs/localedef.c: Fix description of '--posix' flag.
15313
568035b7
JM
153142013-01-02 Joseph Myers <joseph@codesourcery.com>
15315
e6898b8d
JM
15316 * NEWS: Update dates in second copyright notice.
15317 * README: Update copyright dates in example.
15318 * manual/libc.texinfo: Update copyright dates.
15319 * scripts/test-installation.pl: Update copyright date in --version
15320 output.
15321
0e2f9562
JM
15322 * hurd/ctty-input.c: Fix copyright notice formatting.
15323 * hurd/ctty-output.c: Likewise.
15324 * hurd/dtable.c: Likewise.
15325 * hurd/hurd-raise.c: Likewise.
15326 * hurd/hurdprio.c: Likewise.
15327 * hurd/msgportdemux.c: Likewise.
15328 * misc/sys/file.h: Likewise.
15329 * misc/sys/ioctl.h: Likewise.
15330 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15331 * sysdeps/mach/hurd/chdir.c: Likewise.
15332 * sysdeps/mach/hurd/fchdir.c: Likewise.
15333 * sysdeps/mach/hurd/rename.c: Likewise.
15334 * sysdeps/mach/hurd/rmdir.c: Likewise.
15335 * sysdeps/mach/hurd/seekdir.c: Likewise.
15336 * sysdeps/mach/hurd/setsid.c: Likewise.
15337 * sysdeps/posix/wait3.c: Likewise.
15338
568035b7
JM
15339 * All files with FSF copyright notices: Update copyright dates
15340 using scripts/update-copyrights.
15341 * intl/plural.c: Regenerated.
15342 * locale/programs/charmap-kw.h: Likewise.
15343 * locale/programs/locfile-kw.h: Likewise.
15344
da08f647
SP
153452013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15346
0f5477af
SP
15347 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15348 four values.
15349
44e0d4c2
SP
15350 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15351 calculation loop and add branch prediction.
15352
4d55b4e5
SP
15353 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15354 check access beyond bounds of m1np.
15355
da08f647
SP
15356 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15357 MPTWO.
15358 (__inv): Remove local variable MPTWO to use the global
15359 constant.
15360 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15361 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15362 variable MPTWO.
15363 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15364 MP3HALFS static const.
15365
8e051029
DM
153662013-01-01 David S. Miller <davem@davemloft.net>
15367
15368 * po/ca.po: Update from translation team.
15369
f4cf5f2d
JM
153702013-01-01 Joseph Myers <joseph@codesourcery.com>
15371
15372 * scripts/update-copyrights: New file.
15373 * Makeconfig: Reformat copyright notice.
15374 * ctype/ctype.h: Likewise.
15375 * debug/swprintf_chk.c: Likewise.
15376 * elf/dl-cache.c: Likewise.
15377 * elf/dl-debug.c: Likewise.
15378 * elf/dl-object.c: Likewise.
15379 * grp/initgroups.c: Likewise.
15380 * hurd/Makefile: Likewise.
15381 * hurd/hurd/signal.h: Likewise.
15382 * hurd/hurdfault.c: Likewise.
15383 * hurd/hurdioctl.c: Likewise.
15384 * hurd/hurdlookup.c: Likewise.
15385 * hurd/intr-msg.c: Likewise.
15386 * iconv/gconv_open.c: Likewise.
15387 * libio/swprintf.c: Likewise.
15388 * locale/lc-ctype.c: Likewise.
15389 * locale/nl_langinfo.c: Likewise.
15390 * mach/Machrules: Likewise.
15391 * mach/Makefile: Likewise.
15392 * malloc/obstack.h: Likewise.
15393 * manual/Makefile: Likewise.
15394 * manual/tsort.awk: Likewise.
15395 * misc/bits/stab.def: Likewise.
15396 * nis/nis_print_group_entry.c: Likewise.
15397 * nis/nis_table.c: Likewise.
15398 * nis/nss_compat/compat-pwd.c: Likewise.
15399 * nis/nss_compat/compat-spwd.c: Likewise.
15400 * po/Makefile: Likewise.
15401 * posix/fnmatch.c: Likewise.
15402 * posix/regex.h: Likewise.
15403 * resolv/Makefile: Likewise.
15404 * resolv/nss_dns/dns-network.c: Likewise.
15405 * resolv/res_hconf.c: Likewise.
15406 * scripts/gen-sorted.awk: Likewise.
15407 * soft-fp/soft-fp.h: Likewise.
15408 * stdio-common/printf.h: Likewise.
15409 * stdlib/monetary.h: Likewise.
15410 * stdlib/random.c: Likewise.
15411 * stdlib/random_r.c: Likewise.
15412 * sysdeps/generic/Makefile: Likewise.
15413 * sysdeps/gnu/Makefile: Likewise.
15414 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15416 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15418 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15421 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15422 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15426 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15427 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15428 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15429 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15430 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15431 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15432 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15433 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15434 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15435 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15436 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15437 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15438 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15439 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15441 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15442 * sysdeps/mach/hurd/errnos.awk: Likewise.
15443 * sysdeps/mach/hurd/fork.c: Likewise.
15444 * sysdeps/mach/hurd/getcwd.c: Likewise.
15445 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15446 * sysdeps/mach/hurd/mmap.c: Likewise.
15447 * sysdeps/mach/hurd/utimes.c: Likewise.
15448 * sysdeps/mach/hurd/xmknod.c: Likewise.
15449 * sysdeps/posix/profil.c: Likewise.
15450 * sysdeps/posix/readdir_r.c: Likewise.
15451 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15452 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15453 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15454 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15456 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15457 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15458 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15460 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15461 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15462 * sysdeps/pthread/lio_listio.c: Likewise.
15463 * sysdeps/sparc/dl-procinfo.h: Likewise.
15464 * sysdeps/unix/i386/sysdep.S: Likewise.
15465 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15466 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15467 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15468 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15470 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15471 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15472 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15473 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15474 * sysdeps/wordsize-32/divdi3.c: Likewise.
15475 * time/sys/time.h: Likewise.
15476 * wcsmbs/Makefile: Likewise.
15477
0549fbba
DM
154782013-01-01 David S. Miller <davem@davemloft.net>
15479
a141f1a7
DM
15480 * po/fr.po: Update from translation team.
15481
0549fbba
DM
15482 * catgets/gencat.c: Update copyright year.
15483 * csu/version.c: Likewise.
15484 * debug/catchsegv.sh: Likewise.
15485 * debug/pcprofiledump.c: Likewise.
15486 * debug/xtrace.sh: Likewise.
15487 * elf/ldconfig.c: Likewise.
15488 * elf/ldd.bash.in: Likewise.
15489 * elf/pldd.c: Likewise.
15490 * elf/sotruss.ksh: Likewise.
15491 * elf/sprof.c: Likewise.
15492 * iconv/iconv_prog.c: Likewise.
15493 * iconv/iconvconfig.c: Likewise.
15494 * locale/programs/locale.c: Likewise.
15495 * locale/programs/localedef.c: Likewise.
15496 * login/programs/pt_chown.c: Likewise.
15497 * malloc/memusage.sh: Likewise.
15498 * malloc/memusagestat.c: Likewise.
15499 * malloc/mtrace.pl: Likewise.
15500 * nscd/nscd.c: Likewise.
15501 * nss/getent.c: Likewise.
15502 * nss/makedb.c: Likewise.
15503 * posix/getconf.c: Likewise.
15504
18ea052c
SP
155052012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15506
15507 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15508 numbers.
15509
9c89fca6
MF
155102012-12-30 Mike Frysinger <vapier@gentoo.org>
15511
15512 * math/bits/mathcalls.h (modf): Use __nonnull.
15513
085ec079
SP
155142012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15515
15516 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15517 (split): Use macro CN instead of the bare value.
15518 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15519 could be used.
15520 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15521 instead of the bare value.
15522 (power1): Likewise.
15523
6d9f97e1
SP
155242012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15525
d63f73be
SP
15526 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15527 __ATAN_TWOM.
15528 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15529
6d9f97e1
SP
15530 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15531 their values.
15532 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15533 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15534 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15535 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15536
4c4febf5
AJ
155372012-12-28 Andreas Jaeger <aj@suse.de>
15538
af5843ef
AJ
15539 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15540 values are from Linux 3.7.
15541
4c4febf5
AJ
15542 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15543 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15544
99136f82
SP
155452012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15546
2f216c3c 15547 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15548 TRUE case.
15549
99136f82
SP
15550 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15551 (norm): Likewise.
15552 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15553 variables with preprocessor constants.
15554 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15555 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15556 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15557
7fffbdff
BH
155582012-12-27 Bruno Haible <bruno@clisp.org>
15559
15560 [BZ #14317]
15561 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15562 only if needed.
15563
b76eb5f0
SP
155642012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15565
31a7fe5c
SP
15566 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15567 and use variable directly.
15568 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15569
b76eb5f0
SP
15570 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15571 MPONE.
15572 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15573 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15574 variable MPONE.
15575 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15577 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15578 include directive. Remove local variable MPONE.
15579 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15580 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15581 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15582
2c8bfe7d
DM
155832012-12-25 David S. Miller <davem@davemloft.net>
15584
15585 * version.h (RELEASE): Set to "development".
15586 (VERSION): Set to "2.17.90".
15587 * NEWS: Add 2.18 section.
15588
147d03b0
DM
155892012-12-21 David S. Miller <davem@davemloft.net>
15590
15591 * po/hr.po: Update from translation team.
15592
a8ebb2b9
AK
155932012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15594
15595 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15596
95b4f1b6
SE
155972012-12-19 Steve Ellcey <sellcey@mips.com>
15598
b2d94007 15599 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15600
cedb2a90
MS
156012012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15602
15603 * manual/contrib.texi (Contributors): Spelling correction.
15604
bbf527d6
DM
156052012-12-15 David S. Miller <davem@davemloft.net>
15606
15607 * po/ru.po: Update from translation team.
15608
bc38c906
DM
156092012-12-13 David S. Miller <davem@davemloft.net>
15610
85429b1a
DM
15611 * NEWS: Mention IFUNC testsuite enhancements.
15612
d283e353
DM
15613 * po/pl.po: Update from translation team.
15614 * po/bg.po: Likewise.
15615
bc38c906
DM
15616 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15617 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15618
a181b0d7
DM
156192012-12-11 David S. Miller <davem@davemloft.net>
15620
4641d57e
DM
15621 * po/sv.po: Update from translation team.
15622
f7bc6495
DM
15623 * po/vi.po: Update from translation team.
15624
6fc9048f
DM
15625 * po/cs.po: Update from translation team.
15626
a181b0d7
DM
15627 * po/de.po: Update from translation team.
15628 * po/eo.po: Likewise.
15629 * po/nl.po: Likewise.
15630
f70bfe80
SP
156312012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15632
3c8b4190
SP
15633 [BZ #14246]
15634 * manual/argp.texi (Argp Helper Functions): Move node to follow
15635 Argp Parsing State.
15636
f70bfe80
SP
15637 [BZ #14872]
15638 * manual/conf.texi (Limits on File System Capacity): Mention if
15639 terminating null is included in the max size.
15640
188f0adf
AJ
156412012-12-10 Andreas Jaeger <aj@suse.de>
15642
15643 * po/cs.po: Update from translation team.
15644
56e7d3ad
SP
156452012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15646
15647 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15648 void pointer and cast to uintptr_t.
15649 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15650 path.
15651 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15652 * sysdeps/s390/s390-64/memset.S: Likewise.
15653
76f2d2ea 156542012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15655
15656 [BZ #14833]
15657 * menual/message.texi (Message Translation): Fix typos.
15658 (Helper programs for gettext): Likewise.
15659
67cbf9a2
AS
156602012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15661
15662 [BZ #14898]
15663 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15664 Change to -1.
15665
682d0e9a
DM
156662012-12-07 David S. Miller <davem@davemloft.net>
15667
15668 * po/libc.pot: Update.
15669
573cd484
RH
156702012-12-07 Richard Henderson <rth@redhat.com>
15671
7e9da188 15672 [BZ #10114]
573cd484
RH
15673 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15674 normal/normal case to before the switch.
15675 (_FP_DIV): Likewise.
15676
e933a943
MF
156772012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15678 Mike Frysinger <vapier@gentoo.org>
15679
15680 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15681 check for __NR_fadvise64_64.
15682
82123268
CM
156832012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15684
15685 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15686 0, not just to plain "0" as a statement.
15687 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15688 with cw.
15689
d9814526
JM
156902012-12-06 Joseph Myers <joseph@codesourcery.com>
15691
15692 * NEWS: Use sourceware.org in Bugzilla URL.
15693
7728c574
SP
156942012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15695
f16946dd
SP
15696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15697 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15698
5704bbcb
SP
15699 * stdio-common/tst-put-error.c (do_test): Add newline to the
15700 padded test to ensure flush.
15701
17aa0516
JL
157022012-12-05 Jeff Law <law@redhat.com>
15703
15704 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15705
363313b5
JM
157062012-12-05 Joseph Myers <joseph@codesourcery.com>
15707
effbd42a
JM
15708 * README: Don't refer to ports add-on as distributed separately.
15709 Mention AArch64 in list of systems supported in the ports add-on.
15710
87600365
JM
15711 * LICENSES: Add more non-FSF copyright and license notices.
15712
a0d7066a
JM
15713 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15714 ((unused)).
15715
66ca5a5b
JM
15716 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15717
363313b5
JM
15718 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15719 10000 as width of padded output.
15720
b37984ad
JM
157212012-12-04 Joseph Myers <joseph@codesourcery.com>
15722
9003570a
JM
15723 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15724
b37984ad
JM
15725 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15726 variable LX with __attribute__ ((unused)).
15727 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15728 Likewise.
15729 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15730 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15732 with __attribute__ ((unused)).
15733
c8df52ec
DM
157342012-12-04 David S. Miller <davem@abraco.davemloft.net>
15735
15736 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15737
b3b099af
JM
157382012-12-04 Joseph Myers <joseph@codesourcery.com>
15739
c33aa6e3
JM
15740 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15741 (CFLAGS-nldbl-acos.c): New variable.
15742 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15743 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15744 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15745 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15746 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15747 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15748 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15749 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15750 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15751 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15752 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15753 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15754 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15755 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15756 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15757 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15758 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15759 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15760 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15761 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15762 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15763 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15764 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15765 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15766 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15767 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15768 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15769 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15770 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15771 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15772 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15773 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15774 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15775 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15776 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15777 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15778 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15779 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15780 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15781 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15782 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15783 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15784 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15785 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15786 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15787 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15788 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15789 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15790 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15791 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15792 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15793 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15794 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15795 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15796 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15797 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15798 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15799 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15800 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15801 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15802 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15803 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15804 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15805 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15806 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15807 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15808 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15809 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15810 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15811 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15812 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15813 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15814 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15815 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15816 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15817 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15818 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15819 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15820 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15821 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15822 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15823 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15824 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15825 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15826 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15827 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15828 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15829 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15830 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15831 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15832 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15833 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15834 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15835 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15836 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15837 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15838 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15839
20f0018d
JM
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15841 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15842
b3b099af
JM
15843 [BZ #14914]
15844 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15845 whole low double instead of just low 47 bits when splitting values
15846 into two parts.
15847
029264d1
AM
158482012-12-03 Allan McRae <allan@archlinux.org>
15849
15850 * manual/stdio.texi (Predefined Printf Handlers): Remove
15851 @hsep and @vsep usage.
15852
c9d6789e
MF
158532012-12-03 Mike Frysinger <vapier@gentoo.org>
15854
15855 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15856 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15857
4b7634a5
JL
158582012-12-03 Jeff Law <law@redhat.com>
15859
15860 * time/sys/time.h (settimeofday): Do not mark TV argument
15861 as __nonnull.
15862
eb6cbd24
MF
158632012-12-01 Mike Frysinger <vapier@gentoo.org>
15864
15865 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15866 when currently writing and seek to current position when not.
15867 * libio/Makefile (tests): Remove bug-fclose1.
15868 * libio/bug-fclose1.c: Delete.
15869
f638872a
JM
158702012-12-01 Joseph Myers <joseph@codesourcery.com>
15871
15872 * manual/arith.texi (feenableexcept): Fix typo.
15873 (fedisableexcept): Likewise.
15874
48085d14
RM
158752012-11-30 Roland McGrath <roland@hack.frob.com>
15876
15877 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15878 second, differently-typed declaration, rather than a cast.
15879
1a538b9f
SP
158802012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15881
15882 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15883 * include/rpc/svc.h: ... here.
15884
d07f2ff1 158852012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15886
15887 [BZ #13013]
15888 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15889 depending n and resplen2 to catch cases where answer
15890 equals answerp2.
15891
c93ec1f0
CD
158922012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15893
15894 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15895 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15896
37db69de
MF
158972012-11-29 Mike Frysinger <vapier@gentoo.org>
15898
15899 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15900
e10c4e4f
RM
159012012-11-29 Roland McGrath <roland@hack.frob.com>
15902
15903 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15904
2af1b328
JL
159052012-11-28 Jeff Law <law@redhat.com>
15906
15907 [BZ #13761]
15908 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15909 dataset_temporary. Track alloca usage into alloca_used.
15910 If dataset is large allocate and release it via malloc/free.
15911
111db5b1
FW
159122012-06-04 Florian Weimer <fweimer@redhat.com>
15913
f06cc227 15914 [BZ #14197]
111db5b1
FW
15915 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15916
dd694abd
DM
159172012-11-28 David S. Miller <davem@davemloft.net>
15918
15919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15920
9984dd01
JM
159212012-11-28 Joseph Myers <joseph@codesourcery.com>
15922
15923 [BZ #14803]
15924 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15925 of pi/2 rounded to nearest to 64 bits.
15926 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15927 nearest to 64 bits.
15928 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15929 bits.
15930
14bc93a9
JL
159312012-11-28 Jeff Law <law@redhat.com>
15932 Martin Osvald <mosvald@redhat.com>
15933
15934 [BZ #14889]
15935 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15936 * sunrpc/svc.c: Include time.h.
15937 (__svc_accept_failed): New function.
15938 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15939 any reason other than EINTR, call __svc_accept_failed.
15940 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15941 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15942
e3c6aa3a
AS
159432012-11-28 Andreas Schwab <schwab@suse.de>
15944
15945 * scripts/abilist.awk: Also handle indirect functions in .opd
15946 section.
15947
1bead169
JM
159482012-11-28 Joseph Myers <joseph@codesourcery.com>
15949
15950 [BZ #13881]
15951 * sysdeps/x86/fpu/powl_helper.c: New file.
15952 * sysdeps/x86/fpu/Makefile: Likewise.
15953 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15954 (p3): New object.
15955 (__ieee754_powl): Use __powl_helper for finite arguments except
15956 integer exponents below 8.
15957 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15958 (p3): New object.
15959 (__ieee754_powl): Use __powl_helper for finite arguments except
15960 integer exponents below 8.
15961 * math/libm-test.inc (pow_test): Add more tests and enable some
15962 previously disabled tests.
15963 * sysdeps/i386/fpu/libm-test-ulps: Update.
15964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15965
0817d63d
SP
159662012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15967 Carlos O'Donell <carlos_odonell@mentor.com>
15968
15969 * nss/makedb.c (is_prime): Assert that input is odd and greater
15970 than 4. Note that fact in a comment too.
15971 (next_prime): Add 4 to input.
15972
de2fd463
SP
159732012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15974
15975 [BZ #11741]
15976 * libio/Makefile (tests): Add test case tst-fwrite-error.
15977 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15978 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15979 * libio/tst-fwrite-error.c: New test case.
15980
c515fb51
L
159812012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15982
15983 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15984 before casting to void *.
15985 * include/libc-internal.h (__pointer_type): New macro.
15986 (__integer_if_pointer_type_sub): Likewise.
15987 (__integer_if_pointer_type): Likewise.
15988 (cast_to_integer): Likewise.
15989 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15990 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15991 before casting to atomic64_t.
15992 (atomic_exchange_acq): Likewise.
15993 (__arch_exchange_and_add_body): Likewise.
15994 (__arch_add_body): Likewise.
15995 (atomic_add_negative): Likewise.
15996 (atomic_add_zero): Likewise.
15997
4cf77aa9
JM
159982012-11-26 Joseph Myers <joseph@codesourcery.com>
15999
16000 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16001 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16002 (add_fdes): Likewise.
16003 (linear_search_fdes): Likewise.
16004 (binary_search_unencoded_fdes): Likewise.
16005
d260b3b4
AS
160062012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16007
16008 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16009
67060746
AC
160102012-11-24 Adam Conrad <adconrad@0c3.net>
16011
16012 * configure.in: Autodetect C++ header directories.
16013 * configure: Regenerated.
16014
800938a1
MF
160152012-11-23 Mike Frysinger <vapier@gentoo.org>
16016
16017 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16018
4e6e34e6
AS
160192012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16020
16021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16022
7c7feb47
JM
160232012-11-22 Joseph Myers <joseph@codesourcery.com>
16024
7184dcdf
JM
16025 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16026 LDBL_MANT_DIG == 106]: Disable some tests.
16027 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16028 Likewise.
16029 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16030 Likewise.
16031
0a42601f
JM
16032 [BZ #14871]
16033 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16034 input for small inputs. Return +/- pi/2 for large inputs.
16035 * math/libm-test.inc (atan_test): Add more tests.
16036
79c9b9fe
JM
16037 * sysdeps/generic/unwind-dw2-fde-glibc.c
16038 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16039 __attribute__ ((unused)).
16040
c60d3bf2
JM
16041 [BZ #14645]
16042 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16043 x * y if x and y are nonzero and z is zero.
16044
ef1e0867
JM
16045 [BZ #14811]
16046 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16047 nonzero exponents with absolute value below 0x1p-117 to +/-
16048 0x1p-117.
16049
1468ded3
JM
16050 [BZ #14869]
16051 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16052 up arguments below 2**-450, not just those below 2**-500.
16053 * math/libm-test.inc (hypot_test): Add another test.
16054
8e27e3cc
JM
16055 [BZ #14868]
16056 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16057 Return a+b for ratio over 2**120, not 2**60.
16058 * math/libm-test.inc (hypot_test): Add another test.
16059
c9c0279b
JM
16060 * math/libm-test.inc (clog_test): Use
16061 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16062 (clog10_test): Likewise.
16063
7c7feb47
JM
16064 [BZ #6778]
16065 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16066
fff1530e
AS
160672012-11-22 Andreas Schwab <schwab@suse.de>
16068
16069 * sysdeps/i386/fpu/libm-test-ulps: Update.
16070
94558d30
PT
160712012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16072
16073 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16074 printf output with newline.
16075
7e1be741
L
160762012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16077
6bfea974
L
16078 [BZ #14865]
16079 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16080 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16081 -z nodlopen, -z initfirst and -z execstack support.
16082 * configure: Regenerated.
16083
7e1be741
L
16084 * elf/elf.h (DF_1_NODIRECT): New macro.
16085 (DF_1_IGNMULDEF): Likewise.
16086 (DF_1_NOKSYMS): Likewise.
16087 (DF_1_NOHDR): Likewise.
16088 (DF_1_EDITED): Likewise.
16089 (DF_1_NORELOC): Likewise.
16090 (DF_1_SYMINTPOSE): Likewise.
16091 (DF_1_GLOBAUDIT): Likewise.
16092 (DF_1_SINGLETON): Likewise.
16093 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16094 DT_1_SUPPORTED_MASK bits.
16095 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16096
105ce2ce
CD
160972012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16098
16099 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16100
123be9de
TS
161012012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16102
d072f3f7
TS
16103 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16104 macro.
16105
123be9de
TS
16106 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16107 (sendmmsg): Move declarations...
16108 * socket/sys/socket.h: ... here.
16109 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16110 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16111 include it from...
16112 * socket/recvmmsg.c: ... this new file.
16113 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16114 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16115 definition of __sendmmsg hidden.
16116 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16117 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16118 Move ENOSYS stub into and include it from...
16119 * socket/sendmmsg.c: ... this new file.
16120 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16121 (sysdep_routines): Move recvmmsg and sendmmsg...
16122 * socket/Makefile (routines): ... here.
16123 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16124 (GLIBC_PRIVATE): Add __sendmmsg.
16125 * include/sys/socket.h (__sendmmsg): Add declarations.
16126 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16127 sendmmsg.
16128
cf9a5d18
JM
161292012-11-20 Joseph Myers <joseph@codesourcery.com>
16130
16131 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16132 variable I1 with __attribute__ ((unused)).
16133 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16134
ecd4caf9
JM
161352012-11-19 Joseph Myers <joseph@codesourcery.com>
16136
be14d48f
JM
16137 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16138 DUMMY variables with __attribute__ ((unused)).
16139
ecd4caf9
JM
16140 * bits/byteswap.h: Include <bits/types.h>.
16141 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16142
986cab95
PT
161432012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16144
16145 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16146 string_t. Do not manually set errno.
16147 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16148 length with __strnlen. Make sure to both set errno and return it on
16149 failure.
16150
6d33cc9d
DM
161512012-11-19 David S. Miller <davem@davemloft.net>
16152
16153 With help from Joseph Myers.
16154 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16155 very large arguments properly.
16156 * math/libm-test.inc (atan_test): New tests.
16157 (atan2_test): New tests.
16158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16160
ee663277
JM
161612012-11-19 Joseph Myers <joseph@codesourcery.com>
16162
877f2d8e
JM
16163 [BZ #14856]
16164 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16165 Define to 3.
16166
116fc08a
JM
16167 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16168 [POSIX] (EADDRNOTAVAIL): Likewise.
16169 [POSIX] (EAFNOSUPPORT): Likewise.
16170 [POSIX] (EALREADY): Likewise.
16171 [POSIX] (ECONNABORTED): Likewise.
16172 [POSIX] (ECONNREFUSED): Likewise.
16173 [POSIX] (ECONNRESET): Likewise.
16174 [POSIX] (EDESTADDRREQ): Likewise.
16175 [POSIX] (EDQUOT): Likewise.
16176 [POSIX] (EHOSTUNREACH): Likewise.
16177 [POSIX] (EIDRM): Likewise.
16178 [POSIX] (EISCONN): Likewise.
16179 [POSIX] (ELOOP): Likewise.
16180 [POSIX] (EMULTIHOP): Likewise.
16181 [POSIX] (ENETDOWN): Likewise.
16182 [POSIX] (ENETUNREACH): Likewise.
16183 [POSIX] (ENOBUFS): Likewise.
16184 [POSIX] (ENODATA): Likewise.
16185 [POSIX] (ENOLINK): Likewise.
16186 [POSIX] (ENOMSG): Likewise.
16187 [POSIX] (ENOPROTOOPT): Likewise.
16188 [POSIX] (ENOSR): Likewise.
16189 [POSIX] (ENOSTR): Likewise.
16190 [POSIX] (ENOTCONN): Likewise.
16191 [POSIX] (ENOTSOCK): Likewise.
16192 [POSIX] (EOPNOTSUPP): Likewise.
16193 [POSIX] (EOVERFLOW): Likewise.
16194 [POSIX] (EPROTO): Likewise.
16195 [POSIX] (EPROTONOSUPPORT): Likewise.
16196 [POSIX] (EPROTOTYPE): Likewise.
16197 [POSIX] (ESTALE): Likewise.
16198 [POSIX] (ETIME): Likewise.
16199 [POSIX] (ETXTBSY): Likewise.
16200 [POSIX] (EWOULDBLOCK): Likewise.
16201 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16202 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16203 [POSIX] (SEEK_CUR): Likewise.
16204 [POSIX] (SEEK_END): Likewise.
16205 [POSIX || UNIX98] (mode_t): Do not require.
16206 [POSIX] (off_t): Likewise.
16207 [POSIX] (pid_t): Likewise.
16208 [POSIX] (sys/stat.h): Do not allow header.
16209 [POSIX] (unistd.h): Likewise.
16210 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16211 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16212 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16213 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16214 require.
16215 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16216 sigevent): Specify elements.
16217 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16218 entry.
16219 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16220 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16221
a483863f
JM
16222 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16223 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16224 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16225 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16226 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16227 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16228 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16229 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16230 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16231 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16232 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16233 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16234 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16235 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16236 Likewise.
16237 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16238 Likewise.
16239 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16240 Likewise.
16241 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16242 Likewise.
16243 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16244 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16245 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16246 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16247 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16248 Specify lower bound on value.
16249 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16250 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16251 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16252 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16253 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16254 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16255 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16256 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16257 value.
16258 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16259 as optional.
16260 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16261 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16263 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16264 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16265 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16266 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16267 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16268 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16269 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16270 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16271 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16272 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16273 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16274 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16275 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16276 entry.
16277 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16278 optional.
16279 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16280 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16281 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16282 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16283 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16284 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16285 Likewise.
16286 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16287 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16288 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16289 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16290 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16291 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16292 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16293 as optional.
16294 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16295 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16296 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16297 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16298 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16299 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16300 specify as optional.
16301 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16302 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16303 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16304 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16305 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16306 [XPG3] (NL_LANGMAX): Likewise.
16307 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16308 [POSIX || XPG3] (NL_NMAX): Likewise.
16309 [POSIX || XPG3] (NL_SETMAX): Likewise.
16310 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16311 [XPG3] (NZERO): Likewise.
16312 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16313 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16314 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16315 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16316 (REG_ERANGE): Expect.
16317 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16318 optional-constant.
16319 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16320 Use (void) in prototype.
16321 [POSIX] (*_t): Allow.
16322 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16323 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16324 (WRDE_BADVAL): Expect.
16325
5ba924e3
JM
16326 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16327 expect.
16328 [XPG3 || XPG4] (O_RSYNC): Likewise.
16329 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16330 Likewise.
16331 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16332 [XPG3 || XPG4] (sigqueue): Likewise.
16333 [XPG3 || XPG4] (sigtimedwait): Likewise.
16334 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16335 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16336 [XPG3 || XPG4] (vsnprintf): Likewise.
16337 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16338 Likewise.
16339 [XPG3 || XPG4] (blksize_t): Likewise.
16340 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16341 Likewise.
16342 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16343 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16344 [XPG3 || XPG4] (struct itimerspec): Likewise.
16345 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16346 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16347 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16348 [XPG3 || XPG4] (clockid_t): Likewise.
16349 [XPG3 || XPG4] (timer_t): Likewise.
16350 [XPG3 || XPG4] (clock_getres): Likewise.
16351 [XPG3 || XPG4] (clock_gettime): Likewise.
16352 [XPG3 || XPG4] (clock_settime): Likewise.
16353 [XPG3 || XPG4] (nanosleep): Likewise.
16354 [XPG3 || XPG4] (timer_create): Likewise.
16355 [XPG3 || XPG4] (timer_delete): Likewise.
16356 [XPG3 || XPG4] (timer_gettime): Likewise.
16357 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16358 [XPG3 || XPG4] (timer_settime): Likewise.
16359 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16360 [XPG3 || XPG4] (getlogin_r): Likewise.
16361 [XPG3 || XPG4] (pread): Likewise.
16362 [XPG3 || XPG4] (pthread_atfork): Likewise.
16363 [XPG3 || XPG4] (pwrite): Likewise.
16364
ee663277
JM
16365 [BZ #14835]
16366 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16367 <bits/siginfo.h>.
16368
942caa16
PT
163692012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16370
e19af380
PT
16371 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16372 finalizing MALLSTREAM.
16373
942caa16
PT
16374 * sysdeps/mach/hurd/syncfs.c: New file.
16375
cfde9b46
SP
163762012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16377
16378 [BZ #14719]
16379 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16380 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16381 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16382 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16383 (_nss_dns_gethostbyname4_r): Likewise.
16384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16385 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16386
f6da27e5
PH
163872012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16388
16389 [BZ #13763]
16390 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16391
6665d4a2
SM
163922012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16393
1f51ee92
SM
16394 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16395 * elf/cache.c (print_entry): Print ",AArch64" for
16396 FLAG_AARCH64_LIB64
16397
6665d4a2
SM
16398 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16399 * elf/cache.c (print_entry): Print ",hard-float" for
16400 FLAG_ARM_LIBHF.
16401
05b227bd
DM
164022012-11-18 David S. Miller <davem@davemloft.net>
16403
16404 With help from Joseph Myers.
16405 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16406 cutoff to 2**-13.
16407 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16408 cutoff to 2**-25.
16409 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16410 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16411 small.
16412 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16413 * math/libm-test.inc (y0_test): New tests.
16414 (y1_test): New tests.
16415 * sysdeps/i386/fpu/libm-test-ulps: Update.
16416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16418
786b0b67
AS
164192012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16420
16421 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16422 64-bit targets.
16423 * configure: Regenerated.
16424
8e18b86d
DM
164252012-11-17 David S. Miller <davem@davemloft.net>
16426
16427 [BZ #14811]
16428 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16429 nonzero exponents with absolute value below 0x1p-128 to +/-
16430 0x1p-128.
16431
531f1ae0
JM
164322012-11-17 Joseph Myers <joseph@codesourcery.com>
16433
12df29e2
JM
16434 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16435
150dc1a0
JM
16436 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16437
531f1ae0
JM
16438 * posix/getconf-speclist.c: New file.
16439 * posix/posix-envs.def: Likewise.
16440 * posix/confstr.c (START_ENV_GROUP): New macro.
16441 (END_ENV_GROUP): Likewise.
16442 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16443 (KNOWN_PRESENT_ENV_STRING): Likewise.
16444 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16445 (UNKNOWN_ENVIRONMENT): Likewise.
16446 (confstr): Include posix-envs.def instead of handling
16447 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16448 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16449 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16450 (END_ENV_GROUP): Likewise.
16451 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16452 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16453 (UNKNOWN_ENVIRONMENT): Likewise.
16454 (__sysconf): Include posix-envs.def instead of handling associated
16455 cases directly here.
16456 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16457 preprocessing getconf-speclist.c rather than running getconf or
16458 generating empty file.
16459
a93f9cbc
PT
164602012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16461
16462 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16463
d64d9f87
AL
164642012-11-16 Andrej Lajovic <natrij@gmail.com>
16465
16466 [BZ #14672]
16467 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16468
447885eb
DM
164692012-11-16 David S. Miller <davem@davemloft.net>
16470
16471 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16472 smaller than LDBL_EPSILON/2.0L, just return xm1.
16473
bcbf9830
L
164742012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16475
16476 * elf/tst-array1.c (init): Set constructor priority to 1000.
16477 (fini): Set destructor priority to 1000.
16478 * elf/tst-array2dep.c: Likewise.
16479
2b766585
SP
164802012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16481
16482 [BZ #11741]
16483 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16484 (_IO_new_file_xsputn): Also return EOF if none of the input
16485 data was written when overflow failed.
16486 * libio/iopadn.c (_IO_padn): Likewise.
16487 * libio/iowpadn.c (_IO_wpadn): Likewise.
16488 * stdio-common/tst-put-error.c: Add copyright notice.
16489 (do_test): Add case for printing padded string.
16490 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16491 _IO_padn returned error.
16492 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16493 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16494 return EOF.
16495
b1848fde
SP
164962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16497
16498 * libio/libioP.h: Add comment note that the references to C++
16499 bits are now obsolete.
16500
2fd89785
MS
165012012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16502
16503 * math/libm-test.inc (check_complex): Use asprintf.
16504
e3ea5409
JM
165052012-11-14 Joseph Myers <joseph@codesourcery.com>
16506
16507 * debug/pcprofiledump.c (print_version): Update copyright year.
16508 * malloc/memusagestat.c (print_version): Likewise.
16509
2e64d265
L
165102012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16511
16512 [BZ #14831]
16513 * elf/Makefile (tests): Add tst-audit8.
16514 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16515 ($(objpfx)tst-audit8.out): New target.
16516 (tst-audit8-ENV): New variable.
16517 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16518 audit if l_reloc_result is NULL.
16519 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16520 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16521 * elf/tst-audit8.c: New file.
16522
c485e4d2
MS
165232012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16524
16525 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16526 * misc/Makefile (CFLAGS-select.c): Define.
16527 * posix/Makefile (CFLAGS-pause.c): Define.
16528
3a0d900a
DM
165292012-11-13 David S. Miller <davem@davemloft.net>
16530
16531 * crypt/Makefile: Move test targets after toplevel Rules
16532 inclusion. Grab any necessary sysdep routines when linking.
16533 * crypt/md5.c (md5_process_block): Remove define, we will always
16534 name it __md5_process_block.
16535 (md5_finish_ctx): Update md5_process_block call.
16536 (md5_stream): Likewise.
16537 (md5_process_bytes): Likewise.
16538 (md5_process_block): Rename to __md5_process_block and move to ...
16539 * crypt/md5-block.c: ... here.
16540 * crypt/sha256.c (sha256_process_block): Move to ...
16541 * crypt/sha256-block.c: ... here.
16542 * crypt/sha512.c (sha512_process_block): Move to ...
16543 * crypt/sha512-block.c: ... here.
16544 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16545 path.
16546 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16547 * sysdeps/sparc/sparc64/multiarch/Makefile
16548 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16549 crypt subdir.
16550 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16551 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16552 multiarch changes.
16553 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16554 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16555 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16556 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16557 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16558 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16559 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16560 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16561 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16562 file.
16563 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16564 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16565 file.
16566 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16567
8ca89318
JM
165682012-11-13 Joseph Myers <joseph@codesourcery.com>
16569
e27d476a
JM
16570 * timezone/tzselect.ksh: Update from tzcode git revision
16571 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16572 * timezone/zdump.c: Likewise.
16573 * timezone/zic.c: Likewise.
16574 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16575 in TZVERSION setting, not $(PKGVERSION).
16576 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16577 REPORT_BUGS_TO settings.
16578
8ca89318
JM
16579 [BZ #14838]
16580 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16581 macro.
16582
47594329
MS
165832012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16584
16585 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16586 detection to immediately after _FP_ROUND().
16587 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16588 bits are 0.
16589
640ac3f1
DM
165902012-11-11 David S. Miller <davem@davemloft.net>
16591
16592 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16593 inttypes.h
16594 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16595 __close rather than their public counterparts.
16596
3d2577bb
JM
165972012-11-10 Joseph Myers <joseph@codesourcery.com>
16598
16599 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16600 file.
16601 [UNIX98] (sem_timedwait): Do not expect.
16602 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16603 [XPG4 || UNIX98] (sockatmark): Do not expect.
16604 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16605 (clock_getcpuclockid): Do not expect.
16606 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16607 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16608 Do not expect.
16609 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16610 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16611 [UNIX98] (vwscanf): Likewise.
16612 [UNIX98] (vswscanf): Likewise.
16613
fb1ae1ee
JM
166142012-11-09 Joseph Myers <joseph@codesourcery.com>
16615
9ec6f8bd
JM
16616 * timezone/version.h: Remove file.
16617 * timezone/README: Do not refer to version.h.
16618 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16619 $(objpfx)version.h.
16620 ($(objpfx)zdump.o): Likewise.
c3f81911 16621 ($(objpfx)version.h): New target.
9ec6f8bd 16622
0aa8f8a1
JM
16623 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16624 2012i.
16625 * timezone/README: Don't mention modification to tzselect.ksh.
16626 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16627 work on unmodified tzselect.ksh. Substitute version numbers in
16628 tzselect.ksh.
16629
4e87147f
JM
16630 * Makefile (format-me): Remove.
16631 (INSTALL): Adjust indentation. Use commands directly instead of
16632 using $(format-me).
16633
8b748aed
JM
16634 * aclocal.m4 (ACX_PKGVERSION): New macro.
16635 (ACX_BUGURL): Likewise.
16636 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16637 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16638 (REPORT_BUGS_TO): Likewise.
16639 * configure: Regenerated.
16640 * config.h.in (PKGVERSION): New macro.
16641 (REPORT_BUGS_TO): Likewise.
16642 * config.make.in (PKGVERSION): New variable.
16643 (PKGVERSION_TEXI): Likewise.
16644 (REPORT_BUGS_TO): Likewise.
16645 (REPORT_BUGS_TEXI): Likewise.
16646 * Makefile (format-me): Use -I$(common-objpfx)manual.
16647 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16648 ($(common-objpfx)manual/%): New target.
16649 (manual/%): Remove target.
16650 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16651 (print_version): Use PKGVERSION.
16652 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16653 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16654 and REPORT_BUGS_TO.
16655 ($(objpfx)xtrace): Likewise.
16656 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16657 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16658 (print_version): Use PKGVERSION.
16659 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16660 (do_version): Use PKGVERSION.
16661 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16662 REPORT_BUGS_TO.
16663 (common-ldd-rewrite): Likewise.
16664 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16665 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16666 (print_version): Use PKGVERSION.
16667 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16668 * elf/pldd.c (argp_program_bug_address): Remove variable.
16669 (more_help): New function.
16670 (argp): Use more_help.
16671 (print_version): Use PKGVERSION.
16672 * elf/sln.c (main): Use PKGVERSION.
16673 (usage): Use REPORT_BUGS_TO.
16674 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16675 (top level): Use PKGVERSION.
16676 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16677 (print_version): Use PKGVERSION.
16678 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16679 (print_version): Use PKGVERSION.
16680 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16681 (print_version): Use PKGVERSION.
16682 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16683 (print_version): Use PKGVERSION.
16684 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16685 (print_version): Use PKGVERSION.
16686 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16687 (print_version): Use PKGVERSION.
16688 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16689 and BUGURL.
16690 ($(objpfx)memusage): Likewise.
16691 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16692 (do_version): Use PKGVERSION.
16693 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16694 (print_version): Use PKGVERSION.
16695 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16696 ($PKGVERSION): New variable.
16697 ($REPORT_BUGS_TO): Likewise.
16698 (usage): Use $REPORT_BUGS_TO.
16699 (top level): Use $PKGVERSION.
16700 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16701 ($(objpfx)pkgvers.texi): New rule.
16702 ($(objpfx)stamp-pkgvers): Likewise.
16703 * manual/install.texi: Include pkgvers.texi.
16704 (--with-pkgversion): Document new configure option.
16705 (--with-bugurl): Likewise.
16706 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16707 than necessarily for this particular distribution. Use
16708 REPORT_BUGS_TO for where to report bugs.
16709 * INSTALL: Regenerated.
16710 * manual/libc.texinfo: Include pkgvers.texi.
16711 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16712 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16713 (print_version): Use PKGVERSION.
16714 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16715 (print_version): Use PKGVERSION.
16716 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16717 (print_version): Use PKGVERSION.
16718 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16719 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16720 macro.
16721 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16722 (print_version): Use PKGVERSION.
16723 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16724 (print_version): Use PKGVERSION.
16725 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16726 and PKGVERSION.
16727
92e4b6a9
JM
16728 * timezone/checktab.awk: Update from tzcode 2012i.
16729 * timezone/ialloc.c: Likewise.
16730 * timezone/private.h: Likewise.
16731 * timezone/scheck.c: Likewise.
16732 * timezone/tzfile.h: Likewise.
16733 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16734 (TZVERSION): Hardcode tzcode version number.
16735 * timezone/zdump.c: Update from tzcode 2012i.
16736 * timezone/zic.c: Likewise.
16737 * timezone/version.h: New file.
16738 * timezone/README: Describe version.h. Update upstream location.
16739
9bde902c
JM
16740 [BZ #14824]
16741 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16742 (mktemp): Enable declaration.
16743 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16744 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16745 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16746 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16747 Likewise.
16748 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16749 Likewise.
16750 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16751 Likewise.
16752 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16753 Likewise.
16754 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16755 Likewise.
16756 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16757 Likewise.
16758
fb1ae1ee
JM
16759 [BZ #14821]
16760 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16761 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16762 for copies of such integer values.
16763 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16764 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16765
2c1adbcb
AJ
167662012-11-09 Andreas Jaeger <aj@suse.de>
16767
16768 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16769 definitions and declarations that are provided by
16770 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16771
d0f8457e
AK
167722012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16773
3a235abb 16774 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16775 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16776 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16777 definition.
16778
57241e26
MS
167792012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16780
16781 * elf/elf.h: Update comment before AArch64 relocations.
16782
60e8270d
DM
167832012-11-07 David S. Miller <davem@davemloft.net>
16784
16785 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16786 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16787 (__start_context): Declare.
16788 (__makecontext_ret): Delete.
16789 (__makecontext): Hook up __start_context instead of
16790 __makecontext_ret.
16791 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16792 (sysdep_routines): Add __start_context when in stdlib.
16793
0fbb0fbc
JM
167942012-11-07 Joseph Myers <joseph@codesourcery.com>
16795
16796 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16797 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16798 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16799 hardcoded "nm".
16800 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16801 (READELF): New variable. Use it instead of hardcoded "readelf".
16802
eb48db7e
L
168032012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16804
16805 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16806 * sysdeps/x86/Makefile: Here.
16807 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16808 * sysdeps/x86/tst-xmmymm.sh: This.
16809
05bcf62a
JM
168102012-11-07 Joseph Myers <joseph@codesourcery.com>
16811
c4b6cf53
JM
16812 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16813 expectations.
16814 [UNIX98] (pthread_barrier_t): Do not expect.
16815 [UNIX98] (pthread_barrierattr_t): Likewise.
16816 [UNIX98] (pthread_spinlock_t): Likewise.
16817 [UNIX98] (pthread_barrier_destroy): Likewise.
16818 [UNIX98] (pthread_barrier_init): Likewise.
16819 [UNIX98] (pthread_barrier_wait): Likewise.
16820 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16821 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16822 [UNIX98] (pthread_barrierattr_init): Likewise.
16823 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16824 [UNIX98] (pthread_getcpuclockid): Likewise.
16825 [UNIX98] (pthread_mutex_timedlock): Likewise.
16826 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16827 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16828 [UNIX98] (pthread_sigmask): Likewise.
16829 [UNIX98] (pthread_spin_destroy): Likewise.
16830 [UNIX98] (pthread_spin_init): Likewise.
16831 [UNIX98] (pthread_spin_lock): Likewise.
16832 [UNIX98] (pthread_spin_trylock): Likewise.
16833 [UNIX98] (pthread_spin_unlock): Likewise.
16834 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16835 Do not expect.
16836 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16837 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16838 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16839 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16840 [XPG3 || XPG4] (pthread_key_t): Likewise.
16841 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16842 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16843 [XPG3 || XPG4] (pthread_once_t): Likewise.
16844 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16845 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16846 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16847 [XPG3 || XPG4] (pthread_t): Likewise.
16848
cbe6e120
JM
16849 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16850 not expect.
16851 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16852
1b126443
JM
16853 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16854 Change function return type to int.
16855
b961a573
JM
16856 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16857 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16858 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16859 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16860 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16861 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16862 [!POSIX] (posix_madvise): Likewise.
16863 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16864 && !UNIX98].
16865 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16866 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16867 (mode_t): Likewise.
16868 (posix_mem_offset): Likewise.
16869 (posix_typed_mem_get_info): Likewise.
16870 (posix_typed_mem_open): Likewise.
16871
9e188909
JM
16872 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16873 Change condition to [XOPEN2K8].
16874
05bcf62a
JM
16875 * conform/conformtest.pl: Preprocess allow-header data with -x c
16876 instead of from stdin.
16877 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16878 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16879 [C99-based standards] (cerfc): Likewise.
16880 [C99-based standards] (cexp2): Likewise.
16881 [C99-based standards] (cexpm1): Likewise.
16882 [C99-based standards] (clog10): Likewise.
16883 [C99-based standards] (clog1p): Likewise.
16884 [C99-based standards] (clog2): Likewise.
16885 [C99-based standards] (clgamma): Likewise.
16886 [C99-based standards] (ctgamma): Likewise.
16887 [C99-based standards] (cerff): Likewise.
16888 [C99-based standards] (cerfcf): Likewise.
16889 [C99-based standards] (cexp2f): Likewise.
16890 [C99-based standards] (cexpm1f): Likewise.
16891 [C99-based standards] (clog10f): Likewise.
16892 [C99-based standards] (clog1pf): Likewise.
16893 [C99-based standards] (clog2f): Likewise.
16894 [C99-based standards] (clgammaf): Likewise.
16895 [C99-based standards] (ctgammaf): Likewise.
16896 [C99-based standards] (cerfl): Likewise.
16897 [C99-based standards] (cerfcl): Likewise.
16898 [C99-based standards] (cexp2l): Likewise.
16899 [C99-based standards] (cexpm1l): Likewise.
16900 [C99-based standards] (clog10l): Likewise.
16901 [C99-based standards] (clog1pl): Likewise.
16902 [C99-based standards] (clog2l): Likewise.
16903 [C99-based standards] (clgammal): Likewise.
16904 [C99-based standards] (ctgammal): Likewise.
16905 * conform/data/inttypes.h-data [C99-based standards]: Include
16906 stdint.h-data. Remove all expectations for stdint.h contents.
16907 [C99-based standards] (PRI*): Do not allow.
16908 [C99-based standards] (SCN*): Likewise.
16909 [C99-based standards] (*_t): Likewise.
16910 [C99-based-standards] (PRId8): Expect macro.
16911 [C99-based-standards] (PRIi8): Likewise.
16912 [C99-based-standards] (PRIo8): Likewise.
16913 [C99-based-standards] (PRIu8): Likewise.
16914 [C99-based-standards] (PRIx8): Likewise.
16915 [C99-based-standards] (PRIX8): Likewise.
16916 [C99-based-standards] (SCNd8): Likewise.
16917 [C99-based-standards] (SCNi8): Likewise.
16918 [C99-based-standards] (SCNo8): Likewise.
16919 [C99-based-standards] (SCNu8): Likewise.
16920 [C99-based-standards] (SCNx8): Likewise.
16921 [C99-based-standards] (PRIdLEAST8): Likewise.
16922 [C99-based-standards] (PRIiLEAST8): Likewise.
16923 [C99-based-standards] (PRIoLEAST8): Likewise.
16924 [C99-based-standards] (PRIuLEAST8): Likewise.
16925 [C99-based-standards] (PRIxLEAST8): Likewise.
16926 [C99-based-standards] (PRIXLEAST8): Likewise.
16927 [C99-based-standards] (SCNdLEAST8): Likewise.
16928 [C99-based-standards] (SCNiLEAST8): Likewise.
16929 [C99-based-standards] (SCNoLEAST8): Likewise.
16930 [C99-based-standards] (SCNuLEAST8): Likewise.
16931 [C99-based-standards] (SCNxLEAST8): Likewise.
16932 [C99-based-standards] (PRIdFAST8): Likewise.
16933 [C99-based-standards] (PRIiFAST8): Likewise.
16934 [C99-based-standards] (PRIoFAST8): Likewise.
16935 [C99-based-standards] (PRIuFAST8): Likewise.
16936 [C99-based-standards] (PRIxFAST8): Likewise.
16937 [C99-based-standards] (PRIXFAST8): Likewise.
16938 [C99-based-standards] (SCNdFAST8): Likewise.
16939 [C99-based-standards] (SCNiFAST8): Likewise.
16940 [C99-based-standards] (SCNoFAST8): Likewise.
16941 [C99-based-standards] (SCNuFAST8): Likewise.
16942 [C99-based-standards] (SCNxFAST8): Likewise.
16943 [C99-based-standards] (PRId16): Likewise.
16944 [C99-based-standards] (PRIi16): Likewise.
16945 [C99-based-standards] (PRIo16): Likewise.
16946 [C99-based-standards] (PRIu16): Likewise.
16947 [C99-based-standards] (PRIx16): Likewise.
16948 [C99-based-standards] (PRIX16): Likewise.
16949 [C99-based-standards] (SCNd16): Likewise.
16950 [C99-based-standards] (SCNi16): Likewise.
16951 [C99-based-standards] (SCNo16): Likewise.
16952 [C99-based-standards] (SCNu16): Likewise.
16953 [C99-based-standards] (SCNx16): Likewise.
16954 [C99-based-standards] (PRIdLEAST16): Likewise.
16955 [C99-based-standards] (PRIiLEAST16): Likewise.
16956 [C99-based-standards] (PRIoLEAST16): Likewise.
16957 [C99-based-standards] (PRIuLEAST16): Likewise.
16958 [C99-based-standards] (PRIxLEAST16): Likewise.
16959 [C99-based-standards] (PRIXLEAST16): Likewise.
16960 [C99-based-standards] (SCNdLEAST16): Likewise.
16961 [C99-based-standards] (SCNiLEAST16): Likewise.
16962 [C99-based-standards] (SCNoLEAST16): Likewise.
16963 [C99-based-standards] (SCNuLEAST16): Likewise.
16964 [C99-based-standards] (SCNxLEAST16): Likewise.
16965 [C99-based-standards] (PRIdFAST16): Likewise.
16966 [C99-based-standards] (PRIiFAST16): Likewise.
16967 [C99-based-standards] (PRIoFAST16): Likewise.
16968 [C99-based-standards] (PRIuFAST16): Likewise.
16969 [C99-based-standards] (PRIxFAST16): Likewise.
16970 [C99-based-standards] (PRIXFAST16): Likewise.
16971 [C99-based-standards] (SCNdFAST16): Likewise.
16972 [C99-based-standards] (SCNiFAST16): Likewise.
16973 [C99-based-standards] (SCNoFAST16): Likewise.
16974 [C99-based-standards] (SCNuFAST16): Likewise.
16975 [C99-based-standards] (SCNxFAST16): Likewise.
16976 [C99-based-standards] (PRId32): Likewise.
16977 [C99-based-standards] (PRIi32): Likewise.
16978 [C99-based-standards] (PRIo32): Likewise.
16979 [C99-based-standards] (PRIu32): Likewise.
16980 [C99-based-standards] (PRIx32): Likewise.
16981 [C99-based-standards] (PRIX32): Likewise.
16982 [C99-based-standards] (SCNd32): Likewise.
16983 [C99-based-standards] (SCNi32): Likewise.
16984 [C99-based-standards] (SCNo32): Likewise.
16985 [C99-based-standards] (SCNu32): Likewise.
16986 [C99-based-standards] (SCNx32): Likewise.
16987 [C99-based-standards] (PRIdLEAST32): Likewise.
16988 [C99-based-standards] (PRIiLEAST32): Likewise.
16989 [C99-based-standards] (PRIoLEAST32): Likewise.
16990 [C99-based-standards] (PRIuLEAST32): Likewise.
16991 [C99-based-standards] (PRIxLEAST32): Likewise.
16992 [C99-based-standards] (PRIXLEAST32): Likewise.
16993 [C99-based-standards] (SCNdLEAST32): Likewise.
16994 [C99-based-standards] (SCNiLEAST32): Likewise.
16995 [C99-based-standards] (SCNoLEAST32): Likewise.
16996 [C99-based-standards] (SCNuLEAST32): Likewise.
16997 [C99-based-standards] (SCNxLEAST32): Likewise.
16998 [C99-based-standards] (PRIdFAST32): Likewise.
16999 [C99-based-standards] (PRIiFAST32): Likewise.
17000 [C99-based-standards] (PRIoFAST32): Likewise.
17001 [C99-based-standards] (PRIuFAST32): Likewise.
17002 [C99-based-standards] (PRIxFAST32): Likewise.
17003 [C99-based-standards] (PRIXFAST32): Likewise.
17004 [C99-based-standards] (SCNdFAST32): Likewise.
17005 [C99-based-standards] (SCNiFAST32): Likewise.
17006 [C99-based-standards] (SCNoFAST32): Likewise.
17007 [C99-based-standards] (SCNuFAST32): Likewise.
17008 [C99-based-standards] (SCNxFAST32): Likewise.
17009 [C99-based-standards] (PRId64): Likewise.
17010 [C99-based-standards] (PRIi64): Likewise.
17011 [C99-based-standards] (PRIo64): Likewise.
17012 [C99-based-standards] (PRIu64): Likewise.
17013 [C99-based-standards] (PRIx64): Likewise.
17014 [C99-based-standards] (PRIX64): Likewise.
17015 [C99-based-standards] (SCNd64): Likewise.
17016 [C99-based-standards] (SCNi64): Likewise.
17017 [C99-based-standards] (SCNo64): Likewise.
17018 [C99-based-standards] (SCNu64): Likewise.
17019 [C99-based-standards] (SCNx64): Likewise.
17020 [C99-based-standards] (PRIdLEAST64): Likewise.
17021 [C99-based-standards] (PRIiLEAST64): Likewise.
17022 [C99-based-standards] (PRIoLEAST64): Likewise.
17023 [C99-based-standards] (PRIuLEAST64): Likewise.
17024 [C99-based-standards] (PRIxLEAST64): Likewise.
17025 [C99-based-standards] (PRIXLEAST64): Likewise.
17026 [C99-based-standards] (SCNdLEAST64): Likewise.
17027 [C99-based-standards] (SCNiLEAST64): Likewise.
17028 [C99-based-standards] (SCNoLEAST64): Likewise.
17029 [C99-based-standards] (SCNuLEAST64): Likewise.
17030 [C99-based-standards] (SCNxLEAST64): Likewise.
17031 [C99-based-standards] (PRIdFAST64): Likewise.
17032 [C99-based-standards] (PRIiFAST64): Likewise.
17033 [C99-based-standards] (PRIoFAST64): Likewise.
17034 [C99-based-standards] (PRIuFAST64): Likewise.
17035 [C99-based-standards] (PRIxFAST64): Likewise.
17036 [C99-based-standards] (PRIXFAST64): Likewise.
17037 [C99-based-standards] (SCNdFAST64): Likewise.
17038 [C99-based-standards] (SCNiFAST64): Likewise.
17039 [C99-based-standards] (SCNoFAST64): Likewise.
17040 [C99-based-standards] (SCNuFAST64): Likewise.
17041 [C99-based-standards] (SCNxFAST64): Likewise.
17042 [C99-based-standards] (PRIdMAX): Likewise.
17043 [C99-based-standards] (PRIiMAX): Likewise.
17044 [C99-based-standards] (PRIoMAX): Likewise.
17045 [C99-based-standards] (PRIuMAX): Likewise.
17046 [C99-based-standards] (PRIxMAX): Likewise.
17047 [C99-based-standards] (PRIXMAX): Likewise.
17048 [C99-based-standards] (SCNdMAX): Likewise.
17049 [C99-based-standards] (SCNiMAX): Likewise.
17050 [C99-based-standards] (SCNoMAX): Likewise.
17051 [C99-based-standards] (SCNuMAX): Likewise.
17052 [C99-based-standards] (SCNxMAX): Likewise.
17053 [C99-based-standards] (PRIdPTR): Likewise.
17054 [C99-based-standards] (PRIiPTR): Likewise.
17055 [C99-based-standards] (PRIoPTR): Likewise.
17056 [C99-based-standards] (PRIuPTR): Likewise.
17057 [C99-based-standards] (PRIxPTR): Likewise.
17058 [C99-based-standards] (PRIXPTR): Likewise.
17059 [C99-based-standards] (SCNdPTR): Likewise.
17060 [C99-based-standards] (SCNiPTR): Likewise.
17061 [C99-based-standards] (SCNoPTR): Likewise.
17062 [C99-based-standards] (SCNuPTR): Likewise.
17063 [C99-based-standards] (SCNxPTR): Likewise.
17064 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17065 allow.
17066 * conform/data/stdint.h-data: Update comments to clarify
17067 requirements.
17068 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17069 type.
17070 [C99-based standards] (INT8_MAX): Likewise.
17071 [C99-based standards] (INT16_MIN): Likewise.
17072 [C99-based standards] (INT16_MAX): Likewise.
17073 [C99-based standards] (INT32_MIN): Likewise.
17074 [C99-based standards] (INT32_MAX): Likewise.
17075 [C99-based standards] (INT64_MIN): Likewise.
17076 [C99-based standards] (INT64_MAX): Likewise.
17077 [C99-based standards] (UINT8_MAX): Likewise.
17078 [C99-based standards] (UINT16_MAX): Likewise.
17079 [C99-based standards] (UINT32_MAX): Likewise.
17080 [C99-based standards] (UINT64_MAX): Likewise.
17081 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17082 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17083 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17084 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17085 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17086 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17087 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17088 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17089 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17090 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17091 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17092 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17093 [C99-based standards] (INT_FAST8_MIN): Likewise.
17094 [C99-based standards] (INT_FAST8_MAX): Likewise.
17095 [C99-based standards] (INT_FAST16_MIN): Likewise.
17096 [C99-based standards] (INT_FAST16_MAX): Likewise.
17097 [C99-based standards] (INT_FAST32_MIN): Likewise.
17098 [C99-based standards] (INT_FAST32_MAX): Likewise.
17099 [C99-based standards] (INT_FAST64_MIN): Likewise.
17100 [C99-based standards] (INT_FAST64_MAX): Likewise.
17101 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17102 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17103 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17104 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17105 [C99-based standards] (INTPTR_MIN): Likewise.
17106 [C99-based standards] (INTPTR_MAX): Likewise.
17107 [C99-based standards] (UINTPTR_MAX): Likewise.
17108 [C99-based standards] (INTMAX_MIN): Likewise.
17109 [C99-based standards] (INTMAX_MAX): Likewise.
17110 [C99-based standards] (UINTMAX_MAX): Likewise.
17111 [C99-based standards] (PTRDIFF_MIN): Likewise.
17112 [C99-based standards] (PTRDIFF_MAX): Likewise.
17113 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17114 [C99-based standards] (SIZE_MAX): Likewise.
17115 [C99-based standards] (WCHAR_MAX): Likewise.
17116 [C99-based standards] (WINT_MAX): Likewise.
17117 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17118 constraint on value.
17119 [C99-based standards] (WCHAR_MIN): Likewise.
17120 [C99-based standards] (WINT_MIN): Likewise.
17121 [C99-based standards] (*_t): Allow.
17122 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17123 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17124 Include math.h-data and complex.h-data. Remove all expectations
17125 of math.h and complex.h contents.
17126 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17127 at end of line.
17128 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17129 (struct tm): Expect tag.
17130 [C99-based-standards] (wcstof): Expect function.
17131 [C99-based-standards] (wcstold): Likewise.
17132 [C99-based-standards] (wcstoll): Likewise.
17133 [C99-based-standards] (wcstoull): Likewise.
17134 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17135 macro-int-constant. Specify type.
17136 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17137 constraint on value.
17138 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17139 Specify type.
17140 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17141 Specify value.
17142 [ISO C standards]: Do not allow headers.
17143 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17144 wcs[abcdefghijklmnopqrstuvwxyz]*.
17145 [ISO C standards] (*_t): Do not allow.
17146 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17147 Expect function.
17148 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17149 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17150 Specify type.
17151 [ISO C standards]: Do not allow headers.
17152 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17153 is[abcdefghijklmnopqrstuvwxyz]*.
17154 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17155 to[abcdefghijklmnopqrstuvwxyz]*.
17156 [ISO C standards] (*_t): Do not allow.
17157 * conform/data/stdalign.h-data: New file.
17158 * conform/data/stdbool.h-data: Likewise.
17159 * conform/data/stdnoreturn.h-data: Likewise.
17160
7514feb8
RM
171612012-11-07 Roland McGrath <roland@hack.frob.com>
17162
17163 [BZ #14815]
17164 * manual/filesys.texi (Directory Entries): Typo fix.
17165 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17166
19b2ecfc
MS
171672012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17168
17169 * elf/elf.h (EM_AARCH64): New macro.
17170 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17171 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17172 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17173 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17174 (R_AARCH64_TLSDESC): Likewise.
17175 (NT_ARM_TLS): Likewise.
17176 (NT_ARM_HW_BREAK): Likewise.
17177 (NT_ARM_HW_WATCH): Likewise.
17178
60e235ee
JM
171792012-11-07 Joseph Myers <joseph@codesourcery.com>
17180
17181 [BZ #14811]
17182 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17183 (__ieee754_powl): Saturate nonzero exponents with absolute value
17184 below 0x1p-79 to +/- 0x1p-79.
17185 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17186 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17187 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17188 nonzero exponents with absolute value below 0x1p-32 to +/-
17189 0x1p-32.
17190 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17191 (__ieee754_powl): Saturate nonzero exponents with absolute value
17192 below 0x1p-79 to +/- 0x1p-79.
17193 * math/libm-test.inc (pow_test): Add more tests.
17194
0ab234b7
AK
171952012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17196
17197 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17198 _dl_s390_cap_flags with kernel. Increase string length.
17199 (_dl_s390_platforms): Add z196 and zEC12.
17200
45832f74
JM
172012012-11-07 Joseph Myers <joseph@codesourcery.com>
17202
17203 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17204 Change XOPEN21K to XOPEN2K.
17205
19218757
MK
172062012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17207
17208 * string/memmove.c: Use memcpy when possible.
17209
c5f45721
AJ
172102012-11-06 Andreas Jaeger <aj@suse.de>
17211
17212 * po/eo.po: Update from translation team.
17213
82477c28
JM
172142012-11-06 Joseph Myers <joseph@codesourcery.com>
17215
17216 [BZ #14793]
17217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17218 exponent and small x and y exponents, scale x or y up. Increase
17219 by 2 the exponent used in scaling up.
17220 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17221 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17222 * math/libm-test.inc (fma_test): Add more tests.
17223 (fma_test_towardzero): Likewise.
17224 (fma_test_downward): Likewise.
17225 (fma_test_upward): Likewise.
17226
99252c8c
JM
172272012-11-05 Joseph Myers <joseph@codesourcery.com>
17228
acfa885f
JM
17229 [BZ #14805]
17230 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17231 fenv_t *.
17232
99252c8c
JM
17233 [BZ #14801]
17234 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17235 namespace for names of struct fields.
17236 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17237 fenv_t fields.
17238 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17239 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17240
d6d98dea
ST
172412012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17242
17243 [BZ #3665]
17244 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17245
e10bb107
TS
172462012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17247
17248 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17249 PTR_DEMANGLE.
17250
17251 [BZ #5246]
17252 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17253 PTR_DEMANGLE.
17254
a0c2940d
JM
172552012-11-04 Joseph Myers <joseph@codesourcery.com>
17256
17257 [BZ #14797]
17258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17259 definitely overflow as x * y not x * y + z.
17260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17261 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17262 * math/libm-test.inc (fma_test): Add more tests.
17263 (fma_test_towardzero): Likewise.
17264 (fma_test_downward): Likewise.
17265 (fma_test_upward): Likewise.
17266
b830319d
TS
172672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17268
17269 [BZ #157]
17270
17271 * include/stub-tag.h: Remove file.
17272 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17273 '#include' of it.
17274 * manual/maint.texi (Porting): Don't reference it.
17275 * Makerules ($(objpfx)stubs): Likewise.
17276 * dirent/closedir.c: Don't include <stub-tag.h>.
17277 * dirent/dirfd.c: Likewise.
17278 * dirent/fdopendir.c: Likewise.
17279 * dirent/getdents.c: Likewise.
17280 * dirent/getdents64.c: Likewise.
17281 * dirent/opendir.c: Likewise.
17282 * dirent/readdir.c: Likewise.
17283 * dirent/readdir64.c: Likewise.
17284 * dirent/readdir64_r.c: Likewise.
17285 * dirent/readdir_r.c: Likewise.
17286 * dirent/rewinddir.c: Likewise.
17287 * dirent/seekdir.c: Likewise.
17288 * dirent/telldir.c: Likewise.
17289 * gmon/profil.c: Likewise.
17290 * grp/setgroups.c: Likewise.
17291 * inet/if_index.c: Likewise.
17292 * io/access.c: Likewise.
17293 * io/chdir.c: Likewise.
17294 * io/chmod.c: Likewise.
17295 * io/chown.c: Likewise.
17296 * io/close.c: Likewise.
17297 * io/dup.c: Likewise.
17298 * io/dup2.c: Likewise.
17299 * io/dup3.c: Likewise.
17300 * io/euidaccess.c: Likewise.
17301 * io/faccessat.c: Likewise.
17302 * io/fchdir.c: Likewise.
17303 * io/fchmod.c: Likewise.
17304 * io/fchmodat.c: Likewise.
17305 * io/fchown.c: Likewise.
17306 * io/fchownat.c: Likewise.
17307 * io/fcntl.c: Likewise.
17308 * io/flock.c: Likewise.
17309 * io/fstatfs.c: Likewise.
17310 * io/fstatfs64.c: Likewise.
17311 * io/fstatvfs.c: Likewise.
17312 * io/fstatvfs64.c: Likewise.
17313 * io/futimens.c: Likewise.
17314 * io/fxstat.c: Likewise.
17315 * io/fxstat64.c: Likewise.
17316 * io/fxstatat.c: Likewise.
17317 * io/fxstatat64.c: Likewise.
17318 * io/getcwd.c: Likewise.
17319 * io/isatty.c: Likewise.
17320 * io/lchmod.c: Likewise.
17321 * io/lchown.c: Likewise.
17322 * io/link.c: Likewise.
17323 * io/linkat.c: Likewise.
17324 * io/lseek.c: Likewise.
17325 * io/lseek64.c: Likewise.
17326 * io/lxstat64.c: Likewise.
17327 * io/mkdir.c: Likewise.
17328 * io/mkdirat.c: Likewise.
17329 * io/mkfifo.c: Likewise.
17330 * io/mkfifoat.c: Likewise.
17331 * io/open.c: Likewise.
17332 * io/open64.c: Likewise.
17333 * io/openat.c: Likewise.
17334 * io/openat64.c: Likewise.
17335 * io/pipe.c: Likewise.
17336 * io/pipe2.c: Likewise.
17337 * io/poll.c: Likewise.
17338 * io/posix_fadvise.c: Likewise.
17339 * io/posix_fadvise64.c: Likewise.
17340 * io/posix_fallocate.c: Likewise.
17341 * io/posix_fallocate64.c: Likewise.
17342 * io/read.c: Likewise.
17343 * io/readlink.c: Likewise.
17344 * io/readlinkat.c: Likewise.
17345 * io/rmdir.c: Likewise.
17346 * io/sendfile.c: Likewise.
17347 * io/sendfile64.c: Likewise.
17348 * io/statfs.c: Likewise.
17349 * io/statfs64.c: Likewise.
17350 * io/statvfs.c: Likewise.
17351 * io/statvfs64.c: Likewise.
17352 * io/symlink.c: Likewise.
17353 * io/symlinkat.c: Likewise.
17354 * io/ttyname.c: Likewise.
17355 * io/ttyname_r.c: Likewise.
17356 * io/umask.c: Likewise.
17357 * io/unlink.c: Likewise.
17358 * io/unlinkat.c: Likewise.
17359 * io/utime.c: Likewise.
17360 * io/utimensat.c: Likewise.
17361 * io/write.c: Likewise.
17362 * io/xmknod.c: Likewise.
17363 * io/xmknodat.c: Likewise.
17364 * io/xstat.c: Likewise.
17365 * io/xstat64.c: Likewise.
17366 * login/getpt.c: Likewise.
17367 * login/grantpt.c: Likewise.
17368 * login/unlockpt.c: Likewise.
17369 * math/e_acoshl.c: Likewise.
17370 * math/e_acosl.c: Likewise.
17371 * math/e_asinl.c: Likewise.
17372 * math/e_atan2l.c: Likewise.
17373 * math/e_atanhl.c: Likewise.
17374 * math/e_coshl.c: Likewise.
17375 * math/e_expl.c: Likewise.
17376 * math/e_fmodl.c: Likewise.
17377 * math/e_gammal_r.c: Likewise.
17378 * math/e_hypotl.c: Likewise.
17379 * math/e_j0l.c: Likewise.
17380 * math/e_j1l.c: Likewise.
17381 * math/e_jnl.c: Likewise.
17382 * math/e_lgammal_r.c: Likewise.
17383 * math/e_log10l.c: Likewise.
17384 * math/e_log2l.c: Likewise.
17385 * math/e_logl.c: Likewise.
17386 * math/e_powl.c: Likewise.
17387 * math/e_rem_pio2l.c: Likewise.
17388 * math/e_sinhl.c: Likewise.
17389 * math/e_sqrtl.c: Likewise.
17390 * math/fclrexcpt.c: Likewise.
17391 * math/fedisblxcpt.c: Likewise.
17392 * math/feenablxcpt.c: Likewise.
17393 * math/fegetenv.c: Likewise.
17394 * math/fegetexcept.c: Likewise.
17395 * math/fegetround.c: Likewise.
17396 * math/feholdexcpt.c: Likewise.
17397 * math/fesetenv.c: Likewise.
17398 * math/fesetround.c: Likewise.
17399 * math/feupdateenv.c: Likewise.
17400 * math/fgetexcptflg.c: Likewise.
17401 * math/fraiseexcpt.c: Likewise.
17402 * math/fsetexcptflg.c: Likewise.
17403 * math/ftestexcept.c: Likewise.
17404 * math/k_cosl.c: Likewise.
17405 * math/k_rem_pio2l.c: Likewise.
17406 * math/k_sinl.c: Likewise.
17407 * math/k_tanl.c: Likewise.
17408 * math/s_asinhl.c: Likewise.
17409 * math/s_atanl.c: Likewise.
17410 * math/s_cbrtl.c: Likewise.
17411 * math/s_erfl.c: Likewise.
17412 * math/s_expm1l.c: Likewise.
17413 * math/s_log1pl.c: Likewise.
17414 * math/s_tanhl.c: Likewise.
17415 * misc/acct.c: Likewise.
17416 * misc/brk.c: Likewise.
17417 * misc/chflags.c: Likewise.
17418 * misc/chroot.c: Likewise.
17419 * misc/fchflags.c: Likewise.
17420 * misc/fgetxattr.c: Likewise.
17421 * misc/flistxattr.c: Likewise.
17422 * misc/fremovexattr.c: Likewise.
17423 * misc/fsetxattr.c: Likewise.
17424 * misc/fsync.c: Likewise.
17425 * misc/ftruncate.c: Likewise.
17426 * misc/futimes.c: Likewise.
17427 * misc/futimesat.c: Likewise.
17428 * misc/getdomain.c: Likewise.
17429 * misc/getdtsz.c: Likewise.
17430 * misc/gethostid.c: Likewise.
17431 * misc/gethostname.c: Likewise.
17432 * misc/getloadavg.c: Likewise.
17433 * misc/getpagesize.c: Likewise.
17434 * misc/getsysstats.c: Likewise.
17435 * misc/getxattr.c: Likewise.
17436 * misc/gtty.c: Likewise.
17437 * misc/ioctl.c: Likewise.
17438 * misc/lgetxattr.c: Likewise.
17439 * misc/listxattr.c: Likewise.
17440 * misc/llistxattr.c: Likewise.
17441 * misc/lremovexattr.c: Likewise.
17442 * misc/lsetxattr.c: Likewise.
17443 * misc/lutimes.c: Likewise.
17444 * misc/madvise.c: Likewise.
17445 * misc/mincore.c: Likewise.
17446 * misc/mlock.c: Likewise.
17447 * misc/mlockall.c: Likewise.
17448 * misc/mmap.c: Likewise.
17449 * misc/mprotect.c: Likewise.
17450 * misc/msync.c: Likewise.
17451 * misc/munlock.c: Likewise.
17452 * misc/munlockall.c: Likewise.
17453 * misc/munmap.c: Likewise.
17454 * misc/preadv.c: Likewise.
17455 * misc/preadv64.c: Likewise.
17456 * misc/ptrace.c: Likewise.
17457 * misc/pwritev.c: Likewise.
17458 * misc/pwritev64.c: Likewise.
17459 * misc/readv.c: Likewise.
17460 * misc/reboot.c: Likewise.
17461 * misc/remap_file_pages.c: Likewise.
17462 * misc/removexattr.c: Likewise.
17463 * misc/revoke.c: Likewise.
17464 * misc/select.c: Likewise.
17465 * misc/setdomain.c: Likewise.
17466 * misc/setegid.c: Likewise.
17467 * misc/seteuid.c: Likewise.
17468 * misc/sethostid.c: Likewise.
17469 * misc/sethostname.c: Likewise.
17470 * misc/setregid.c: Likewise.
17471 * misc/setreuid.c: Likewise.
17472 * misc/setxattr.c: Likewise.
17473 * misc/sstk.c: Likewise.
17474 * misc/stty.c: Likewise.
17475 * misc/swapoff.c: Likewise.
17476 * misc/swapon.c: Likewise.
17477 * misc/sync.c: Likewise.
17478 * misc/syncfs.c: Likewise.
17479 * misc/syscall.c: Likewise.
17480 * misc/truncate.c: Likewise.
17481 * misc/ualarm.c: Likewise.
17482 * misc/usleep.c: Likewise.
17483 * misc/ustat.c: Likewise.
17484 * misc/utimes.c: Likewise.
17485 * misc/vhangup.c: Likewise.
17486 * misc/writev.c: Likewise.
17487 * posix/_exit.c: Likewise.
17488 * posix/alarm.c: Likewise.
17489 * posix/execve.c: Likewise.
17490 * posix/fexecve.c: Likewise.
17491 * posix/fork.c: Likewise.
17492 * posix/fpathconf.c: Likewise.
17493 * posix/getaddrinfo.c: Likewise.
17494 * posix/getegid.c: Likewise.
17495 * posix/geteuid.c: Likewise.
17496 * posix/getgid.c: Likewise.
17497 * posix/getgroups.c: Likewise.
17498 * posix/getlogin.c: Likewise.
17499 * posix/getlogin_r.c: Likewise.
17500 * posix/getpgid.c: Likewise.
17501 * posix/getpid.c: Likewise.
17502 * posix/getppid.c: Likewise.
17503 * posix/getresgid.c: Likewise.
17504 * posix/getresuid.c: Likewise.
17505 * posix/getsid.c: Likewise.
17506 * posix/getuid.c: Likewise.
17507 * posix/glob64.c: Likewise.
17508 * posix/nanosleep.c: Likewise.
17509 * posix/pathconf.c: Likewise.
17510 * posix/pause.c: Likewise.
17511 * posix/posix_madvise.c: Likewise.
17512 * posix/pread.c: Likewise.
17513 * posix/pread64.c: Likewise.
17514 * posix/pwrite.c: Likewise.
17515 * posix/pwrite64.c: Likewise.
17516 * posix/sched_getaffinity.c: Likewise.
17517 * posix/sched_getp.c: Likewise.
17518 * posix/sched_gets.c: Likewise.
17519 * posix/sched_primax.c: Likewise.
17520 * posix/sched_primin.c: Likewise.
17521 * posix/sched_rr_gi.c: Likewise.
17522 * posix/sched_setaffinity.c: Likewise.
17523 * posix/sched_setp.c: Likewise.
17524 * posix/sched_sets.c: Likewise.
17525 * posix/sched_yield.c: Likewise.
17526 * posix/setgid.c: Likewise.
17527 * posix/setlogin.c: Likewise.
17528 * posix/setpgid.c: Likewise.
17529 * posix/setresgid.c: Likewise.
17530 * posix/setresuid.c: Likewise.
17531 * posix/setsid.c: Likewise.
17532 * posix/setuid.c: Likewise.
17533 * posix/sleep.c: Likewise.
17534 * posix/spawni.c: Likewise.
17535 * posix/sysconf.c: Likewise.
17536 * posix/times.c: Likewise.
17537 * posix/wait.c: Likewise.
17538 * posix/wait3.c: Likewise.
17539 * posix/wait4.c: Likewise.
17540 * posix/waitpid.c: Likewise.
17541 * resolv/gai_sigqueue.c: Likewise.
17542 * resource/getpriority.c: Likewise.
17543 * resource/getrlimit.c: Likewise.
17544 * resource/getrusage.c: Likewise.
17545 * resource/nice.c: Likewise.
17546 * resource/setpriority.c: Likewise.
17547 * resource/setrlimit.c: Likewise.
17548 * resource/ulimit.c: Likewise.
17549 * rt/aio_cancel.c: Likewise.
17550 * rt/aio_fsync.c: Likewise.
17551 * rt/aio_read.c: Likewise.
17552 * rt/aio_sigqueue.c: Likewise.
17553 * rt/aio_suspend.c: Likewise.
17554 * rt/aio_write.c: Likewise.
17555 * rt/clock_getres.c: Likewise.
17556 * rt/clock_gettime.c: Likewise.
17557 * rt/clock_nanosleep.c: Likewise.
17558 * rt/clock_settime.c: Likewise.
17559 * rt/lio_listio.c: Likewise.
17560 * rt/mq_close.c: Likewise.
17561 * rt/mq_getattr.c: Likewise.
17562 * rt/mq_notify.c: Likewise.
17563 * rt/mq_open.c: Likewise.
17564 * rt/mq_receive.c: Likewise.
17565 * rt/mq_send.c: Likewise.
17566 * rt/mq_setattr.c: Likewise.
17567 * rt/mq_timedreceive.c: Likewise.
17568 * rt/mq_timedsend.c: Likewise.
17569 * rt/mq_unlink.c: Likewise.
17570 * rt/shm_open.c: Likewise.
17571 * rt/shm_unlink.c: Likewise.
17572 * rt/timer_create.c: Likewise.
17573 * rt/timer_delete.c: Likewise.
17574 * rt/timer_getoverr.c: Likewise.
17575 * rt/timer_gettime.c: Likewise.
17576 * rt/timer_settime.c: Likewise.
17577 * setjmp/__longjmp.c: Likewise.
17578 * setjmp/setjmp.c: Likewise.
17579 * signal/kill.c: Likewise.
17580 * signal/killpg.c: Likewise.
17581 * signal/raise.c: Likewise.
17582 * signal/sigaction.c: Likewise.
17583 * signal/sigaltstack.c: Likewise.
17584 * signal/sigblock.c: Likewise.
17585 * signal/sigignore.c: Likewise.
17586 * signal/sigintr.c: Likewise.
17587 * signal/signal.c: Likewise.
17588 * signal/sigpause.c: Likewise.
17589 * signal/sigpending.c: Likewise.
17590 * signal/sigqueue.c: Likewise.
17591 * signal/sigreturn.c: Likewise.
17592 * signal/sigset.c: Likewise.
17593 * signal/sigsetmask.c: Likewise.
17594 * signal/sigstack.c: Likewise.
17595 * signal/sigsuspend.c: Likewise.
17596 * signal/sigtimedwait.c: Likewise.
17597 * signal/sigvec.c: Likewise.
17598 * signal/sigwait.c: Likewise.
17599 * signal/sigwaitinfo.c: Likewise.
17600 * signal/sysv_signal.c: Likewise.
17601 * socket/accept.c: Likewise.
17602 * socket/accept4.c: Likewise.
17603 * socket/bind.c: Likewise.
17604 * socket/connect.c: Likewise.
17605 * socket/getpeername.c: Likewise.
17606 * socket/getsockname.c: Likewise.
17607 * socket/getsockopt.c: Likewise.
17608 * socket/isfdtype.c: Likewise.
17609 * socket/listen.c: Likewise.
17610 * socket/recv.c: Likewise.
17611 * socket/recvfrom.c: Likewise.
17612 * socket/recvmsg.c: Likewise.
17613 * socket/send.c: Likewise.
17614 * socket/sendmsg.c: Likewise.
17615 * socket/sendto.c: Likewise.
17616 * socket/setsockopt.c: Likewise.
17617 * socket/shutdown.c: Likewise.
17618 * socket/sockatmark.c: Likewise.
17619 * socket/socket.c: Likewise.
17620 * socket/socketpair.c: Likewise.
17621 * stdio-common/ctermid.c: Likewise.
17622 * stdio-common/cuserid.c: Likewise.
17623 * stdio-common/remove.c: Likewise.
17624 * stdio-common/rename.c: Likewise.
17625 * stdio-common/renameat.c: Likewise.
17626 * stdio-common/tempname.c: Likewise.
17627 * stdlib/getcontext.c: Likewise.
17628 * stdlib/makecontext.c: Likewise.
17629 * stdlib/setcontext.c: Likewise.
17630 * stdlib/swapcontext.c: Likewise.
17631 * stdlib/system.c: Likewise.
17632 * streams/fattach.c: Likewise.
17633 * streams/fdetach.c: Likewise.
17634 * streams/getmsg.c: Likewise.
17635 * streams/getpmsg.c: Likewise.
17636 * streams/putmsg.c: Likewise.
17637 * streams/putpmsg.c: Likewise.
17638 * sysdeps/unix/bsd/getpt.c: Likewise.
17639 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17640 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17641 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17643 Likewise.
17644 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17645 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17646 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17647 * sysvipc/msgctl.c: Likewise.
17648 * sysvipc/msgget.c: Likewise.
17649 * sysvipc/msgrcv.c: Likewise.
17650 * sysvipc/msgsnd.c: Likewise.
17651 * sysvipc/semctl.c: Likewise.
17652 * sysvipc/semget.c: Likewise.
17653 * sysvipc/semop.c: Likewise.
17654 * sysvipc/semtimedop.c: Likewise.
17655 * sysvipc/shmat.c: Likewise.
17656 * sysvipc/shmctl.c: Likewise.
17657 * sysvipc/shmdt.c: Likewise.
17658 * sysvipc/shmget.c: Likewise.
17659 * termios/tcdrain.c: Likewise.
17660 * termios/tcflow.c: Likewise.
17661 * termios/tcflush.c: Likewise.
17662 * termios/tcgetattr.c: Likewise.
17663 * termios/tcgetpgrp.c: Likewise.
17664 * termios/tcsendbrk.c: Likewise.
17665 * termios/tcsetattr.c: Likewise.
17666 * termios/tcsetpgrp.c: Likewise.
17667 * time/adjtime.c: Likewise.
17668 * time/clock.c: Likewise.
17669 * time/getitimer.c: Likewise.
17670 * time/gettimeofday.c: Likewise.
17671 * time/setitimer.c: Likewise.
17672 * time/settimeofday.c: Likewise.
17673 * time/stime.c: Likewise.
17674 * time/time.c: Likewise.
17675
176762012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17677
a20492cf
PT
17678 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17679 /usr/old/bin.
17680
72e182e3
PT
17681 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17682 instead of spaces.
17683 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17684
fbeafede
JM
176852012-11-03 Joseph Myers <joseph@codesourcery.com>
17686
5b5b04d6
JM
17687 [BZ #14796]
17688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17689 FE_TONEAREST before applying Dekker multiplication and Knuth
17690 addition. Clear inexact exceptions and check for exact zero
17691 results afterwards.
17692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17693 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17695 * math/libm-test.inc (fma_test): Add more tests.
17696 (fma_test_towardzero): Likewise.
17697 (fma_test_downward): Likewise.
17698 (fma_test_upward): Likewise.
17699 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17700 function.
17701 (libc_fesetround): New macro.
17702 (libc_fesetroundf): Likewise.
17703 (libc_fesetroundl): Likewise.
17704 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17705 function.
17706 (libc_fesetround_387): Likewise.
17707 (libc_fesetroundf): New macro.
17708 (libc_fesetround): Likewise.
17709 (libc_fesetroundl): Likewise.
17710 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17711 function.
17712 (libc_fesetroundf): New macro.
17713 (libc_fesetround): Likewise.
17714 (libc_fesetroundl): Likewise.
17715 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17716 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17717 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17718 libm_hidden_ver.
17719 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17720 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17721 libm_hidden_def.
17722 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17723 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17724 libm_hidden_ver.
17725 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17726 libm_hidden_def.
17727
fbeafede
JM
17728 [BZ #3439]
17729 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17730 integer constant usable in #if and use that to give value to enum
17731 constant.
17732 (FE_DIVBYZERO): Likewise.
17733 (FE_UNDERFLOW): Likewise.
17734 (FE_OVERFLOW): Likewise.
17735 (FE_INVALID): Likewise.
17736 (FE_INVALID_SNAN): Likewise.
17737 (FE_INVALID_ISI): Likewise.
17738 (FE_INVALID_IDI): Likewise.
17739 (FE_INVALID_ZDZ): Likewise.
17740 (FE_INVALID_IMZ): Likewise.
17741 (FE_INVALID_COMPARE): Likewise.
17742 (FE_INVALID_SOFTWARE): Likewise.
17743 (FE_INVALID_SQRT): Likewise.
17744 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17745 (FE_TONEAREST): Likewise.
17746 (FE_TOWARDZERO): Likewise.
17747 (FE_UPWARD): Likewise.
17748 (FE_DOWNWARD): Likewise.
17749 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17750 (FE_DIVBYZERO): Likewise.
17751 (FE_OVERFLOW): Likewise.
17752 (FE_UNDERFLOW): Likewise.
17753 (FE_INEXACT): Likewise.
17754 (FE_TONEAREST): Likewise.
17755 (FE_DOWNWARD): Likewise.
17756 (FE_UPWARD): Likewise.
17757 (FE_TOWARDZERO): Likewise.
17758 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17759 (FE_UNDERFLOW): Likewise.
17760 (FE_OVERFLOW): Likewise.
17761 (FE_DIVBYZERO): Likewise.
17762 (FE_INVALID): Likewise.
17763 (FE_TONEAREST): Likewise.
17764 (FE_TOWARDZERO): Likewise.
17765 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17766 (FE_OVERFLOW): Likewise.
17767 (FE_UNDERFLOW): Likewise.
17768 (FE_DIVBYZERO): Likewise.
17769 (FE_INEXACT): Likewise.
17770 (FE_TONEAREST): Likewise.
17771 (FE_TOWARDZERO): Likewise.
17772 (FE_UPWARD): Likewise.
17773 (FE_DOWNWARD): Likewise.
17774 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17775 (FE_DIVBYZERO): Likewise.
17776 (FE_OVERFLOW): Likewise.
17777 (FE_UNDERFLOW): Likewise.
17778 (FE_INEXACT): Likewise.
17779 (FE_TONEAREST): Likewise.
17780 (FE_DOWNWARD): Likewise.
17781 (FE_UPWARD): Likewise.
17782 (FE_TOWARDZERO): Likewise.
17783
105ca950
CM
177842012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17785
17786 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17787
a542b389
AS
177882012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17789
17790 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17791 commands. Quote $PWD.
17792 (blacklist_exports): Don't use remove_newlines. Replace "declare
17793 -x" by "export".
17794 (remove_newlines): Remove.
17795
f62c8abc
L
177962012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17797
17798 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17799 * stdlib/stdlib.h (atof): Moved to ...
17800 * include/bits/stdlib-float.h: Here. New file.
17801 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17802 * stdlib/bits/stdlib-float.h: New file.
17803 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17804 -mno-sse -mno-mmx.
17805 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17806 <xmmintrin.h>.
17807
0155d5b2
JM
178082012-11-02 Joseph Myers <joseph@codesourcery.com>
17809
a68d0680
JM
17810 * conform/conformtest.pl (@headers): Add fenv.h.
17811 * conform/data/fenv.h-data: New file.
17812 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17813 include of <math/fenv.h>.
17814
caf7f573
JM
17815 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17816 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17817 && !UNIX98]. Enables tests for XOPEN2K8.
17818 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17819 POSIX2008]: Likewise.
17820
6c073ad6
JM
17821 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17822 (struct rusage): Do not expect type or its members.
17823
0155d5b2
JM
17824 [BZ #3439]
17825 * math/math.h (FP_NAN): Define macro to integer constant usable in
17826 #if and use that to give value to enum constant.
17827 (FP_INFINITE): Likewise.
17828 (FP_ZERO): Likewise.
17829 (FP_SUBNORMAL): Likewise.
17830 (FP_NORMAL): Likewise.
17831
b5dcacb4
AS
178322012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17833
17834 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17835 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17836 arguments.
17837
f7934be8
RM
178382012-11-02 Roland McGrath <roland@hack.frob.com>
17839
17840 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17841 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17842 autoconf-time if not.
17843 * configure.in: Remove AC_PREREQ.
17844
d7d08bde
TMQMF
178452012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17846
17847 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17848 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17849 of the internal implementation.
17850
dcdae19a
JM
178512012-11-02 Joseph Myers <joseph@codesourcery.com>
17852
17853 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17854 except include of <misc/sys/syslog.h>.
17855
d6cffd3e
AS
178562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17857
17858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17859 function returns with a NULL context exit with zero.
17860
b3563932
TMQMF
178612012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17862
17863 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17864
b288a93d
L
178652012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17866
17867 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17868 (run_program_cmd): This.
17869 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17870 (tst_langinfo): New variable. Use it.
17871
a2421a68
SAS
178722012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17873
17874 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17875 floating point opcodes.
17876
6f796e1b
TS
178772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17878
7402596b
TS
17879 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17880 variable.
17881
d0d4f868
TS
17882 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17883
6f796e1b
TS
17884 * sysdeps/mach/hurd/powerpc: Remove directory.
17885 * sysdeps/mach/powerpc: Likewise.
17886
4da224a2
AS
178872012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17888
17889 * scripts/check-local-headers.sh: Ignore c++ headers.
17890
341dd673
TS
178912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17892
17893 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17894 __libc_cleanup_region_start argument.
17895
473611b2
JM
178962012-11-01 Joseph Myers <joseph@codesourcery.com>
17897
17898 [BZ #14784]
17899 [BZ #14785]
17900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17901 x * y using scaling, not as x * y + z.
17902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17903 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17904 * math/libm-test.inc (fma_test): Add more tests.
17905 (fma_test_towardzero): Likewise.
17906 (fma_test_downward): Likewise.
17907 (fma_test_upward): Likewise.
17908
4078da3d
TS
179092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17910
17911 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17912
903252aa
JM
179132012-10-31 Joseph Myers <joseph@codesourcery.com>
17914
17915 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17916 New variable.
17917
cbc818d0
TS
179182012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17919
17920 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17921
5a03cb1e
AS
179222012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17923
17924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17925 Fix sort order.
17926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17927 Likewise.
17928
90aff2ff
TMQMF
179292012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17930
17931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17932 Fix the order of the list for glibc 2.17.
17933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17934 Likewise.
17935
1818fcb7
AS
179362012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17937
17938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17939
ef82f4da
JM
179402012-10-31 Joseph Myers <joseph@codesourcery.com>
17941
16a0e2ec
JM
17942 [BZ #14610]
17943 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17944 for low part of x being zero before using __atanl (y).
17945 * math/libm-test.inc (atan2_test): Add another test.
17946
0eb69512
JM
17947 * manual/install.texi (Configuring and compiling): Document
17948 general use of test-wrapper and test-wrapper-env.
17949 * INSTALL: Regenerated.
17950
ef82f4da
JM
17951 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17952 (__fma): Do not extract and scale down low bits on after-rounding
17953 systems when result rounded to normal precision would have normal
17954 exponent.
17955 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17956 (__fmal): Do not extract and scale down low bits on after-rounding
17957 systems when result rounded to normal precision would have normal
17958 exponent.
17959 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17960 (__fmal): Do not extract and scale down low bits on after-rounding
17961 systems when result rounded to normal precision would have normal
17962 exponent.
17963 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17964 macro.
17965 (fma_test): Add more tests.
17966 (fma_test_towardzero): Likewise.
17967 (fma_test_downward): Likewise.
17968 (fma_test_upward): Likewise.
17969
954ef0d9
L
179702012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17971
17972 * sysdeps/i386/tininess.h: Renamed to ...
17973 * sysdeps/x86/tininess.h: This.
17974 * sysdeps/x86_64/tininess.h: Removed.
17975
df61ffb2
JM
179762012-10-30 Joseph Myers <joseph@codesourcery.com>
17977
17978 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17979 input. Use $(build-program-cmd).
17980 ($(objpfx)tst-array1-static.out): Likewise.
17981 ($(objpfx)tst-array2.out): Likewise.
17982 ($(objpfx)tst-array3.out): Likewise.
17983 ($(objpfx)tst-array4.out): Likewise.
17984 ($(objpfx)tst-array5.out): Likewise.
17985 ($(objpfx)tst-array5-static.out): Likewise.
17986
01767843
CM
179872012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17988
47cc1490
CM
17989 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17990 if defined.
17991
01767843
CM
17992 * nss/nsswitch.h (nss_interface_function): Provide new
17993 macro for use with NSS functions.
17994 * grp/initgroups.c: Use new macro.
17995 * nss/getXXbyYY.c: Likewise.
17996 * nss/getXXbyYY_r.c: Likewise.
17997 * nss/getXXent.c: Likewise.
17998 * nss/getXXent_r.c: Likewise.
17999 * sysdeps/posix/getaddrinfo.c: Likewise.
18000
8321aa97
AJ
180012012-10-30 Andreas Jaeger <aj@suse.de>
18002
18003 * po/ru.po: Update Russion translation from translation project.
18004
2a27fd6d
JM
180052012-10-30 Joseph Myers <joseph@codesourcery.com>
18006
8627a232
JM
18007 [BZ #14152]
18008 [BZ #14783]
18009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18010 result and shift together with sticky bit instead of replicating
18011 round-to-nearest rounding.
18012 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18013 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18014 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18015 missing underflow exceptions.
18016 (fma_test_towardzero): Add more tests.
18017 (fma_test_downward): Likewise.
18018 (fma_test_upward): Likewise.
18019
2a27fd6d
JM
18020 [BZ #14047]
18021 * sysdeps/generic/tininess.h: New file.
18022 * sysdeps/i386/tininess.h: Likewise.
18023 * sysdeps/sh/tininess.h: Likewise.
18024 * sysdeps/x86_64/tininess.h: Likewise.
18025 * stdlib/tst-strtod-underflow.c: Likewise.
18026 * stdlib/tst-tininess.c: Likewise.
18027 * stdlib/strtod_l.c: Include <tininess.h>.
18028 (round_and_return): Do not set errno for exact underflow cases.
18029 Force an underflow exception when setting errno for underflow.
18030 Determine underflow based on rounding to normal precision if
18031 TININESS_AFTER_ROUNDING.
18032 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18033 ERANGE for exact underflow cases.
18034 * stdlib/Makefile (tests): Add tst-tininess and
18035 tst-strtod-underflow.
18036 ($(objpfx)tst-tininess): Use $(link-libm).
18037 ($(objpfx)tst-strtod-underflow): Likewise.
18038
e7170363
AJ
180392012-10-30 Andreas Jaeger <aj@suse.de>
18040
e5088dc6
AJ
18041 [BZ#14767]
18042 * elf/Makefile (tests): Remove conditional for have-initfini-array
18043 since this is now always required and the variable does not exist
18044 anymore.
18045 (tests-static): Likewise.
18046 (modules-names): Likewise.
18047
e7170363 18048 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
18049
18050 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18051 merged with constructor/destructor.
18052 (init_array): Likewise.
18053 * elf/tst-array2dep.c (fini_array): Likewise.
18054 (init_array): Likewise.
18055
60457d8a
MF
180562012-10-29 Mike Frysinger <vapier@gentoo.org>
18057
18058 * manual/message.texi: Delete @cartouche tags.
18059
8bece752
PT
180602012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18061
94ce799f
PT
18062 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18063 EOPNOTSUPP.
18064 * sysdeps/mach/hurd/fsync.c: Likewise.
18065
8bece752
PT
18066 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18067 [_POSIX_REALTIME_SIGNALS]: Change condition to
18068 [_POSIX_REALTIME_SIGNALS > 0].
18069
86ebe6b1
AJ
180702012-10-27 Andreas Jaeger <aj@suse.de>
18071
18072 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18073 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18074 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18075 [__WORDSIZE != 64]: Likewise.
18076
54399c08
L
180772012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18078
18079 * iconvdata/tst-table.sh: Remove ${SHELL}.
18080 * iconvdata/tst-tables.sh: Likewise.
18081
e2211bed
DM
180822012-10-25 David S. Miller <davem@davemloft.net>
18083
18084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18085 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18086 of strtoull.
18087
f303f97c
DM
18088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18089 ifunc-impl-list.c
18090 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18091 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18092 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18093 file.
18094
1e9d84cd
RM
180952012-10-25 Roland McGrath <roland@hack.frob.com>
18096
18097 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18098 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18099 __getdirentries.
18100
df381762
JM
181012012-10-25 Joseph Myers <joseph@codesourcery.com>
18102 Jim Blandy <jimb@codesourcery.com>
18103
18104 * scripts/cross-test-ssh.sh: New file.
18105 * manual/install.texi (Configuring and compiling): Document use of
18106 cross-test-ssh.sh.
18107 * INSTALL: Regenerated.
18108
bff64913
PT
181092012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18110
18111 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18112 EOPNOTSUPP.
18113
25fe8932
JM
181142012-10-25 Joseph Myers <joseph@codesourcery.com>
18115
18116 * Makeconfig (run-program-prefix): Fix comment.
18117
cc1290d0
JM
181182012-10-24 Joseph Myers <joseph@codesourcery.com>
18119 Jim Blandy <jimb@codesourcery.com>
18120
18121 * Makeconfig (test-wrapper): New variable,
18122 (test-wrapper-env): Likewise.
18123 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18124 (run-built-tests): Define to yes.
18125 (run-program-prefix): Use $(test-wrapper).
18126 (built-program-cmd): Likewise.
18127 * Rules (make-test-out): Use $(test-wrapper-env) and
18128 $(host-built-program-cmd).
18129 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18130 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18131 tst-pathopt.sh.
18132 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18133 $(test-wrapper-env) to tst-rtld-load-self.sh.
18134 ($(objpfx)order2.out): Use $(test-wrapper).
18135 ($(objpfx)tst-initorder.out): Likewise.
18136 ($(objpfx)tst-initorder2.out): Likewise.
18137 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18138 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18139 (test_wrapper_env): New variable. Use it to run ld.so.
18140 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18141 Use it to run ld.so.
18142 (test_wrapper_env): Likewise.
18143 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18144 $(test-wrapper) to run-iconv-test.sh.
18145 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18146 (ICONV): Use $test_wrapper.
18147 * posix/Makefile ($(objpfx)globtest.out): Pass
18148 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18149 globtest.sh, not $(run-program-prefix).
18150 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18151 (test_wrapper): Likewise.
18152 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18153 set together with run_via_rtld_prefix.
18154 (run_program_prefix): Define in terms of test_wrapper and
18155 run_via_rtld_prefix.
18156
6e6249d0
RM
181572012-10-24 Roland McGrath <roland@hack.frob.com>
18158
18159 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18160 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18161 Targets removed.
18162
18163 [BZ #14743]
18164 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18165 Declare __clock_getres, __clock_gettime, __clock_settime,
18166 __clock_nanosleep, and __clock_getcpuclockid.
18167 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18168 Remove librt_hidden_def (clock_gettime).
18169 * sysdeps/unix/clock_gettime.c: Likewise.
18170 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18171 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18172 * rt/clock_getres.c: Define __clock_getres as an alias.
18173 * sysdeps/posix/clock_getres.c: Likewise.
18174 * rt/clock_settime.c: Define __clock_settime as an alias.
18175 * sysdeps/unix/clock_settime.c: Likewise.
18176 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18177 * sysdeps/unix/clock_nanosleep.c: Likewise.
18178 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18179 * rt/clock-compat.c: New file.
18180 * rt/Makefile (librt-routines): Add clock-compat and move
18181 $(clock-routines) to ...
18182 (routines): ... here, new variable.
18183 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18184 Don't add get_clockfreq here.
18185 * rt/Versions (libc: GLIBC_2.17): New version set.
18186 Add clock_* symbols here.
18187 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18188 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18189 (GLIBC_2.17): Add clock_* symbols.
18190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18194 Likewise.
18195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18196 Likewise.
18197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18201 * NEWS: Mention the move.
18202
18203 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18204 Use __open, __read, __close rather than their public counterparts.
18205 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18206 (__get_clockfreq_via_cpuinfo): Likewise.
18207 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18208 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18209
18210 * config.h.in (HAVE_IFUNC): New #undef.
18211 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18212 was successful.
18213 * configure: Regenerated.
18214
0cae3f4b
MF
182152012-10-24 Mike Frysinger <vapier@gentoo.org>
18216
18217 * configure.in: Move READELF check to start of file.
18218 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18219 libc_cv_asm_gnu_indirect_function in the process.
18220 * configure: Regenerated.
18221
8175a253
MF
182222012-10-24 Mike Frysinger <vapier@gentoo.org>
18223
18224 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18225 send the output to /dev/null.
18226 (libc_cv_cc_with_libunwind): Likewise.
18227 (libc_cv_as_noexecstack): Likewise.
18228 * configure: Regenerate.
18229
0708a7d1
JM
182302012-10-24 Joseph Myers <joseph@codesourcery.com>
18231
10b40d85
JM
18232 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18233
0708a7d1
JM
18234 * posix/globtest.sh (TMPDIR): Do not set.
18235 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18236 (testout): Likewise.
18237
9fddec1a
AJ
182382012-10-24 Andreas Jaeger <aj@suse.de>
18239
3a8db22f
AJ
18240 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18241 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18242 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18243 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18244 posix_fadvise64, posix_fallocate64.
18245
9fddec1a
AJ
18246 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18247 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18248 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18249 Likewise.
18250 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18251 Likewise.
18252 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18253
18254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18255 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18256 <bits/fcntl-linux.h>.
18257 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18258
18259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18260 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18261 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18262 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18263 [__WORDSIZE != 64]: Likewise.
18264
ebfd1bbd
JM
182652012-10-23 Joseph Myers <joseph@codesourcery.com>
18266
03ac099f
JM
18267 * Makeconfig (run-built-tests): New variable.
18268 * Rules [$(cross-compiling) = yes]: Change condition to
18269 [$(run-built-tests) = no].
18270 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18271 to [$(run-built-tests) = yes].
18272 * elf/Makefile [$(cross-compiling) = no]: Likewise
18273 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18274 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18275 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18276 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18277 * io/Makefile [$(cross-compiling) = no]: Likewise.
18278 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18279 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18280 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18281 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18282 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18283 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18284 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18285 * string/Makefile [$(cross-compiling) = no]: Likewise.
18286
ebfd1bbd
JM
18287 * posix/Makefile ($(objpfx)globtest.out): Pass
18288 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18289 $(rtld-installed-name).
18290 * posix/globtest.sh (elf_objpfx): Remove variable.
18291 (rtld_installed_name): Likewise.
18292 (library_path): Likewise.
18293 (run_program_prefix): New variable. Use for running globtest
18294 binary.
18295
166bca24
JB
182962012-10-23 Jim Blandy <jimb@codesourcery.com>
18297 Joseph Myers <joseph@codesourcery.com>
18298
18299 * Makeconfig (host-built-program-cmd): New variable.
18300 * elf/Makefile (tst-stackguard1-ARGS): Use
18301 $(host-built-program-cmd).
18302 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18303 (tst-spawn-ARGS): Likewise.
18304 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18305
88866099
JM
183062012-10-23 Joseph Myers <joseph@codesourcery.com>
18307 Jim Blandy <jimb@codesourcery.com>
18308
18309 * Makeconfig (run-via-rtld-prefix): New variable.
18310 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18311 (built-program-cmd): Likewise.
18312
b4b4c296
AJ
183132012-10-22 Andreas Jaeger <aj@suse.de>
18314
18315 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18316 __O_RSYNC if it exists, otherwise to O_SYNC.
18317
6fb54a22
JB
183182012-10-22 Jim Blandy <jimb@codesourcery.com>
18319 Joseph Myers <joseph@codesourcery.com>
18320
18321 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18322 /dev/null.
18323 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18324 from /dev/null
18325 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18326 /dev/null.
18327
481b90b9
AJ
183282012-10-22 Andreas Jaeger <aj@suse.de>
18329
2a0e2669
AJ
18330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18331 Define always.
18332 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18333
76e38f9a
AJ
18334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18335 bits/fcntl-linux.h.
18336
7cd37b43
AJ
18337 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18338 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18339
481b90b9
AJ
18340 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18341 to __O_LARGEFILE.
18342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18343 to __O_LARGEFILE.
18344
aba75984
JB
183452012-10-21 Jim Blandy <jimb@codesourcery.com>
18346 Joseph Myers <joseph@codesourcery.com>
18347
18348 * config.make.in (NM): New variable.
18349
88d4247f
AJ
183502012-10-21 Andreas Jaeger <aj@suse.de>
18351
18352 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18353 definitions and declarations that are provided by
18354 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18355
f2eed205
L
183562012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18357
18358 [BZ #14683]
18359 * elf/Makefile (tests-static): Add tst-leaks1-static.
18360 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18361 ($(objpfx)tst-leaks1-static): New rule.
18362 ($(objpfx)tst-leaks1-static-mem): Likewise.
18363 (tst-leaks1-static-ENV): New macro.
18364 * elf/dl-open.c (dl_open_worker): Check the main application
18365 only if SHARED is defined.
18366 * elf/tst-leaks1-static.c: New file.
18367
335e6931
AJ
183682012-10-20 Andreas Jaeger <aj@suse.de>
18369
18370 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18371 generic values for Linux.
18372 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18373 and declarations that are provided by <bits/fcntl-linux.h> and
18374 include <bits/fcntl-linux.h>.
18375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18376 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18377
ac5c94d3
RM
183782012-10-20 Roland McGrath <roland@hack.frob.com>
18379
18380 * io/fcntl.h: Move include of <bits/types.h> to the top and
18381 include it unconditionally.
18382
de54b33a
L
183832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18384
228cfb01
L
18385 * wcsmbs/Makefile (tests-ifunc): New variable.
18386 (tests): Add $(tests-ifunc).
18387 * wcsmbs/test-wcschr-ifunc.c: New file.
18388 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18389 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18390 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18391 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18392 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18393
69f07e5f
L
18394 * string/Makefile (tests-ifunc): New variable.
18395 (tests): Add $(tests-ifunc).
18396 * string/test-memccpy.c (TEST_NAME): New macro.
18397 * string/test-memchr.c (TEST_NAME): Likewise.
18398 * string/test-memcmp.c (TEST_NAME): Likewise.
18399 * string/test-memcpy.c (TEST_NAME): Likewise.
18400 * string/test-memmem.c (TEST_NAME): Likewise.
18401 * string/test-memmove.c (TEST_NAME): Likewise.
18402 * string/test-memset.c (TEST_NAME): Likewise.
18403 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18404 * string/test-stpcpy.c (TEST_NAME): Likewise.
18405 * string/test-stpncpy.c (TEST_NAME): Likewise.
18406 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18407 * string/test-strcasestr.c (TEST_NAME): Likewise.
18408 * string/test-strcat.c (TEST_NAME): Likewise.
18409 * string/test-strchr.c (TEST_NAME): Likewise.
18410 * string/test-strcmp.c(TEST_NAME): Likewise.
18411 * string/test-strcpy.c (TEST_NAME): Likewise.
18412 * string/test-strcspn.c (TEST_NAME): Likewise.
18413 * string/test-strlen.c (TEST_NAME): Likewise.
18414 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18415 * string/test-strncmp.c (TEST_NAME): Likewise.
18416 * string/test-strncpy.c (TEST_NAME): Likewise.
18417 * string/test-strnlen.c (TEST_NAME): Likewise.
18418 * string/test-strpbrk.c (TEST_NAME): Likewise.
18419 * string/test-strrchr.c (TEST_NAME): Likewise.
18420 * string/test-strspn.c (TEST_NAME): Likewise.
18421 * string/test-strstr.c (TEST_NAME): Likewise.
18422 * string/test-bcopy-ifunc.c: New file.
18423 * string/test-bzero-ifunc.c: Likewise.
18424 * string/test-memccpy-ifunc.c: Likewise.
18425 * string/test-memchr-ifunc.c: Likewise.
18426 * string/test-memcmp-ifunc.c: Likewise.
18427 * string/test-memcpy-ifunc.c: Likewise.
18428 * string/test-memmem-ifunc.c: Likewise.
18429 * string/test-memmove-ifunc.c: Likewise.
18430 * string/test-mempcpy-ifunc.c: Likewise.
18431 * string/test-memset-ifunc.c: Likewise.
18432 * string/test-rawmemchr-ifunc.c: Likewise.
18433 * string/test-stpcpy-ifunc.c: Likewise.
18434 * string/test-stpncpy-ifunc.c: Likewise.
18435 * string/test-strcasecmp-ifunc.c: Likewise.
18436 * string/test-strcasestr-ifunc.c: Likewise.
18437 * string/test-strcat-ifunc.c: Likewise.
18438 * string/test-strchr-ifunc.c: Likewise.
18439 * string/test-strchrnul-ifunc.c: Likewise.
18440 * string/test-strcmp-ifunc.c: Likewise.
18441 * string/test-strcpy-ifunc.c: Likewise.
18442 * string/test-strcspn-ifunc.c: Likewise.
18443 * string/test-strlen-ifunc.c: Likewise.
18444 * string/test-strncasecmp-ifunc.c: Likewise.
18445 * string/test-strncat-ifunc.c: Likewise.
18446 * string/test-strncmp-ifunc.c: Likewise.
18447 * string/test-strncpy-ifunc.c: Likewise.
18448 * string/test-strnlen-ifunc.c: Likewise.
18449 * string/test-strpbrk-ifunc.c: Likewise.
18450 * string/test-strrchr-ifunc.c: Likewise.
18451 * string/test-strspn-ifunc.c: Likewise.
18452 * string/test-strstr-ifunc.c: Likewise.
18453
de54b33a
L
18454 * debug/Makefile (tests-ifunc): New variable.
18455 (tests): Add $(tests-ifunc).
18456 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18457 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18458 * debug/test-stpcpy_chk-ifunc.c: New file.
18459 * debug/test-strcpy_chk-ifunc.c: Likewise.
18460
88481c16
SP
184612012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18462
18463 [BZ #13601]
18464 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18465 header is not read in.
18466
135948bd
JM
184672012-10-19 Joseph Myers <joseph@codesourcery.com>
18468
89f1c388
JM
18469 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18470 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18471 directly. Pass built executable to script as
18472 $(built-program-cmd).
18473 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18474 $testprogram without using LD_LIBRARY_PATH and $ldso.
18475
e40a0d21
JM
18476 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18477 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18478 $(rtld-installed-name).
18479 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18480 (rtld_installed_name): Likewise.
18481 (library_path): Likewise.
18482 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18483 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18484 $(run-program-prefix) to tst-tables.sh.
18485 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18486 it to run tst-table-from and tst-table-to.
18487 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18488 Pass it to tst-table.sh.
18489 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18490 $(run-program-prefix) to tst-gettext.sh.
18491 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18492 tst-translit.sh.
18493 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18494 tst-gettext2.sh.
18495 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18496 to run tst-gettext.
18497 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18498 to run tst-gettext2.
18499 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18500 to run tst-translit.
18501 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18502 $(run-program-prefix) to tst-mtrace.sh.
18503 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18504 to run tst-mtrace.
18505 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18506 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18507 $(rtld-installed-name).
18508 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18509 (rtld_installed_name): Likewise.
18510 (run_program_prefix): New variable. Use it to run wordexp-test.
18511
728e272a
JM
18512 * Makeconfig (ARCH): Remove all definitions.
18513 (machine): Likewise.
18514 [ARCH]: Remove conditional code.
18515 [!objdir]: Give error.
18516 [!objdir] (objpfx): Remove.
18517 [!objdir] (common-objpfx): Likewise.
18518 [!objdir] (common-objdir): Likewise.
18519 * configure.in (config_makefile): Remove. Hardcode Makefile in
18520 AC_CONFIG_FILES call.
18521 * configure: Regenerated.
18522
d528cdcf
JM
18523 [BZ #13888]
18524 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18525 or TMPDIR.
18526 (testout): Likewise.
18527
135948bd
JM
18528 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18529 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18530 $(rtld-installed-name).
18531 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18532 (rtld_installed_name): Likwise.
18533 (runit): Remove function.
18534 (run_getconf): New variable, Use it for running getconf binary.
18535
38c78296
L
185362012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18537
18538 [BZ #14716]
18539 * string/test-memmem.c (check_result): New function.
18540 (do_one_test): Use it.
18541 (check1): New function.
18542 (test_main): Use it.
18543
d077f65f
MT
185442012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18545
18546 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18547
ced52c71
JM
185482012-10-18 Joseph Myers <joseph@codesourcery.com>
18549
18550 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18551 (_G_LSEEK64): Likewise.
18552 (_G_MMAP64): Likewise.
18553 (_G_FSTAT64): Likewise.
18554 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18555 (_G_LSEEK64): Likewise.
18556 (_G_MMAP64): Likewise.
18557 (_G_FSTAT64): Likewise.
18558 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18559 unconditional. Call __mmap64 directly.
18560 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18561 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18562 __lseek64 directly.
18563 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18564 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18565 __mmap64 directly.
18566 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18567 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18568 __lseek64 directly.
18569 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18570 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18571 __lseek64 directly.
18572 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18573 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18574 __lseek64 directly.
18575 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18576 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18577 __fxstat64 directly.
18578 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18579 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18580 unconditional.
18581 (freopen64) [!_G_OPEN64]: Remove conditional code.
18582 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18583 unconditional.
18584 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18585 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18586 unconditional.
18587 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18588 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18589 unconditional.
18590 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18591 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18592 unconditional.
18593 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18594 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18595 unconditional.
18596 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18597 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18598 unconditional.
18599 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18600 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18601 unconditional.
18602 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18603
b741de23
SP
186042012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18605
18606 [BZ #12140]
18607 * manual/memory.texi (Malloc Tunable Parameters): Add note
18608 about free list pointers overwriting some perturb bytes.
18609 Wording suggested by Roland McGrath.
18610
f9b9d9c9
JM
186112012-10-17 Joseph Myers <joseph@codesourcery.com>
18612
18613 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18614 (lgamma_test): Likewise.
18615 (tgamma_test): Likewise.
18616
172a631a
FW
186172012-10-16 Florian Weimer <fweimer@redhat.com>
18618
18619 [BZ #14700]
18620 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18621 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18622
e9f37252
MK
186232012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18624
18625 * NEWS: Mention BZ #14716.
18626 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18627 when removing AVAILABLE1_USES_J macro.
18628
d394eb74
L
186292012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18630
18631 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18632 (__bswap_64): __uint64_t for unsigned 64-bit int.
18633
ca38dc17
AS
186342012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18635
18636 * include/string.h (memmem): Declare libc hidden alias.
18637 * string/memmem.c (memmem): Define libc hidden alias.
18638 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18639 __read, __close instead of open, read, close.
18640
9a387d1f
L
186412012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18642
ac49ecaf
L
18643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18644 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18645 global and hidden.
18646 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18647 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18648 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18649 Likewise.
18650 (__rawmemchr_sse2): Likewise.
18651 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18652 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18653 (__strchr_sse2): Likewise.
18654 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18655 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18656 (__strcasecmp_sse2): Likewise.
18657 (__strncasecmp_sse2): Likewise.
18658 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18659 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18660 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18661 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18662 (__strrchr_sse2): Likewise.
18663 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18664 ifunc-impl-list.c.
18665 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18666 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18667 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18668 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18669 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18670 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18671 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18672 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18673 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18674 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18675 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18676 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18677 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18678 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18679 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18680 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18681 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18682 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18683 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18684 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18685 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18686 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18687 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18688 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18689 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18690 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18691 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18692 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18693 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18694 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18695
b090e8ea
L
18696 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18697 global and hidden.
18698 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18699 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18700 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18701 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18702 Likewise.
18703 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18704 Likewise.
18705 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18706 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18707 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18708 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18709 ifunc-impl-list.c.
18710 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18711 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18712 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18713 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18714 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18715 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18716 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18717 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18718 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18719 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18720 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18721 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18722 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18723 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18724 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18725 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18726 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18727 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18728 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18729 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18730 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18731 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18732 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18733 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18734 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18735 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18736 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18737 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18738 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18739 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18740 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18741 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18742 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18743 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18744 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18745 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18746 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18747 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18748 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18749 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18750 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18751
11dd4af6
L
18752 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18753 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18754 * include/ifunc-impl-list.h: New file.
18755 * misc/ifunc-impl-list.c: Likewise.
18756 * misc/Makefile (routines): Add ifunc-impl-list.
18757 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18758 * string/test-string.h: Include <ifunc-impl-list.h>.
18759 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18760 impl_array): New variables.
18761 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18762 are defined.
18763 (test_init): Call __libc_ifunc_impl_list to initialize
18764 func_list if TEST_IFUNC and TEST_NAME are defined.
18765
9a387d1f
L
18766 * string/Makefile (strop-tests): Add bcopy and bzero.
18767 * string/test-bcopy.c: New file.
18768 * string/test-bzero.c: Likewise.
18769 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18770 defined.
18771 * string/test-memset.c: Support bzero test if TEST_BZERO is
18772 defined.
18773 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18774 __libc_memmove.
18775 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18776 __libc_memset.
18777 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18778 of memset.
18779
472371b9
JM
187802012-10-10 Joseph Myers <joseph@codesourcery.com>
18781
1e4a9536
JM
18782 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18783 * configure: Regenerated.
18784
d173d12e
JM
18785 * Makeconfig (+link-static-before-libc): Don't include
18786 $(link-static-libc).
18787
472371b9
JM
18788 * libio/libio.h (_IO_pos_t): Remove.
18789
89a3ad0b
AO
187902012-10-10 Alexandre Oliva <aoliva@redhat.com>
18791
18792 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18793 McGrath.
18794
e7451425
AO
187952012-10-10 Alexandre Oliva <aoliva@redhat.com>
18796
18797 * crypt/crypt-entry.c: Include fips-private.h.
18798 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18799 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18800 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18801 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18802
4ba74a35
AO
188032012-10-10 Alexandre Oliva <aoliva@redhat.com>
18804
18805 * crypt/crypt-private.h: Include stdbool.h.
18806 (_ufc_setup_salt_r): Return bool.
18807 * crypt/crypt-entry.c: Include errno.h.
18808 (__crypt_r): Return NULL with EINVAL for bad salt.
18809 * crypt/crypt_util.c (bad_for_salt): New.
18810 (_ufc_setup_salt_r): Check that salt is long enough and within
18811 the specified alphabet.
18812 * crypt/badsalttest.c: New file.
18813 * crypt/Makefile (tests): Add it.
18814 ($(objpfx)badsalttest): New.
18815
f96f1242
MK
188162012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18817
18818 * NEWS: Add entry for BZ #14602.
18819
0e8e0c1c
JM
188202012-10-09 Joseph Myers <joseph@codesourcery.com>
18821
18822 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18823 type-generic.
18824 * math/libm-test.inc: Update comment listing what functions and
18825 macros are tested.
18826 (isgreater_test): New function.
18827 (isgreaterequal_test): Likewise.
18828 (isless_test): Likewise.
18829 (islessequal_test): Likewise.
18830 (islessgreater_test): Likewise.
18831 (isunordered_test): Likewise.
18832 (main): Call the new functions.
18833
273edc5e
RM
188342012-10-09 Roland McGrath <roland@hack.frob.com>
18835
b8493de0
RM
18836 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18837 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18838 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18839 * sysdeps/i386/configure: Regenerated.
18840 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18841 * sysdeps/mach/configure: Regenerated.
18842 * sysdeps/mach/hurd/configure: Regenerated.
18843 * sysdeps/powerpc/configure: Regenerated.
18844 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18845 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18846 * sysdeps/s390/s390-32/configure: Regenerated.
18847 * sysdeps/s390/s390-64/configure: Regenerated.
18848 * sysdeps/sh/configure: Regenerated.
18849 * sysdeps/sparc/configure: Regenerated.
18850 * sysdeps/unix/sysv/linux/configure: Regenerated.
18851 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18852 * sysdeps/x86_64/configure: Regenerated.
18853
273edc5e
RM
18854 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18855 defined. Don't check if MAP is NULL.
18856
c8450f70
JM
188572012-10-09 Joseph Myers <joseph@codesourcery.com>
18858
18859 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18860 (_G_stat64): Likewise.
18861 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18862 (_G_stat64): Likewise.
18863 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18864 instead of struct _G_stat64.
18865 * libio/fileops.c (mmap_remap_check): Likewise.
18866 (decide_maybe_mmap): Likewise.
18867 (_IO_new_file_seekoff): Likewise.
18868 (_IO_file_stat): Likewise.
18869 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18870 _G_off64_t.
18871 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18872 instead of struct _G_stat64.
18873 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18874
57e605ba
MK
188752012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18876
18877 [BZ #14602]
18878 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18879 Replace with ...
18880 (CHECK_EOL): New macro.
18881 (two_way_short_needle): Check beginning of haystack for EOL. Use
18882 CHECK_EOL.
18883 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18884 Replace with CHECK_EOL.
18885 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18886 Replace with CHECK_EOL.
18887
ef1bb361
JM
188882012-10-08 Joseph Myers <joseph@codesourcery.com>
18889
18890 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18891 type-generic.
18892 * math/libm-test.inc: Update comment listing what functions and
18893 macros are tested.
18894 (finite_test): New function.
18895 (isinf_test): Likewise.
18896 (isnan_test): Likewise.
18897 (fpclassify_test): Test subnormal input.
18898 (isfinite_test): Likewise.
18899 (isnormal_test): Likewise.
18900 (main): Call the new functions.
18901
55f11534
JN
189022012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18903
18904 [BZ #14660]
18905 * Makerules (%.dynsym): Force C locale when running
18906 $(OBJDUMP) --dynamic-syms.
18907
1ab29350
AS
189082012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18909
18910 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18911 <stdint.h>.
18912
f1ecb7ef
DM
189132012-10-06 David S. Miller <davem@davemloft.net>
18914
18915 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18916 upper 32-bits of the length value in %o2 since we use branch-on-register
18917 tests which consider the entire 64-bit register.
18918
5d41d91a
L
189192012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18920
18921 * string/test-strstr.c (check2): Add a test for page boundary.
18922
3baddb72
DM
189232012-10-05 David S. Miller <davem@davemloft.net>
18924
18925 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18926 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18927 file.
18928 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18929 sysdep_routines.
18930 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18931 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18932 and bzero when HWCAP_SPARC_CRYPTO is present.
18933
9cee5585
L
189342012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18935
d7e0dab9
L
18936 [BZ #14602]
18937 * string/test-strstr.c (check2): New function.
18938 (test_main): Call check2.
18939
03759f47
L
18940 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18941 and bug-strchr1.
18942 * string/bug-strcasestr1.c (do_test): Moved to ...
18943 * string/test-strcasestr.c (check1): Here. New function.
18944 (do_one_test): Break out result checking code into ...
18945 (check_result): This. New function.
18946 (do_one_test): Call check_result.
18947 (test_main): Call check1.
18948 * string/bug-strchr1.c (do_test): Moved to ...
18949 * string/test-strchr.c (check1): Here. New function.
18950 (do_one_test): Break out result checking code into ...
18951 (check_result): This. New function.
18952 (do_one_test): Call check_result.
18953 (test_main): Call check1.
18954 * string/bug-strstr1.c (main): Moved to ...
046f153e 18955 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18956 (do_one_test): Break out result checking code into ...
18957 (check_result): This. New function.
18958 (do_one_test): Call check_result.
18959 (test_main): Call check1.
18960 * string/bug-strcasestr1.c: Removed.
18961 * string/bug-strchr1.c: Likewise.
18962 * string/bug-strstr1.c: Likewise.
18963
53cea63e
L
18964 * elf/Makefile (dl-routines): Add hwcaps.
18965 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18966 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18967 (_dl_important_hwcaps): Moved to ...
18968 * elf/dl-hwcaps.c: Here. New file.
18969 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18970
9cee5585 18971 [BZ #14557]
bb859b06
L
18972 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18973 if IS_IN_rtld isn't defined.
18974
9cee5585
L
18975 * elf/dl-support.c (_dl_sysinfo_map): New.
18976 Include "get-dynamic-info.h" and "setup-vdso.h".
18977 (_dl_non_dynamic_init): Call setup_vdso.
18978 * elf/dynamic-link.h: Don't include <assert.h>.
18979 (elf_get_dynamic_info): Moved to ...
18980 * elf/get-dynamic-info.h: Here. New file.
18981 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18982 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18983 * elf/setup-vdso.h: Here. New file.
18984 * elf/rtld.c: Include "setup-vdso.h".
18985 (dl_main): Call setup_vdso.
18986
23c31b76
JM
189872012-10-05 Joseph Myers <joseph@codesourcery.com>
18988
28234b07
JM
18989 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18990 creal in comment listing functions tested. List finite, isinf,
18991 isnan, isless, islessequal, isgreater, isgreaterequal,
18992 islessgreater, isunordered, lgamma_r and pow10 as functions and
18993 macros not tested. Mention which functions not tested are aliases
18994 for other functions. Fix typo. Note that signs of NaNs are not
18995 tested.
18996
23c31b76
JM
18997 * scripts/config.guess: Update from config.git.
18998 * scripts/config.sub: Likewise.
18999
9043e228
RM
190002012-10-04 Roland McGrath <roland@hack.frob.com>
19001
19002 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19003 * misc/madvise.c (madvise): Renamed to __madvise.
19004 Make madvise a weak alias.
19005 * include/sys/mman.h: Declare __madvise.
19006 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19007 * sysdeps/unix/syscalls.list
19008 (madvise): Make __madvise the strong name, and madvise a weak alias.
19009 * sysdeps/unix/sysv/linux/syscalls.list
19010 (madvise, mmap): Remove redundant entries.
19011 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19012 * malloc/malloc.c (mtrim): Likewise.
19013 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19014
f57f8055
RM
190152012-10-03 Roland McGrath <roland@hack.frob.com>
19016
19017 * sysdeps/mach/hurd/dl-cache.c: File removed.
19018 * config.h.in (USE_LDCONFIG): New #undef.
19019 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19020 * configure: Regenerated.
19021 * elf/Makefile (dl-routines): Add dl-cache only under
19022 [$(use-ldconfig) = yes].
19023 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19024 cache on [USE_LDCONFIG].
19025 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19026 [USE_LDCONFIG].
19027 * elf/rtld.c (dl_main): Likewise.
19028
5bb0c10a
PT
190292012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19030
19031 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19032 _SC_LEVEL4_CACHE_LINESIZE.
19033
010188c6
RM
190342012-10-03 Roland McGrath <roland@hack.frob.com>
19035
19036 * sysdeps/unix/bsd/confstr.h: File removed.
19037
b6c5ec07
AO
190382012-10-02 Alexandre Oliva <aoliva@redhat.com>
19039
19040 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19041 sys/sdt-config.h.
19042
408223d4
RM
190432012-10-02 Roland McGrath <roland@hack.frob.com>
19044
19045 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19046 Make 'mapoff' field ElfW(Off) rather than off_t.
19047
bb9510dc
DL
190482012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19049
fc997c6e
DL
19050 * nscd/Makefile: Remove nscd-cflags and all its users.
19051 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19052 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19053
bb9510dc
DL
19054 [BZ #10631]
19055 * malloc.c (malloc_printerr): Clarify error message.
19056
05699367
L
190572012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19058
19059 [BZ #14648]
19060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19061 Set bit_FMA_Usable if FMA is supported.
19062 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19063 macro.
19064 (bit_FMA4_Usable): Updated.
19065 (index_FMA_Usable): New macro.
19066 (CPUID_FMA): Likewise
19067 (HAS_FMA): Defined with bit_FMA_Usable.
19068
51367701
RM
190692012-10-01 Roland McGrath <roland@hack.frob.com>
19070
19071 * bits/types.h (__swblk_t): Type removed.
19072 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19073 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19075 (__SWBLK_T_TYPE): Likewise.
19076 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19077 (__SWBLK_T_TYPE): Likewise.
19078 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19079 (__SWBLK_T_TYPE): Likewise.
19080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19081 (__SWBLK_T_TYPE): Likewise.
19082
4d57bf63 190832012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 19084 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
19085
19086 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19087 (xdr_mapname): Use YPMAXMAP as maxsize.
19088 (xdr_peername): Use YPMAXPEER as maxsize.
19089 (xdr_keydat): Use YPAXRECORD as maxsize.
19090 (xdr_valdat): Use YPMAXRECORD as maxsize.
19091
93c65d43
RM
190922012-10-01 Roland McGrath <roland@hack.frob.com>
19093
497a03d6
RM
19094 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19095
93c65d43
RM
19096 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19097 * csu/init-first.c: ... here.
19098 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19099 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19100 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19101 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19102 * sysdeps/i386/init-first.c: File removed.
19103 * sysdeps/sh/init-first.c: File removed.
19104
bec749fd
JM
191052012-10-01 Joseph Myers <joseph@codesourcery.com>
19106
19107 [BZ #14645]
19108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19109 if x * y might underflow to zero and z is zero.
19110 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19111 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19112 * math/libm-test.inc (min_subnorm_value): New variable.
19113 (fma_test): Add more tests.
19114 (fma_test_towardzero): Likewise.
19115 (fma_test_downward): Likewise
19116 (fma_test_upward): Likewise.
19117 (initialize): Set min_subnorm_value.
19118
8ec5b013
JM
191192012-09-29 Joseph Myers <joseph@codesourcery.com>
19120
19121 [BZ #14638]
19122 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19123 0 + 0.
19124 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19125 mode for addition resulting in exact zero.
19126 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19127 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19128 exact 0 + 0.
19129 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19131 * math/libm-test.inc (fma_test): Add more tests.
19132 (fma_test_towardzero): New function.
19133 (fma_test_downward): Likewise.
19134 (fma_test_upward): Likewise.
19135 (main): Call the new functions.
19136
b1fa802e
DM
191372012-09-28 David S. Miller <davem@davemloft.net>
19138
19139 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19140
d3b9fd9e
RM
191412012-09-28 Roland McGrath <roland@hack.frob.com>
19142
ea4d37b3
RM
19143 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19144 instead of SIGALRM.
19145
ac51c949
RM
19146 * sysdeps/gnu/_G_config.h: Moved to ...
19147 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19148 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19149 * sysdeps/generic/_G_config.h: ... here.
19150
28c195f7
RM
19151 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19152
848917f9
RM
19153 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19154
6bacf05b
RM
19155 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19156 Conditionalize target on [libnss_test1.so-version].
19157
91363dbb
RM
19158 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19159
cc87f7d8
RM
19160 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19161 (elfobjdir): Move out of conditionals.
19162
b1c608fe
RM
19163 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19164 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19165 (__nss_lookup_function): Conditionalize label remove_from_tree on
19166 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 19167
1d9a6d96
DM
191682012-09-28 David S. Miller <davem@davemloft.net>
19169
19170 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19171 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19172 file.
19173 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19174 sysdep_routines.
19175 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19176 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19177 when HWCAP_SPARC_CRYPTO is present.
19178
72581615
PT
191792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19180
19181 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19182
715a900c
JL
191832012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19184
19185 [BZ #6530]
19186 * stdio-common/vfprintf.c (process_string_arg): Revert
19187 2000-07-22 change.
19188
191892011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19190
19191 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19192 for testcase.
19193 * stdio-common/tst-sprintf.c: Include <locale.h>
19194 (main): Test sprintf's handling of incomplete multibyte
19195 characters.
19196
9bac1d86
L
191972012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19198
19199 * elf/dl-runtime.c (VERSYMIDX): Removed.
19200 * elf/dl-version.c (VERSYMIDX): Likewise.
19201 * elf/do-rel.h (VERSYMIDX): Likewise.
19202 (VALIDX): Likewise.
19203 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19204 * elf/rtld.c (VALIDX): Likewise.
19205 (ADDRIDX): Likewise.
9bac1d86
L
19206 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19207 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19208 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
19209 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19210 (VALIDX): Likewise.
19211 (ADDRIDX): Likewise.
9bac1d86 19212
b31606c0
PT
192132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19214
19215 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19216
11541177
JL
192172012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19218
19219 [BZ #11438]
19220 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19221 to global scope.
19222 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19223 addresses are in the same scope as 192.0.2/24.
19224 * posix/gai.conf: Document new scope table defaults.
19225
adb26fae
SP
192262012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19227
19228 [BZ #5298]
19229 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19230 for ftell. Compute offsets from write pointers instead.
19231 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19232
4573c6b0
SP
192332012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19234
19235 [BZ #14543]
19236 * libio/Makefile (tests): New test case tst-fseek.
19237 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19238 combination works in wide mode.
19239 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19240 state when the external buffer state changes.
19241
aa9bbfe6
DM
192422012-09-27 David S. Miller <davem@davemloft.net>
19243
19244 [BZ #14376]
19245 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19246 pass reloc->r_addend in as the 'high' argument to
19247 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19248
784421e7
DM
19249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19250
c39bc8b8
PT
192512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19252
19253 * rt/tst-aio2.c: Include <pthread.h>.
19254 * rt/tst-aio3.c: Likewise.
19255
1ccc2399
SE
192562012-09-27 Steve Ellcey <sellcey@mips.com>
19257
19258 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19259
31ed4153
L
192602012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19261
25f5f885
L
19262 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19263 contents on [SHARED].
31ed4153 19264
b7bfe116
MP
192652012-09-26 Marek Polacek <polacek@redhat.com>
19266
19267 [BZ #14530]
19268 [BZ #13741]
19269 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19270 for C++ and GCC <4.3 as well as for non GCC compilers.
19271
43c4edba
MT
192722012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19273
19274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19275
6a1bf82f
RM
192762012-09-25 Roland McGrath <roland@hack.frob.com>
19277
19278 * Makefile.in (all, install): Declare with .PHONY.
19279 Reported by Michael Hope <michael.hope@linaro.org>.
19280
8ad11b9a
TMQMF
192812012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19282
19283 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19284 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19285 system header.
19286 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19287 Likewise.
19288 (sydep_routines): Add the new and the internal functions.
19289 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19290 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19292 (GLIBC_2.17): Add the new function.
19293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19294 (GLIBC_2.17): Likewise.
19295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19296 (GLIBC_2.17): Likewise.
19297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19298 (GLIBC_2.17): Likewise.
19299 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19300
7e2fca8d
AM
193012012-09-25 Alan Modra <amodra@gmail.com>
19302
19303 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19304 Add release barrier before setting once_control to say
19305 initialisation is done. Add hints on lwarx. Use macro in
19306 place of isync.
19307 (clear_once_control): Add release barrier.
19308
b87c4b24
JM
193092012-09-25 Joseph Myers <joseph@codesourcery.com>
19310
d032e0d2
JM
19311 [BZ #13629]
19312 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19313 specially.
19314 * math/s_clog10.c (__clog10): Likewise.
19315 * math/s_clog10f.c (__clog10f): Likewise.
19316 * math/s_clog10l.c (__clog10l): Likewise.
19317 * math/s_clogf.c (__clogf): Likewise.
19318 * math/s_clogl.c (__clogl): Likewise.
19319 * math/Makefile (libm-calls): Add x2y2m1.
19320 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19321 (__x2y2m1): Likewise.
19322 (__x2y2m1l): Likewise.
19323 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19324 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19325 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19326 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19327 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19328 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19329 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19330 * sysdeps/i386/fpu/libm-test-ulps: Update.
19331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19332
b87c4b24
JM
19333 [BZ #14621]
19334 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19335 int as type of variable DEPTH.
19336 (glob): Use size_t instead of int as type of variables NEWCOUNT
19337 and OLD_PATHC.
19338
6d3bf199
LD
193392012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19340
22bf5c17
LD
19341 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19342 Add s_sincosf-sse2.
19343 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19344 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19345 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19346 macros for using routine as __sincosf_ia32.
19347 Use macro for function declaration and weak_alias.
19348 * sysdeps/i386/fpu/libm-test-ulps: Update.
19349
19350 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19352
19353 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19354 subnormal argument.
19355 * math/s_cexpf.c (__cexpf): Likewise.
19356 * math/s_csinf.c (__csinf): Likewise.
19357 * math/s_csinhf.c (__csinhf): Likewise.
19358 * math/s_ctanf.c (__ctanf): Likewise.
19359 * math/s_ctanhf.c (__ctanhf): Likewise.
19360 * math/s_ccosh.c (__ccoshf): Likewise.
19361 * math/s_cexp.c (__cexpl): Likewise.
19362 * math/s_csin.c (__csin): Likewise.
19363 * math/s_csinh.c (__csinh): Likewise.
19364 * math/s_ctan.c (__ctan): Likewise.
19365 * math/s_ctanh.c (ctanh): Likewise.
19366 * math/s_ccoshl.c (__ccoshl): Likewise.
19367 * math/s_cexpl.c (__cexpl): Likewise.
19368 * math/s_csinl.c (__csinl): Likewise.
19369 * math/s_csinhl.c (__csinhl): Likewise.
19370 * math/s_ctanl.c (__ctanl): Likewise.
19371 * math/s_ctanhl.c (__ctanhl): Likewise.
19372
203e5603
JM
193732012-09-25 Joseph Myers <joseph@codesourcery.com>
19374
19375 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19376 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19377 (_IO_off_t): Define to __off_t, not _G_off_t.
19378 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19379 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19380 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19381 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19382 type of __dummy and __dummy2 fields.
19383 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19384 (_G_ssize_t): Likewise.
19385 (_G_off_t): Likewise.
19386 (_G_pid_t): Likewise.
19387 (_G_uid_t): Likewise.
19388 (_G_wchar_t): Likewise.
19389 (_G_wint_t): Likewise.
19390 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19391 (_G_ssize_t): Likewise.
19392 (_G_off_t): Likewise.
19393 (_G_pid_t): Likewise.
19394 (_G_uid_t): Likewise.
19395 (_G_wchar_t): Likewise.
19396 (_G_wint_t): Likewise.
19397 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19398 (_G_ssize_t): Likewise.
19399 (_G_off_t): Likewise.
19400 (_G_pid_t): Likewise.
19401 (_G_uid_t): Likewise.
19402 (_G_wchar_t): Likewise.
19403 (_G_wint_t): Likewise.
19404
9fab36eb
SP
194052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19406
19407 * malloc/arena.c: Include malloc-sysdep.h.
19408 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19409 is sufficient to shrink the heap or an unmap is needed.
19410 * sysdeps/generic/malloc-sysdep.h: New file. Define
19411 new function check_may_shrink_heap.
19412 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19413 new function check_may_shrink_heap.
19414
2b4f00d1
SP
194152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19416
19417 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19418 comments.
19419
9a9028b1
DL
194202012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19421
57c69bef
DL
19422 * catgets/test-gencat.sh: Add "set -e".
19423 * elf/tst-pathopt.sh: Likewise.
19424 * grp/tst_fgetgrent.sh: Likewise.
19425 * iconvdata/run-iconv-test.sh: Likewise.
19426 * intl/tst-gettext.sh: Likewise.
19427 * intl/tst-gettext2.sh: Likewise.
19428 * intl/tst-gettext4.sh: Likewise.
19429 * intl/tst-gettext6.sh: Likewise.
19430 * intl/tst-translit.sh: Likewise.
19431 * io/ftwtest-sh: Likewise.
19432 * libio/test-freopen.sh: Likewise.
19433 * malloc/tst-mtrace.sh: Likewise.
19434 * posix/globtest.sh: Likewise.
19435 * posix/tst-getconf.sh: Likewise.
19436 * posix/wordexp-tst.sh: Likewise.
19437 * stdio-common/tst-printf.sh: Likewise.
19438 * stdio-common/tst-unbputc.sh: Likewise.
19439 * stdlib/tst-fmtmsg.sh: Likewise.
19440 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19441 * catgets/Makefile: Do not specify -e option when running
19442 testsuite shell scripts.
19443 * elf/Makefile: Likewise.
19444 * grp/Makefile: Likewise.
19445 * iconvdata/Makefile: Likewise.
19446 * intl/Makefile: Likewise.
19447 * io/Makefile: Likewise.
19448 * libio/Makefile: Likewise.
19449 * malloc/Makefile: Likewise.
19450 * posix/Makefile: Likewise.
19451 * stdio-common/Makefile: Likewise.
19452 * stdlib/Makefile: Likewise.
19453 * sysdeps/x86_64/Makefile: Likewise.
19454
9a9028b1
DL
19455 * io/ftwtest-sh: Add copyright header.
19456 * posix/globtest.sh: Likewise.
19457 * posix/tst-getconf.sh: Likewise.
19458 * posix/wordexp-tst.sh: Likewise.
19459 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19460
ced6f16e
L
194612012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19462
94b32c39
L
19463 [BZ #13679]
19464 * Makeconfig (+link): Defined as $(+link-static) if
19465 $(build-shared) isn't yes.
19466 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19467 isn't yes.
19468 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19469
189e935b
L
19470 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19471
ced6f16e
L
19472 [BZ #14562]
19473 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19474 new chunk size with MALLOC_ALIGN_MASK.
19475
a9f8e53a
JM
194762012-09-24 Joseph Myers <joseph@codesourcery.com>
19477
19478 [BZ #5044]
19479 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19480 <rounding-mode.h>.
19481 (__printf_fphex): Determine rounding using get_rounding_mode and
19482 round_away.
19483 * stdio-common/tst-printf-round.c (struct hex_test): New
19484 structure.
19485 (hex_tests): New variable.
19486 (test_hex_in_one_mode): New function.
19487 (do_test): Also run tests for hex float output.
19488
43153109
JM
194892012-09-21 Joseph Myers <joseph@codesourcery.com>
19490
19491 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19492 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19493 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19494 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19495 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19496 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19497 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19498 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19499
8a26625d
JM
195002012-09-20 Joseph Myers <joseph@codesourcery.com>
19501
19502 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19503 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19504 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19505 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19506
f3fd569c
DL
195072012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19508
19509 [BZ #14579]
19510 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19511 mode only.
19512 * elf/tst-rtld-load-self.sh: New test.
19513 * elf/Makefile: Run it.
19514
63bbedd4
JM
195152012-09-18 Joseph Myers <joseph@codesourcery.com>
19516
19517 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19518 (tst-writev-ENV): Remove.
19519 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19520
626f8b6a
CM
195212012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19522
19523 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19524
b7aaa4d6
JM
195252012-09-17 Joseph Myers <joseph@codesourcery.com>
19526
19527 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19528 unconditional.
19529 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19530 Likewise.
19531 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19532 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19533 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19534 Likewise.
19535
65513990
L
195362012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19537
19538 [BZ #14587]
19539 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19540 * config.make.in (have-cpp-asm-debuginfo): Removed.
19541 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19542 * configure: Regenerated.
19543
784761be
JM
195442012-09-14 Joseph Myers <joseph@codesourcery.com>
19545
19546 [BZ #5044]
19547 * stdio-common/printf_fp.c: Include <stdbool.h> and
19548 <rounding-mode.h>.
19549 (___printf_fp): Determine rounding using get_rounding_mode and
19550 round_away.
19551 * stdio-common/tst-printf-round.c: New file.
19552 * stdio-common/Makefile (tests): Add tst-printf-round.
19553 (link-libm): New variable.
19554 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19555
9503345f
L
195562012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19557
19558 [BZ #14576]
19559 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19560 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19561 Likewise.
19562 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19563 Likewise.
19564
ad35fc00
JM
195652012-09-13 Joseph Myers <joseph@codesourcery.com>
19566
19567 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19568 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19569 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19570 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19571
6c9b0f68
JM
195722012-09-12 Joseph Myers <joseph@codesourcery.com>
19573
19574 [BZ #14518]
19575 * include/rounding-mode.h: New file.
19576 * sysdeps/generic/get-rounding-mode.h: Likewise.
19577 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19578 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19579 (MAX_VALUE): New macro.
19580 (MIN_VALUE): Likewise.
19581 (overflow_value): New function.
19582 (underflow_value): Likewise.
19583 (round_and_return): Use overflow_value and underflow_value to
19584 determine return values in overflow and underflow cases. Use
19585 round_away to determine rounding depending on rounding mode.
19586 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19587 determine return values in overflow and underflow cases.
19588 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19589 (struct test_results): New structure.
19590 (struct test): Use struct test_results to store expected results
19591 for all rounding modes.
19592 (TEST): Include expected results for all rounding modes.
19593 (test_in_one_mode): New function.
19594 (do_test): Use test_in_one_mode to compute and check results.
19595 Check results for all rounding modes.
19596 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19597 $(link-libm).
19598
19fcedd5
AM
195992012-12-09 Allan McRae <allan@archlinux.org>
19600
1e9d84cd 19601 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19602
8bbfd2f1
JM
196032012-09-11 Joseph Myers <joseph@codesourcery.com>
19604
19605 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19606 (_G_int32_t): Likewise.
19607 (_G_uint16_t): Likewise.
19608 (_G_uint32_t): Likewise.
19609 (_G_HAVE_BOOL): Likewise.
19610 (_G_HAVE_ATEXIT): Likewise.
19611 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19612 (_G_HAVE_IO_FILE_OPEN): Likewise.
19613 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19614 (_G_int32_t): Likewise.
19615 (_G_uint16_t): Likewise.
19616 (_G_uint32_t): Likewise.
19617 (_G_HAVE_BOOL): Likewise.
19618 (_G_HAVE_ATEXIT): Likewise.
19619 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19620 (_G_HAVE_IO_FILE_OPEN): Likewise.
19621 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19622 (_G_int32_t): Likewise.
19623 (_G_uint16_t): Likewise.
19624 (_G_uint32_t): Likewise.
19625 (_G_HAVE_BOOL): Likewise.
19626 (_G_HAVE_ATEXIT): Likewise.
19627 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19628 (_G_HAVE_IO_FILE_OPEN): Likewise.
19629
b1dc5912
L
196302012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19631
19632 * csu/libc-tls.c: Update copyright years.
19633
0e886ef9
JM
196342012-09-10 Joseph Myers <joseph@codesourcery.com>
19635
28361c5e
JM
19636 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19637 [!_G_USING_THUNKS]: Remove conditional code.
19638 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19639 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19640
0e886ef9
JM
19641 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19642 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19643 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19644 (_G_VTABLE_LABEL_PREFIX): Likewise.
19645 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19646 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19647 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19648 (_G_VTABLE_LABEL_PREFIX): Likewise.
19649 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19650 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19651 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19652 (_G_VTABLE_LABEL_PREFIX): Likewise.
19653 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19654
bcba7aa2
L
196552012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19656
19657 * libio/Makefile: Include ../Makeconfig before tests.
19658 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19659 only if $(build-shared) is yes.
19660
06585ee8
L
19661 * iconv/gconv_db.c: Update copyright years.
19662
80ccd52c
LD
196632012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19664
19665 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19666 unwind info if defined PIC. Fix special cases description.
19667 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19668
19669 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19670 DP_HI_MASK entry.
19671 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19672
691bc9c1
L
196732012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19674
3d9b46b3
L
19675 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19676
de2139a9
L
19677 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19678 is NULL.
19679
5ca78dd0
L
19680 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19681 (LDLIBS-tst-chk4): This.
19682 (LDFLAGS-tst-chk5): Renamed to ...
19683 (LDLIBS-tst-chk5): This.
19684 (LDFLAGS-tst-chk6): Renamed to ...
19685 (LDLIBS-tst-chk6): This.
19686 (LDFLAGS-tst-lfschk4): Renamed to ...
19687 (LDLIBS-tst-lfschk4): This.
19688 (LDFLAGS-tst-lfschk5): Renamed to ...
19689 (LDLIBS-tst-lfschk5): This.
19690 (LDFLAGS-tst-lfschk6): Renamed to ...
19691 (LDLIBS-tst-lfschk6): This.
19692
691bc9c1
L
19693 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19694 on $(common-objpfx)soversions.mk.
19695
65cafb1c
JM
196962012-09-07 Joseph Myers <joseph@codesourcery.com>
19697
19698 [BZ #10014]
19699 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19700 example host name.
19701
c78ab094
SP
197022012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19703
19704 * malloc/arena.c (arena_get_retry): New function that gets
19705 another arena for the caller to try its request on.
19706 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19707 current arena cannot fulfill the request.
19708 (__libc_memalign): Likewise.
19709 (__libc_memalign): Likewise.
19710 (__libc_pvalloc): Likewise.
19711 (__libc_calloc): Likewise.
19712
01f49f59
JT
197132012-09-05 John Tobey <john.tobey@gmail.com>
19714
19715 [BZ #13542]
19716 * manual/arith.texi (Operations on Complex): Fix description
19717 of carg branch cut.
19718
4c23fed5
JM
197192012-09-06 Joseph Myers <joseph@codesourcery.com>
19720
1d3c8572
JM
19721 [BZ #10014]
19722 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19723 host name.
19724
4c23fed5
JM
19725 [BZ #10038]
19726 * manual/memory.texi (Memory): Make order of menu items match
19727 order of sections.
19728
04570aaa
L
197292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19730
19731 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19732 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19733 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19734
b80af2f4
L
197352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19736
19737 * csu/libc-tls.c (static_dtv): Renamed to ...
19738 (_dl_static_dtv): This. Make it global.
19739 (_dl_initial_dtv): Removed.
19740 (__libc_setup_tls): Updated.
19741 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19742 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19743 DL_INITIAL_DTV.
19744
2abe9f15
PM
197452012-09-06 Petr Machata <pmachata@redhat.com>
19746
19747 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19748 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19749 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19750 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19751
0948c3af
L
197522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19753
19754 [BZ #14545]
19755 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19756 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19757 freeing dtv[-1].
19758
a5055ad1
L
197592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19760
19761 [BZ #14544]
19762 * Makeconfig (link-static-before-libc): Replace $(+prector)
19763 with $(+prectorT).
19764 (link-static-after-libc): Replace $(+postctor) with
19765 $(+postctorT).
19766 (link-bounded): Replace $(+prector)/$(+postctor) with
19767 $(+prectorT)/$(+postctorT).
19768 (+prectorT): New macro.
19769 (+postctorT): Likewise.
19770
ed8c2ecd
JM
197712012-09-06 Joseph Myers <joseph@codesourcery.com>
19772
19773 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19774 (round_str): Handle values above the maximum for IBM long double
19775 as inexact.
19776 * stdlib/tst-strtod-round.c (tests): Regenerated.
19777
14c996c8
AK
197782012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19779
19780 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19781 assembler flag.
19782 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19783 zarch_nohighgprs around the zarch optimized routines.
19784 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19785 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19786 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19787 for zarch.
19788
430d6ce6
DM
197892012-09-05 David S. Miller <davem@davemloft.net>
19790
19791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19792
ff04dda4
DM
19793 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19794 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19795 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19796 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19797 entries.
19798
24d4e01b
AO
197992012-09-05 Alexandre Oliva <aoliva@redhat.com>
19800
19801 * malloc/arena.c: Fold copyright years.
19802 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19803
61d58174
AO
198042012-09-05 Alexandre Oliva <aoliva@redhat.com>
19805
19806 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19807
20196a5e
AO
198082012-09-05 Alexandre Oliva <aoliva@redhat.com>
19809
19810 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19811
5c447383
AO
198122012-09-05 Alexandre Oliva <aoliva@redhat.com>
19813
19814 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19815 change internal state upon failure.
19816
fad64255
AO
198172012-09-05 Alexandre Oliva <aoliva@redhat.com>
19818
19819 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19820 * malloc/memusage.c (mmap): Likewise.
19821 (mmap64, mremap): Likewise. Adjust name in comment.
19822
1ffb8c90
SP
198232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19824
19825 * libio/fileops.c: Fix typos in comments.
19826 * libio/oldfileops.c: Likewise.
19827 * libio/wfileops.c: Likewise.
19828
6ef9cc37
SP
198292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19830
19831 [BZ #1349]
19832 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19833 (tst-malloc-usable-ENV): Set environment for test case.
19834 * malloc/hooks.c (malloc_check_get_size): New function to get
19835 requested size.
19836 * malloc/malloc.c (musable): Use malloc_check_get_size.
19837 * malloc/tst-malloc-usable.c: New test case.
19838
4d038ae3
AS
198392012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19840
19841 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19842
c4e85184
AM
198432012-09-05 Allan McRae <allan@archlinux.org>
19844
b9dafc56 19845 [BZ #13966]
c4e85184
AM
19846 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19847 determine header location.
19848 * configure: Regenerated.
19849
e1343020
AS
198502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19851
19852 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19853 float format.
19854 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19855 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19856 format.
e1343020
AS
19857 (test): Regenerate.
19858
0a9f1987
DM
198592012-09-04 David S. Miller <davem@davemloft.net>
19860
19861 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19862 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19863 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19864
29237804
FW
198652012-09-04 Florian Weimer <fweimer@redhat.com>
19866
19867 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19868 failures.
19869
edb3cb88
FW
19870 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19871
60160d83
JM
198722012-09-04 Joseph Myers <joseph@codesourcery.com>
19873
19874 [BZ #9914]
19875 * libio/iogetdelim.c: Include <limits.h>.
19876 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19877 + len + 1 would overflow.
19878
bcd6c8dc
AJ
198792012-09-03 Andreas Jaeger <aj@suse.de>
19880
19881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19882 * sysdeps/i386/fpu/libm-test-ulps: Update.
19883
4ffffbd2
LD
198842012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19885
19886 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19887 Add s_sinf-sse2, s_conf-sse2.
19888
19889 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19890 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19891 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19892 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19893
19894 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19895 for using routine as __sinf_ia32.
19896 Use macro for function declaration and weak_alias.
19897 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19898 for using routine as __cosf_ia32.
19899 Use macro for function declaration and weak_alias.
19900
19901 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19902 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19903
19904 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19905 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19907
19908 * math/libm-test.inc (cos_test): Add more test cases.
19909 (sin_test): Likewise.
19910 (sincos_test): Likewise.
19911
511fa286
AK
199122012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19913
19914 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19915 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19916 hidden.
19917 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19918
5f30cfec
L
199192012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19920
19921 [BZ #14538]
19922 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19923 first element of the GOT.
19924 (elf_machine_load_address): Return the difference between
19925 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19926
0786794f
AM
199272012-09-01 Allan McRae <allan@archlinux.org>
19928
5f30cfec
L
19929 [BZ #13412]
19930 * configure.in (AWK): Require gawk version 3.0 or later.
19931 * configure: Regenerated.
0786794f 19932
26889eac
JM
199332012-09-01 Joseph Myers <joseph@codesourcery.com>
19934
19935 * sysdeps/unix/sysv/linux/kernel-features.h
19936 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19937 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19938 [__NR_clock_getres]: Make code unconditional.
19939 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19940 (clock_getcpuclockid): Remove code left unreachable by removal of
19941 conditionals.
19942 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19943 code unconditional.
19944 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19945 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19946 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19947 Make code unconditional.
19948 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19949 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19950 * sysdeps/unix/sysv/linux/clock_settime.c
19951 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19952 conditional code.
19953 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19954 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19955
d22e28b0
L
199562012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19957
19958 [BZ #14476]
19959 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19960 scripts/test-installation.pl.
19961
19962 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19963 and $ld_so_version if it is set.
19964
050af9c4
SP
199652012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19966
19967 [BZ #14516]
19968 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19969 failure if reading from procfs failed.
19970 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19971
ad845c0b
JM
199722012-08-27 Joseph Myers <joseph@codesourcery.com>
19973
19974 * sysdeps/unix/sysv/linux/kernel-features.h
19975 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19976 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19977 Remove conditional code.
19978 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19979 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19980 Remove conditional code.
19981 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19982 * sysdeps/unix/sysv/linux/i386/fxstat.c
19983 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19984 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19985 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19986 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19987 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19988 * sysdeps/unix/sysv/linux/i386/lxstat.c
19989 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19990 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19991 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19992 Remove conditional code.
19993 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19994 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19995 Remove conditional code.
19996 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19997 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19998 <kernel-features.h>.
19999 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20000 Remove.
20001 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20002 Remove conditional code.
20003 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20004 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20005 Remove conditional.
20006
5dbf56af
MF
200072012-08-27 Mike Frysinger <vapier@gentoo.org>
20008
20009 [BZ #5400]
20010 * NEWS: Add fixed bug number.
20011
d6e70f43
JM
200122012-08-27 Joseph Myers <joseph@codesourcery.com>
20013
7efb4737
JM
20014 [BZ #14519]
20015 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20016 underflowing exponent in case of negative sign.
20017 * stdlib/tst-strtod-round-data: Add more tests.
20018 * stdlib/tst-strtod-round.c (tests): Regenerated.
20019
af92131a
JM
20020 [BZ #3479]
20021 * stdlib/strtod_l.c (NDIG): Remove.
20022 (HEXNDIG): Likewise.
20023 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20024 smallest representable value.
20025 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20026 lie within an exact representation of 1/2 ulp of the result.
20027 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20028 unconditionally.
20029 (TENS_P9_IDX): Define unconditionally.
20030 (TENS_P9_SIZE): Likewise.
20031 (TENS_P10_IDX): Likewise.
20032 (TENS_P10_SIZE): Likewise.
20033 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20034 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20035 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20036 entries for 10^2^13 and 10^2^14.
20037 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20038 (TENS_P13_IDX): Define.
20039 (TENS_P13_SIZE): Likewise.
20040 (TENS_P14_IDX): Likewise.
20041 (TENS_P14_SIZE): Likewise.
20042 (_fpioconst_pow10): Change array size to
20043 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20044 unconditional.
20045 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20046 1024]: Add entries for 10^2^13 and 10^2^14.
20047 [LAST_POW10 > _LAST_POW10]: Remove #error.
20048 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20049 (_fpioconst_pow10): Change array size to
20050 FPIOCONST_POW10_ARRAY_SIZE.
20051 * stdlib/gen-fpioconst.c: New file.
20052 * stdlib/gen-tst-strtod-round.c: Likewise.
20053 * stdlib/tst-strtod-round-data: Likewise.
20054 * stdlib/tst-strtod-round.c: Likewise.
20055 * stdlib/Makefile (tests): Add tst-strtod-round.
20056
d6e70f43
JM
20057 [BZ #14459]
20058 * stdlib/strtod_l.c: Include <stdint.h>.
20059 (NDEBUG): Do not define.
20060 (round_and_return): Change EXPONENT parameter to type intmax_t.
20061 Rearrange calculations to avoid internal overflow possibilities.
20062 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20063 Rearrange calculations to avoid internal overflow possibilities.
20064 Assert that number fits inside MPNSIZE limbs.
20065 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20066 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20067 calculations and add assertions to avoid internal overflow
20068 possibilities. Add casts to avoid signed/unsigned operations.
20069 * stdlib/tst-strtod-overflow.c: New file.
20070 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20071
1f529f7d
MP
200722012-08-25 Marek Polacek <polacek@redhat.com>
20073
20074 * time/time.h: Fix some typos in comments.
20075
59a629f1
RM
200762012-08-23 Roland McGrath <roland@hack.frob.com>
20077
20078 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20079 * posix/tst-rfc3484-2.c: Likewise.
20080 * posix/tst-rfc3484-3.c: Likewise.
20081
d3bafbc9
SM
200822012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20083
20084 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20085 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20086
4efcc022
JM
200872012-08-23 Joseph Myers <joseph@codesourcery.com>
20088
20089 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20090 #include of fxstatat64.c.
20091
3cc3ef96
RM
200922012-08-22 Roland McGrath <roland@hack.frob.com>
20093
f04e2132
RM
20094 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20095 * shadow/getspent_r.c: Likewise.
20096 * shadow/getspnam.c: Likewise.
20097 * shadow/getspnam_r.c: Likewise.
20098 * gshadow/getsgent.c: Likewise.
20099 * gshadow/getsgent_r.c: Likewise.
20100 * gshadow/getsgnam.c: Likewise.
20101 * gshadow/getsgnam_r.c: Likewise.
20102 * inet/getnetbyad.c: Likewise.
20103 * inet/getnetbyad_r.c: Likewise.
20104 * inet/getnetbynm.c: Likewise.
20105 * inet/getnetbynm_r.c: Likewise.
20106 * inet/getnetent.c: Likewise.
20107 * inet/getnetent_r.c: Likewise.
20108 * inet/getproto.c: Likewise.
20109 * inet/getproto_r.c: Likewise.
20110 * inet/getprtent.c: Likewise.
20111 * inet/getprtent_r.c: Likewise.
20112 * inet/getprtname.c: Likewise.
20113 * inet/getprtname_r.c: Likewise.
20114 * inet/getrpcbyname.c: Likewise.
20115 * inet/getrpcbyname_r.c: Likewise.
20116 * inet/getrpcbynumber.c: Likewise.
20117 * inet/getrpcbynumber_r.c: Likewise.
20118 * inet/getrpcent.c: Likewise.
20119 * inet/getrpcent_r.c: Likewise.
20120 * inet/getaliasent.c: Likewise.
20121 * inet/getaliasent_r.c: Likewise.
20122 * inet/getaliasname.c: Likewise.
20123 * inet/getaliasname_r.c: Likewise.
20124 * nscd/getgrgid_r.c: Likewise.
20125 * nscd/getgrnam_r.c: Likewise.
20126 * nscd/gethstbyad_r.c: Likewise.
20127 * nscd/gethstbynm3_r.c: Likewise.
20128 * nscd/getpwnam_r.c: Likewise.
20129 * nscd/getpwuid_r.c: Likewise.
20130 * nscd/getsrvbynm_r.c: Likewise.
20131 * nscd/getsrvbypt_r.c: Likewise.
20132 * nscd/gai.c: Likewise.
20133
c53d909c
RM
20134 * configure.in (build_nscd): New substituted variable, set
20135 by --disable-build-nscd and defaults to $use_nscd.
20136 * configure: Regenerated.
20137 * config.make.in (build-nscd): New substituted variable.
20138 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20139 Change conditional to require [$(build-nscd) = yes] as well.
20140 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20141
3cc3ef96
RM
20142 [BZ# 13696]
20143 * configure.in (use_nscd): New substituted variable, set by
20144 --disable-nscd. If enabled, define USE_NSCD.
20145 * configure: Regenerated.
20146 * config.h.in: Add USE_NSCD.
20147 * config.make.in (use-nscd): New substituted variable.
20148 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20149 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20150 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20151 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20152 (CFLAGS-getgrnam_r.c): Likewise.
20153 (CFLAGS-initgroups.c): Likewise.
20154 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20155 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20156 Variables removed.
20157 * inet/getnetgrent_r.c
20158 (nscd_setnetgrent): New function, broken out of ...
20159 (setnetgrent): ... here. Call it.
20160 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20161 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20162 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20163 * nscd/Makefile (routines, aux): Move definitions after include of
20164 Makeconfig. Conditionalize on [$(use-nscd) != no].
20165 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20166 Conditionalize on [USE_NSCD].
20167 (is_nscd, nscd_init_cb): Likewise.
20168 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20169 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20170 * nss/nss_db/db-init.c: Likewise.
20171 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20172 [USE_NSCD].
20173 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20174 (make_request): Use it.
20175 (cache_valid_p): New function.
20176 (__check_pf): Use it.
20177 * NEWS: Add item for --disable-nscd.
20178
07e51550
DL
201792012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20180
20181 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20182 to support sed >= 4.2.1-20-ga9bf076.
20183 * configure: Regenerated.
20184
35a5b08b
RM
201852012-08-22 Roland McGrath <roland@hack.frob.com>
20186
20187 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20188 Conditionalize whole body on [IREL].
20189
8479f23a
JL
201902012-08-22 Jeff Law <law@redhat.com>
20191
20192 [BZ #14505]
20193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20194 if the family is PF_UNSPEC.
20195
48da0b21
MF
201962012-08-22 Mike Frysinger <vapier@gentoo.org>
20197
20198 * Makerules (lib-version): Rename from V.
20199 (install-lib-nosubdir): Change V to lib-version.
20200
15d0da8c
WS
202012012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20202
20203 [BZ #14252]
20204 * powerpc32/power6/wcschr.c: New file.
20205 * powerpc32/power6/wcscpy.c: New file.
20206 * powerpc32/power6/wcsrchr.c: New file.
20207 * powerpc64/power6/wcschr.c: New file.
20208 * powerpc64/power6/wcscpy.c: New file.
20209 * powerpc64/power6/wcsrchr.c: New file.
20210
bcca0895
MK
202112012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20212
20213 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20214 (two_way_short_needle): Use it.
5a4aaa33
RM
20215 * string/strstr.c (AVAILABLE1_USES_J): Define.
20216 * string/strcasestr.c: Likewise.
99677e57
MK
20217
20218 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20219 array references.
20220 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20221
400726de
MK
20222 [BZ #11607]
20223 * NEWS: Add an entry.
20224 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20225 define their defaults.
20226 (two_way_short_needle): Detect end-of-string on-the-fly.
20227 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20228 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20229 * string/bug-strcasestr1.c: New test.
20230 * string/Makefile: Run it.
20231
20a71f2c
MK
202322012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20233
20234 [BZ #11607]
20235 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20236 the first character.
20237
21ad0558
RM
202382012-08-21 Roland McGrath <roland@hack.frob.com>
20239
20240 * csu/elf-init.c (__libc_csu_irel): Function removed.
20241 * csu/libc-start.c (apply_irel): New function.
20242 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20243
0e1d9911
JM
202442012-08-21 Joseph Myers <joseph@codesourcery.com>
20245
20246 * sysdeps/unix/sysv/linux/kernel-features.h
20247 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20248 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20249 <kernel-features.h>.
20250 [__NR_fadvise64_64]: Make code unconditional.
20251 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20252 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20253 !__NR_fadvise64_64)]: Likewise.
20254 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20255 !__NR_fadvise64_64))]: Likewise.
20256 [__NR_fadvise64]: Make code unconditional.
20257 [!__NR_fadvise64]: Remove conditional code.
20258 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20259 <kernel-features.h>.
20260 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20261 unconditional.
20262 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20263 conditional code.
20264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20265 not include <kernel-features.h>.
20266 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20267 unconditional.
20268 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20269 conditional code.
20270 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20271 include <kernel-features.h>.
20272 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20273 unconditional.
20274 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20275 conditional code.
20276
14a50c9d
WS
202772012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20278
20279 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20280 slight instruction rearrangements per scrollpipe analysis.
20281 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20282
c0f4faf0
RM
202832012-08-20 Roland McGrath <roland@hack.frob.com>
20284
696da859
RM
20285 * manual/syslog.texi (syslog; vsyslog, closelog):
20286 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20287 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20288
c0f4faf0
RM
20289 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20290 DSOCAPS to match condition on defining it.
20291
348363b2
JM
202922012-08-20 Joseph Myers <joseph@codesourcery.com>
20293
a35cbf28
JM
20294 * sysdeps/unix/sysv/linux/kernel-features.h
20295 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20297 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20298 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20300 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20301 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20303 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20304 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20305
445f7ecd
JM
20306 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20307 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20308
348363b2
JM
20309 * sysdeps/unix/sysv/linux/kernel-features.h
20310 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20311 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20312 unconditional.
20313 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20314 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20315 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20316 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20317 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20318 Make code unconditional.
20319 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20320 (__mmap64) [!__NR_mmap2]: Likewise.
20321 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20322 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20323 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20324 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20325 [__NR_mmap2]: Make code unconditional.
20326 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20327 (__mmap64) [!__NR_mmap2]: Likewise.
20328
bc5bc0e5
AK
203292012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20330
20331 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20332
88d506de
AJ
203332012-08-18 Andreas Jaeger <aj@suse.de>
20334
20335 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20336
493387d2
MF
203372012-08-18 Mike Frysinger <vapier@gentoo.org>
20338
20339 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20340 * include/unistd.h (__have_sock_cloexec): Likewise.
20341 (__have_pipe2): Likewise.
20342 (__have_dup3): Likewise.
20343
a277af22
MF
203442012-08-18 Mike Frysinger <vapier@gentoo.org>
20345
20346 [BZ #9685]
20347 * include/unistd.h (__have_pipe2): Change define into an extern int.
20348 (__have_dup3): Likewise.
20349 * socket/have_sock_cloexec.c: Include fcntl.h.
20350 (__have_pipe2): New variable.
20351 (__have_dup3): Likewise.
20352
fdab8fd3
MF
203532012-08-17 Mike Frysinger <vapier@gentoo.org>
20354
20355 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20356
31035e80
MP
203572012-08-17 Marek Polacek <polacek@redhat.com>
20358
20359 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20360 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20361
3bd9e993
RM
203622012-08-17 Roland McGrath <roland@hack.frob.com>
20363
c91c505f
RM
20364 * configure.in: Add AC_SUBST for sysheaders.
20365 * configure: Regenerated.
20366 * config.make.in (sysheaders): New substituted variable.
20367
7c6f9d53
RM
20368 * sysdeps/unix/mkfifo.c: Moved ...
20369 * sysdeps/posix/mkfifo.c: ... here.
20370 * sysdeps/unix/mkfifoat.c: Moved ...
20371 * sysdeps/posix/mkfifoat.c: ... here.
20372
20373 * sysdeps/unix/utime.c: Moved ...
20374 * sysdeps/posix/utime.c: ... here.
20375
20376 * sysdeps/unix/time.c: Moved ...
20377 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20378 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20379 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20380
20381 * sysdeps/unix/nice.c: Moved ...
20382 * sysdeps/posix/nice.c: ... here.
20383
20384 * sysdeps/unix/alarm.c: Moved ...
20385 * sysdeps/posix/alarm.c: ... here.
20386
3bd9e993
RM
20387 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20388
d1f09384
JL
203892012-08-17 Jeff Law <law@redhat.com>
20390
20391 * intl/Makefile (codeset_mo): New variable.
20392 ($(codeset_mo)): New target.
20393 (tst-codeset.out): Depend on that. Remove explicit rule.
20394 (tst-gettext3.out, tst-gettext5.out): Likewise.
20395 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20396 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20397 * intl/tst-codeset.sh: Remove.
20398 * intl/tst-gettext3.sh: Likewise.
20399 * intl/tst-gettext5.sh: Likewise.
20400
2ae1ae5c
RM
204012012-08-17 Roland McGrath <roland@hack.frob.com>
20402
c31fdb83
RM
20403 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20404 * sysdeps/unix/syscalls.list: ... here.
20405
a0844057
RM
20406 * sysdeps/posix/getaddrinfo.c
20407 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20408 (gaiconf_init, gaiconf_reload): Use them.
20409 [!_STATBUF_ST_NSEC]
20410 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20411 Define using time_t rather than struct timespec.
20412
750c1f2a
RM
20413 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20414 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20415 Macros removed.
20416 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20417 [!NO_THREADS].
20418 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20419 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20420 Likewise.
20421
2ae1ae5c
RM
20422 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20423 __libc_cleanup_push argument.
20424
e66a42f5
RM
20425 * bits/param.h: New file.
20426 * misc/sys/param.h: New file.
20427 * include/sys/param.h: New file.
20428 * misc/Makefile (headers): Add bits/param.h.
20429 * sysdeps/generic/sys/param.h: File removed.
20430 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20431 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20432 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20433 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20434
b7c08a66
RM
20435 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20436 last change.
20437
b2e1c562
RM
20438 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20439 [_IO_MTSAFE_IO].
20440 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20441 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20442 New macros.
20443
c75ccd4c
RM
20444 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20445 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20446 rather than -D_IO_MTSAFE_IO conditionally.
20447 * stdio-common/Makefile (CPPFLAGS): Likewise.
20448 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20449 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20450 Use $(libio-mtsafe).
20451 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20452 of -D_IO_MTSAFE_IO.
20453 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20454 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20455 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20456 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20457 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20458 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20459 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20460 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20461 (CFLAGS-fread_u_chk.c): Likewise.
20462 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20463 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20464 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20465 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20466 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20467 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20468 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20469 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20470 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20471
20472 * libio/Makefile: Test [$(libc-reentrant) = yes]
20473 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20474
20475 * Makeconfig
20476 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20477 * sysdeps/pthread/configure: File removed.
20478 * sysdeps/pthread/Makeconfig: New file.
20479 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20480 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20481
d9195db8
GB
204822012-08-16 Gary Benson <gbenson@redhat.com>
20483
20484 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20485 unmapping the first object in a namespace.
20486
86466cd9
RM
204872012-08-16 Roland McGrath <roland@hack.frob.com>
20488
20489 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20490 (__internal_setnetgrent): ... this. Add internal_function to
20491 definition. Add libc_hidden_def.
20492 (setnetgrent): Update caller.
20493 (internal_endnetgrent): Renamed to ...
20494 (__internal_endnetgrent): ... this. Add internal_function to
20495 definition. Add libc_hidden_def.
20496 (endnetgrent): Update caller.
20497 (internal_getnetgrent_r): Renamed to ...
20498 (__internal_getnetgrent_r): ... this. Add internal_function to
20499 definition. Add libc_hidden_def.
20500 (__getnetgrent_r): Update caller.
20501 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20502
c3c8283c
JM
205032012-08-16 Joseph Myers <joseph@codesourcery.com>
20504
20505 * stdlib/longlong.h: Update from GCC.
20506
db1ee0a8
RM
205072012-08-16 Roland McGrath <roland@hack.frob.com>
20508
20509 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20510 on _QL, which is set by umul_ppmm but never used.
20511 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20512 variables, which are set by GMP macros but never used.
20513 * stdio-common/_itowa.c (_itowa): Likewise.
20514 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20515 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20516
30f69637
CD
205172012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20518
20519 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20520 struct La_sh_regs is not constant.
20521 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20522 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20523 and struct La_sparc64_regs are not constant.
20524
93a78ac4
JM
205252012-08-16 Joseph Myers <joseph@codesourcery.com>
20526
20527 * sysdeps/unix/sysv/linux/kernel-features.h
20528 (__ASSUME_POSIX_TIMERS): Remove.
20529 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20530 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20531 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20532 Make code unconditional.
20533 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20534 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20535 Make code unconditional.
20536 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20537 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20538 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20539 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20540 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20541 Make code unconditional.
20542 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20543 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20544 (__libc_missing_posix_timers): Remove.
20545
dd924cd7
RM
205462012-08-15 Roland McGrath <roland@hack.frob.com>
20547
4b4f2771
RM
20548 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20549 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20550
601c888b
RM
20551 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20552
176790a7
RM
20553 * elf/dl-sym.c: Include <stdlib.h>.
20554
329bc018
RM
20555 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20556 constants, which avoids warnings in 32-bit builds.
20557
e04e272d
RM
20558 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20559 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20560
952bf94a
RM
20561 * misc/lseek.c: File moved to ...
20562 * io/lseek.c: ... here.
20563
7c99b50a
RM
20564 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20565
dd924cd7
RM
20566 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20567 shifting LEN more than 31 bits at once.
20568
b3f479a8
LD
205692012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20570
20571 [BZ #14195]
8c4ae0d4
RM
20572 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20573 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20574 * string/test-strncasecmp.c (check1): Renamed to...
20575 (bz12205): ...this.
20576 (bz14195): Add new testcase for two empty input strings and N > 0.
20577 (test_main): Call new testcase, adapt for renamed function.
20578
9c55864e
AJ
205792012-08-15 Andreas Jaeger <aj@suse.de>
20580
20581 [BZ #14090]
20582 * crypt/md5test2.c: New test, based on test supplied by Serge
20583 Belyshev <belyshev@depni.sinp.msu.ru>.
20584 * crypt/Makefile (xtests): Add md5test-giant..
20585 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20586
02dcb6c5
PE
205872012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20588
20589 [BZ #14090]
20590 * crypt/md5.c (md5_process_block): Don't assume the buffer
20591 length is less than 2**32.
20592 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20593 length is less than 2**64.
20594
a3f95dcc
RM
205952012-08-15 Roland McGrath <roland@hack.frob.com>
20596
be75d758
RM
20597 * string/str-two-way.h: Include <sys/param.h>.
20598 (MAX): Macro removed.
20599
7312ca90
RM
20600 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20601 Move #define and #undef of memmove to just before and after
20602 including <string.h>.
20603
9a0a5486
RM
20604 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20605 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20606 and after including <string.h>. Move declarations of
20607 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20608 to before #include "string/memmove.c".
20609
67cc348d
RM
20610 * include/dirent.h: Declare __getdirentries.
20611
a3f95dcc
RM
20612 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20613 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20614
ca98e171
MF
206152012-08-14 Mike Frysinger <vapier@gentoo.org>
20616
20617 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20618 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20619 * sysdeps/i386/configure: Regenerated.
20620 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20621 STABS_CURRENT_FILE, and STABS_FUN.
20622 (END): Remove call to STABS_FUN_END.
20623 (STABS_CURRENT_FILE1): Delete.
20624 (STABS_CURRENT_FILE): Likewise.
20625 (STABS_FUN): Likewise.
20626 (STABS_FUN_END): Likewise.
20627 (STABS_FUN2): Likewise.
20628 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20629 * sysdeps/x86_64/configure: Regenerated.
20630
5908bf46
RM
206312012-08-14 Roland McGrath <roland@hack.frob.com>
20632
20633 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20634 * elf/dl-lookup.c: Likewise.
5908bf46 20635
f2c05b9e
JM
206362012-08-14 Joseph Myers <joseph@codesourcery.com>
20637
20638 * sysdeps/unix/sysv/linux/kernel-features.h
20639 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20640 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20641 unconditionally.
20642 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20643 unconditionally.
20644 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20645 condition on __ASSUME_CLONE_THREAD_FLAGS.
20646
e11f5155
AJ
206472012-08-14 Andreas Jaeger <aj@suse.de>
20648
20649 * sysdeps/i386/fpu/libm-test-ulps: Update.
20650
51a9ba86
MK
206512012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20652
2fdd4f78
AJ
20653 * include/atomic.h (atomic_exchange_and_add): Split into ...
20654 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20655 New atomic macros.
51a9ba86 20656
ba6cba9e
MT
206572012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20658
20659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20660
42443a47
JL
206612012-08-13 Jeff Law <law@redhat.com>
20662
20663 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20664 null byte in the output string.
20665
121dce05
JM
206662012-08-10 Joseph Myers <joseph@codesourcery.com>
20667
20668 * sysdeps/unix/sysv/linux/kernel-features.h
20669 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20670 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20671 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20672 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20673 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20674 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20675 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20676
bf51f568
JL
206772012-08-09 Jeff Law <law@redhat.com>
20678
20679 [BZ #13939]
20680 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20681 When avoid_arena is set, don't retry in the that arena. Pick the
20682 next one, whatever it might be.
20683 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20684 (arena_lock): Pass in new parameter to arena_get2.
20685 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20686 arena_get2.
20687 (__libc_malloc): Unify retrying after main arena failure with
20688 __libc_memalign version.
20689 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20690
f85fa270
L
206912012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20692
20693 [BZ #14166]
20694 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20695 to __redirect_strstr.
20696 (__strstr_sse42): Use typeof __redirect_strstr.
20697 (__strstr_ia32): Likewise.
20698 (__libc_strstr): New prototype.
20699 (strstr): Renamed to ...
20700 (__libc_strstr): This.
20701 (strstr): New strong alias of __libc_strstr.
20702 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20703 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20704 __redirect_time.
20705 Include <time.h>.
20706 (__libc_time): New prototype.
20707 (time_ifunc): Replace time with __libc_time.
20708 (time): New strong alias and hidden definition of __libc_time.
20709 (__GI_time): Remove strong alias.
20710 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20711 Include <stddef.h>.
20712 (memmove): Redefined to __redirect_memmove.
20713 (__memmove_sse2): Use typeof __redirect_memmove.
20714 (__memmove_ssse3): Likewise.
20715 (__memmove_ssse3_back): Likewise.
20716 (__libc_memmove): New prototype.
20717 (memmove): Renamed to ...
20718 (__libc_memmove): This.
20719 (memmove): New strong alias of __libc_memmove.
20720
33b4a91e
MS
207212012-08-08 Mark Salter <msalter@redhat.com>
20722
20723 * elf/elf.h
20724 (R_MN10300_TLS_GD): Define.
20725 (R_MN10300_TLS_LD): Likewise.
20726 (R_MN10300_TLS_LDO): Likewise.
20727 (R_MN10300_TLS_GOTIE): Likewise.
20728 (R_MN10300_TLS_IE): Likewise.
20729 (R_MN10300_TLS_LE): Likewise.
20730 (R_MN10300_TLS_DTPMOD): Likewise.
20731 (R_MN10300_TLS_DTPOFF): Likewise.
20732 (R_MN10300_TLS_TPOFF): Likewise.
20733 (R_MN10300_SYM_DIFF): Likewise.
20734 (R_MN10300_ALIGN): Likewise.
20735 (R_MN10300_NUM): Update.
20736
b36137f1
JM
207372012-08-08 Joseph Myers <joseph@codesourcery.com>
20738
20739 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20740 Remove.
20741
cdd915fd
RM
207422012-08-08 Roland McGrath <roland@hack.frob.com>
20743
a2433aac
RM
20744 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20745
cdd915fd
RM
20746 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20747 sysdeps/unix -> sysdeps/posix move.
20748 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20749
bf9b740a
AM
207502012-08-07 Allan McRae <allan@archlinux.org>
20751
20752 [BZ #14303]
20753 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20754 (SUNOS_CPP): Likewise.
20755 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20756 not found.
20757 (open_input): Call CPP using execvp.
20758
93df14ee
JM
207592012-08-07 Joseph Myers <joseph@codesourcery.com>
20760
20761 * sysdeps/unix/sysv/linux/kernel-features.h
20762 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20763 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20764 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20765 (__ASSUME_WAITID_SYSCALL): Likewise.
20766 * sysdeps/unix/sysv/linux/dl-execstack.c
20767 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20768 code unconditional.
20769 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20770 conditional code.
20771 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20772 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20773 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20774 code.
20775 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20776 unconditional.
20777 [__ASSUME_WAITID_SYSCALL]: Likewise.
20778 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20779
d34689de
RM
207802012-08-07 Roland McGrath <roland@hack.frob.com>
20781
a281decc
RM
20782 * sysdeps/unix/closedir.c: Renamed to ...
20783 * sysdeps/posix/closedir.c: ... here.
20784 * sysdeps/unix/dirfd.c: Renamed to ...
20785 * sysdeps/posix/dirfd.c: ... here.
20786 * sysdeps/unix/dirstream.h: Renamed to ...
20787 * sysdeps/posix/dirstream.h: ... here.
20788 * sysdeps/unix/fdopendir.c: Renamed to ...
20789 * sysdeps/posix/fdopendir.c: ... here.
20790 * sysdeps/unix/opendir.c: Renamed to ...
20791 * sysdeps/posix/opendir.c: ... here.
20792 * sysdeps/unix/readdir.c: Renamed to ...
20793 * sysdeps/posix/readdir.c: ... here.
20794 * sysdeps/unix/readdir_r.c: Renamed to ...
20795 * sysdeps/posix/readdir_r.c: ... here.
20796 * sysdeps/unix/rewinddir.c: Renamed to ...
20797 * sysdeps/posix/rewinddir.c: ... here.
20798 * sysdeps/unix/seekdir.c: Renamed to ...
20799 * sysdeps/posix/seekdir.c: ... here.
20800 * sysdeps/unix/telldir.c: Renamed to ...
20801 * sysdeps/posix/telldir.c: ... here.
20802 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20803 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20804 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20805 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20806
22895b47
RM
20807 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20808 * bits/fcntl.h: ... here.
20809
707a53b6
RM
20810 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20811 not 0.
20812 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20813 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20814 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20815 (struct flock): Move l_start, l_len to the beginning.
20816 Use __pid_t for l_pid.
20817 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20818 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20819 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20820 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20821 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20822 [__USE_LARGEFILE64] (struct flock64): New type.
20823 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20824
f0bd3e25
RM
20825 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20826 * bits/dirent.h: ... here.
20827
d34689de
RM
20828 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20829 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20830
6dad2c06
JM
208312012-08-07 Joseph Myers <joseph@codesourcery.com>
20832
20833 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20834 Change from 2.6.0 to 2.6.16.
20835 * sysdeps/unix/sysv/linux/configure: Regenerated.
20836 * sysdeps/unix/sysv/linux/kernel-features.h
20837 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20838 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20839 version.
20840 (__ASSUME_UTIMES): Likewise.
20841 (__ASSUME_CLONE_STOPPED): Remove.
20842 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20843 architectures, not kernel version.
20844 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20845 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20846 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20847 (__ASSUME_WAITID_SYSCALL): Likewise.
20848 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20849 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20850 * README: State 2.6.16 as minimum Linux kernel version. Do not
20851 refer to older versions.
20852
03af9520
RM
208532012-08-06 Roland McGrath <roland@hack.frob.com>
20854
8e49df1d
RM
20855 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20856 Define alphasort64 as an alias.
20857 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20858 Define versionsort64 as an alias.
20859 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20860 Define scandir64 as an alias.
20861 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20862 Define scandirat64 as an alias.
20863 * dirent/alphasort64.c (alphasort64):
20864 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20865 * dirent/versionsort64.c: Likewise.
20866 * dirent/scandir64.c: Likewise.
20867 * dirent/scandirat64.c: Likewise.
20868 * sysdeps/wordsize-64/alphasort.c: File removed.
20869 * sysdeps/wordsize-64/alphasort64.c: File removed.
20870 * sysdeps/wordsize-64/scandir.c: File removed.
20871 * sysdeps/wordsize-64/scandir64.c: File removed.
20872 * sysdeps/wordsize-64/scandirat.c: File removed.
20873 * sysdeps/wordsize-64/scandirat64.c: File removed.
20874 * sysdeps/wordsize-64/versionsort.c: File removed.
20875 * sysdeps/wordsize-64/versionsort64.c: File removed.
20876 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20877 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20878 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20879 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20880 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20881 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20882 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20883 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20884
20885 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20886 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20887 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20888 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20889 [defined __arch64__ || defined __sparcv9]
20890 (__INO_T_MATCHES_INO64_T): New macro.
20891 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20892 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20893 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20894 * sysdeps/unix/sysv/linux/bits/dirent.h
20895 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20896 (_DIRENT_MATCHES_DIRENT64): New macro.
20897
03af9520
RM
20898 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20899 Define lockf64 as an alias.
20900 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20901 Define fseeko64 as an alias.
20902 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20903 Define ftello64 as an alias.
20904 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20905 Define _IO_fgetpos64 and fgetpos64 as aliases.
20906 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20907 Define _IO_fsetpos64 and fsetpos64 as aliases.
20908 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20909 Conditionalize body on this.
20910 * libio/fseeko64.c: Likewise.
20911 * libio/ftello64.c: Likewise.
20912 * libio/iofgetpos64.c: Likewise.
20913 * libio/iofsetpos64.c: Likewise.
20914 * sysdeps/wordsize-64/lockf.c: File removed.
20915 * sysdeps/wordsize-64/lockf64.c: File removed.
20916 * sysdeps/wordsize-64/fseeko.c: File removed.
20917 * sysdeps/wordsize-64/fseeko64.c: File removed.
20918 * sysdeps/wordsize-64/ftello.c: File removed.
20919 * sysdeps/wordsize-64/ftello64.c: File removed.
20920 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20921 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20922 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20923 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20924 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20925 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20926 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20927 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20928 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20929 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20930 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20931 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20932 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20933 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20934
20935 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20936 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20937 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20938 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20939 [defined __arch64__ || defined __sparcv9]
20940 (__OFF_T_MATCHES_OFF64_T): New macro.
20941 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20942 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20944 (__OFF_T_MATCHES_OFF64_T): New macro.
20945
c5757acd
L
209462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20947
20948 * stdlib/secure-getenv.c (__secure_getenv): Replace
20949 GLIBC_2_16 with GLIBC_2_17.
20950
3a31811e
L
209512012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20952
20953 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20954 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20955
faa2bccb
DM
209562012-08-03 David S. Miller <davem@davemloft.net>
20957
20958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20959
85fe1997
JM
209602012-08-03 Joseph Myers <joseph@codesourcery.com>
20961
20962 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20963 Remove.
20964 (__ASSUME_CORRECT_SI_PID): Likewise.
20965 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20966 (__ASSUME_TMPFS_NAME): Likewise.
20967 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20968 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20969 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20970 (HAVE_AUX_SECURE): Make definition unconditional.
20971 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20972 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20973
4f75b7a0
RM
209742012-08-03 Roland McGrath <roland@hack.frob.com>
20975
20976 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20977 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20978 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20979 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20980 __eloop_threshold instead of SYMLOOP_MAX.
20981
20982 * sysdeps/generic/eloop-threshold.h: New file.
20983 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20984 of MAXSYMLINKS.
20985 * elf/chroot_canon.c (chroot_canon): Likewise.
20986
7aab07e4
JM
209872012-08-03 Joseph Myers <joseph@codesourcery.com>
20988
20989 [BZ #13717]
20990 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20991 Change to 2.6.0 everywhere.
20992 * sysdeps/unix/sysv/linux/configure: Regenerated.
20993 * sysdeps/unix/sysv/linux/kernel-features.h
20994 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20995 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20996 kernel versions.
20997 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20998 (__ASSUME_FUTEX_REQUEUE): Remove.
20999 (__ASSUME_STATFS64): Define unconditionally.
21000 (__ASSUME_AT_SECURE): Likewise.
21001 (__ASSUME_CORRECT_SI_PID): Likewise.
21002 (__ASSUME_TGKILL): Define without depending on kernel version for
21003 i386.
21004 (__ASSUME_UTIMES): Likewise.
21005 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21006 kernel version.
21007 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21008 (__ASSUME_TMPFS_NAME): Likewise.
21009 * README: Update reference to Linux kernel versions.
21010
b67e9372
MP
210112012-08-02 Marek Polacek <polacek@redhat.com>
21012
1f529f7d 21013 [BZ# 14150]
b67e9372
MP
21014 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21015 libc_cv_asm_type_prefix with %.
21016 * configure: Regenerated.
d2441631
RM
21017 * include/libc-symbols.h: Remove comment about
21018 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
21019 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21020 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21021 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21022 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21023 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21024 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21025 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21026 * elf/tst-unique2mod1.c: Likewise.
21027 * elf/tst-unique1mod2.c: Likewise.
21028 * elf/tst-unique1mod1.c: Likewise.
21029 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21030 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21031 Replace ASM_TYPE_DIRECTIVE with .type.
21032 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21033 * sysdeps/i386/sysdep.h: Likewise.
21034 * sysdeps/x86_64/sysdep.h: Likewise.
21035 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
21036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21037 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 21038 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
21039 * sysdeps/powerpc/powerpc32/sysdep.h:
21040 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
21041 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21042 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21043 * sysdeps/i386/fpu/e_powf.S: Likewise.
21044 * sysdeps/i386/fpu/e_expl.S: Likewise.
21045 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21046 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21047 * sysdeps/i386/fpu/e_pow.S: Likewise.
21048 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21049 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21050 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21051 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21052 * sysdeps/i386/fpu/e_log2.S: Likewise.
21053 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21054 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21055 * sysdeps/i386/fpu/e_powl.S: Likewise.
21056 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21057 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21058 * sysdeps/i386/fpu/e_logl.S: Likewise.
21059 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21060 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21061 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21062 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21063 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21064 * sysdeps/i386/fpu/e_log.S: Likewise.
21065 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21066 * sysdeps/i386/fpu/e_logf.S: Likewise.
21067 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21068 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21069 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21070 * sysdeps/i386/fpu/e_log10.S: Likewise.
21071 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21072 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21073 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21074 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21075 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21076 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21077 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21078 * sysdeps/i386/i686/strtok.S: Likewise.
21079 * sysdeps/i386/i386-mcount.S: Likewise.
21080 * sysdeps/i386/strtok.S: Likewise.
21081 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21082 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21083 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21084 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21085 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21086 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21087 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21088 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21089 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21090 * sysdeps/x86_64/_mcount.S: Likewise.
21091 * sysdeps/x86_64/strtok.S: Likewise.
21092 * sysdeps/sh/_mcount.S: Likewise.
21093
2747bf9a
RM
210942012-08-01 Roland McGrath <roland@hack.frob.com>
21095
21096 * libio/iofopen.c: Include <fcntl.h>.
21097 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21098 (_IO_fopen64, fopen64): Define as aliases.
21099 * libio/iofopen64.c: Include <fcntl.h>.
21100 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21101 Conditionalize body on this.
21102 * sysdeps/wordsize-64/iofopen.c: File removed.
21103 * sysdeps/wordsize-64/iofopen64.c: File removed.
21104
3fb791b8
MP
211052012-08-01 Marek Polacek <polacek@redhat.com>
21106
21107 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21108 Use dlfcn directly instead of a variable.
21109 (binfmt-subdir): Do not define.
21110 (dlfcn): Likewise.
21111
a9f1039f
JM
211122012-08-01 Joseph Myers <joseph@codesourcery.com>
21113
23bddc06
JM
21114 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21115 Remove all definitions.
21116 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21117 <kernel-features.h>.
21118 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21119 (miss_F_GETOWN_EX): Remove all definitions.
21120 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21121 macro definition.
21122 [!__ASSUME_FCNTL64]: Remove conditional code.
21123 [__ASSUME_FCNTL64]: Make code unconditional.
21124 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21125 <kernel-features.h>.
21126 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21127 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21128 (lockf64) [__NR_fcntl64]: Make code unconditional.
21129 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21130
a9f1039f
JM
21131 * sysdeps/unix/sysv/linux/kernel-features.h
21132 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21133 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21134 Make code unconditional.
21135 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21136 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21138 [__NR_vfork]: Make code unconditional.
21139 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21140 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21142 [__NR_vfork]: Make code unconditional.
21143 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21144 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21145
09c0ee5f
RM
211462012-08-01 Roland McGrath <roland@hack.frob.com>
21147
48aec5b9
RM
21148 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21149 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21150
cd97c966
RM
21151 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21152 Define mkstemp64 as an alias.
3f55550c
RM
21153 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21154 Define mkstemps64 as an alias.
cd97c966
RM
21155 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21156 Define mkostemp64 as an alias.
b8625cfc
RM
21157 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21158 Define mkostemps64 as an alias.
cd97c966
RM
21159 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21160 Conditionalize body on this.
21161 * misc/mkostemp64.c: Likewise.
b8625cfc 21162 * misc/mkostemps64.c: Likewise.
3f55550c 21163 * misc/mkstemps64.c: Likewise.
cd97c966
RM
21164 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21165 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21166 * sysdeps/wordsize-64/mkostemp.c: File removed.
21167 * sysdeps/wordsize-64/mkstemp.c: File removed.
21168 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21169 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21170 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21171 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21172
09c0ee5f
RM
21173 [BZ #14138]
21174 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21175 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21176 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21177 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21178
21179 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21180 compat_symbol macros from <shlib-compat.h> rather than the underlying
21181 default_symbol_version and symbol_version macros, so that DEFAULT
21182 lines in shlib-versions are respected.
21183 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21184
7e66ee51
FW
211852012-08-01 Florian Weimer <fweimer@redhat.com>
21186
21187 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21188 Declare with warn_unused_result.
21189 (setgid, setregid, setegid, setresgid): Likewise.
21190 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21191 Likewise.
21192 * WUR-REPORT: Remove set*id functions.
21193
d2a54255
PT
211942012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21195
21196 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21197
7ecdb005
RM
211982012-07-31 Roland McGrath <roland@hack.frob.com>
21199
b4180a5e 21200 [BZ #10191]
789bd351
RM
21201 * include/sys/socket.h (__libc_accept, __libc_accept4):
21202 Add attribute_hidden.
21203 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21204
40ce302d
RM
21205 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21206 use of PTR_MANGLE.
21207 * inet/getnetgrent_r.c (setup): Likewise.
21208
7ecdb005
RM
21209 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21210
e2eabb2c
DM
212112012-07-31 David S. Miller <davem@davemloft.net>
21212
21213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21214
d0419dbf
JM
212152012-07-31 Joseph Myers <joseph@codesourcery.com>
21216
21217 [BZ #13629]
21218 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21219 value between 1.0 and 2.0 and smaller part has absolute value less
21220 than 1.0.
21221 * math/s_clog10.c (__clog10): Likewise.
21222 * math/s_clog10f.c (__clog10f): Likewise.
21223 * math/s_clog10l.c (__clog10l): Likewise.
21224 * math/s_clogf.c (__clogf): Likewise.
21225 * math/s_clogl.c (__clogl): Likewise.
21226 * math/libm-test.inc (clog_test): Add more tests.
21227 (clog10_test): Likewise.
21228 * sysdeps/i386/fpu/libm-test-ulps: Update.
21229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21230
2bc13872
FW
212312012-07-31 Florian Weimer <fweimer@redhat.com>
21232
21233 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21234 Exit with zero in case no suitable GID is found, and write a
21235 message to standard error.
21236
bea9b193
RM
212372012-07-30 Roland McGrath <roland@hack.frob.com>
21238
21239 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21240 rather than to 1.
21241 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21242 (MAXPATHLEN): Removed.
21243 (NOGROUP, NODEV): New macros.
21244 (setbit, clrbit, isset, isclr): New macros.
21245 (howmany, roundup, powerof2): New macros.
21246 (DEV_BSIZE): New macro.
21247
21248 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21249 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21250
21251 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21252 definition on [!__NO_LONG_DOUBLE_MATH].
21253
21254 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21255 PTR_MANGLE and PTR_DEMANGLE.
21256
21257 * socket/accept4.c (accept4): Rename to __libc_accept4.
21258 Define accept4 as a weak alias.
21259
21260 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21261 on [_DIRENT_HAVE_D_TYPE].
21262 * io/ftw.c (ftw_dir): Likewise.
21263
21264 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21265
21266 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21267
21268 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21269 Use the BSD numbers rather than the arbitrary ones we had.
21270 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21271 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21272 (SIGXCPU, SIGXFSZ): New macros.
21273 (_NSIG): Now 32.
21274
21275 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21276 initializer on [_LIBC_REENTRANT].
21277
21278 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21279 definitions inside [_POSIX_MAPPED_FILES].
21280
21281 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21282
21283 * dirent/opendir.c: Include <fcntl.h>.
21284
21285 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21286 (__libc_getspecific): Likewise.
21287 (__libc_key_create): Likewise.
21288
21289 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21290 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21291 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21292 (tmpfile64): Define as alias.
21293 * sysdeps/wordsize-64/tmpfile.c: File removed.
21294 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21295 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21296 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21297
21298 * stdio-common/vfscanf.c: Include <stdbool.h>.
21299 * nss/makedb.c: Likewise.
21300 * stdio-common/_i18n_number.h: Likewise.
21301 * argp/argp-help.c: Likewise.
21302 * posix/wordexp.c: Likewise.
21303 * sysdeps/posix/spawni.c: Likewise.
21304 * nss/nss_files/files-initgroups.c: Likewise.
21305 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21306 * nss/nss_files/files-initgroups.c: Likewise.
21307 * nss/nss_db/db-netgrp.c: Likewise.
21308 * nss/nss_db/db-initgroups.c: Likewise.
21309 * io/fchmodat.c: Include <sys/stat.h>.
21310
21311 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21312 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21313
21314 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21315 [HAVE_MMAP].
21316
21317 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21318 Add multiple inclusion protection.
21319
e5abc686
DM
213202012-07-27 David S. Miller <davem@davemloft.net>
21321
21322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21323
815e6fa3
GB
213242012-07-27 Gary Benson <gbenson@redhat.com>
21325
21326 [BZ #14298]
21327 * elf/rtld.c: Include <stap-probe.h>.
21328 (dl_main): Added static probes "init_start" and "init_complete".
21329 * elf/dl-load.c: Include <stap-probe.h>.
21330 (lose): Take new parameter "nsid".
21331 Added static probe "map_failed".
21332 (_dl_map_object_from_fd): Pass namespace id to lose.
21333 Added static probe "map_start".
21334 (open_verify): Pass namespace id to lose.
21335 * elf/dl-open.c: Include <stap-probe.h>.
21336 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21337 and "reloc_complete".
21338 * elf/dl-close.c: Include <stap-probe.h>.
21339 (_dl_close_worker): Added static probes "unmap_start" and
21340 "unmap_complete".
21341 * elf/rtld-debugger-interface.txt: New file documenting the above.
21342
9f98c16c
RM
213432012-07-26 Roland McGrath <roland@hack.frob.com>
21344
21345 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21346 rather than a string variable.
21347 * sunrpc/rpc_main.c (h_output): Likewise.
21348 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21349
f3c22df3
PT
213502012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21351
21352 * inet/check_native.c: New file.
21353
3129cfc6
JM
213542012-07-26 Joseph Myers <joseph@codesourcery.com>
21355
da865e95
JM
21356 [BZ #13629]
21357 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21358 if larger part has absolute value 1.0.
21359 * math/s_clog10.c (__clog10): Likewise.
21360 * math/s_clog10f.c (__clog10f): Likewise.
21361 * math/s_clog10l.c (__clog10l): Likewise.
21362 * math/s_clogf.c (__clogf): Likewise.
21363 * math/s_clogl.c (__clogl): Likewise.
21364 * math/libm-test.inc (clog_test): Add more tests.
21365 (clog10_test): Likewise.
21366 * sysdeps/i386/fpu/libm-test-ulps: Update.
21367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21368
3129cfc6
JM
21369 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21370 (pltexit): Likewise.
21371 (La_regs): Likewise.
21372 (La_retval): Likewise.
21373 (int_retval): Likewise.
21374 Update #error for removed macros to refer only to definitions in
21375 tst-audit.h.
21376 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21377 macro.
21378 (pltexit): Likewise.
21379 (La_regs): Likewise.
21380 (La_retval): Likewise.
21381 (int_retval): Likewise.
21382 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21383 macro.
21384 (pltexit): Likewise.
21385 (La_regs): Likewise.
21386 (La_retval): Likewise.
21387 (int_retval): Likewise.
21388 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21389 macro.
21390 (pltexit): Likewise.
21391 (La_regs): Likewise.
21392 (La_retval): Likewise.
21393 (int_retval): Likewise.
21394 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21395 macro.
21396 (pltexit): Likewise.
21397 (La_regs): Likewise.
21398 (La_retval): Likewise.
21399 (int_retval): Likewise.
21400 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21401 macro.
21402 (pltexit): Likewise.
21403 (La_regs): Likewise.
21404 (La_retval): Likewise.
21405 (int_retval): Likewise.
21406 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21407 macro.
21408 (pltexit): Likewise.
21409 (La_regs): Likewise.
21410 (La_retval): Likewise.
21411 (int_retval): Likewise.
21412 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21413 macro definitions in tst-audit.h.
21414 * sysdeps/i386/tst-audit.h: New file.
21415 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21416 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21417 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21418 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21419 * sysdeps/sh/tst-audit.h: Likewise.
21420 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21421 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21422 * sysdeps/x86_64/tst-audit.h: Likewise.
21423
bfc07087
AJ
214242012-07-26 Andreas Jaeger <aj@suse.de>
21425
b1b2aaf8
AJ
21426 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21427 ptrace.
21428
21429 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21430 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21431 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21432 PTRACE_O_MASK.
21433 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21434 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21435 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21436
bfc07087
AJ
21437 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21438 value.
21439
21440 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21441 _sigsys.
21442 (si_call_addr, si_syscall, si_arch): Define new macro.
21443 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21444 _sigsys.
21445 (si_call_addr, si_syscall, si_arch): Define new marcro.
21446 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21447 _sigsys.
21448 (si_call_addr, si_syscall, si_arch): Define new macro.
21449 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21450 _sigsys.
21451 (si_call_addr, si_syscall, si_arch): Define new macro.
21452
89b4b02f
JM
214532012-07-25 Joseph Myers <joseph@codesourcery.com>
21454
21455 [BZ #13717]
21456 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21457 Change to 2.4.21 where previously 2.4.1.
21458 * sysdeps/unix/sysv/linux/configure: Regenerated.
21459 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21460 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21461 Linux kernel version.
21462 (__ASSUME_STD_AUXV): Remove.
21463 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21464 kernel version.
21465 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21466 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21467 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21468 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21469 (__ASSUME_NETLINK_SUPPORT): Likewise.
21470 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21471 (__no_netlink_support): Remove conditional definition.
21472 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21473 Remove.
21474 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21475 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21476 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21477 (if_nameindex_ioctl): Remove.
21478 (if_nameindex_netlink): Do not handle __no_netlink_support.
21479 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21480 code.
21481 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21482 Remove conditional code.
21483 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21484 code.
21485 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21486 unconditional.
21487 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21488 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21489 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21490 Remove.
21491 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21492 [!__ASSUME_STD_AUXV]: Remove conditional code.
21493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21494 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21495 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21497 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21498 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21499 code.
21500 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21502 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21503 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21504 conditional code.
21505 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21507 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21508 code.
21509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21510 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21511 conditional code.
21512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21513 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21514 code unconditional.
21515 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21516 conditional code.
21517 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21518 unconditional.
21519 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21520 conditional code.
21521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21522 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21523 unconditional.
21524 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21525 conditional code.
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21527 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21528 code unconditional.
21529 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21530 conditional code.
21531 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21532 unconditional.
21533 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21534 conditional code.
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21536 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21537 code unconditional.
21538 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21539 conditional code.
21540 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21541 unconditional.
21542 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21543 conditional code.
21544
842a39cd
AS
215452012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21546
21547 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21548 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21549 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21550 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21551 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21552 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21553 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21554 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21555 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21556 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21557 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21558 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21559 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21560 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21561 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21562 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21563 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21564 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21565 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21567 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21568 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21569 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21570
84b3fd84
FW
215712012-07-25 Florian Weimer <fweimer@redhat.com>
21572
21573 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21574 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21575 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21576 Introduce __libc_secure_getenv.
0c7936d5
FW
21577 * stdlib/Versions (2.17): Add secure_getenv
21578 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21579 * stdlib/secure-getenv.c: Rename __secure_getenv to
21580 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21581 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21582 * stdlib/tst-secure-getenv.c: New.
21583 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21584 * manual/startup.texi (Environment Access): Document
21585 secure_getenv.
84b3fd84
FW
21586 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21587 __libc_secure_getenv.
21588 * inet/ruserpass.c (ruserpass): Likewise.
21589 * malloc/mtrace.c (mtrace): Likewise.
21590 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21591 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21592 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21593 * sysdeps/posix/tempname.c: Likewise. Evaluate
21594 HAVE_SECURE_GETENV.
21595 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21596 __secure_getenv to __libc_secure_getenv.
84b3fd84 21597 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21599 Likewise.
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21601 Likewise.
21602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21604 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21609
56e49b71
JM
216102012-07-25 Joseph Myers <joseph@codesourcery.com>
21611
21612 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21613 (struct La_i86_retval): Likewise.
21614 (struct La_x86_64_regs): Likewise.
21615 (struct La_x86_64_retval): Likewise.
21616 (struct La_x32_regs): Likewise.
21617 (struct La_x32_retval): Likewise.
21618 (struct La_ppc32_regs): Likewise.
21619 (struct La_ppc32_retval): Likewise.
21620 (struct La_ppc64_regs): Likewise.
21621 (struct La_ppc64_retval): Likewise.
21622 (struct La_sh_regs): Likewise.
21623 (struct La_sh_retval): Likewise.
21624 (struct La_s390_32_regs): Likewise.
21625 (struct La_s390_32_retval): Likewise.
21626 (struct La_s390_64_regs): Likewise.
21627 (struct La_s390_64_retval): Likewise.
21628 (struct La_sparc32_regs): Likewise.
21629 (struct La_sparc32_retval): Likewise.
21630 (struct La_sparc64_regs): Likewise.
21631 (struct La_sparc64_retval): Likewise.
21632 (struct audit_ifaces): Remove architecture-specific pltenter and
21633 pltexit members.
21634 * sysdeps/i386/ldsodefs.h: New file.
21635 * sysdeps/powerpc/ldsodefs.h: Likewise.
21636 * sysdeps/s390/ldsodefs.h: Likewise.
21637 * sysdeps/sh/ldsodefs.h: Likewise.
21638 * sysdeps/sparc/ldsodefs.h: Likewise.
21639 * sysdeps/x86_64/ldsodefs.h: Likewise.
21640
354691b7
MP
216412012-07-25 Marek Polacek <polacek@redhat.com>
21642
21643 [BZ #6808]
21644 * math/libm-test.inc (yn_test): Add another test.
21645 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21646 to ERANGE when the result is +-Inf.
21647 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21648 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21649 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21650 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21651
bf9e2071
JM
216522012-07-24 Joseph Myers <joseph@codesourcery.com>
21653
21654 * conform/data/time.h-data (NULL): Use macro-constant. Require
21655 equal to 0.
21656 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21657 clock_t.
21658 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21659
57633811
TS
216602012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21661
21662 * configure.in <sysdeps resolving>: Correct printing
21663 Implies_before.
21664 * configure: Regenerate.
21665
c23c33b0
TS
216662012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21667
21668 * math/w_ilogb.c: Include <limits.h>.
21669 * math/w_ilogbl.c: Likewise.
21670
b5982523
JM
216712012-07-20 Joseph Myers <joseph@codesourcery.com>
21672
21673 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21674 va_copy. Document allowing for unavailable va_copy only as
21675 pre-C99 compatibility.
21676 * manual/string.texi (Copying and Concatenation): Use va_copy
21677 instead of __va_copy in concat example.
21678
ac4ea442
PT
216792012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21680
21681 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21682 (__sendto): Use create_address_port. Initialize APORT and deallocate
21683 it if not null.
21684
f98eafbd
PT
21685 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21686 with O_NOLINK passed to __file_name_lookup.
21687
898c7aab
PT
21688 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21689 with O_NOLINK passed to __file_name_lookup.
21690
0ced335a
PT
21691 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21692 negative N or less than NGIDS.
21693
b3404dbd
PT
21694 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21695 type to string_t. Set ERANGE as errno and return it if NAME is not big
21696 enough. Use memcpy instead of strncpy.
21697
0f48659e
JM
216982012-07-20 Joseph Myers <joseph@codesourcery.com>
21699
21700 * elf/Makefile (check-data): Remove.
21701 (localplt.data): New vpath directive.
21702 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21703 instead of $(check-data).
21704 * scripts/data/localplt-generic.data: Move to ...
21705 * sysdeps/generic/localplt.data: ... here.
21706 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21707 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21708 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21710 ... here.
21711 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21713 ... here.
21714 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21716 ... here.
21717 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21719 ... here.
21720 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21722 ... here.
21723 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21725 ... here.
21726
d37cbdaa
AZ
217272012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21728
21729 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21730 PPC32 and PPC64 files.
21731 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21732 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21733
46f85fc2
AK
217342012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21735
21736 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21737 __makecontext_ret to ...
21738 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21739 ... here and call exit if uc_link is NULL. New file.
21740 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21741 __makecontext_ret.S.
21742 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21743 __makecontext_ret to ...
21744 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21745 ... here and call exit if uc_link is NULL. New file.
21746 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21747 __makecontext_ret.S.
21748
08f43f9b
AK
217492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21750
21751 * elf/elf.h (R_390_IRELATIVE): New definition.
21752 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21753 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21754 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21755 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21756 (elf_machine_lazy_rel): Likewise.
21757 * sysdeps/s390/dl-irel.h: New file.
21758 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21759 * sysdeps/s390/s390-64/memset.S: New asm code.
21760 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21761 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21762 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21763 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21764 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21765 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21766 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21767 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21768 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21769 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21770 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21771 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21772 * sysdeps/s390/s390-32/memset.S: New asm code.
21773 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21774
3b05db33
MP
217752012-07-17 Marek Polacek <polacek@redhat.com>
21776
21777 [BZ #14349]
21778 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21779 * sysdeps/s390/s390-64/configure.in: Likewise.
21780 * sysdeps/sparc/configure.in: Likewise.
21781 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21782 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21783 * sysdeps/i386/configure.in: Likewise.
21784 * sysdeps/x86_64/configure.in: Likewise.
21785 * sysdeps/sh/configure.in: Likewise.
21786 * sysdeps/s390/s390-32/configure: Regenerated.
21787 * sysdeps/s390/s390-64/configure: Likewise.
21788 * sysdeps/x86_64/configure: Likewise.
21789 * sysdeps/sh/configure: Likewise.
21790 * sysdeps/powerpc/powerpc64/configure: Likewise.
21791 * sysdeps/powerpc/powerpc32/configure: Likewise.
21792 * sysdeps/sparc/configure: Likwise.
21793 * sysdeps/i386/configure: Likewise.
21794
a66877c6
MP
21795 * elf/dl-open.c: Comment fixes.
21796
cfc82fd8
JM
217972012-07-17 Joseph Myers <joseph@codesourcery.com>
21798
bd29910a
JM
21799 * Makefile [CXX] (check-data): Remove.
21800 [CXX] (c++-types.data): New vpath directive.
21801 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21802 vpath. Do not allow for C++ type data being missing.
21803 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21804 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21805 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21806 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21807 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21808 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21809 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21811 ... here.
21812 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21814 ... here.
21815 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21817 ... here.
21818 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21820 ... here.
21821 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21823 ... here.
21824 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21826 ... here.
21827 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21829 ... here.
21830 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21832
cfc82fd8
JM
21833 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21834 definitions to architecture-specific files.
21835 (TLS_IE): Likewise.
21836 (TLS_LD): Likewise.
21837 (TLS_GD): Likewise.
21838 * sysdeps/i386/tls-macros.h: New file.
21839 * sysdeps/powerpc/tls-macros.h: Likewise.
21840 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21841 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21842 * sysdeps/sh/tls-macros.h: Likewise.
21843 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21844 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21845 * sysdeps/x86_64/tls-macros.h: Likewise.
21846
f7db3170
TS
218472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21848
07cbfc23
TS
21849 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21850 zero value for regular exit case.
21851
f7db3170
TS
21852 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21853 (__start_context): Preserve zero value for regular exit case.
21854
dc97c227
TS
218552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21856 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21857
21858 * manual/setjmp.texi (setcontext): Clarify normal process
21859 termination when uc_link is the null pointer.
21860 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21861 exit call.
21862
d0cd7d02
AS
218632012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21864
21865 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21866 preprocessor. Test for each exception mask separately.
21867
dd318934
AJ
218682012-07-16 Andreas Jaeger <aj@suse.de>
21869
21870 * po/ru.po: Update from translation team.
21871
8048311a
JM
218722012-07-15 Joseph Myers <joseph@codesourcery.com>
21873
21874 * conform/data/string.h-data (NULL): Use macro-constant. Require
21875 equal to 0.
21876 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21877 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21878 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21879 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21880 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21881
b637d46e
AJ
218822012-07-13 Andreas Jaeger <aj@suse.de>
21883
21884 * po/fr.po: Update from translation team.
21885
541428fe
MP
218862012-07-12 Marek Polacek <polacek@redhat.com>
21887
21888 [BZ #14173]
21889 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21890 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21891 loop condition.
21892
ec332e94
JM
218932012-07-12 Joseph Myers <joseph@codesourcery.com>
21894
21895 [BZ #13717]
21896 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21897 Change to 2.4.1 where previously 2.4.0.
21898 * sysdeps/unix/sysv/linux/configure: Regenerated.
21899 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21900 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21901 version.
21902 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21903 (__ASSUME_AT_CLKTCK): Remove.
21904 (__ASSUME_AT_PAGESIZE): Likewise.
21905 (__ASSUME_AT_XID): Likewise.
21906 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21907 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21908 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21909 unconditionally.
21910 (HAVE_AUX_PAGESIZE): Likewise.
21911 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21912 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21913 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21914
7b6e99be
JB
219152012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21916
21917 [BZ #14307]
21918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21919 the temporary buffer used to invoke __gethostbyname2_r,
21920 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21921 host_data / struct gaih_addrtuple.
21922 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21923 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21924 header file nss/nsswitch.h.
21925 * nss/nsswitch.h (global scope): Add definition of implementation
21926 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21927 resolv/nss_dns/dns-host.c).
21928
608404eb
AJ
219292012-07-11 Andreas Jaeger <aj@suse.de>
21930
21931 * po/fr.po: Update from translation team.
21932
71220aca
AJ
21933 * po/sv.po: Update from translation team
21934 * po/fr.po: Another update from translation team.
21935
28cfe843
AZ
219362012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21937
21938 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21939 for subnormals or multiply small sinh result by itself.
21940 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21942
6b90f981
DM
219432012-07-11 David S. Miller <davem@davemloft.net>
21944
21945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21946
c6825772
AS
219472012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21948
21949 [BZ #14347]
21950 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21951 (INTERNAL_MARK): Shift it here.
21952
7b8e0d49
MP
219532012-07-10 Marek Polacek <polacek@redhat.com>
21954
21955 [BZ #14151]
21956 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21957 libc_cv_asm_global_directive with .globl.
21958 * configure: Regenerated.
21959 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21960 with .globl.
21961 * sysdeps/i386/configure: Regenerated.
21962 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21963 with .globl.
21964 * sysdeps/x86_64/configure: Regenerated.
21965 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21966 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21967 * elf/tst-unique2mod2.c: Likewise.
21968 * elf/tst-unique2mod1.c: Likewise.
21969 * elf/tst-unique1mod2.c: Likewise.
21970 * elf/tst-unique1mod1.c: Likewise.
21971 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21972 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21973 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21974 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21975 * sysdeps/mach/sysdep.h: Likewise.
21976 * sysdeps/i386/sysdep.h: Likewise.
21977 * sysdeps/i386/i386-mcount.S: Likewise.
21978 * sysdeps/x86_64/_mcount.S: Likewise.
21979 * sysdeps/x86_64/sysdep.h: Likewise.
21980 * sysdeps/sh/_mcount.S: Likewise.
21981 * sysdeps/sh/sysdep.h: Likewise.
21982 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21983 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21984 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21985 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21986 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21987 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21988 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21989 * locale/localeinfo.h: Likewise.
21990 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21991 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21992
6c55cda3
RM
219932012-07-09 Roland McGrath <roland@hack.frob.com>
21994
21995 [BZ #14336]
21996 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21997 system".
21998 * manual/message.texi (The Uniforum approach): Likewise.
21999 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22000 (glibc iconv Implementation): Likewise.
22001
638a572e
JM
220022012-07-09 Joseph Myers <joseph@codesourcery.com>
22003
22004 [BZ #14337]
22005 * math/s_clog.c (__clog): Avoid scaling a value down where that
22006 could result in underflow.
22007 * math/s_clog10.c (__clog10): Likewise.
22008 * math/s_clog10f.c (__clog10f): Likewise.
22009 * math/s_clog10l.c (__clog10l): Likewise.
22010 * math/s_clogf.c (__clogf): Likewise.
22011 * math/s_clogl.c (__clogl): Likewise.
22012 * math/libm-test.inc (clog_test): Add more tests.
22013 (clog10_test): Likewise.
22014 * sysdeps/i386/fpu/libm-test-ulps: Update.
22015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22016
261f4859
AS
220172012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22018
0abaf3e4
AS
22019 [BZ #14283]
22020 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22021 by 7 not 8 to examine high bit of fractional part.
22022
261f4859
AS
22023 [BZ #14042]
22024 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22025 for call to __mcount_internal.
22026 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22027 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22028 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22029
f17ac40d
JM
220302012-07-06 Joseph Myers <joseph@codesourcery.com>
22031
9ad63c23
JM
22032 [BZ #14154]
22033 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22034 approximation for values within 0x1p-13f of an odd multiple of
22035 pi/4.
22036 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22037 exception. Add more tests.
22038 * sysdeps/i386/fpu/libm-test-ulps: Update.
22039
f17ac40d
JM
22040 [BZ #6778]
22041 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22042 inputs and return -1 for them. Do not check for +Inf in case not
22043 reachable for +Inf.
22044 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22045 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22046 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22047 and return -1 for them. Do not check for +Inf in case not
22048 reachable for +Inf.
22049 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22050 define.
22051 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22052 and return -1 for them. Do not check for +Inf in case not
22053 reachable for +Inf.
22054 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22055 spurious underflow.
22056 * sysdeps/i386/fpu/libm-test-ulps: Update.
22057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22058
fb21f89b
MF
220592012-07-06 Mike Frysinger <vapier@gentoo.org>
22060
22061 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22062
cdfe2c5e
JM
220632012-07-05 Joseph Myers <joseph@codesourcery.com>
22064
22065 [BZ #14157]
22066 [BZ #14331]
22067 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22068 could result in spurious underflow. Scale down values above
22069 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22070 * math/s_csqrtf.c (__csqrtf): Likewise.
22071 * math/s_csqrtl.c (__csqrtl): Likewise.
22072 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22073 spurious underflow.
22074 * sysdeps/i386/fpu/libm-test-ulps: Update.
22075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22076
70d35b67
AS
220772012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22078
704bc459
AS
22079 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22080 xopen-msg.sed.
22081 * catgets/xopen-msg.awk: New file.
22082 * catgets/xopen-msg.sed: Removed.
22083
70d35b67
AS
22084 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22085 po2text.sed.
22086 * intl/po2test.awk: New file.
22087 * intl/po2test.sed: Removed.
22088
ca61cf32
JM
220892012-07-04 Joseph Myers <joseph@codesourcery.com>
22090
22091 [BZ #14328]
22092 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22093 or multiply small sinh result by itself.
22094 * math/s_ctanf.c (__ctanf): Likewise.
22095 * math/s_ctanh.c (__ctanh): Likewise.
22096 * math/s_ctanhf.c (__ctanhf): Likewise.
22097 * math/s_ctanhl.c (__ctanhl): Likewise.
22098 * math/s_ctanl.c (__ctanl): Likewise.
22099 * math/libm-test.inc (ctan_test_tonearest): New function.
22100 (ctan_test_towardzero): Likewise.
22101 (ctan_test_downward): Likewise.
22102 (ctan_test_upward): Likewise.
22103 (ctanh_test_tonearest): Likewise.
22104 (ctanh_test_towardzero): Likewise.
22105 (ctanh_test_downward): Likewise.
22106 (ctanh_test_upward): Likewise.
22107 (main): Call these new functions.
22108 * sysdeps/i386/fpu/libm-test-ulps: Update.
22109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22110
ca48a46a
MF
221112012-07-03 Mike Frysinger <vapier@gentoo.org>
22112
22113 * .gitignore: Delete /ports entry.
22114
9d63d37d
AJ
221152012-07-03 Andreas Jaeger <aj@suse.de>
22116
22117 * po/bg.po: Update from translation team.
22118 * po/cs.po: Likewise.
22119 * po/de.po: Likewise.
22120 * po/hr.po: Likewise.
22121 * po/nl.pl: Likewise.
22122 * po/pl.po: Likewise.
22123 * po/vi.po: Likewise.
22124
370ca3d2
JM
221252012-07-03 Joseph Myers <joseph@codesourcery.com>
22126
95f5a9a8
JM
22127 * Makeconfig [!+link] (+link-before-libc): New variable.
22128 [!+link] (+link-after-libc): Likewise.
22129 [!+link] (+link-tests): Likewise.
22130 [!+link] (+link): Define in terms of $(+link-before-libc) and
22131 $(+link-after-libc).
22132 [!+link-static] (+link-static-before-libc): New variable.
22133 [!+link-static] (+link-static-after-libc): Likewise.
22134 [!+link-static] (+link-static-tests): Likewise.
22135 [!+link-static] (+link-static): Define in terms of
22136 $(+link-static-before-libc) and $(+link-static-after-libc).
22137 [build-shared] (link-libc-before-gnulib): New variable.
22138 [build-shared] (link-libc-tests): Likewise.
22139 [build-shared] (link-libc): Define in terms of
22140 $(link-libc-before-gnulib).
22141 [!build-shared] (link-libc-tests): New variable.
22142 (link-libc-static-tests): New variable.
22143 [!gnulib] (gnulib-arch): New variable.
22144 [!gnulib] (gnulib-tests): Likewise.
22145 [!gnulib] (static-gnulib-arch): Likewise.
22146 [!gnulib] (static-gnulib-tests): Likewise.
22147 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22148 Define with "=" instead of ":=".
22149 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22150 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22151 * Rules (binaries-all-notests): New variable.
22152 (binaries-all-tests): Likewise.
22153 (binaries-static-notests): Likewise.
22154 (binaries-static-tests): Likewise.
22155 (binaries-all): Define using $(binaries-all-notests) and
22156 $(binaries-all-tests).
22157 (binaries-static): Define using $(binaries-static-notests) and
22158 $(binaries-static-tests).
22159 (binaries-shared-tests): New variable.
22160 (binaries-shared-notests): Likewise.
22161 (binaries-shared): Remove variable.
22162 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22163 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22164 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22165 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22166 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22167 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22168 * elf/Makefile (sln-modules): New variable.
22169 (extra-objs): Add $(sln-modules:=.o).
22170 (ldconfig-modules): Add static-stubs.
22171 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22172 * elf/static-stubs.c: New file.
22173
7a845b2c
JM
22174 [BZ #14283]
22175 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22176 by 7 not 8 to examine high bit of fractional part. Use volatile
22177 variables when splitting into final array of floats if
22178 __FLT_EVAL_METHOD__ != 0.
22179 * math/libm-test.inc (cos_test): Add another test.
22180 (sin_test): Likewise.
22181 * sysdeps/i386/fpu/libm-test-ulps: Update.
22182
e2283f38
JM
22183 [BZ #14273]
22184 * math/libm-test.inc (cosh_test): Add more tests.
22185
370ca3d2
JM
22186 * version.h (RELEASE): Set to "development".
22187 (VERSION): Set to "2.16.90".
22188
ee9247c3
CD
221892012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22190
22191 * NEWS: Update copyright. Remove last-updated date.
22192 Mention math library bug fixes and timezone data changes.
22193 * README: Mention GNU/Hurd, x32, and HPPA support status.
22194
4648c381
TS
221952012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22196
22197 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22198
aac78a43
AJ
221992012-06-27 Andreas Jaeger <aj@suse.de>
22200
22201 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22202
ed3dbfad
AJ
222032012-06-25 Andreas Jaeger <aj@suse.de>
22204
22205 * sysdeps/s390/fpu/libm-test-ulps: Update.
22206
4d0ee855
AS
222072012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22208 Thomas Schwinge <thomas@codesourcery.com>
22209
22210 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22211 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22212 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22213 fanotify_mark.
22214
af1bce34
TS
222152012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22216
a9fa33ba
TS
22217 * sysdeps/mach/start.c: Remove file.
22218 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22219 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22220 * sysdeps/sh/init-first.c: Likewise.
22221
58f902b8
TS
22222 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22223 registers for frame unwinding purposes, add CFI directives.
22224 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22225 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22226 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22227 Likewise.
22228
1518f58b
TS
22229 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22230 __fortify_fail returning.
22231 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22232
db9b5059
TS
22233 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22234 sysdeps/sh/____longjmp_chk.S.
22235 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22236 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22237 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22238 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22239
967705fe
TS
22240 * sysdeps/sh/abort-instr.h: New file.
22241 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22242 process in case exit returns.
22243
a9def8c4
TS
22244 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22245 initialize the GOT register before use.
22246
2a649725
TS
22247 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22248 calculation of ARGC > 4.
22249
af1bce34
TS
22250 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22251 meaningful names to some local labels.
22252
d230f50a
KK
222532012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22254 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22255
22256 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22257 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22258 (__arch_compare_and_exchange_val_16_acq): Likewise.
22259 (__arch_compare_and_exchange_val_32_acq): Likewise.
22260 (atomic_exchange_and_add): Fix gUSA sequence.
22261 (atomic_add): Likewise.
22262 (atomic_add_negative): Likewise.
22263 (atomic_add_zero): Likewise.
22264 (atomic_bit_test_set): Likewise.
22265
0479b305
AS
222662012-06-22 Andreas Schwab <schwab@redhat.com>
22267
22268 [BZ #13579]
22269 * include/link.h (struct link_map): Add l_free_initfini.
22270 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22271 l_initfini.
22272 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22273 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22274 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22275 set.
22276
0e3933b9
CD
222772012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22278
22279 * configure.in: Use AC_LANG_SOURCE.
22280 * configure: Regenerate.
22281
4248b1b1
RM
222822012-06-22 Roland McGrath <roland@hack.frob.com>
22283
22284 * configure.in (libc_cv_localstatedir): New substituted variable.
22285 * configure: Regenerated.
22286 * config.make.in (localstatedir): New variable, substituted from
22287 libc_cv_localstatedir.
22288 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22289 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22290 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22291 * sysdeps/gnu/configure: Regenerated.
22292
006dd861
JL
222932012-06-21 Jeff Law <law@redhat.com>
22294
22295 [BZ #14277]
22296 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22297 free. Simplify list management for _LIBC case.
22298
79662d42
JM
222992012-06-21 Joseph Myers <joseph@codesourcery.com>
22300
b7abb4bf
JM
22301 [BZ #14273]
22302 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22303 Clear sign bit of 64-bit integer value before comparing against
22304 overflow value.
22305
79662d42
JM
22306 * sysdeps/mach/configure: Regenerated.
22307
1f150908
L
223082012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22309
22310 [BZ #14278]
22311 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22312
28363bbf
JL
223132012-06-21 Jeff Law <law@redhat.com>
22314
22315 [BZ #13882]
22316 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22317 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 22318 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
22319 * elf/dl-open.c (dl_open_worker): Likewise.
22320
09615db4
CD
223212012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22322
22323 * scripts/list-sources.sh: Scan PORTS for translations.
22324 * po/libc.pot: Regenerated.
22325
2174c6dd
AJ
223262012-06-21 Andreas Jaeger <aj@suse.de>
22327
22328 [BZ #12194]
22329 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22330 warning.
22331 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22332 * bits/byteswap-16.h (__bswap_16): Likewise.
22333 * bits/byteswap.h (__bswap_constant_16): Likewise.
22334
3ee947b1
L
223352012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22336
22337 [BZ #14117]
a2f34833
L
22338 * sysdeps/i386/fpu_control.h: Removed.
22339 * sysdeps/x86_64/fpu_control.h: Moved to ...
22340 * sysdeps/x86/fpu_control.h: Here.
22341
3ee947b1
L
22342 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22343 (_FPU_SETCW): Likewise.
22344
ed1825f8
L
223452012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22346
25f1282a
L
22347 [BZ #14117]
22348 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22349 * sysdeps/x86/fpu/bits/mathinline.h: This.
22350 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22351
ed1825f8
L
22352 [BZ #14050]
22353 [BZ #14117]
22354 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22355 functions if __x86_64__ is defined.
22356
36d54b74
CLT
223572012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22358
22359 * string/endian.h: Add !__ASSEMBLER__ condition for including
22360 conversion interfaces.
22361
10285c21
JM
223622012-06-15 Joseph Myers <joseph@codesourcery.com>
22363
22364 [BZ #14241]
22365 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22366 of ABS(x) in calculating zero to negative powers other than odd
22367 integers.
22368 * math/libm-test.inc (pow_test): Add more tests.
22369
06c5abbd
AJ
223702012-06-15 Andreas Jaeger <aj@suse.de>
22371
22372 * manual/contrib.texi (Contributors): Update entry of Liubov
22373 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22374 Machado Filho.
22375
a3aeac40
CH
223762012-06-15 Cyril Hrubis <metan@ucw.cz>
22377
22378 * string/string.h: Add __wur to GNU version of strerror_r.
22379
49bdf4c1
L
223802012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22381
22382 [BZ #14229]
22383 * string/Makefile (tests): Add tst-strtok_r.
22384 * string/tst-strtok_r.c: New file.
22385 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22386 RAX_LP/RDX_LP on SAVE_PTR.
22387
834f9b8d
RM
223882012-06-14 Roland McGrath <roland@hack.frob.com>
22389
22390 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22391
75fa1921
JM
223922012-06-14 Joseph Myers <joseph@codesourcery.com>
22393
22394 * libm_test.inc (csqrt_test): Allow more spurious underflow
22395 exceptions.
22396 (j0_test): Likewise.
22397 (j1_test): Likewise.
22398 (y0_test): Likewise.
22399 (y1_test): Likewise.
22400
771766df
CD
224012012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22402
22403 * po/Makefile (libc.pot): Use UTF-8 charset.
22404
ceb9e56b
PP
224052012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22406
22407 [BZ #14210]
22408 Suppress sign-conversion warning from FD_SET.
22409 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22410 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22411 not unsigned long int.
22412 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22413
ddb28975
L
224142012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22415
22416 [BZ #14050]
22417 [BZ #14117]
22418 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22419 __extern_always_inline instead of __extern_inline.
22420 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22421 (__signbit): Likewise.
22422 (__signbitl): Support C++ namespace.
22423 (lrintf): New inline function.
22424 (lrint): Likewise.
22425 (llrintf): Likewise.
22426 (llrint): Likewise.
22427 (fmaxf): Likewise.
22428 (fmax): Likewise.
22429 (fminf): Likewise.
22430 (fmin): Likewise.
22431 (rint): Likewise.
22432 (rintf): Likewise.
22433 (ceil): Likewise.
22434 (ceilf): Likewise.
22435 (floor): Likewise.
22436 (floorf): Likewise.
22437 (nearbyint): Likewise.
22438 (nearbyintf): Likewise.
22439
d7b4fb26
TS
224402012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22441
22442 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22443 non-default versions.
22444
eb55f5c2
RM
224452012-06-11 Roland McGrath <roland@hack.frob.com>
22446
22447 [BZ #14218]
22448 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22449
366af02c
TS
224502012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22451
99ff6e5c
TS
22452 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22453 (FE_UPWARD, FE_DOWNWARD): Don't define.
22454 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22455 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22456
366af02c
TS
22457 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22458 reading it.
22459 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22460 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22461
793ea851
KK
224622012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22463
22464 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22465 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22466 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22467 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22468
a728a38f
L
224692012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22470
22471 [BZ #14117]
c08010c7
L
22472 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22473 * sysdeps/i386/fpu/Implies: New file.
22474 * sysdeps/x86_64/fpu/Implies: Likewise.
22475 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22476 * sysdeps/x86/fpu/bits/fenv.h: This.
22477
a728a38f
L
22478 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22479 __SSE_MATH__.
22480
6e230d11
SP
224812012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22482
22483 [BZ #14134]
22484 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22485 character 0xffff that matches the last element of the
22486 conversion table.
22487
1b671feb
AZ
224882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22489
22490 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22491 fmodl commit.
22492
6043738b
AZ
224932012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22494
22495 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22496 values higher than 25.6283.
22497
34ae0b32
AZ
224982012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22499
22500 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22501 subnormal exponent extraction and add some __builtin_expect.
22502 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22503 Fix for subnormal mantissa calculation.
22504
1214ec8f
MF
225052012-06-04 Mike Frysinger <vapier@gentoo.org>
22506
22507 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22508 cpu2 is -1 and errno is not ENOSYS.
22509
f3d1f93c
L
225102012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22511
22512 [BZ #14117]
0e4a3cd7
L
22513 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22514 * sysdeps/x86/bits/string.h: This.
22515 * sysdeps/x86_64/bits/string.h: Removed.
22516
6704c645
L
22517 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22518 if not compiling for x86-64, but compiling for >= i486.
22519
48495318
L
22520 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22521 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22522
14adcbfc
L
22523 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22524 New macro from Linux kernel 3.4.0.
22525 (FP_XSTATE_MAGIC2): Likewise.
22526 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22527 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22528 (struct _fpx_sw_bytes): New struct.
22529 (struct _xsave_hdr): Likewise.
22530 (struct _ymmh_state): Likewise.
22531 (struct _xstate): Likewise.
22532
68e408ab
L
22533 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22534 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22535 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22536 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22537 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22538 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22539
f3d1f93c
L
22540 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22541 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22542 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22543 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22544 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22545 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22546
d9dc34cd
TMQMF
225472012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22548
22549 [BZ #13743]
22550 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22551 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22552 (sysdep_headers): Include sys/platform/ppc.h.
22553 * sysdeps/powerpc/test-gettimebase.c: Test for
22554 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22555 * manual/Makefile (appendices): Include platform.texi.
22556 * manual/contrib.texi (Contributors): Update @node pointers.
22557 * manual/maint.texi (Maintenance): Likewise.
22558 (Platform): New node.
22559 * manual/platform.texi: New file. Document the new features.
22560
4af3879c
SP
225612012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22562 Jakub Jelinek <jakub@redhat.com>
22563
22564 [BZ #14188]
22565 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22566 where __builtin_expect is unavailable.
22567
2fd6ff13
DM
225682012-06-03 David S. Miller <davem@davemloft.net>
22569
22570 * stdlib/longlong.h: Updated from GCC.
22571
173f7220
AS
225722012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22573
22574 [BZ #14042]
22575 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22576 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22577 __mcount_internal.
22578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22579 (GLIBC_2.16): Likewise.
22580
f34a1c6f
L
225812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22582
22583 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22584
88a4576f
JM
225852012-06-01 Joseph Myers <joseph@codesourcery.com>
22586
ea32bcdd
JM
22587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22588 (default-abi): New variable.
22589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22590 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22591 variable.
22592 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22593 Likewise.
22594 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22595 Likewise.
22596 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22597 Likewise.
22598
88a4576f
JM
22599 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22600 definition. Document in comment.
22601
402fe938
DM
226022012-06-01 David S. Miller <davem@davemloft.net>
22603
22604 * stdlib/longlong.h: Updated from GCC.
22605
3553723f
L
226062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22607
22608 [BZ #14117]
3bd872c4
L
22609 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22610 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22611 sys/debugreg.h sys/io.h here.
22612 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22613 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22614 sys/io.h.
22615 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22616 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22617 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22618 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22619 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22620 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22621
3553723f
L
22622 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22623 Define only if __x86_64__ is defined.
22624
4842e4fe
JM
226252012-06-01 Joseph Myers <joseph@codesourcery.com>
22626
c5bfe3d5
JM
22627 [BZ #14048]
22628 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22629 Use int64_t for variable i.
22630 * math/libm-test.inc (fmod_test): Add more tests.
22631
4842e4fe
JM
22632 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22633 z computation is not scheduled after fetestexcept.
22634 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22635 Use math_force_eval instead of asm to ensure calculation scheduled
22636 before exception test.
22637 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22638 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22639
efb73488
AJ
226402012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22641
22642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22643 computation is not scheduled after fetestexcept.
22644
29bcce7c
L
226452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22646
22647 [BZ #14117]
22648 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22649 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22650
73a68f94
AZ
226512012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22652
22653 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22654 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22655
67b6df78
L
226562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22657
edf2933a 22658 [BZ #14117]
ebc64a18
L
22659 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22660 <bits/wordsize.h>.
22661 (__WCHAR_MIN): Support __WORDSIZE == 64.
22662 (__WCHAR_MAX): Likewise.
22663
edf2933a
L
22664 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22665 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22666
57c6cf40
L
22667 [BZ #14183]
22668 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22669 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22670
67b6df78 22671 [BZ #14117]
8eb6281e
L
22672 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22673 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22674
aac639f4
L
22675 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22676 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22677
67b6df78
L
22678 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22679 Defined to 1 if __x86_64__ isn't defined.
22680 (_STAT_VER_LINUX_OLD): New.
22681 (st_atime): Remove duplicate.
22682 (st_mtime): Likewise.
22683 (st_ctime): Likewise.
22684
1c2cfe81
DM
226852012-05-31 David S. Miller <davem@davemloft.net>
22686
22687 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22688 entries.
22689
5be8418c
AS
226902012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22691
e7725326
AS
22692 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22693 gen-libm-test.pl.
22694
5be8418c
AS
22695 [BZ #14132]
22696 * elf/dl-reloc.c: Include <_itoa.h>.
22697 (_dl_reloc_bad_type): Remove use of INTUSE.
22698 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22699 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22700 * stdio-common/psiginfo.c (psiginfo): Likewise.
22701 * stdio-common/psignal.c (psignal): Likewise.
22702 * string/strsignal.c (strsignal): Likewise.
22703 * include/signal.h (_sys_siglist): Declare hidden proto.
22704 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22705 INTVARDEF with libc_hidden_data_def.
22706 * stdio-common/itoa-udigits.c: Likewise.
22707 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22708 (_itoa_lower_digits_internal): Remove declaration.
22709 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22710 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22711 (_sys_sigabbrev_internal): Remove aliases.
22712 (_sys_siglist): Define hidden alias.
22713
507352f1
MT
227142012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22715
22716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22717 bits/sysctl.h.
22718
42bbb1c3
L
227192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22720
22721 [BZ #14117]
6bd784b6
L
22722 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22723 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22724
8bca20f0
L
22725 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22726 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22727 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22728 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22729 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22730 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22731
f9e890a9
L
22732 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22733 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22734 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22735
471101a1
L
22736 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22737 with __addr.
22738 (insw): Likewise.
22739 (insl): Likewise.
22740 (outsb): Likewise.
22741 (outsw): Likewise.
22742 (outsl): Likewise.
22743
6451c862
L
22744 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22745 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22746 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22747
a254b8c9
L
22748 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22749 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22750 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22751 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22752 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22753 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22754
b8dfdd92
L
22755 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22756 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22757
578cd270
L
22758 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22759 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22760
de662f5f
L
22761 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22762 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22763 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22764
25653439
L
22765 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22766 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22767 to ...
22768 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22769
6bad24a0
L
22770 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22771 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22772 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22773
42bbb1c3
L
22774 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22775 for x86-64.
22776 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22777
2d10d547
JM
227782012-05-31 Joseph Myers <joseph@codesourcery.com>
22779
22780 * math/math.h (M_El): Use two more decimal places.
22781 (M_LOG2El): Likewise.
22782 (M_LOG10El): Likewise.
22783 (M_LN2l): Likewise.
22784 (M_LN10l): Likewise.
22785 (M_PIl): Likewise.
22786 (M_PI_2l): Likewise.
22787 (M_PI_4l): Likewise.
22788 (M_1_PIl): Likewise.
22789 (M_2_PIl): Likewise.
22790 (M_2_SQRTPIl): Likewise.
22791 (M_SQRT2l): Likewise.
22792 (M_SQRT1_2l): Likewise.
22793
f230c29b
DM
227942012-05-31 David S. Miller <davem@davemloft.net>
22795
22796 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22797 values between float registers.
22798 * sysdeps/sparc/sparc64/memset.S: Likewise.
22799 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22800
fed806c3
MF
228012012-05-31 Mike Frysinger <vapier@gentoo.org>
22802
22803 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22804 -D_FORTIFY_SOURCE=1.
22805 (CPPFLAGS-tst-longjmp_chk.c): Define.
22806 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22807 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22808 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22809 CFLAGS-tst-wchar-h.c.
22810
30917259
MP
228112012-05-31 Marek Polacek <polacek@redhat.com>
22812
22813 [BZ #14132]
22814 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22815 __endmntent_internal): Remove declaration.
22816 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22817 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22818 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22819
1c58d5dc
DM
228202012-05-30 David S. Miller <davem@davemloft.net>
22821
22822 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22823 (___Q_simulate_exceptions): Use real FP ops rather than writing
22824 into the %fsr.
22825 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22826 Likewise.
22827
7dc00e0d
L
228282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22829
22830 [BZ #14117]
0bd53985
L
22831 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22832 * sysdeps/x86/bits/xtitypes.h: This.
22833
3a257e66
L
22834 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22835 * sysdeps/x86/bits/wordsize.h: This.
22836
62f62904
L
22837 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22838 * sysdeps/x86/bits/huge_vall.h: This.
22839
404fe9d9
L
22840 * sysdeps/i386/bits/select.h: Removed.
22841 * sysdeps/x86_64/bits/select.h: Renamed to ...
22842 * sysdeps/x86/bits/select.h: This.
22843
d48d0446
L
22844 * sysdeps/i386/bits/setjmp.h: Removed.
22845 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22846 * sysdeps/x86/bits/setjmp.h: This.
22847
7dc00e0d
L
22848 * sysdeps/i386/bits/mathdef.h: Removed.
22849 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22850 * sysdeps/x86/bits/mathdef.h: This.
22851
03277f8f
AS
228522012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22853
22854 [BZ #14132]
22855 * include/sys/socket.h (__connect_internal)
22856 (__libc_sa_len_internal): Remove declaration.
22857 (__connect, __libc_sa_len): Declare hidden_proto.
22858 (SA_LEN): Remove use of INTUSE.
22859 * socket/connect.c: Add libc_hidden_def.
22860 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22861 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22862 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22863 alias.
22864 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22865 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22866 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22867 of adding _internal alias.
22868
13764867
L
228692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22870
22871 [BZ #14117]
6bd97696
L
22872 * sysdeps/i386/bits/link.h: Removed.
22873 * sysdeps/i386/bits/linkmap.h: Likewise.
22874 * sysdeps/x86_64/bits/link.h: Renamed to ...
22875 * sysdeps/x86/bits/link.h: This.
22876 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22877 * sysdeps/x86/bits/linkmap.h: This.
22878
f726f0bb
L
22879 * sysdeps/i386/bits/endian.h: Removed.
22880 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22881 * sysdeps/x86/bits/endian.h: This.
22882
13764867
L
22883 * sysdeps/i386/bits/byteswap.h: Removed.
22884 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22885 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22886 * sysdeps/x86/bits/byteswap.h: This.
22887 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22888 * sysdeps/x86/bits/byteswap-16.h: This.
22889 * sysdeps/i386/Implies: Add x86.
22890 * sysdeps/x86_64/Implies: Likewise.
22891
ae251b0b
DM
228922012-05-30 David S. Miller <davem@davemloft.net>
22893
22894 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22895 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22896 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22897 (FP_TRAPPING_EXCEPTIONS): Define.
22898 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22899 (FP_TRAPPING_EXCEPTIONS): Define.
22900 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22901 subnormals only when inexact has been signalled or underflow
22902 exceptions are enabled.
22903 (_FP_PACK_CANONICAL): Likewise.
22904
d5c90867
L
229052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22906
22907 [BZ #14183]
22908 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22909 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22910
63f1549e
RH
229112012-05-30 Richard Henderson <rth@twiddle.net>
22912
8d8f2279
RH
22913 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22914 with #ifndef NOT_IN_libc.
22915
63f1549e
RH
22916 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22917 marked to avoid plt entry.
22918
0ab0291b
L
229192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22920
22921 [BZ #14112]
22922 * Makeconfig (default-abi): New macro.
22923 (abi-includes): Likewise.
22924 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22925 $(abi-$(default-abi)-lib-soname) for soname if defined.
22926 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22927 abi-variants.
22928 * Makefile (installed-stubs): Likewise.
22929 * include/stubs-biarch.h: Removed.
22930 * scripts/lib-names.awk: Only handle one library at a time.
22931 * scripts/soversions.awk: Remove WORDSIZE support.
22932 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22933 entries.
22934 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22935 Removed.
22936 (syscall-list-default-condition): Likewise.
22937 (syscall-list-default-condition): Likewise.
22938 (syscall-list-includes): Likewise.
22939 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22940 syscall-list-* with abi-*. Handle undefined abi-variants.
22941 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22942 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22943 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22944 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22945 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22946 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22947 Removed.
22948 (syscall-list-32-options): Likewise.
22949 (syscall-list-32-condition): Likewise.
22950 (syscall-list-64-options): Likewise.
22951 (syscall-list-64-condition): Likewise.
22952 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22953 macro.
22954 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22955 Renamed to ...
22956 (abi-*): This.
22957 (abi-64-ld-soname): New macro.
22958 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22959 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22960 Renamed to ...
22961 (abi-*): This.
22962 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22963 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22964
4da0431d
JM
229652012-05-30 Joseph Myers <joseph@codesourcery.com>
22966
3a85279c
JM
22967 * sysdeps/unix/sysv/linux/kernel-features.h
22968 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22969 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22970 include <kernel-features.h>.
22971 [!__NR_ftruncate64]: Remove conditional code.
22972 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22973 [__NR_ftruncate64]: Make code unconditional.
22974 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22975 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22976 include <kernel-features.h>.
22977 [!__NR_ftruncate64]: Remove conditional code.
22978 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22979 [__NR_ftruncate64]: Make code unconditional.
22980 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22982 include <kernel-features.h>.
22983 [!__NR_ftruncate64]: Remove conditional code.
22984 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22985 [__NR_ftruncate64]: Make code unconditional.
22986 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22988 include <kernel-features.h>.
22989 [!__NR_ftruncate64]: Remove conditional code.
22990 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22991 [__NR_ftruncate64]: Make code unconditional.
22992 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22993
4da0431d
JM
22994 * configure.in (libc_cv_fpie): Weaken to a compile test using
22995 LIBC_TRY_CC_OPTION.
22996 * configure: Regenerated.
22997
11ef492c
AK
229982012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22999
23000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23004 Refreshed.
23005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23011 Refreshed.
23012
d66ef399
DM
230132012-05-27 David S. Miller <davem@davemloft.net>
23014
23015 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23016 (___Q_zero): New.
23017 (__Q_simulate_exceptions): Return void. Change to simulate
23018 exceptions by writing into the %fsr.
23019 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23020 (__Qp_handle_exceptions): Likewise.
23021 (numbers): Delete.
23022 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23023 __Qp_handle_exceptions.
23024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23025 __Qp_handle_exceptions.
23026 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23027 as unused and give dummy FP_RND_NEAREST initializer.
23028 (FP_INHIBIT_RESULTS): Define.
23029 (___Q_simulate_exceptions): Update declaration.
23030 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23031 formatting.
23032 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23033 as unused and give dummy FP_RND_NEAREST initializer.
23034 (__Qp_handle_exceptions): Update declaration.
23035 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23036 formatting.
23037
04fb54b5
TS
230382012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23039
23040 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23041 the temporary FPU control word.
23042 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23043 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23044 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23045 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23046 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23047 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23048 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23049 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23050 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23051 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23052 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23053
3f99608f
KK
230542012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23055
23056 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23057 fields.
23058
65a4de4e
CLT
230592012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23060
23061 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23062 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23063 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23064 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23065 Likewise.
23066 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23067 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23068 Likewise.
23069
15749d40
UD
230702012-05-27 Ulrich Drepper <drepper@gmail.com>
23071
23072 * po/h.po: Update from translation team.
23073
25dbcb27
AS
230742012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23075
3d3f8e55
AS
23076 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23077
25dbcb27
AS
23078 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23079 handling of denormals.
23080 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23081 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23082 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23083 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23084 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23085 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23086 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23087 Likewise.
23088
7ad47a80 230892012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
23090
23091 [BZ #14152]
23092 * math/libm-test.inc (fma_test): Don't always expect underflow
23093 exception.
23094
9c6ea9fa
SP
230952012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23096
23097 [BZ #12416]
23098 * elf/tst-execstack.c: Include stackinfo.h.
23099 (do_test): Adjust test case to ensure that pthread_getattr_np
23100 behaviour remains the same after marking stack executable.
23101
a8239222
JM
231022012-05-25 Joseph Myers <joseph@codesourcery.com>
23103
23104 * sysdeps/unix/sysv/linux/kernel-features.h
23105 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23106 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23107 kernel-features.h.
23108 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23109 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23110 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23111 kernel-features.h.
23112 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23113 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23114
918b5606
L
231152012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23116
23117 * configure.in: Define the default includes to being none.
23118 * configure: Regenerated.
23119
3a097cc7
RM
231202012-05-25 Roland McGrath <roland@hack.frob.com>
23121
8422c9a5
RM
23122 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23123 * sysdeps/x86_64/setjmp.S: Likewise.
23124 * sysdeps/i386/bsd-setjmp.S: Likewise.
23125 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23126 * sysdeps/i386/setjmp.S: Likewise.
23127 * sysdeps/i386/__longjmp.S: Likewise.
23128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23129 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23130
3a097cc7
RM
23131 * include/stap-probe.h: New file.
23132 * configure.in: Handle --enable-systemtap.
23133 * configure: Regenerated.
23134 * config.h.in (USE_STAP_PROBE): New #undef.
23135 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23136 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23137 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23138
21708942
JM
231392012-05-25 Joseph Myers <joseph@codesourcery.com>
23140
23141 [BZ #13717]
23142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23143 to 2.4.0 where earlier.
23144 * sysdeps/unix/sysv/linux/configure: Regenerated.
23145 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23146 <kernel-features.h>.
23147 [__ASSUME_32BITUIDS]: Make code unconditional.
23148 [!__ASSUME_32BITUIDS]: Remove conditional code.
23149 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23150 <kernel-features.h>.
23151 [__ASSUME_32BITUIDS]: Make code unconditional.
23152 [!__ASSUME_32BITUIDS]: Remove conditional code.
23153 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23154 [__ASSUME_32BITUIDS]: Make code unconditional.
23155 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23156 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23157 <kernel-features.h>.
23158 [__ASSUME_32BITUIDS]: Make code unconditional.
23159 [!__ASSUME_32BITUIDS]: Remove conditional code.
23160 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23161 <kernel-features.h>.
23162 [__ASSUME_32BITUIDS]: Make code unconditional.
23163 [!__ASSUME_32BITUIDS]: Remove conditional code.
23164 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23165 <kernel-features.h>.
23166 [__ASSUME_32BITUIDS]: Make code unconditional.
23167 [!__ASSUME_32BITUIDS]: Remove conditional code.
23168 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23169 <kernel-features.h>.
23170 [__ASSUME_32BITUIDS]: Make code unconditional.
23171 [!__ASSUME_32BITUIDS]: Remove conditional code.
23172 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23173 <kernel-features.h>.
23174 [__ASSUME_32BITUIDS]: Make code unconditional.
23175 [!__ASSUME_32BITUIDS]: Remove conditional code.
23176 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23177 <kernel-features.h>.
23178 [__ASSUME_32BITUIDS]: Make code unconditional.
23179 [!__ASSUME_32BITUIDS]: Remove conditional code.
23180 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23181 <kernel-features.h>.
23182 [__ASSUME_32BITUIDS]: Make code unconditional.
23183 [!__ASSUME_32BITUIDS]: Remove conditional code.
23184 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23185 <kernel-features.h>.
23186 [__ASSUME_32BITUIDS]: Make code unconditional.
23187 [!__ASSUME_32BITUIDS]: Remove conditional code.
23188 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23189 <kernel-features.h>.
23190 [__ASSUME_32BITUIDS]: Make code unconditional.
23191 [!__ASSUME_32BITUIDS]: Remove conditional code.
23192 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23193 <kernel-features.h>.
23194 [__ASSUME_32BITUIDS]: Make code unconditional.
23195 [!__ASSUME_32BITUIDS]: Remove conditional code.
23196 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23197 <kernel-features.h>.
23198 [__NR_setresgid] (__setresgid): Do not declare.
23199 [__ASSUME_32BITUIDS]: Make code unconditional.
23200 [!__ASSUME_32BITUIDS]: Remove conditional code.
23201 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23202 <kernel-features.h>.
23203 [__NR_setresuid] (__setresuid): Do not declare.
23204 [__ASSUME_32BITUIDS]: Make code unconditional.
23205 [!__ASSUME_32BITUIDS]: Remove conditional code.
23206 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23207 <kernel-features.h>.
23208 [__ASSUME_32BITUIDS]: Make code unconditional.
23209 [!__ASSUME_32BITUIDS]: Remove conditional code.
23210 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23211 <kernel-features.h>.
23212 [__ASSUME_32BITUIDS]: Make code unconditional.
23213 [!__ASSUME_32BITUIDS]: Remove conditional code.
23214 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23215 <kernel-features.h>.
23216 [__ASSUME_32BITUIDS]: Make code unconditional.
23217 [!__ASSUME_32BITUIDS]: Remove conditional code.
23218 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23219 <kernel-features.h>.
23220 [__ASSUME_32BITUIDS]: Make code unconditional.
23221 [!__ASSUME_32BITUIDS]: Remove conditional code.
23222 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23223 <kernel-features.h>.
23224 [__ASSUME_32BITUIDS]: Make code unconditional.
23225 [!__ASSUME_32BITUIDS]: Remove conditional code.
23226 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23227 <kernel-features.h>.
23228 [__ASSUME_32BITUIDS]: Make code unconditional.
23229 [!__ASSUME_32BITUIDS]: Remove conditional code.
23230 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23231 <kernel-features.h>.
23232 [__ASSUME_32BITUIDS]: Make code unconditional.
23233 [!__ASSUME_32BITUIDS]: Remove conditional code.
23234 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23235 <kernel-features.h>.
23236 [__ASSUME_32BITUIDS]: Make code unconditional.
23237 [!__ASSUME_32BITUIDS]: Remove conditional code.
23238 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23239 <kernel-features.h>.
23240 [__ASSUME_32BITUIDS]: Make code unconditional.
23241 [!__ASSUME_32BITUIDS]: Remove conditional code.
23242 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23243 <kernel-features.h>.
23244 [__ASSUME_32BITUIDS]: Make code unconditional.
23245 [!__ASSUME_32BITUIDS]: Remove conditional code.
23246 * sysdeps/unix/sysv/linux/kernel-features.h
23247 (__ASSUME_SETRESUID_SYSCALL): Remove.
23248 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23249 (__ASSUME_32BITUIDS): Likewise.
23250 (__ASSUME_LDT_WORKS): Likewise.
23251 (__ASSUME_O_DIRECTORY): Likewise.
23252 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23253 architecture but not kernel version.
23254 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23255 (__ASSUME_MMAP2_SYSCALL): Likewise.
23256 (__ASSUME_STAT64_SYSCALL): Likewise.
23257 (__ASSUME_IPC64): Likewise.
23258 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23259 <kernel-features.h>.
23260 [__ASSUME_32BITUIDS]: Make code unconditional.
23261 [!__ASSUME_32BITUIDS]: Remove conditional code.
23262 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23263 <kernel-features.h>.
23264 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23265 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23266 132096]: Remove conditional code.
23267 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23268 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23269 <kernel-features.h>.
23270 [__ASSUME_32BITUIDS]: Make code unconditional.
23271 [!__ASSUME_32BITUIDS]: Remove conditional code.
23272 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23273 <kernel-features.h>.
23274 [__ASSUME_32BITUIDS]: Make code unconditional.
23275 [!__ASSUME_32BITUIDS]: Remove conditional code.
23276 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23277 <kernel-features.h>.
23278 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23279 unconditional.
23280 (__setresgid): Do not declare.
23281 [__ASSUME_32BITUIDS]: Make code unconditional.
23282 [!__ASSUME_32BITUIDS]: Remove conditional code.
23283 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23284 <kernel-features.h>.
23285 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23286 unconditional.
23287 (__setresuid): Do not declare.
23288 [__ASSUME_32BITUIDS]: Make code unconditional.
23289 [!__ASSUME_32BITUIDS]: Remove conditional code.
23290 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23291 <kernel-features.h>.
23292 [__ASSUME_32BITUIDS]: Make code unconditional.
23293 [!__ASSUME_32BITUIDS]: Remove conditional code.
23294 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23295 <kernel-features.h>.
23296 [__ASSUME_32BITUIDS]: Make code unconditional.
23297 [!__ASSUME_32BITUIDS]: Remove conditional code.
23298
a386f1cc
RH
232992012-05-25 Richard Henderson <rth@twiddle.net>
23300
23301 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23302 dl_hwcap to ifunc resolver.
23303 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23304 elf_ifunc_invoke.
23305 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23306 dl_hwcap to ifunc resolver.
23307 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23308
b6550497
JM
233092012-05-24 Joseph Myers <joseph@codesourcery.com>
23310
23311 [BZ #14153]
23312 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23313 for |x| <= 2**-26, not 2**-57.
23314 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23315 exception.
23316
b0bc23a1
JL
233172012-05-24 Jeff Law <law@redhat.com>
23318
23319 * stdio-common/Makefile (tests): Add bug25.
23320 * stdio-common/bug25.c: New test.
23321
347c92e9
L
233222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23323
23324 [BZ #13576]
23325 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23326 multiple of MALLOC_ALIGNMENT in size.
23327 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23328
6bcc8b3f
JM
233292012-05-24 Joseph Myers <joseph@codesourcery.com>
23330
23331 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23332 Require >= 256.
23333 (FILENAME_MAX): Use macro-int-constant.
23334 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23335 (_IOFBF): Use macro-int-constant.
23336 (_IOLBF): Likewise.
23337 (_IONBF): Likewise.
23338 (SEEK_CUR): Likewise.
23339 (SEEK_END): Likewise.
23340 (SEEK_SET): Likewise.
23341 (TMP_MAX): Likewise.
23342 (EOF): Use macro-int-constant. Require < 0.
23343 (NULL): Use macro-constant. Require == 0.
23344 (stdin): Require type to be FILE *.
23345 (stdout): Likewise.
23346 (stderr): Likewise.
23347 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23348 macro-int-constant.
23349 (EXIT_SUCCESS): Likewise.
23350 (NULL): Use macro-constant. Require == 0.
23351 (RAND_MAX): Use macro-int-constant.
23352 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23353 [C99-based standards] (strtof): Require function.
23354 [C99-based standards] (strtold): Likewise.
23355 [C99-based standards] (strtoll): Likewise.
23356 [C99-based standards] (strtoull): Likewise.
23357 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23358 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23359 [ISO || ISO99 || ISO11] (math.h): Likewise.
23360 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23361 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23363
d18ea0c5
AS
233642012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23365
23366 [BZ #14132]
56d25bb8
AS
23367 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23368 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23369 * intl/dgettext.c (DCGETTEXT): Likewise.
23370 * intl/gettext.c (DCGETTEXT): Likewise.
23371 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23372 * posix/regex_internal.h (gettext): Likewise.
23373 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23374 Remove declaration.
23375 * include/argz.h (__argz_count_internal)
23376 (__argz_stringify_internal): Remove declaration.
23377 (__argz_count, __argz_stringify): Declare hidden proto.
23378 * intl/dcgettext.c: Remove use of INTDEF.
23379 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23380 * string/argz-stringify.c: Likewise.
23381 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23382 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23383 Declare hidden proto.
d18ea0c5
AS
23384 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23385 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23386 Declare hidden proto.
23387 * include/stdio.h (__asprintf_internal): Don't declare.
23388 (__asprintf): Don't define as macro. Declare hidden proto.
23389 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23390 (__fsetlocking): Declare hidden proto.
23391 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23392 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23393 hidden proto.
23394 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23395 (_IO_setlinebuf): Remove use of INTUSE.
23396 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23397 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23398 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23399 Remove declaration.
23400 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23401 (_IO_do_flush): Remove use of INTUSE.
23402 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23403 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23404 (_IO_adjust_column, _IO_least_wmarker)
23405 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23406 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23407 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23408 (_IO_default_doallocate, _IO_wdefault_doallocate)
23409 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23410 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23411 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23412 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23413 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23414 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23415 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23416 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23417 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23418 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23419 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23420 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23421 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23422 proto.
23423 (_IO_flush_all_internal, _IO_adjust_column_internal)
23424 (_IO_default_uflow_internal, _IO_default_finish_internal)
23425 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23426 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23427 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23428 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23429 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23430 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23431 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23432 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23433 (_IO_file_close_internal, _IO_file_close_it_internal)
23434 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23435 (_IO_file_init_internal, _IO_file_attach_internal)
23436 (_IO_file_fopen_internal, _IO_file_read_internal)
23437 (_IO_file_sync_internal, _IO_file_seek_internal)
23438 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23439 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23440 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23441 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23442 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23443 (_IO_list_all_internal, _IO_link_in_internal)
23444 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23445 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23446 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23447 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23448 (_IO_do_write_internal, _IO_padn_internal)
23449 (_IO_getline_info_internal, _IO_getline_internal)
23450 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23451 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23452 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23453 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23454 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23455 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23456 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23457 with libc_hidden_ver, remove use of INTUSE.
23458 * libio/genops.c: Likewise.
23459 * libio/freopen.c: Likewise.
23460 * libio/freopen64.c: Likewise.
23461 * libio/iofclose.c: Likewise.
23462 * libio/iofdopen.c: Likewise.
23463 * libio/iofflush.c: Likewise.
23464 * libio/iofflush_u.c: Likewise.
23465 * libio/iofgets.c: Likewise.
23466 * libio/iofgets_u.c: Likewise.
23467 * libio/iofopen.c: Likewise.
23468 * libio/iofopncook.c: Likewise.
23469 * libio/iofread.c: Likewise.
23470 * libio/iofread_u.c: Likewise.
23471 * libio/ioftell.c: Likewise.
23472 * libio/iofwrite.c: Likewise.
23473 * libio/iogetline.c: Likewise.
23474 * libio/iogets.c: Likewise.
23475 * libio/iogetwline.c: Likewise.
23476 * libio/iopadn.c: Likewise.
23477 * libio/iopopen.c: Likewise.
23478 * libio/ioseekoff.c: Likewise.
23479 * libio/ioseekpos.c: Likewise.
23480 * libio/iosetbuffer.c: Likewise.
23481 * libio/iosetvbuf.c: Likewise.
23482 * libio/ioungetc.c: Likewise.
23483 * libio/ioungetwc.c: Likewise.
23484 * libio/iovdprintf.c: Likewise.
23485 * libio/iovsprintf.c: Likewise.
23486 * libio/iovsscanf.c: Likewise.
23487 * libio/memstream.c: Likewise.
23488 * libio/obprintf.c: Likewise.
23489 * libio/oldfileops.c: Likewise.
23490 * libio/oldiofclose.c: Likewise.
23491 * libio/oldiofdopen.c: Likewise.
23492 * libio/oldiofopen.c: Likewise.
23493 * libio/oldiopopen.c: Likewise.
23494 * libio/oldstdfiles.c: Likewise.
23495 * libio/putc.c: Likewise.
23496 * libio/setbuf.c: Likewise.
23497 * libio/setlinebuf.c: Likewise.
23498 * libio/stdfiles.c: Likewise.
23499 * libio/strops.c: Likewise.
23500 * libio/vasprintf.c: Likewise.
23501 * libio/vscanf.c: Likewise.
23502 * libio/vsnprintf.c: Likewise.
23503 * libio/vswprintf.c: Likewise.
23504 * libio/wfiledoalloc.c: Likewise.
23505 * libio/wfileops.c: Likewise.
23506 * libio/wgenops.c: Likewise.
23507 * libio/wmemstream.c: Likewise.
23508 * libio/wstrops.c: Likewise.
23509 * libio/__fpurge.c: Likewise.
23510 * libio/__fsetlocking.c: Likewise.
23511 * assert/assert.c: Likewise.
23512 * debug/fgets_chk.c: Likewise.
23513 * debug/fgets_u_chk.c: Likewise.
23514 * debug/fread_chk.c: Likewise.
23515 * debug/fread_u_chk.c: Likewise.
23516 * debug/gets_chk.c: Likewise.
23517 * debug/obprintf_chk.c: Likewise.
23518 * debug/vasprintf_chk.c: Likewise.
23519 * debug/vdprintf_chk.c: Likewise.
23520 * debug/vsnprintf_chk.c: Likewise.
23521 * debug/vsprintf_chk.c: Likewise.
23522 * malloc/mtrace.c: Likewise.
23523 * misc/error.c: Likewise.
23524 * misc/syslog.c: Likewise.
23525 * stdio-common/asprintf.c: Likewise.
23526 * stdio-common/fxprintf.c: Likewise.
23527 * stdio-common/getw.c: Likewise.
23528 * stdio-common/isoc99_fscanf.c: Likewise.
23529 * stdio-common/isoc99_scanf.c: Likewise.
23530 * stdio-common/isoc99_vfscanf.c: Likewise.
23531 * stdio-common/isoc99_vscanf.c: Likewise.
23532 * stdio-common/isoc99_vsscanf.c: Likewise.
23533 * stdio-common/printf-prs.c: Likewise.
23534 * stdio-common/printf_fp.c: Likewise.
23535 * stdio-common/printf_fphex.c: Likewise.
23536 * stdio-common/printf_size.c: Likewise.
23537 * stdio-common/putw.c: Likewise.
23538 * stdio-common/scanf.c: Likewise.
23539 * stdio-common/sprintf.c: Likewise.
23540 * stdio-common/tmpfile.c: Likewise.
23541 * stdio-common/vfprintf.c: Likewise.
23542 * stdio-common/vfscanf.c: Likewise.
23543 * stdlib/strfmon_l.c: Likewise.
23544 * sunrpc/openchild.c: Likewise.
23545 * sunrpc/xdr_stdio.c: Likewise.
23546 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23547 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23548
d6c33fda
RM
235492012-05-24 Roland McGrath <roland@hack.frob.com>
23550
c1487492
RM
23551 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23552
23553 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23554 in the third column, to generate for the shared library an IFUNC
23555 that uses _dl_vdso_vsym.
23556 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23557 * Makeconfig (object-suffixes-noshared): New variable.
23558
23559 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23560 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23561 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23562 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23563
d6c33fda
RM
23564 [BZ #14132]
23565 * include/sys/time.h (__gettimeofday): Remove macro.
23566 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23567 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23568 Remove INTDEF.
23569 (__gettimeofday): Add libc_hidden_def.
23570 (gettimeofday): Add libc_hidden_weak.
23571 * sysdeps/mach/gettimeofday.c: Likewise.
23572 * sysdeps/posix/gettimeofday.c: Likewise.
23573 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23574 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23575 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23576 (__gettimeofday_internal): Remove strong_alias.
23577 (__gettimeofday): Add libc_hidden_def.
23578 (gettimeofday): Add libc_hidden_weak.
23579 * sysdeps/unix/syscalls.list (gettimeofday):
23580 Remove __gettimeofday_internal alias.
23581
b5a2bbe6
L
235822012-05-24 Daniel Jacobowitz <drow@false.org>
23583 H.J. Lu <hongjiu.lu@intel.com>
23584
23585 [BZ #12495]
23586 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23587 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23588 (largebin_index_32_big): New.
23589 (largebin_index): Use it for 16-byte alignment.
23590 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23591 correction with front_misalign.
23592
cfba4fda
L
235932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23594
7f907421
L
23595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23597 Likewise.
23598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23599 Likewise.
23600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23601 Likewise.
23602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23603 Likewise.
23604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23605 Likewise.
23606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23607 Likewise.
23608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23609 Likewise.
23610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23611 Likewise.
23612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23613 Likewise.
23614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23615 Likewise.
23616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23617 Likewise.
23618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23619 Likewise.
23620
cfba4fda
L
23621 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23622 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23623
80bad0cc
JM
236242012-05-24 Joseph Myers <joseph@codesourcery.com>
23625
7a25eb06
JM
23626 [BZ #10846]
23627 [BZ #14036]
23628 * math/libm-test.inc (exp_test): Add test from bug 14036.
23629 (pow_test): Add test from bug 10846.
23630
795405f9
JM
23631 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23632 and other flags.
23633 (special_function): Do not include flags in test name.
23634 (parse_args): Likewise.
23635 * sysdeps/i386/fpu/libm-test-ulps: Update.
23636 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23637 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23638 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23640
80bad0cc
JM
23641 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23642 exceptions.
23643 * math/libm-test.inc ("Philosophy"): Update comment about
23644 exception testing.
23645 (UNDERFLOW_EXCEPTION): New macro.
23646 (UNDERFLOW_EXCEPTION_OK): Likewise.
23647 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23648 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23649 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23650 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23651 (INVALID_EXCEPTION_OK): Update value.
23652 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23653 (OVERFLOW_EXCEPTION_OK): Likewise.
23654 (IGNORE_ZERO_INF_SIGN): Likewise.
23655 (test_exceptions): Handle underflow exceptions.
23656 (acos_test): Update for underflow exception expectations.
23657 (cexp_test): Likewise.
23658 (clog_test): Likewise.
23659 (clog10_test): Likewise.
23660 (csqrt_test): Likewise.
23661 (ctan_test): Likewise.
23662 (ctanh_test): Likewise.
23663 (exp_test): Likewise.
23664 (exp10_test): Likewise.
23665 (exp2_test): Likewise.
23666 (expm1_test): Likewise.
23667 (fma_test): Likewise.
23668 (j0_test): Likewise.
23669 (jn_test): Likewise.
23670 (nexttoward_test): Likewise.
23671 (pow_test): Likewise.
23672 (scalbn_test): Likewise.
23673 (scalbln_test): Likewise.
23674 (tan_test): Likewise.
23675 (y1_test): Likewise.
23676 * sysdeps/i386/fpu/libm-test-ulps: Update.
23677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23678
9e0e3d0b
DM
236792012-05-23 David S. Miller <davem@davemloft.net>
23680
23681 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23682 (__libc_sigaction): Remove unused local variables.
23683
ccd0a08f
L
236842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23685
23686 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23687
62bdf9a6
PE
236882012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23689
f8591f80
PE
23690 mktime: avoid signed integer overflow
23691 * time/mktime.c (__mktime_internal): Do not mishandle the case
23692 where diff == INT_MIN.
23693
94c7d826
PE
23694 mktime: simplify computation of average
23695 * time/mktime.c (ranged_convert): Use new time_t_avg function
23696 instead of rolling our own (probably-slower) code.
23697
ce73d683
PE
23698 mktime: do not assume signed right shift propagates sign bit
23699 * time/mktime.c (isdst_differ): New static function.
23700 (__mktime_internal): No need to normalize tm_isdst now.
23701 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23702 tm_isdst values.
23703
72a22e59
PE
23704 mktime: merge another wrapv change from gnulib
23705 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23706 from some compilers.
23707
68605433
PE
23708 mktime: remove incorrect attempt at unusual arithmetics
23709 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23710 The code didn't really work on such machines anyway.
23711 (TYPE_MINIMUM): Assume two's complement.
23712 (twos_complement_arithmetic): Verify that long_int and time_t
23713 are two's complement (or unsigned, in the latter case).
23714
03cf7fe3
PE
23715 mktime: check signed shifts on long_int and time_t, too
23716 * time/mktime.c (SHR): Check that shifts work as desired
23717 on the types long_int and time_t too, as SHR is used on
23718 such types.
23719
f04dfbc2
PE
23720 mktime: do not assume 'long' is wide enough
23721 * time/mktime.c (verify): Move decl up.
23722 (long_int): New type.
23723 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23724 to remove assumption in the code that 'long' is wide enough to
23725 store year values. This assumption is not true on x32 and on
23726 some non-glibc platforms.
23727
62bdf9a6
PE
23728 mktime: merge wrapv change from gnulib
23729 * time/mktime.c (WRAPV): New macro.
23730 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23731 (guess_time_tm, __mktime_internal): Do not assume that signed
23732 integer overflow wraps around; modern compilers generate code
23733 where this assumption is no longer valid.
23734
5e292e4f
L
237352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23736
23737 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23738 Replace "jmp L(pseudo_end)" with "ret".
23739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23740 Likewise.
23741
8caf8c87
AJ
237422012-05-23 Andreas Jaeger <aj@suse.de>
23743
23744 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23745 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23746
1a09dc56
AJ
237472012-05-23 Andreas Jaeger <aj@suse.de>
23748 Maximilian Attems <max@stro.at>
23749
23750 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23751 New macros.
23752
1c87aba0
L
237532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23754
23755 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23756 code so that pseudo_end is just ret and the stack pointer is
23757 correct also for static library in error case.
23758
40e45bd5
JM
237592012-05-23 Joseph Myers <joseph@codesourcery.com>
23760
c2670533
JM
23761 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23762 move to syscalls.list.
23763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23767
40e45bd5
JM
23768 * manual/install.texi (Running make install): Do not mention Linux
23769 kernel version for which pt_chown is not needed.
23770 (Linux): Do not mention problems with nscd with 2.0 kernels.
23771 * INSTALL: Regenerated.
23772
be08eda5
AJ
237732012-05-23 Andreas Jaeger <aj@suse.de>
23774
23775 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23776 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23777 macro.
23778 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23779 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23780 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23781 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23782 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23783 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23784 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23785 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23786 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23787 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23788 * sysdeps/unix/sysv/linux/bits/in.h
23789 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23790
a6a056bb
RM
237912012-05-22 Roland McGrath <roland@hack.frob.com>
23792
23793 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23794 (PREPARE_VERSION): Just use assert instead, it will be elided
23795 under [NDEBUG] anyway.
23796
c9009328
L
237972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23798
23799 * sysdeps/unix/sysv/linux/Makefile: Include
23800 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23801 (sysdep_routines): Remove sysctl.
c9009328
L
23802 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23803 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23804 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23805 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23806 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23807
73338355
AJ
238082012-05-22 Andreas Jaeger <aj@suse.de>
23809
23810 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23811 that pseudo_end is just ret and the stack pointer is correct also
23812 for static library in error case.
23813
d44638b0
PP
238142012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23815
23816 [BZ #14122]
23817 * nss/nsswitch.c (defconfig_entries): New variable.
23818 (__nss_database_lookup): Don't leak defconfig entries.
23819 (nss_parse_service_list): Don't leak on error paths.
23820 (free_database_entries): New function.
23821 (free_defconfig): New function.
23822 (free_mem): Move common code to free_database_entries.
23823
31a39bd8
L
238242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23825
da0331a8
L
23826 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23827 Add arch_prctl.
23828 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23829
31a39bd8
L
23830 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23831 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23832 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23833 New macro.
23834 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23835 (INTERNAL_SYSCALL_TYPES): Likewise.
23836 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23837 (LOAD_REGS_TYPES_[1-6]): Likewise.
23838 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23839 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23840
45470df3
AZ
238412012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23842
23843 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23844 copysignl for GLIBC_2_0.
23845 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23846 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23848 logbl for GLIBC_2_0.
23849 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23850 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23851
98a61bcb
L
238522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23853
a4f6e481
L
23854 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23855 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23856
f63d5db6
L
23857 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23858 Use "neg %eax".
23859
98a61bcb
L
23860 * time/mktime.c: Update copyright years.
23861
95770f14
PE
238622012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23863
6226efbd
PE
23864 mktime: merge comment-quoting-style change from gnulib
23865 * time/mktime.c: Quote 'like this' in comments.
23866 The GNU coding standards suggest that we no longer quote `like this',
23867 as "`" and "'" are typically rendered asymmetrically nowadays.
23868 The typical gnulib style is to quote 'like this' when quoting
23869 code, and "like this" when quoting English.
23870
b99e4f78
PE
23871 * time/mktime.c (compile-command): Add "-I.".
23872
643e01e6
PE
23873 mktime: merge mktime-internal.h change from gnulib
23874 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23875
2554247d
PE
23876 mktime: merge time_r change from gnulib
23877 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23878
826dd0ab
PE
23879 mktime: merge DEBUG change from gnulib
23880 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23881 case system <time.h> has a #define.
23882
bd83aabe
PE
23883 mktime: merge <sys/types.h> change from gnulib
23884 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23885 since <time.t> is now guaranteed to define time_t.
23886
95770f14
PE
23887 mktime: merge HAVE_CONFIG_H change from gnulib
23888 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23889
5e1a27a9
L
238902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23891
0e44a77e
L
23892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23893 Use "neg %eax".
23894
5e1a27a9
L
23895 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23896 __rlim_t cast.
23897 (struct rusage): Use anonymous union to pad each field to
23898 __syscall_slong_t.
23899
46259bec
DM
239002012-05-21 David S. Miller <davem@davemloft.net>
23901
23902 * Makefules (o-iterator): Remove .s cases.
23903 (compile-command.s): Delete.
23904 (COMPILE.s): Delete.
23905 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23906
59f0c22e
JM
239072012-05-21 Joseph Myers <joseph@codesourcery.com>
23908
23909 * configure.in (libc_cv_predef_stack_protector): Only consider
23910 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23911 * configure: Regenerated.
23912
20c07380
L
239132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23914
bbb3154b
L
23915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23916 New macro. Use R*LP on int and pointer.
23917 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23918 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23919 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23920 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23921
20c07380
L
23922 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23923 [__WORDSIZE_TIME64_COMPAT32] instead of
23924 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23925 (struct utmp): Likewise.
23926 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23927 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23928 Renamed to ...
23929 (__WORDSIZE_TIME64_COMPAT32): This.
23930 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23931 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23932 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23933 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23934 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23935 (__WORDSIZE_TIME64_COMPAT32): New macro.
23936
d8d1017e
AJ
239372012-05-21 Andreas Jaeger <aj@suse.de>
23938
23939 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23940 only if [SHARED]. Add prototype for __wcschr_ia32.
23941
6c7fb145
RM
239422012-05-21 Roland McGrath <roland@hack.frob.com>
23943
23944 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23945 of %rbp unmolested in the jmp_buf while mangling the low bits.
23946 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23947 unmolested high bits of %rbp while demangling the low bits.
23948 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23949
66274218
AJ
239502012-05-21 Andreas Jaeger <aj@suse.de>
23951
07c58f8f
AJ
23952 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23953 * sunrpc/svc_simple.c: Use it for registerrpc.
23954 * sunrpc/xcrypt.c: Use it for passwd2des.
23955
66274218
AJ
23956 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23957
61f65140
L
239582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23959
23960 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23961 Don't define if [__SYSCALL_WORDSIZE != 32].
23962 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23963 New macro.
23964
5fefb436
AJ
239652012-05-21 Bruno Haible <bruno@clisp.org>
23966 Andreas Jaeger <aj@suse.de>
23967
23968 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23969 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23970 inptr and inend for must_buffer_ch.
23971 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23972 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23973 * stdio-common/Makefile (tests): Remove bug15.
23974 (bug15-ENV): Remove macro.
23975 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23976 anymore.
23977
d8e272ab
AJ
239782012-05-19 Andreas Jaeger <aj@suse.de>
23979 Roland McGrath <roland@hack.frob.com>
23980
23981 * manual/contrib.texi: Completely rewritten. It contains now an
23982 alphabetical list of contributors and their contributions.
23983
4a56a162
RH
239842012-05-21 Richard Henderson <rth@twiddle.net>
23985
23986 * misc/getauxval.c (__getauxval): Use unsigned long int.
23987 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23988 (getauxval): Use unsigned long int.
23989
d024d23c
L
239902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23991
23992 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23993
cbc00a03
RM
239942012-05-21 Roland McGrath <roland@hack.frob.com>
23995
23996 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23997 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23998 __alignof__ (long double).
23999
478143fa
AZ
240002012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24001
24002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24003
c7683a6d
RH
240042012-05-20 Richard Henderson <rth@twiddle.net>
24005
24006 * misc/getauxval.c: New file.
24007 * misc/sys/auxv.h: New file.
24008 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24009 (routines): Add getauxval.
24010 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24011 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24012 * elf/dl-sysdep.c (_dl_auxv): Remove.
24013 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24014 * elf/dl-support.c (_dl_auxv): New variable.
24015 (_dl_aux_init): Initialize it.
24016 * manual/startup.texi (Auxiliary Vector): New node.
24017 * sysdeps/generic/bits/hwcap.h: New file.
24018 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24019 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24020 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24021 * sysdeps/sparc/sysdep.h: ... here. Include it.
24022 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24023 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
24024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24025 Update.
c7683a6d
RH
24026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24034
a6f1845d
AZ
240352012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24036
24037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24038
cbcbe830
DM
240392012-05-19 David S. Miller <davem@davemloft.net>
24040
24041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24042
e0b16cc2
JM
240432012-05-19 Joseph Myers <joseph@codesourcery.com>
24044
24045 [BZ #14123]
24046 * math/s_ccosh.c: Include <float.h>
24047 (__ccosh): Avoid internal overflow calculating sinh and cosh
24048 values before multiplying by sin and cos values.
24049 * math/s_ccoshf.c: Likewise.
24050 * math/s_ccoshl.c: Likewise.
24051 * math/s_csin.c: Likewise.
24052 * math/s_csinf.c: Likewise.
24053 * math/s_csinl.c: Likewise.
24054 * math/s_csinh.c: Likewise.
24055 * math/s_csinhf.c: Likewise.
24056 * math/s_csinhl.c: Likewise.
24057 * math/libm-test.inc (ccos_test): Add more tests.
24058 (ccosh_test): Likewise.
24059 (csin_test): Likewise.
24060 (csinh_test): Likewise.
24061 * sysdeps/i386/fpu/libm-test-ulps: Update.
24062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24063
6ad13e08
L
240642012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24065
f66f0ce8
L
24066 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24067 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24068
6ad13e08
L
24069 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24070
b1d072a7
JM
240712012-05-19 Joseph Myers <joseph@codesourcery.com>
24072
24073 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24074 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24075 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24076 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24077 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24078 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24079 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24080 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24081 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24082 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24083 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24084 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24085 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24086 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24087 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24088 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24089 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24090 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24091 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24092 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24093 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24094 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24095 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24096 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24097 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24098 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24099 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24100 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24101 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24102 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24103 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24104
9eae47cb
AJ
241052012-05-18 Andreas Jaeger <aj@suse.de>
24106
24107 * csu/.gitignore: Delete.
24108
bb07f69f
L
241092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24110
24111 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24112 (timex): Use __syscall_slong_t.
24113
e6bdb741
AJ
241142012-05-18 Andreas Jaeger <aj@suse.de>
24115 Carlos O'Donell <carlos_odonell@mentor.com>
24116
24117 * manual/install.texi (Configuring and compiling): Update
24118 description about files modified in the source directory.
d6c33fda 24119 * INSTALL: Regenerated.
e6bdb741 24120
1b74487e
L
241212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24122
24123 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24124 value. Use "or" to set return value to -1.
24125 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24126 negate return value.
24127
a88b64b9
TMQMF
241282012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24129
24130 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24131 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24132 failure if the compiler has Graphite support disabled.
24133 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24134 Likewise.
24135 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24136 CFLAGS-memmove.c): Likewise.
24137 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24138 Likewise.
24139
3707636e
L
241402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24141
610b8622
L
24142 * sysdeps/x86_64/x32/_itoa.h: New file.
24143
7cd195df
L
24144 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24145 getdents system call only if kernel and user dirents have the
24146 same d_ino and d_off.
24147
94b07d20
L
24148 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24149 LLONG_MAX != LONG_MAX.
24150 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24151 (_fitoa_word): Likewise.
24152
18298070
L
24153 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24154 years.
24155 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24156 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24157 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24158
553c7ea4
L
24159 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24160 include <bits/wordsize.h>. Check __x86_64__ instead of
24161 __WORDSIZE.
24162 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24163 if __x86_64__ is defined. Use anonymous union on fpstate.
24164
3707636e
L
24165 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24166 anonymous union.
24167
b53ef01a
AS
241682012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24169
37fb1dc0
AS
24170 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24171 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24172 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24173 Refer to _rtld_local_ro instead of _rtld_global_ro.
24174 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24175 Likewise.
24176 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24177 Likewise.
24178 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24179 Likewise.
24180 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24181 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24182 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24183
b53ef01a
AS
24184 * sysdeps/powerpc/powerpc32/dl-machine.c
24185 (__elf_machine_runtime_setup) [PROF]: Don't reference
24186 _dl_prof_resolve.
24187
7a185db2
AJ
241882012-05-18 Andreas Jaeger <aj@suse.de>
24189
24190 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24191 function only available for GCCs before 3.4 since GCC 3.4
24192 introduced a builtin.
24193 (lrint): Likewise.
24194 (llrintf): Likewise.
24195 (llrint): Likewise.
24196 (fmaxf): Likewise.
24197 (fmax): Likewise.
24198 (fminf): Likewise.
24199 (fmin): Likewise.
24200 (rint): Likewise.
24201 (rintf): Likewise.
24202 (nearbyint): Likewise.
24203 (nearbyintf): Likewise.
24204 (ceil): Likewise.
24205 (ceilf): Likewise.
24206 (floor): Likewise.
24207 (floorf): Likewise.
24208
3e5aef87
L
242092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24210
428bd707
L
24211 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24212 on both fields and cast pointer to __syscall_ulong_t.
24213
3e5aef87
L
24214 * bits/types.h (__fsword_t): New type.
24215 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24216 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24217 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24218 (__FSWORD_T_TYPE): Likewise.
24219 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24220 (__FSWORD_T_TYPE): Likewise.
24221 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24222 (__FSWORD_T_TYPE): Likewise.
24223 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24224 (__FSWORD_T_TYPE): Likewise.
24225 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24226 __SWORD_TYPE with __fsword_t.
24227 (statfs64): Likewise.
24228
1ba7c3dc
DM
242292012-05-17 David S. Miller <davem@davemloft.net>
24230
24231 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24232
59910343
AJ
242332012-05-17 Andreas Jaeger <aj@suse.de>
24234
24235 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24236 warning.
24237
2e4c1e9e
L
242382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24239
24240 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24241
de7f5ce7
AJ
242422012-05-17 Andreas Jaeger <aj@suse.de>
24243
24244 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24245 when it is used.
24246
286abc3d
CM
242472012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24248
24249 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24250
477cc68e
L
242512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24252
24253 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24254 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24255
1a0994f5
CD
242562012-05-17 Andreas Jaeger <aj@suse.de>
24257 Carlos O'Donell <carlos_odonell@mentor.com>
24258
24259 [BZ #14059]
24260 * sysdeps/x86_64/multiarch/init-arch.h
24261 (bit_YMM_Usable): Rename to...
24262 (bit_AVX_Usable): ... this.
24263 (bit_FMA4_Usable): New macro.
24264 (bit_XMM_state): New macro.
24265 (bit_YMM_state): New macro.
24266 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24267 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24268 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24269 (CPUID_OSXSAVE): New macro.
24270 (CPUID_AVX): New macro.
24271 (CPUID_FMA4): New macro.
24272 (index_YMM_Usable): Rename to...
24273 (index_AVX_Usable): ... this.
24274 (HAS_AVX): Use HAS_ARCH_FEATURE.
24275 (HAS_FMA4): Likewise.
24276 (HAS_YMM_USABLE): Remove.
24277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24278 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24279 are present.
24280 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24281 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24282 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24283 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24284 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24285
0af797de
CM
242862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24287
24288 * math/libm-test.c: Support platforms without multiple rounding modes.
24289 * math/bug-nextafter.c: Support platforms without FP exceptions.
24290 * math/bug-nexttoward.c: Likewise.
24291 * math/test-fenv.c: Likewise.
24292 * math/test-misc.c: Likewise.
24293 * stdlib/bug-getcontext.c: Likewise.
24294
e39745ff
AJ
242952012-05-17 Andreas Jaeger <aj@suse.de>
24296
24297 * manual/examples/search.c (critter_cmp): Change signature to
24298 avoid warnings.
24299 * manual/string.texi (Collation Functions): Likewise.
24300
48970aba
L
243012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24302
24303 * bits/types.h: Fold copyright years.
24304 * bits/typesizes.h: Likewise.
24305 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24306 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24309 * time/time.h: Likewise.
24310
bedee953
PP
243112012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24312
24313 [BZ #208]
24314 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24315 in instead of returning them. Return void.
24316 (__libc_mallinfo): Accumulate over all arenas.
24317 (__malloc_stats): Adjust for change in int_mallinfo interface.
24318
61653dfb
RM
243192012-05-16 Roland McGrath <roland@hack.frob.com>
24320
30b99d79
RM
24321 [BZ #10375]
24322 * configure.in (NM): Add AC_CHECK_TOOL for it.
24323 (libc_extra_cflags): New substituted variable.
24324 Check for -fstack-protector being used implicitly.
24325 * configure: Regenerated.
24326 * config.make.in (config-extra-cflags): New variable,
24327 gets @libc_extra_cflags@.
24328 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24329
61653dfb
RM
24330 [BZ #10375]
24331 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24332 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24333 * configure: Regenerated.
24334 * config.make.in (CPPUNDEFS): New substituted variable.
24335 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24336 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24337 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24338
661768bb
L
243392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24340
24341 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24342 (mq_attr): Use __syscall_slong_t.
24343
d4261567
L
243442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24345
24346 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24347 Check __x86_64__ instead of __WORDSIZE.
24348 (_STAT_VER_LINUX): Likewise.
24349 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24350 __syscall_ulong_t and __syscall_slong_t.
24351 (stat64): Likewise.
24352
cf3ff365
L
243532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24354
24355 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24356
76cf3e4d
L
243572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24358
24359 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24360
a637753a
L
243612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24362
24363 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24364 __syscall_ulong_t.
24365
d5e05119
L
24366 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24367 include <bits/wordsize.h>. Check __x86_64__ instead of
24368 __WORDSIZE.
24369 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24370 defined.
24371 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24372
f62ee380
L
24373 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24374 include <bits/wordsize.h>. Check __x86_64__ instead of
24375 __WORDSIZE.
24376 (user_regs_struct): Use "__extension__ unsigned long long"
24377 instead of "unsigned long" if __x86_64__ is defined.
24378 (user): Likewise. Pad after pointer field if __ILP32__ is
24379 defined.
24380
4e124ced
JM
243812012-05-16 Joseph Myers <joseph@codesourcery.com>
24382
6a3951a0
JM
24383 * configure.in (makeinfo): Require version 4.5 or later. Allow
24384 versions 5 to 9.
24385 * configure: Regenerated.
24386 * manual/install.texi (texinfo): Increase version requirement to
24387 4.5 or later.
24388 * INSTALL: Regenerated.
24389
4e124ced
JM
24390 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24391
953ca31a
L
243922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24393
24394 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24395
617aca05
L
24396 * sysdeps/x86_64/x32/ffs.c: New file.
24397
5762f7ae
L
24398 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24399 __syscall_ulong_t.
24400 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24401 defined. Use __syscall_ulong_t.
24402 (shminfo): Use __syscall_ulong_t.
24403 (shm_info): Likewise.
24404
a26b6856
L
24405 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24406 __syscall_ulong_t.
24407
cb2b9ef7
L
24408 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24409 <bits/wordsize.h>.
24410 (msgqnum_t): Use __syscall_ulong_t.
24411 (msglen_t): Likewise.
24412 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24413 __syscall_ulong_t.
24414
34683bb0
L
24415 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24416 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24417
84a68786
L
24418 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24419
48baa5f1
L
24420 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24421 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24422
180be88b
L
24423 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24424 __syscall_slong_t.
24425
5e90c8ad
L
24426 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24427 include <bits/wordsize.h>. Check __x86_64__ instead of
24428 __WORDSIZE.
24429
23dfb58b
L
24430 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24431 "unsigned long long int" if __x86_64__ is defined.
24432 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24433
ce5d54b0
L
24434 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24435 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24436 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24437
13dc9eac
L
24438 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24439 <stdint.h>.
24440 (GET_PC): Cast to uintptr_t first.
24441 (GET_FRAME): Likewise.
24442 (GET_STACK): Likewise.
24443
a7895d15
L
24444 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24445 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24446 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24447 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24448 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24449 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24450 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24451 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24452 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24453 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24454 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24455 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24456 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24457 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24458 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24459 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24460 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24461 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24462 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24463 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24464 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24465 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24466 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24467 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24468 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24469 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24470 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24471 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24472 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24473
656416c9
AS
244742012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24475
5bd66283
AS
24476 * Makerules (+depfiles): Also collect depfiles from .oS in
24477 $(extra-objs).
24478 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24479 .oS, $(libnldbl-routines)).
24480
656416c9
AS
24481 * Makerules (native-compile-mkdep-flags): Define.
24482 * sunrpc/Makefile (extra-objs): Add $(addprefix
24483 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24484 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24485 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24486 calling $(make-target-directory).
24487
a46f2169
L
244882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24489
24490 * bits/types.h (__snseconds_t): Removed.
24491 * time/time.h (struct timespec): Replace __snseconds_t with
24492 __syscall_slong_t.
24493 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24494 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24495 Likewise.
24496 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24497 (__SNSECONDS_T_TYPE): Likewise.
24498 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24499 (__SNSECONDS_T_TYPE): Likewise.
24500 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24501 (__SNSECONDS_T_TYPE): Likewise.
24502
6af6528b
L
245032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24504
24505 * sysdeps/mach/hurd/bits/typesizes.h
24506 (__SYSCALL_SLONG_TYPE): New macro.
24507 (__SYSCALL_ULONG_TYPE): Likewise.
24508
de986b56
L
245092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24510
24511 * bits/types.h (__syscall_slong_t): New type.
24512 (__syscall_ulong_t): Likewise.
24513
24514 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24515 (__SYSCALL_ULONG_TYPE): Likewise.
24516 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24517 (__SYSCALL_SLONG_TYPE): Likewise.
24518 (__SYSCALL_ULONG_TYPE): Likewise.
24519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24520 (__SYSCALL_SLONG_TYPE): Likewise.
24521 (__SYSCALL_ULONG_TYPE): Likewise.
24522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24523 (__SYSCALL_SLONG_TYPE): Likewise.
24524 (__SYSCALL_ULONG_TYPE): Likewise.
24525
85736dc7
L
245262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24527
24528 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24529 Add sigaltstack-offsets.sym.
24530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24531 <sigaltstack-offsets.h>.
24532 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24533 longjmp_msg pointer.
24534 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24535 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24536 signal stack.
24537 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24538
cc03b296
JM
245392012-05-15 Joseph Myers <joseph@codesourcery.com>
24540
a9538892
JM
24541 * elf/stackguard-macros.h: Remove file.
24542 * sysdeps/generic/stackguard-macros.h: New file.
24543 * sysdeps/i386/stackguard-macros.h: Likewise.
24544 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24545 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24546 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24547 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24548 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24549 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24550 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24551 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24552 <elf/stackguard-macros.h>.
24553
cc03b296
JM
24554 [BZ #14109]
24555 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24556 __aligned__ in attribute.
24557 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24558 (gregset_t): Likewise.
24559
93171016
L
245602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24561
24562 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24563 * sysdeps/x86_64/64/Implies-after: Here. New file.
24564 * sysdeps/x86_64/x32/Implies-after: New file.
24565
d86813a0
L
245662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24567
24568 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24569 and access return value for _dl_profile_fixup. Use R10_LP to
24570 load frame size.
24571
2953ec75
L
245722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24573
24574 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24575
3b550e9e
L
245762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24577
24578 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24579 * sysdeps/x86_64/x32/sysdep.h: New file.
24580
eda41706
L
245812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24582
24583 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24584 * sysdeps/x86_64/setjmp.S: Likewise.
24585
9ea01d93
AZ
245862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24587
24588 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24589 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24590 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24591 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24592 remove unused global constant.
24593
02a91938
CM
245942012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24595
24596 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24597 include of <not-cancel.h>.
24598
6540185f
RM
245992012-05-15 Roland McGrath <roland@hack.frob.com>
24600
24601 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24602
509072a0
AJ
246032012-05-15 Jeff Law <law@redhat.com>
24604 Andreas Jaeger <aj@suse.de>
24605
24606 [BZ #13594]
24607 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24608 out from...
24609 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24610 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24611 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24612 code changing __hst_map_handle.map.
24613
ba75122d
RM
246142012-05-15 Roland McGrath <roland@hack.frob.com>
24615
24616 * configure.in (sysnames): Look for Implies-before and Implies-after
24617 files.
24618 * configure: Regenerated.
24619
890d8bd8
L
246202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24621
24622 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24623 8-byte data alignment with LP_SIZE alignment.
24624
f6ee6623
L
246252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24626
24627 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24628 into R10_LP.
24629
ea2626f6
L
246302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24631
24632 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24633
085f715e
L
246342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24635
24636 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24637 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24638 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24639 Likewise.
24640 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24641
be8498fc
L
246422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24643
24644 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24645 (stackinfo_sub_sp): Likewise.
24646
70bc83b9
L
246472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24648
24649 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24650 RAX_LP.
24651
9bc0b730
L
246522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24653
24654 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24655 into R*_LP.
24656
6d2850e7
L
246572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24658
24659 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24660 sizes into R*_LP.
24661
3cb84561
L
246622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24663
24664 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24665
54e2ed81
L
246662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24667
24668 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24669 into R11_LP and load __x86_64_shared_cache_size_half into
24670 R8_LP.
24671
8a17f349
L
246722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24673
24674 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24675 R8_LP.
24676
777b1eea
AZ
246772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24678
24679 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24680 logb for POWER7.
24681 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24682 logbf for POWER7.
24683 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24684 logbl for POWER7.
24685 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24686 powerpc32/power7/fpu/s_logb.c via #include.
24687 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24688 powerpc32/power7/fpu/s_logbf.c via #include.
24689 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24690 powerpc32/power7/fpu/s_logbl.c via #include.
24691
d20d4ac2
JM
246922012-05-15 Joseph Myers <joseph@codesourcery.com>
24693
24694 * README.libm: Remove file.
24695
6cdef1ab
L
246962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24697
24698 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24699 count for x32. Use R*_LP and omit operand-size suffix.
24700
0b254d8f
L
247012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24702
24703 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24704 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24705 * sysdeps/x86_64/x32/shlib-versions: New file.
24706
ceb809dc
RM
247072012-05-14 Roland McGrath <roland@hack.frob.com>
24708
24709 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24710 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24711 Use _dl_fatal_printf instead.
24712
37f1abd4
JM
247132012-05-14 Joseph Myers <joseph@codesourcery.com>
24714
24715 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24716 set if not set by the user. Do not allow for being unset.
24717 * sysdeps/unix/sysv/linux/configure: Regenerated.
24718
11de3a33
L
247192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24720
24721 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24722 the `q' suffix from lea and replace .quad with ASM_ADDR.
24723
e02f153a
L
247242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24725
24726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24727 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24728 instead of $17.
24729 (PTR_DEMANGLE): Likewise.
24730
520ae0fd
L
247312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24732
24733 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24734 (LP_OP): Likewise.
24735 (ASM_ADDR): Likewise.
24736 (RAX_LP): Likewise.
24737 (RBP_LP): Likewise.
24738 (RBX_LP): Likewise.
24739 (RCX_LP): Likewise.
24740 (RDI_LP): Likewise.
24741 (RSI_LP): Likewise.
24742 (RSP_LP): Likewise.
24743 (R8_LP): Likewise.
24744 (R9_LP): Likewise.
24745 (R10_LP): Likewise.
24746 (R10_LP): Likewise.
24747 (R11_LP): Likewise.
24748 (R12_LP): Likewise.
24749 (R13_LP): Likewise.
24750 (R14_LP): Likewise.
24751 (R15_LP): Likewise.
24752
b985be81
L
247532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24754
24755 * sysdeps/x86_64/x32/dl-machine.h: New file.
24756
6a4888ff
AJ
247572012-05-14 Andreas Jaeger <aj@suse.de>
24758
24759 * manual/Makefile (subdir): Remove export of subdir.
24760 (all): Remove target.
24761 (.PHONY): Remove all from list.
24762 (mkinstalldirs): Remove.
24763 (.PHONY): Remove installdirs from list.
24764 ($(inst_infodir)/libc.info): Use make-target-directory.
24765 (installdirs): Remove.
24766 (subdir_%): Remove.
24767 (glibc-targets): Remove.
24768 (lib): Remove.
24769 (stubs): Remove.
24770 ($(objpfx)stubs ../po/manual.pot): Remove.
24771 ($(objpfx)stamp%): Remove.
24772 (make-target-directory): Remove.
24773 (subdir_install): Remove.
24774 (routines): Remove.
24775 (aux): Remove.
24776 (sources): Remove.
24777 (objects): Remove.
24778 (headers): Remove.
24779
24780 [BZ #13750]
24781 * manual/.gitignore: Remove, it's not needed anymore.
24782 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24783 all files in it.
24784 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24785 directory.
24786 (texis): Renamed to $(objpfx)texis.
24787 (texis-path): New, contains path to generated files.
24788 (chapters.%): Use texis-path for complete path, add extra argument
24789 libc-texinfo.sh.
24790 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24791 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24792 (summary,texi, stamp-summary): Use complete path of
24793 files. Generate files in build dir.
24794 (dir-add.texi): Build in build dir.
24795 (libm-err.texi,stamp-libm-err): Likewise.
24796 (version.texi, stamp-version): Likewise.
24797 (.%c.texi): Likewise.
24798 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24799 (mostlyclean): Remove target.
24800 (realclean): Remove target.
24801 (generated): Add new variable with contents from mostlyclean and
24802 realclean, remove entries duplicated in common-mostlyclean, add
24803 stamp-libm-err and stamp-version.
24804 (generated-dirs): Add libc directory.
24805 ($(inst_infodir)/libc.info): Install files from build dir.
24806
24807 * manual/install.texi (Configuring and compiling): Adjust since
24808 the info files are not part of the tar ball anymore.
24809
7ac77294
AJ
248102012-05-14 Andreas Jaeger <aj@suse.de>
24811
24812 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24813 variable.
24814
ffb7875d
JM
248152012-05-14 Joseph Myers <joseph@codesourcery.com>
24816
24817 [BZ #13717]
24818 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24819 to 2.2.0 where earlier.
24820 * sysdeps/unix/sysv/linux/configure: Regenerated.
24821 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24822 Remove conditional code.
24823 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24824 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24825 Remove conditional code.
24826 [!__NR_lchown]: Likewise.
24827 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24828 [__NR_lchown]: Likewise.
24829 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24830 comment referencing __ASSUME_LCHOWN_SYSCALL.
24831 * sysdeps/unix/sysv/linux/i386/sigaction.c
24832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24834 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24835 Remove conditional code.
24836 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24837 (__protocol_available): Remove #if 0 code.
24838 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24839 conditional code.
24840 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24841 * sysdeps/unix/sysv/linux/kernel-features.h
24842 (__ASSUME_GETCWD_SYSCALL): Don't define.
24843 (__ASSUME_REALTIME_SIGNALS): Likewise.
24844 (__ASSUME_PREAD_SYSCALL): Likewise.
24845 (__ASSUME_PWRITE_SYSCALL): Likewise.
24846 (__ASSUME_POLL_SYSCALL): Likewise.
24847 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24848 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24849 non-SPARC.
24850 (__ASSUME_SIOCGIFNAME): Don't define.
24851 (__ASSUME_MSG_NOSIGNAL): Likewise.
24852 (__ASSUME_SENDFILE): Define unconditionally.
24853 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24854 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24855 conditional code.
24856 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24857 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24858 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24859 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24860 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24861 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24862 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24864 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24865 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24867 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24868 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24870 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24871 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24873 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24874 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24876 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24877 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24879 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24880 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24882 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24883 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24885 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24886 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24887 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24888 Remove conditional code.
24889 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24890 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24891 Remove conditional code.
24892 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24893 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24894 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24895 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24896 Remove conditional code.
24897 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24898 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24899 Remove conditional code.
24900 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24901 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24902 Remove conditional code.
24903 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24904 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24905 Remove conditional code.
24906 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24907 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24908 Remove conditional code.
24909 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24910 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24911 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24912 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24913 * sysdeps/unix/sysv/linux/sigaction.c
24914 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24915 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24916 * sysdeps/unix/sysv/linux/sigpending.c
24917 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24918 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24919 * sysdeps/unix/sysv/linux/sigprocmask.c
24920 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24921 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24922 * sysdeps/unix/sysv/linux/sigsuspend.c
24923 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24924 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24925 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24926 (__libc_missing_rt_sigs): Remove.
24927 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24928 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24929 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24930 Remove conditional code.
24931 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24932 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24933 return 1.
24934 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24935 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24936 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24937 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24938
1bfb7291
AJ
249392012-05-14 Andreas Jaeger <aj@suse.de>
24940
caae5a81
AJ
24941 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24942 it's not used in glibc.
24943 (__coshm1): Likewise.
24944 (__acosh1p): Likewise.
24945 (__sgn): Likewise.
24946
1bfb7291
AJ
24947 * manual/string.texi (Copying and Concatenation): Add missing
24948 variable in concat example.
24949 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24950
c044d724
L
249512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24952
144c5467 24953 [BZ #14103]
c044d724
L
24954 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24955 __builtin_clzl with __builtin_clzll.
24956
2523c62b
L
249572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24958
24959 [BZ #14104]
24960 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24961 libc_freeres_ptr.
24962
d7bb4c42
LD
249632012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24964
24965 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24966 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24967 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24968 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24969
9dc4e1fb
MF
249702012-05-14 Mike Frysinger <vapier@gentoo.org>
24971
24972 * NEWS: Update ia64 info.
24973
c7df0112
AS
249742012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24975
24976 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24977 used as bcopy.
24978
dc70356c
TS
249792012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24980
24981 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24982 * sysdeps/unix/syscalls.list (dup3): Likewise.
24983 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24984 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24985
9fb1a21f
L
249862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24987
24988 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24989 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24990
4822a2a5
L
249912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24992
24993 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24994 thread pointer.
24995 (TLS_IE): Use mov/add instead of movq/addq to load thread
24996 pointer.
24997 (TLS_GD_PREFIX): New.
24998 (TLS_GD): Use it.
24999
842b81d6
DM
250002012-05-11 David S. Miller <davem@davemloft.net>
25001
25002 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25003 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25004 (_FPU_SETCW): Likewise.
25005
1cf463cd
L
250062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25007
25008 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25009 is 32-byte aligned.
25010
60cc4a18
AS
250112012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25012
25013 [BZ #11837]
25014 * iconvdata/gb18030.c: Update tables.
25015 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25016 characters specially.
25017 (BODY for TO_LOOP): Add encoding of missing ranges.
25018
febb44a4
TS
250192012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25020
25021 [BZ #13673]
25022 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25023 * sysdeps/mach/hurd/dup3.c: Likewise.
25024 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25025 * sysdeps/powerpc/memmove.c:: Likewise.
25026
0a10fb9e
L
250272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25028
25029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25030 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25031
df8a552f
L
250322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25033
25034 * elf/elf.h (R_X86_64_RELATIVE64): New.
25035 (R_X86_64_NUM): Updated.
25036 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25037 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25038 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25039 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25040 tst-quad1pie tst-quad2pie
25041 (modules-names): Add tst-quadmod1 tst-quadmod2.
25042 ($(objpfx)tst-quad1): New dependency.
25043 ($(objpfx)tst-quad2): Likewise.
25044 ($(objpfx)tst-quad1pie): Likewise.
25045 ($(objpfx)tst-quad2pie): Likewise.
25046 * sysdeps/x86_64/tst-quad1.c: New file.
25047 * sysdeps/x86_64/tst-quad1pie.c: New file.
25048 * sysdeps/x86_64/tst-quad2.c: Likewise.
25049 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25050 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25051 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25052 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25053 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25054
f34d6f84
ST
250552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25056
f42d41d1
ST
25057 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25058 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25059 * streams/stropts.h (t_scalar_t): Define type.
25060
3c3571fc
ST
25061 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25062 (_PATH_PRESERVE): Set to "/var/lib".
25063 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25064
61f06bd3
ST
25065 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25066 instead of int.
25067
918d4d71
ST
25068 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25069 if __dir_mkfile succeeded.
25070
f34d6f84
ST
25071 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25072 checking for _hurd_dtablesize. Unlock it right after having
25073 finished _hurd_dtable allocation.
25074
10589b4a
TS
250752012-05-10 Thomas Schwinge <thomas@schwinge.name>
25076
674cdbc7
TS
25077 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25078 * sysdeps/mach/hurd/configure: Regenerated.
25079 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25080 special-casing to...
25081 * sysdeps/gnu/configure.in: ... this new file.
25082 * sysdeps/unix/sysv/linux/configure: Regenerated.
25083 * sysdeps/gnu/configure: New generated file.
25084
8e41b99f
TS
25085 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25086 for Linux: use nsec instead of usec, as well as:
25087 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25088 members of type struct timespec.
25089 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25090 New macros.
25091 (struct stat64): Likewise.
25092 (_STATBUF_ST_NSEC): New macro.
25093 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25094
10589b4a
TS
25095 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25096 __strtoul_internal rather than strtoul.
25097
63643c85
PT
250982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25099
25100 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25101 and reject them.
25102
3faebe6a
ST
251032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25104
25105 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25106 which preserves existing values.
25107 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25108
c6474b07
PT
251092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25110
25111 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25112 TIMEOUT values. Return EINVAL for NFDS values either negative or
25113 greater than FD_SETSIZE.
25114
1043890b
ST
251152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25116
25117 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25118 allocated, call __vm_protect to finish enabling the existing space, and
25119 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25120 allocate the remainder.
25121
37ed8b9b
PT
251222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25123
25124 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25125 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25126
db653660
ST
251272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25128
37ed8b9b
PT
25129 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25130 sysdeps/mach/hurd/readlink.c.
b29d4053 25131
db653660
ST
25132 * posix/tst-sysconf.c (posix_options): Only use
25133 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25134 _POSIX_SYNCHRONIZED_IO when they are defined
25135 * sysdeps/mach/hurd/bits/posix_opt.h:
25136 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25137 (_XOPEN_REALTIME): Undefine macro.
25138 (_XOPEN_REALTIME_THREADS): Undefine macro.
25139 (_XOPEN_SHM): Undefine macro.
25140 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25141 macro to -1.
25142 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25143 macro to -1.
25144 (_POSIX_ASYNC_IO): Undefine macro.
25145 (_POSIX_PRIORITIZED_IO): Undefine macro.
25146 (_POSIX_SPIN_LOCKS): Define macro to -1.
25147
ee16e894
ST
25148 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25149 SA_NODEFER, SA_RESETHAND.
25150 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25151 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25152 F_DUPFD_CLOEXEC.
25153
6103ae3b
TS
251542012-05-10 Thomas Schwinge <thomas@schwinge.name>
25155
25156 * elf/Makefile (pldd-modules): Define unconditionally.
25157
80b4e5f3
TS
251582012-05-10 Thomas Schwinge <thomas@schwinge.name>
25159
25160 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25161
edadcbd6
ST
251622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25163
25164 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25165 Return ENOENT when name is empty.
25166 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25167
80694780
TS
251682012-05-10 Thomas Schwinge <thomas@schwinge.name>
25169
1792c087
TS
25170 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25171
80694780
TS
25172 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25173
6b645f0d
ST
251742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25175
80694780
TS
25176 Fix mlock in all cases except non-readable pages.
25177 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25178 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 25179
6b645f0d
ST
25180 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25181 (__mkdir): When path is `/', just fail with EEXIST.
25182 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25183
e468f8a3
TS
251842012-05-10 Thomas Schwinge <thomas@schwinge.name>
25185
25186 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25187 <sys/uio.h> (for writev).
25188 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25189 and <sys/param.h> (for MIN).
25190
a4186cff
PT
251912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25192
25193 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25194 REQUESTED_TIME. Properly set the remaining time and return EINTR
25195 if interrupted.
25196
510bbf14
TS
251972012-05-10 Thomas Schwinge <thomas@schwinge.name>
25198
25199 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25200 Depend on against $(link-rpcuserlibs).
25201
5d5722e8
ST
252022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25203
a4186cff
PT
25204 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25205 (__libc_stack_end): Do not use attribute_relro.
25206 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25207 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 25208 to libthread-provided value.
a4186cff
PT
25209 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25210 attribute_relro.
5d5722e8 25211
37233df9
TS
252122012-05-10 Thomas Schwinge <thomas@schwinge.name>
25213
be971a2b
TS
25214 [BZ #3748]
25215 * bits/libc-lock.h (__libc_once_get): New macro.
25216 * sysdeps/mach/bits/libc-lock.h: Likewise.
25217 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25218 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25219 instead of using implementation details.
25220
37233df9
TS
25221 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25222 * libio/freopen.c: Likewise.
25223 * libio/freopen64.c: Likewise.
25224 * misc/syslog.c: Likewise.
25225 * nscd/connections.c: Likewise.
25226 * nscd/netgroupcache.c: Likewise.
25227 * sysdeps/posix/getcwd.c: Likewise.
25228
38de94a5
RM
252292012-05-10 Roland McGrath <roland@hack.frob.com>
25230
25231 * math/w_ilogbf.c: Add #include <limits.h>.
25232
67530489
ST
252332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25234
a4186cff 25235 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
25236 path instead of returning without unlocking.
25237
67530489
ST
25238 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25239 immediate-write ioctls.
25240 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25241
5aa3a74a
TS
252422012-05-10 Thomas Schwinge <thomas@schwinge.name>
25243
18bad2ae
TS
25244 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25245 __builtin_frame_address instead of making assumptions about the
25246 location of the return address relative to DATA. Force early load of
25247 the return address.
25248 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25249 __builtin_frame_address.
25250
5aa3a74a
TS
25251 dup3 for GNU Hurd.
25252 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25253 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25254 implement dup3 and do some further code clean-ups.
25255 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25256 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25257
ecd0de9a
ST
252582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25259
cd9fa985
ST
25260 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25261
a4186cff
PT
25262 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25263 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25264 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25265 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25266 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25267 d->port.lock.
802ca5a5 25268
a4186cff
PT
25269 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25270 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25271 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 25272
bcf55240
TS
252732012-05-10 Thomas Schwinge <thomas@schwinge.name>
25274
6960eb42
TS
25275 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25276 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25277 definitions.
25278
eb43375f
TS
25279 accept4 for GNU Hurd.
25280 * include/sys/socket.h (__libc_accept4): New prototype.
25281 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25282 to implement __libc_accept4.
25283 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25284 __libc_accept4.
25285 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25286
bcf55240
TS
25287 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25288 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25289 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25290 signal-defines.sym.
25291
6178c55b
ST
252922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25293
a4186cff 25294 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 25295
6f080c2f
TS
252962012-05-10 Thomas Schwinge <thomas@schwinge.name>
25297
25298 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25299 assertion on O_CLOEXEC flag.
25300 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25301 * hurd/intern-fd.c: Likewise.
25302 * hurd/port2fd.c: Likewise.
25303
bcfe3a54
ST
253042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25305
25306 [BZ #3906]
25307 * bits/in.h (IPV6_PKTINFO): Define new macro.
25308 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25309
89c9aa49
AZ
253102012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25311
25312 [BZ #13954]
25313 [BZ #13955]
25314 [BZ #13956]
25315 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25316 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25317 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25318 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25319 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25320 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25321 * math/libm-test.inc (logb_test) : Additional logb tests.
25322
021db4be
AJ
253232012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25324 Andreas Jaeger <aj@suse.de>
25325
25326 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25327 * configure: Regenerated.
25328 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25329 * config.make.in (link-obsolete-rpc): New substituted variable.
25330 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25331 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25332 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25333 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25334 so that libc.a contains the symbols.
25335 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25336 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25337 * sunrpc/auth_none.c: Likewise.
25338 * sunrpc/auth_unix.c: Likewise.
25339 * sunrpc/authdes_prot.c: Likewise.
25340 * sunrpc/authuxprot.c: Likewise.
25341 * sunrpc/clnt_gen.c: Likewise.
25342 * sunrpc/clnt_perr.c: Likewise.
25343 * sunrpc/clnt_raw.c: Likewise.
25344 * sunrpc/clnt_simp.c: Likewise.
25345 * sunrpc/clnt_tcp.c: Likewise.
25346 * sunrpc/clnt_udp.c: Likewise.
25347 * sunrpc/clnt_unix.c: Likewise.
25348 * sunrpc/des_crypt.c: Likewise.
25349 * sunrpc/des_soft.c: Likewise.
25350 * sunrpc/get_myaddr.c: Likewise.
25351 * sunrpc/key_call.c: Likewise.
25352 * sunrpc/key_prot.c: Likewise.
25353 * sunrpc/netname.c: Likewise.
25354 * sunrpc/pm_getmaps.c: Likewise.
25355 * sunrpc/pm_getport.c: Likewise.
25356 * sunrpc/pmap_clnt.c: Likewise.
25357 * sunrpc/pmap_prot.c: Likewise.
25358 * sunrpc/pmap_prot2.c: Likewise.
25359 * sunrpc/pmap_rmt.c: Likewise.
25360 * sunrpc/publickey.c: Likewise.
25361 * sunrpc/rpc_cmsg.c: Likewise.
25362 * sunrpc/rpc_common.c: Likewise.
25363 * sunrpc/rpc_dtable.c: Likewise.
25364 * sunrpc/rpc_prot.c: Likewise.
25365 * sunrpc/rpc_thread.c: Likewise.
25366 * sunrpc/rtime.c: Likewise.
25367 * sunrpc/svc.c: Likewise.
25368 * sunrpc/svc_auth.c: Likewise.
25369 * sunrpc/svc_raw.c: Likewise.
25370 * sunrpc/svc_run.c: Likewise.
25371 * sunrpc/svc_tcp.c: Likewise.
25372 * sunrpc/svc_udp.c: Likewise.
25373 * sunrpc/svc_unix.c: Likewise.
25374 * sunrpc/svcauth_des.c: Likewise.
25375 * sunrpc/xcrypt.c: Likewise.
25376 * sunrpc/xdr.c: Likewise.
25377 * sunrpc/xdr_array.c: Likewise.
25378 * sunrpc/xdr_float.c: Likewise.
25379 * sunrpc/xdr_intXX_t.c: Likewise.
25380 * sunrpc/xdr_mem.c: Likewise.
25381 * sunrpc/xdr_rec.c: Likewise.
25382 * sunrpc/xdr_ref.c: Likewise.
25383 * sunrpc/xdr_sizeof.c: Likewise.
25384 * sunrpc/xdr_stdio.c: Likewise.
25385
b5c086a2
RM
253862012-05-10 Roland McGrath <roland@hack.frob.com>
25387
25388 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25389 change. Update copyright years.
25390
6d74dd09
JM
253912012-05-10 Joseph Myers <joseph@codesourcery.com>
25392
25393 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25394
28e72501
MK
253952012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25396 Joseph Myers <joseph@codesourcery.com>
25397 Paul Pluzhnikov <ppluzhnikov@google.com>
25398
25399 [BZ #14012]
25400 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25401 requiring rpcgen.
25402 [cross-compiling] (extra-libs): Likewise.
25403 [cross-compiling] (extra-libs-others): Likewise.
25404 [cross-compiling] (librpcsvc-routines): Likewise.
25405 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25406 [cross-compiling] (omit-deps): Likewise.
25407 (sunrpc-CPPFLAGS): New variable.
25408 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25409 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25410 (cross-rpcgen-objs): New variable.
25411 (extra-objs): Append $(cross-rpcgen-objs).
25412 ($(cross-rpcgen-objs)): New rule.
25413 ($(objpfx)cross-rpcgen): Likewise.
25414 (rpcgen-cmd): Define to use $(built-program-file). Expand
25415 comment.
25416 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25417 ($(objpfx)x%.stmp): Likewise.
25418 * sunrpc/proto.h [IS_IN_build] (_): Define.
25419 [IS_IN_build] (_libc_intl_domainname): Likewise.
25420
c8c59454
L
254212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25422
25423 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25424 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25425 and R_X86_64_TPOFF64.
25426
6f27cd16
JM
254272012-05-10 Joseph Myers <joseph@codesourcery.com>
25428
25429 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25430 sysdeps/unix/sysv/syscalls.list.
25431 (stime): Likewise.
25432 (utime): Likewise.
25433 * sysdeps/unix/sysv/syscalls.list: Remove file.
25434
02467e1c
PE
254352012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25436
25437 [BZ #3440]
25438 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25439 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25440 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25441 (__LC_IDENTIFICATION): Make these macros useful in #if
25442 expressions, as required by C99.
25443
da392631
AS
254442012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25445
25446 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25447 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25448 after this.
25449
8115f29b
L
254502012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25451
25452 * stdlib/longlong.h: Updated from GCC.
25453
bdd74070
AJ
254542012-05-09 Andreas Jaeger <aj@suse.de>
25455
edfe0dbe
AJ
25456 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25457 default is first entry.
25458 (run_mode): Set type.
25459 (main): Remove informal message about syslog.
25460 (options): Fix typo.
25461
bcfe3a54
ST
25462 [BZ #14053]
25463 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25464 to asm.
bcfe3a54
ST
25465 (lrint): Likewise.
25466 (llrintf): Likewise.
25467 (llrint): Likewise.
25468 (rint): Likewise.
25469 (rintf): Likewise.
25470 (nearbyint): Likewise.
25471 (nearbyintf): Likewise.
bdd74070 25472
91d8d69e
AJ
254732012-05-09 Andreas Jaeger <aj@suse.de>
25474 Pedro Alves <palves@redhat.com>
25475
25476 * nscd/nscd.c (run_mode): Use enum.
25477 (main): Cleanup coding style issue.
25478
bb90b80b
AJ
254792012-05-09 Alexandre Oliva <aoliva@redhat.com>
25480 Andreas Jaeger <aj@suse.de>
25481
bcfe3a54
ST
25482 * nscd/nscd.c (go_background): Replaced with...
25483 (run_mode): ... this.
bb90b80b 25484 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25485 (options): Add -F --foreground.
25486 (main): Implement it.
25487 (parse_opt): Parse it.
bb90b80b 25488
1a4b75a1
AJ
254892012-05-09 Andreas Jaeger <aj@suse.de>
25490
25491 [BZ #14083]
25492 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25493 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25494 -Wconversion warning.
25495 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25496 Likewise.
25497
b1cc2472
JM
254982012-05-09 Joseph Myers <joseph@codesourcery.com>
25499
25500 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25501 == 0.
25502 (LC_ALL): Use macro-int-constant.
25503 (LC_COLLATE): Likewise.
25504 (LC_CTYPE): Likewise.
25505 (LC_MESSAGES): Likewise.
25506 (LC_MONETARY): Likewise.
25507 (LC_NUMERIC): Likewise.
25508 (LC_TIME): Likewise.
25509 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25510 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25512 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25513 Specify type.
25514 [C99-based standards] (float_t): Expect type.
25515 [C99-based standards] (double_t): Expect type.
25516 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25517 type.
25518 [C99-based standards] (HUGE_VALL): Likewise.
25519 [C99-based standards] (INFINITY): Likewise.
25520 [C99-based standards] (NAN): Likewise.
25521 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25522 [C99-based standards] (FP_NAN): Likewise.
25523 [C99-based standards] (FP_NORMAL): Likewise.
25524 [C99-based standards] (FP_SUBNORMAL): Likewise.
25525 [C99-based standards] (FP_ZERO): Likewise.
25526 [C99-based standards] (FP_FAST_FMA): Use
25527 optional-macro-int-constant. Specify type. Require == 1.
25528 [C99-based standards] (FP_FAST_FMAF): Likewise.
25529 [C99-based standards] (FP_FAST_FMAL): Likewise.
25530 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25531 [C99-based standards] (FP_ILOGBNAN): Likewise.
25532 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25533 Specify type.
25534 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25535 [C99-based standards] (math_errhandling): Specify type.
25536 [ISO99 || ISO11] (signgam): Do not allow.
25537 [non-C99-based standards] (copysignf): Do not allow.
25538 [non-C99-based standards] (exp2f): Likewise.
25539 [non-C99-based standards] (log2f): Likewise.
25540 [non-C99-based standards] (modff): Allow.
25541 [non-C99-based standards] (erff): Do not allow.
25542 [non-C99-based standards] (erfcf): Likewise.
25543 [non-C99-based standards] (gammaf): Likewise.
25544 [non-C99-based standards] (hypotf): Likewise.
25545 [non-C99-based standards] (j0f): Likewise.
25546 [non-C99-based standards] (j1f): Likewise.
25547 [non-C99-based standards] (jnf): Likewise.
25548 [non-C99-based standards] (lgammaf): Likewise.
25549 [non-C99-based standards] (tgammaf): Likewise.
25550 [non-C99-based standards] (y0f): Likewise.
25551 [non-C99-based standards] (y1f): Likewise.
25552 [non-C99-based standards] (ynf): Likewise.
25553 [non-C99-based standards] (isnanf): Likewise.
25554 [non-C99-based standards] (acoshf): Likewise.
25555 [non-C99-based standards] (asinhf): Likewise.
25556 [non-C99-based standards] (atanhf): Likewise.
25557 [non-C99-based standards] (cbrtf): Likewise.
25558 [non-C99-based standards] (expm1f): Likewise.
25559 [non-C99-based standards] (ilogbf): Likewise.
25560 [non-C99-based standards] (log1pf): Likewise.
25561 [non-C99-based standards] (logbf): Likewise.
25562 [non-C99-based standards] (nextafterf): Likewise.
25563 [non-C99-based standards] (remainderf): Likewise.
25564 [non-C99-based standards] (rintf): Likewise.
25565 [non-C99-based standards] (scalbf): Likewise.
25566 [non-C99-based standards] (copysignl): Likewise.
25567 [non-C99-based standards] (exp2l): Likewise.
25568 [non-C99-based standards] (log2l): Likewise.
25569 [non-C99-based standards] (modfl): Allow.
25570 [non-C99-based standards] (erfl): Do not allow.
25571 [non-C99-based standards] (erfcl): Likewise.
25572 [non-C99-based standards] (gammal): Likewise.
25573 [non-C99-based standards] (hypotl): Likewise.
25574 [non-C99-based standards] (j0l): Likewise.
25575 [non-C99-based standards] (j1l): Likewise.
25576 [non-C99-based standards] (jnl): Likewise.
25577 [non-C99-based standards] (lgammal): Likewise.
25578 [non-C99-based standards] (tgammal): Likewise.
25579 [non-C99-based standards] (y0l): Likewise.
25580 [non-C99-based standards] (y1l): Likewise.
25581 [non-C99-based standards] (ynl): Likewise.
25582 [non-C99-based standards] (isnanl): Likewise.
25583 [non-C99-based standards] (acoshl): Likewise.
25584 [non-C99-based standards] (asinhl): Likewise.
25585 [non-C99-based standards] (atanhl): Likewise.
25586 [non-C99-based standards] (cbrtl): Likewise.
25587 [non-C99-based standards] (expm1l): Likewise.
25588 [non-C99-based standards] (ilogbl): Likewise.
25589 [non-C99-based standards] (log1pl): Likewise.
25590 [non-C99-based standards] (logbl): Likewise.
25591 [non-C99-based standards] (nextafterl): Likewise.
25592 [non-C99-based standards] (remainderl): Likewise.
25593 [non-C99-based standards] (rintl): Likewise.
25594 [non-C99-based standards] (scalbl): Likewise.
25595 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25596 [non-C99-based standards] (FP_*): Do not allow.
25597 [C99-based standards] (FP_*): Change to
25598 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25599 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25600 allow.
25601 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25602 (SIG_ERR): Likewise.
25603 [X/Open-based standards] (SIG_HOLD): Likewise.
25604 (SIG_IGN): Likewise.
25605 (SIGABRT): Use macro-int-constant. Specify type. Require
25606 positive value.
25607 (SIGFPE): Likewise.
25608 (SIGILL): Likewise.
25609 (SIGINT): Likewise.
25610 (SIGSEGV): Likewise.
25611 (SIGTER): Likewise.
25612 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25613 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25614 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25615 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25616 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25617 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25618 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25619 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25620 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25621 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25622 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25623 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25624 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25625 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25626 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25627 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25628 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25629 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25630 [X/Open-based standards] (SIGTRAP): Likewise.
25631 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25632 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25633 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25634 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25635 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25636 allow.
25637
b9f1922d
IW
256382012-05-08 Ian Wienand <ianw@vmware.com>
25639
25640 [BZ #14080]
25641 * time/tzset.c (__tzset_parse_tz): Update default rules for
25642 daylight time changes in the Energy Policy Act of 2005.
25643
1db86e88
AJ
256442012-05-09 Andreas Jaeger <aj@suse.de>
25645
25646 [BZ #13983]
25647 * elf/ldconfig.c (parse_conf): Change string to make clear that
25648 ldconfig only issued a warning if ld.so.conf does not exist.
25649
dee4a4e3
DM
256502012-05-08 David S. Miller <davem@davemloft.net>
25651
ee0db190
DM
25652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25653 movxtod instead of popping the value on the stack.
25654
dee4a4e3
DM
25655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25656
6a43ec98
CD
256572012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25658
25659 * config.h.in: Add HAVE_ARM_PCS_VFP.
25660
05c2c961
RMG
256612012-05-08 Roland Mc Grath <roland@hack.frob.com>
25662
bcfe3a54
ST
25663 [BZ #13979]
25664 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25665 checking but the checks are disabled for any reason.
05c2c961 25666
4b30f61a
L
256672012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25668
25669 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25670 and ELF64_R_TYPE with ELFW(R_TYPE).
25671
eee2bc67
JM
256722012-05-08 Joseph Myers <joseph@codesourcery.com>
25673
7ea5391a
JM
25674 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25675 (ulimit): Likewise.
25676
eee2bc67
JM
25677 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25678 (settimeofday): Likewise.
25679
abb66a67
MF
256802012-05-08 Mike Frysinger <vapier@gentoo.org>
25681
25682 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25683 a struct th_u2 inside the union, and move tu_block/tu_code into
25684 a new th_u3 union of tu_block/tu_code inside of that. Move
25685 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25686 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25687 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25688 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25689 (th_stuff): Change to th_u1.tu_stuff.
25690 (th_data): Define.
25691 (th_msg): Change to th_u1.th_u2.tu_data.
25692
7f18b530
DM
256932012-05-07 David S. Miller <davem@davemloft.net>
25694
05760585
DM
25695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25696
7f18b530
DM
25697 [BZ #14074]
25698 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25699 (SETUP_PIC_REG): Use it.
25700 (SETUP_PIC_REG_LEAF): Use it.
25701
495fd99f
JM
257022012-05-07 Joseph Myers <joseph@codesourcery.com>
25703
25704 [BZ #13885]
25705 [BZ #13923]
25706 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25707 USE_AS_EXPM1L.
25708 (EXPL_FINITE): Likewise.
25709 (FLDLOG): Likewise.
25710 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25711 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25712 e_expl.S.
25713 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25714 USE_AS_EXPM1L.
25715 (EXPL_FINITE): Likewise.
25716 (FLDLOG): Likewise.
25717 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25718 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25719 e_expl.S.
25720 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25721 test of -max_value argument for long double.
25722 * sysdeps/i386/fpu/libm-test-ulps: Update.
25723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25724
6693d694
DM
257252012-05-06 David S. Miller <davem@davemloft.net>
25726
25727 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25728 quad soft-float symbols whose references which are compiler
25729 generated.
25730 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25731
6c23e11c
JM
257322012-05-06 Joseph Myers <joseph@codesourcery.com>
25733
d8b82cad
JM
25734 [BZ #13884]
25735 [BZ #13914]
25736 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25737 USE_AS_EXP10L.
25738 (EXPL_FINITE): Likewise.
25739 (FLDLOG): Likewise.
25740 (c0): Likewise.
25741 (c1): Likewise.
25742 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25743 Adjust comments for base varying.
25744 (__expl_finite): Change alias to EXPL_FINITE.
25745 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25746 e_expl.S.
25747 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25748 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25749 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25750 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25751 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25752 USE_AS_EXP10L.
25753 (EXPL_FINITE): Likewise.
25754 (FLDLOG): Likewise.
25755 (c0): Likewise.
25756 (c1): Likewise.
25757 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25758 Adjust comments for base varying.
25759 (__expl_finite): Change alias to EXPL_FINITE.
25760 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25761 tests for bugs.
25762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25763
6c23e11c
JM
25764 [BZ #14064]
25765 * math/libm-test.inc (check_float_internal): Correct ulp
25766 calculation for subnormal expected results.
25767
29ba805c
AJ
257682012-05-06 Andreas Jaeger <aj@suse.de>
25769
25770 * Makeconfig (+math-flags): New, set to -frounding-math.
25771 (+cflags): Add +math-flags so that all of glibc gets compiled with
25772 it.
25773
25774 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25775
7b17aeda
JM
257762012-05-05 Joseph Myers <joseph@codesourcery.com>
25777
5779f134
JM
25778 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25779 Disable one test.
25780
41498f4d
JM
25781 [BZ #13787]
25782 [BZ #13922]
25783 [BZ #14036]
25784 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25785 (__ieee754_expl): Allow for and saturate large arguments.
25786 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25787 (u_threshold): Likewise.
25788 (__exp): Call __ieee754_exp before checking for overflow and
25789 underflow.
25790 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25791 (u_threshold): Likewise.
25792 (__expf): Call __ieee754_expf before checking for overflow and
25793 underflow.
25794 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25795 (u_threshold): Likewise.
25796 (__expl): Call __ieee754_expl before checking for overflow and
25797 underflow.
25798 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25799 (__ieee754_expl): Allow for and saturate large arguments.
25800 * math/libm-test.inc (exp_test): Add another test. Do not allow
25801 missing overflow exception on overflow.
25802 (expm1_test): Do not allow missing overflow exception on overflow.
25803
6698b8bf
JM
25804 * sysdeps/i386/fpu/e_expl.c: Move to ...
25805 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25806 rather than using inline asm.
25807 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25808 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25809 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25810
7b17aeda
JM
25811 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25812 (nice): Likewise.
25813 (poll): Likewise.
25814 (signal): Likewise.
25815 (time): Likewise.
25816 (times): Likewise.
25817
f7c85819
JM
258182012-05-04 Joseph Myers <joseph@codesourcery.com>
25819
25820 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25821 sysdeps/unix/common/syscalls.list.
25822 (fchmod): Likewise.
25823 (fchown): Likewise.
25824 (ftruncate): Likewise.
25825 (getrusage): Likewise.
25826 (gettimeofday): Likewise.
25827 (setpgid): Likewise.
25828 (setregid): Likewise.
25829 (setreuid): Likewise.
25830 (sigaction): Likewise.
25831 (truncate): Likewise.
25832 (vhangup): Likewise.
25833 * sysdeps/unix/common/syscalls.list: Remove file.
25834 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25835 * sysdeps/unix/sysv/linux/Implies: Likewise.
25836
336270d0
L
258372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25838
25839 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25841 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25842 Moved to ...
25843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25844 Here.
25845 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25846 to ...
25847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25848 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25849 to ...
25850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25851 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25852 to ...
25853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25854 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25855 to ...
25856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25857 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25858 to ...
25859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25860 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25861 to ...
25862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25863 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25864 to ...
25865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25866 Here.
25867 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25868 to ...
25869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25870 Here.
25871 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25872 to ...
25873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25874 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25875 Moved to ...
25876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25877 Here.
25878 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25879 to ...
25880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25881
d128e450
JM
258822012-05-04 Joseph Myers <joseph@codesourcery.com>
25883
fa8ee516
JM
25884 * sysdeps/unix/common/bits/dirent.h: Remove file.
25885 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25886
d128e450
JM
25887 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25888 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25889 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25890 * sysdeps/unix/bsd/isatty.c: Likewise.
25891 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25892 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25893 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25894
ff8faaf0 258952012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25896
62881be4 25897 [BZ #13563]
31dc8730
AZ
25898 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25899 long double comparison inaccuracies.
25900 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25902
6fef930c
AS
259032012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25904
25905 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25906 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25907
8f203e6c
JM
259082012-05-04 Joseph Myers <joseph@codesourcery.com>
25909
25910 [BZ #14049]
25911 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25912 nonzero digits before rounding a hex value.
25913 * stdlib/tst-strtod.c (tests): Add another test.
25914
5197d9c2
AK
259152012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25916
25917 * sysdeps/s390/fpu/libm-test-ulps: Update.
25918
f0c1dedf
AJ
259192012-05-03 Andreas Jaeger <aj@suse.de>
25920
25921 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25922 does not get optimized out.
25923 (malloc_opt_barrier): New.
25924
a65ef2ae 259252012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25926 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25927
2b942cb7 25928 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25929 intermediate file deletion.
2b942cb7 25930 (generated): Add .symlist files.
a65ef2ae 25931
54b71e02
JM
259322012-05-03 Joseph Myers <joseph@codesourcery.com>
25933
25934 [BZ #13775]
25935 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25936 Redirect under this condition.
25937 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25938 [__USE_GNU] (__dprintf_chk): Not under this condition.
25939 [__USE_GNU] (__vdprintf_chk): Likewise.
25940 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25941 under this condition.
25942 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25943 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25944 [__USE_XOPEN2K8] (vdprintf): Likewise.
25945 [__USE_GNU] (__dprintf_chk): Not under this condition.
25946 [__USE_GNU] (__vdprintf_chk): Likewise.
25947 [__USE_GNU] (dprintf): Likewise.
25948 [__USE_GNU] (vdprintf): Likewise.
25949
d3dfcc41
RM
259502012-05-03 Roland McGrath <roland@hack.frob.com>
25951
25952 * elf/Makefile (common-generated): Set this instead of generated for
25953 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25954 $(all-built-dso)-derived lists.
25955
7ac30cc5
AJ
259562012-05-03 Andreas Jaeger <aj@suse.de>
25957
0c51e550
AJ
25958 * sysdeps/i386/fpu/libm-test-ulps: Update.
25959
7ac30cc5
AJ
25960 * FAQ: Removed.
25961 * FAQ.in: Likewise.
25962 * scripts/gen-FAQ.pl: Likewise.
25963 * manual/install.texi (Installation): Point to online location of
25964 FAQ.
25965 * Makefile (files-for-dist): Remove FAQ.
25966 (FAQ): Remove.
25967
d4c2917f
AM
259682012-05-02 Allan McRae <allan@archlinux.org>
25969
25970 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25971 (LDFLAGS-reldepmod5.so): Likewise.
25972 (LDFLAGS-reldep6mod1.so): Likewise.
25973 (LDFLAGS-reldep6mod4.so): Likewise.
25974 (LDFLAGS-reldep8mod3.so): Likewise.
25975 (LDFLAGS-unload4mod1.so): Likewise.
25976 (LDFLAGS-unload4mod2.so): Likewise.
25977 (LDFLAGS-tst-initorder): Likewise.
25978 (LDFLAGS-tst-initordera2.so): Likewise.
25979 (LDFLAGS-tst-initordera3.so): Likewise.
25980 (LDFLAGS-tst-initordera4.so): Likewise.
25981 (LDFLAGS-tst-initorderb2.so): Likewise.
25982 (LDFLAGS-noload): Likewise.
25983 (LDFLAGS-next): Likewise.
25984 (LDFLAGS-order2mod1.so): Likewise.
25985 (LDFLAGS-order2mod2.so): Likewise.
25986 (LDFLAGS-tst-initorder2): Likewise.
25987 (LDFLAGS-tst-initorder2a.so): Likewise.
25988 (LDFLAGS-tst-initorder2b.so): Likewise.
25989 (LDFLAGS-tst-initorder2c.so): Likewise.
25990 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25991
d77f993f
DM
259922012-05-02 David S. Miller <davem@davemloft.net>
25993
25994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25995
171a70b4
PP
259962012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25997
25998 [BZ #14055]
25999 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26000
0be196ad
AJ
260012012-05-02 Andreas Jaeger <aj@suse.de>
26002
26003 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26004 since we manipulate rounding mode.
26005 (CPPFLAGS-test-idouble.c): Likewise.
26006 (CPPFLAGS-test-ifloat.c): Likewise.
26007 (CFLAGS-test-ldouble.c): Likewise.
26008 (CFLAGS-test-double.c): Likewise.
26009 (CFLAGS-test-float.c): Likewise.
26010 (CFLAGS-test-misc.c): Likewise.
26011 (CFLAGS-test-test-fenv.c): Likewise.
26012
4f9d04aa
AZ
260132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26014
2b942cb7
RM
26015 [BZ #2550]
26016 [BZ #2570]
26017 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26018 comparisons to determine direction to adjust input.
4f9d04aa 26019
82a79e7d
RM
260202012-05-01 Roland McGrath <roland@hack.frob.com>
26021
f5a01ca9
RM
26022 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26023 output to the target.
26024
90fe4186
RM
26025 * scripts/localplt.awk: New file.
26026 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26027 (check-localplt-CFLAGS): Variable removed.
26028 ($(all-built-dso:=.jmprel)): New static pattern rule.
26029 (generated): Add those targets.
26030 (localplt-built-dso): New variable.
26031 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26032
26033 * elf/check-localplt.c: File removed.
26034
82397ed6
RM
26035 * scripts/check-execstack.awk: New file.
26036 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26037 (check-execstack-CFLAGS): Variable removed.
26038 ($(objpfx)check-execstack.h): Target removed.
26039 ($(objpfx)execstack-default): New target.
26040 (generated): Add that instead of check-execstack.h.
26041 ($(all-built-dso:=.phdr)): New static pattern rule.
26042 (generated): Add those targets.
26043 * elf/check-execstack.c: File removed.
26044
82a79e7d
RM
26045 * scripts/check-textrel.awk: New file.
26046 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26047 (check-textrel-CFLAGS): Variable removed.
26048 (all-built-dso): Use := to define.o
26049 ($(all-built-dso:=.dyn)): New static pattern rule.
26050 (generated): Add those targets.
26051 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26052 * config.make.in (READELF): New substituted variable.
26053 * elf/check-textrel.c: File removed.
26054
62fde54f 260552012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 26056
615605c9
JM
26057 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26058 allow.
26059 * conform/data/ctype.h-data [C99-based standards] (isblank):
26060 Expect function.
26061 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26062 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26063 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26064 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26065 Specify type. Require positive value.
26066 (EILSEQ): Likewise.
26067 (ERANGE): Likewise.
26068 [ISO || POSIX] (EILSEQ): Do not expect.
26069 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26070 Specify type. Require positive value.
26071 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26072 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26073 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26074 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26075 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26076 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26077 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26078 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26079 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26080 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26081 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26082 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26083 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26084 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26085 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26086 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26087 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26088 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26089 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26090 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26091 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26092 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26093 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26094 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26095 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26096 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26097 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26098 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26099 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26100 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26101 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26102 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26103 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26104 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26105 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26106 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26107 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26108 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26109 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26110 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26111 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26112 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26113 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26114 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26115 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26116 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26117 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26118 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26119 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26120 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26121 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26122 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26123 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26124 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26125 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26126 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26127 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26128 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26129 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26130 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26131 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26132 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26133 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26134 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26135 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26136 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26137 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26138 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26139 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26140 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26141 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26142 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26143 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26144 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26145 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26146 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26147 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26148 Require >= 2.
26149 (FLT_ROUNDS): Expect as macro, not constant.
26150 (FLT_MANT_DIG): Use macro-int-constant.
26151 (DBL_MANT_DIG): Likewise.
26152 (LDBL_MANT_DIG): Likewise.
26153 (FLT_DIG): Likewise.
26154 (DBL_DIG): Likewise.
26155 (LDBL_DIG): Likewise.
26156 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26157 (DBL_MIN_EXP): Likewise.
26158 (LDBL_MIN_EXP): Likewise.
26159 (FLT_MAX_EXP): Use macro-int-constant.
26160 (DBL_MAX_EXP): Likewise.
26161 (LDBL_MAX_EXP): Likewise.
26162 (FLT_MAX_10_EXP): Likewise.
26163 (DBL_MAX_10_EXP): Likewise.
26164 (LDBL_MAX_10_EXP): Likewise.
26165 (FLT_MAX): Use macro-constant.
26166 (DBL_MAX): Likewise.
26167 (LDBL_MAX): Likewise.
26168 (FLT_EPSILON): Use macro-constant. Give upper bound.
26169 (DBL_EPSILON): Likewise.
26170 (LDBL_EPSILON): Likewise.
26171 (FLT_MIN): Likewise.
26172 (DBL_MIN): Likewise.
26173 (LDBL_MIN): Likewise.
26174 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26175 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26176 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26177 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26178 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26179 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26180 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26181 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26182 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26183 [ISO11] (FLT_TRUE_MIN): Likewise.
26184 [ISO11] (LDBL_TRUE_MIN): Likewise.
26185 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26186 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26187 (SCHAR_MIN): Use macro-int-constant. Specify type.
26188 (SCHAR_MAX): Likewise.
26189 (UCHAR_MAX): Likewise.
26190 (CHAR_MIN): Likewise.
26191 (CHAR_MAX): Likewise.
26192 (MB_LEN_MAX): Use macro-int-constant.
26193 (SHRT_MIN): Use macro-int-constant. Specify type.
26194 (SHRT_MAX): Likewise.
26195 (USHRT_MAX): Likewise.
26196 (INT_MAX): Likewise.
26197 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26198 bound negative.
26199 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26200 bound with "U".
26201 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26202 bound with "L".
26203 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26204 bound negative. Suffix upper bound with "L".
26205 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26206 bound with "UL".
26207 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26208 Specify type.
26209 [C99-based standards] (LLONG_MAX): Likewise.
26210 [C99-based standards] (ULLONG_MAX): Likewise.
26211 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26212 == 0.
26213 [ISO11] (max_align_t): Require type.
26214 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26215
c9140a62
JM
26216 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26217 from $CFLAGS, without defining away __attribute__ calls.
26218 (checknamespace): Use $CFLAGS_namespace.
26219
9af0bf29
JM
26220 * conform/conformtest.pl (@keywords): Only include C99 keywords
26221 for standards based on C99 or C11.
26222
343222a2
JM
26223 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26224 Disable tests.
26225 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26226 UNIX98]: Likewise.
26227
661f8cf0
JM
26228 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26229 usability of symbols in #if.
26230
ee74b9cb
JM
26231 * conform/conformtest.pl: If macro or constant types start
26232 "promoted:", expect the symbol to be of the following type
26233 promoted by the integer promotions.
62fde54f 26234
aafc49b3
JM
26235 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26236 in one place. Also handle "macro-constant".
26237
fefdf574
JM
26238 * conform/conformtest.pl: Only accept expected macro values with
26239 "==". Parse all "macro" lines in one place.
26240 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26241
f2d922fe
JM
26242 * conform/conformtest.pl: Handle braced types on "constant" lines
26243 instead of handling "typed-constant".
26244 * conform/data/signal.h-data: Use "constant" instead of
26245 "typed-constant".
26246
d22956c9
JM
26247 * conform/conformtest.pl: Handle "optional-" at start of lines in
26248 one place rather than duplicating several cases. Handle each
26249 format of "macro" line with initial "optional-".
26250
028e2e38
JM
26251 * conform/conformtest.pl: Only accept expected constant or
26252 optional-constant values with "==". Parse all "constant" lines in
26253 one place. Parse all "optional-constant" lines in one place.
26254 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26255 * conform/data/fmtmsg.h-data: Likewise.
26256 * conform/data/netinet/in.h-data: Likewise.
26257 * conform/data/tar.h-data: Likewise.
26258 * conform/data/limits.h-data: Use "==" form on "constant" and
26259 "optional-constant" lines.
26260
1b8f2850
JM
26261 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26262 Use -std=c99 for XOPEN2K.
26263 (@knownproblems): Remove.
26264 (newtoken): Don't check %isknown.
26265
a05a144b
JM
26266 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26267 Do not expect macro.
26268 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26269 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26270 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26271 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26272 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26274 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26275 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26276 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26277 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26278 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26279 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26280 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26281 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26282 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26283 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26284 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26285 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26286 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26287 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26288 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26289 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26290 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26291 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26292 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26293 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26294 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26295 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26296 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26297 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26298 [XPG3] (acosh): Likewise.
26299 [XPG3] (asinh): Likewise.
26300 [XPG3] (atanh): Likewise.
26301 [XPG3] (cbrt): Likewise.
26302 [XPG3] (expm1): Likewise.
26303 [XPG3] (ilogb): Likewise.
26304 [XPG3] (log1p): Likewise.
26305 [XPG3] (logb): Likewise.
26306 [XPG3] (nextafter): Likewise.
26307 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26308 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26309 [XPG3] (remainder): Likewise.
26310 [XPG3] (rint): Likewise.
26311 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26312 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26313 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26314 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26315 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26316 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26317 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26318 [UNIX98 || XOPEN2K] (scalb): Expect.
26319 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26320 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26321 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26322 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26323 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26324 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26325 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26326 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26327 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26328 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26329 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26330 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26331 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26332 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26333 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26334 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26335 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26336 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26337 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26338 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26339 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26340 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26341 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26342 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26343 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26344 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26345 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26346 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26347 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26348 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26349 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26350 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26351 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26352 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26353 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26354 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26355 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26356 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26357 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26358 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26359 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26360 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26361 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26362 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26363 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26364 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26365 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26366 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26367 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26368 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26369 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26370 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26371 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26372 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26373 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26374 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26375 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26376 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26377 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26378 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26379 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26380 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26381 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26382 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26383 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26384 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26385 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26386 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26387 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26388 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26389 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26390 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26391 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26392 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26393 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26394 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26395 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26396 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26397 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26398 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26399 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26400 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26401 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26402 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26403 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26404 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26405 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26406 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26407 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26408 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26409 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26410 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26411 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26412 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26413 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26414 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26415 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26416 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26417 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26418 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26419 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26420 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26421 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26422 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26423 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26424 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26425 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26426 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26427 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26428 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26429 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26430 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26431 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26432 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26433 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26434 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26435 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26436 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26437 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26438 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26439 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26440 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26441 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26442 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26443 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26444 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26445 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26446 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26447 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26448 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26449 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26450 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26451 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26452 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26453 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26454 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26455 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26456
73c5ebe3
JM
26457 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26458 _XOPEN_SOURCE_EXTENDED for XPG4.
26459
39c33b6c
JM
26460 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26461
62fde54f
JM
26462 * Makeconfig (localtime): Remove variable.
26463 (inst_localtime-file): Likewise.
26464
0741d64c
AS
264652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26466
26467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26468 Update.
26469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26470 Update.
26471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26472 Update.
26473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26474 Update.
26475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26476 Update.
26477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26478 Update.
26479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26480 Update.
26481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26482 Update.
26483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26484 Update.
26485
7cb029ee
JM
264862012-05-01 Joseph Myers <joseph@codesourcery.com>
26487
26488 [BZ #2550]
26489 [BZ #2570]
26490 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26491 comparisons to determine direction to adjust input.
26492 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26493 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26494 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26495 Likewise.
26496 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26497 Likewise.
26498 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26499 Likewise.
26500 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26501 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26502 Likewise.
26503 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26504 Likewise.
26505 * math/libm-test.inc (nexttoward_test): Add more tests.
26506
412bd966
AS
265072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26508
26509 [BZ #14040]
26510 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26511 in version GLIBC_2.1, not GLIBC_2.0.
26512 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26513 Likewise.
26514
9568c0c2
JM
265152012-04-30 Joseph Myers <joseph@codesourcery.com>
26516
adfbc8ac
JM
26517 [BZ #13942]
26518 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26519 (1 - x) * (1 + x).
26520 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26521 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26522 * math/libm-test.inc (acos_test): Add more tests.
26523 (asin_test): Likewise.
26524 * sysdeps/i386/fpu/libm-test-ulps: Update.
26525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26526
5ba3cc69
JM
26527 [BZ #14034]
26528 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26529 of square root.
26530 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26531 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26532 * math/libm-test.inc (acos_test_tonearest): New function.
26533 (acos_test_towardzero): Likewise.
26534 (acos_test_downward): Likewise.
26535 (acos_test_upward): Likewise.
26536 (asin_test_tonearest): Likewise.
26537 (asin_test_towardzero): Likewise.
26538 (asin_test_downward): Likewise.
26539 (asin_test_upward): Likewise.
26540 (main): Call the new functions.
26541 * sysdeps/i386/fpu/libm-test-ulps: Update.
26542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26543
9568c0c2
JM
26544 [BZ #13884]
26545 [BZ #13924]
26546 * math/e_exp10.c: Include <float.h>.
26547 (__ieee754_exp10): Handle underflow here rather than multiplying
26548 large negative argument by M_LN10.
26549 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26550 of __ieee754_expf.
26551 * math/e_exp10l.c: Include <float.h>.
26552 (__ieee754_exp10l): Handle underflow here rather than multiplying
26553 large negative argument by M_LN10l.
26554 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26555 spurious overflow exception on underflow.
26556
5ac3ea17
MP
265572012-04-29 Marek Polacek <polacek@redhat.com>
26558
26559 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26560 (__fortify_function): New macro.
26561 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26562 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26563 __extern_always_inline.
26564 * libio/bits/stdio2.h: Likewise.
26565 * libio/bits/stdio.h: Likewise.
26566 * string/string.h: Likewise.
26567 * string/bits/string3.h: Likewise.
26568 * include/stdio.h: Likewise.
26569 * stdlib/bits/stdlib.h: Likewise.
26570 * stdlib/stdlib.h: Likewise.
26571 * rt/bits/mqueue2.h: Likewise.
26572 * rt/mqueue.h: Likewise.
26573 * posix/bits/unistd.h: Likewise.
26574 * posix/unistd.h: Likewise.
26575 * io/bits/poll2.h: Likewise.
26576 * io/bits/fcntl2.h: Likewise.
26577 * io/fcntl.h: Likewise.
26578 * io/sys/poll.h: Likewise.
26579 * misc/bits/syslog.h: Likewise.
26580 * misc/bits/syslog-ldbl.h: Likewise.
26581 * misc/sys/syslog.h: Likewise.
26582 * socket/bits/socket2.h: Likewise.
26583 * socket/sys/socket.h: Likewise.
26584 * debug/tst-chk1.c: Likewise.
26585 * wcsmbs/bits/wchar2.h: Likewise.
26586 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26587 * wcsmbs/wchar.h: Likewise.
26588
ecf0ebfb
AJ
265892012-04-29 Andreas Jaeger <aj@suse.de>
26590
26591 * Makerules (tests): Remove enable-check-abi protection.
26592 (check-abi-warn): Remove.
26593 (check-abi-%): Remove check-abi-warn usage.
26594
26595 * configure.in: Remove check-abi configure option.
26596 * configure: Regenerated.
26597 * config.make.in (enable-check-abi): Remove.
26598
6d5c57fa
AS
265992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26600
24c5d07e 26601 [BZ #14033]
ded5180a
AS
26602 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26603 double functions to double *_finite functions.
26604
7e0d315d
AS
26605 [BZ #13941]
26606 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26607 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26608 LDBL_MIN_EXP.
26609 * stdio-common/Makefile (tests): Add tst-sprintf3.
26610 * stdio-common/tst-sprintf3.c: New file.
26611
6d5c57fa
AS
26612 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26613 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26614
0749ff8b
JM
266152012-04-28 Joseph Myers <joseph@codesourcery.com>
26616
26617 * conform/conformtest.pl: Remove duplicate typed-constant
26618 handling.
26619
8dbd5d7b
DM
266202012-04-28 David S. Miller <davem@davemloft.net>
26621
26622 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26623 (check-abi-%): Remove AWK script prerequisite and explicit
26624 abilist directory.
26625 (check-abi): Rewrite to just diff the symlist with the abilist.
26626 (config-tls, config-abi-config): Delete, no longer used.
26627 (update-abi-%): Remove AWK script and explicit abilist directory.
26628 (update-abi): Rewrite to simply compare and conditionally copy the
26629 symlist and the sysdep abilist file. Remove update-abi-config
26630 checks.
26631 * abilist/ld.abilist: Remove.
26632 * abilist/libBrokenLocale.abilist: Remove.
26633 * abilist/libanl.abilist: Remove.
26634 * abilist/libcrypt.abilist: Remove.
26635 * abilist/libdl.abilist: Remove.
26636 * abilist/librt.abilist: Remove.
26637 * abilist/libthread_db.abilist: Remove.
26638 * abilist/libutil.abilist: Remove.
26639 * scripts/extract-abilist.awk: Remove.
26640 * scripts/merge-abilist.awk: Remove.
26641 * sysdeps/generic/libcidn.abilist: New file.
26642 * sysdeps/generic/libnss_compat.abilist: New file.
26643 * sysdeps/generic/libnss_db.abilist: New file.
26644 * sysdeps/generic/libnss_dns.abilist: New file.
26645 * sysdeps/generic/libnss_files.abilist: New file.
26646 * sysdeps/generic/libnss_hesiod.abilist: New file.
26647 * sysdeps/generic/libnss_nis.abilist: New file.
26648 * sysdeps/generic/libnss_nisplus.abilist: New file.
26649 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26650 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26651 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26652 file.
26653 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26654 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26655 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26656 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26657 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26658 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26659 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26660 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26661 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26662 file.
26663 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26664 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26665 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26666 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26667 file.
26668 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26669 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26670 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26671 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26672 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26673 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26674 file.
26675 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26676 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26677 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26678 file.
26679 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26681 New file.
26682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26683 New file.
26684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26685 New file.
26686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26687 New file.
26688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26689 New file.
26690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26691 New file.
26692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26693 New file.
26694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26695 New file.
26696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26697 New file.
26698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26699 New file.
26700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26701 New file.
26702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26703 New file.
26704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26705 New file.
26706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26707 file.
26708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26709 New file.
26710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26711 New file.
26712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26713 file.
26714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26715 New file.
26716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26717 New file.
26718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26719 file.
26720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26721 New file.
26722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26723 New file.
26724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26725 New file.
26726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26727 New file.
26728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26729 New file.
26730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26731 New file.
26732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26734 file.
26735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26736 New file.
26737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26738 file.
26739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26740 file.
26741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26742 file.
26743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26744 file.
26745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26746 file.
26747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26748 New file.
26749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26750 file.
26751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26752 file.
26753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26754 New file.
26755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26756 file.
26757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26759 file.
26760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26761 New file.
26762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26763 file.
26764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26765 file.
26766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26767 file.
26768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26769 file.
26770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26771 file.
26772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26773 New file.
26774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26775 file.
26776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26777 file.
26778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26779 New file.
26780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26781 file.
26782 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26783 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26784 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26785 file.
26786 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26787 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26788 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26789 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26790 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26791 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26792 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26793 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26794 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26795 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26798 file.
26799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26800 New file.
26801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26802 file.
26803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26804 file.
26805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26806 file.
26807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26808 file.
26809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26810 file.
26811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26812 New file.
26813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26814 New file.
26815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26816 file.
26817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26818 New file.
26819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26820 file.
26821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26823 file.
26824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26825 New file.
26826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26827 file.
26828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26829 file.
26830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26831 file.
26832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26833 file.
26834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26835 file.
26836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26837 New file.
26838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26839 New file.
26840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26841 file.
26842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26843 New file.
26844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26845 file.
26846
41d73a1b
JM
268472012-04-28 Joseph Myers <joseph@codesourcery.com>
26848
26849 * conform/conformtest.pl: Fix typo in handling typed-constant from
26850 allow-header.
26851
28aeeda4
JM
268522012-04-27 Joseph Myers <joseph@codesourcery.com>
26853
adae8f5e
JM
26854 * README: Cut down references to pre-2.6 Linux kernels and
26855 Linuxthreads. Update lists of configurations in libc and ports
26856 and sort alphabetically. Say "or newer" with Linux kernel version
26857 requirements.
26858
28aeeda4
JM
26859 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26860
a462cb63
RA
268612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26862
26863 [BZ #887]
26864 * math/libm-test.inc (logb_test_downward): New test to expose
26865 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26866 rounding mode.
26867
6ad3493e
JM
268682012-04-27 Joseph Myers <joseph@codesourcery.com>
26869
26870 [BZ #14027]
26871 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26872 to be done.
26873 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26874 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26875
2ce4f015
JM
268762012-04-26 Joseph Myers <joseph@codesourcery.com>
26877
5aeb141a
JM
26878 * sysdeps/unix/i386/brk.S: Remove file.
26879 * sysdeps/unix/i386/dl-brk.S: Likewise.
26880 * sysdeps/unix/i386/pipe.S: Likewise.
26881 * sysdeps/unix/i386/sigreturn.S: Likewise.
26882 * sysdeps/unix/i386/syscall.S: Likewise.
26883 * sysdeps/unix/i386/vfork.S: Likewise.
26884 * sysdeps/unix/i386/wait.S: Likewise.
26885
7143acae
JM
26886 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26887 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26888
2ce4f015
JM
26889 * configure.in (arm*-none*): Do not allow without
26890 --enable-hacker-mode.
26891 (netbsd*): Remove case setting base_os.
26892 (386bsd*): Likewise.
26893 (freebsd*): Likewise.
26894 (bsdi*): Likewise.
26895 (osf*): Likewise.
26896 (sunos*): Likewise.
26897 (ultrix*): Likewise.
26898 (newsos*): Likewise.
26899 (dynix*): Likewise.
26900 (*bsd*): Likewise.
26901 (sysv*): Likewise.
26902 (isc*): Likewise.
26903 (esix*): Likewise.
26904 (sco*): Likewise.
26905 (minix*): Likewise.
26906 (irix4*): Likewise.
26907 (irix6*): Likewise.
26908 (solaris[2-9]*): Likewise.
26909 (none): Likewise.
26910 * configure: Regenerated.
26911
0ac229c8
AZ
269122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26913
26914 [BZ #11521]
26915 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26916 overflow or cancellation in calculating denominator.
26917 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26918 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26919 down expression to avoid unexpected rounding in newer GCCs.
26920 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26921
33f244f4
DM
269222012-04-26 David S. Miller <davem@davemloft.net>
26923
26924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26925 long-double compat symbols.
26926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26939
cfa1f3e8
DM
269402012-04-25 David S. Miller <davem@davemloft.net>
26941
26942 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26943 HWCAP_* values only after the memory barriers have been defined.
26944 (atomic_full_barrier): Define.
26945 (atomic_read_barrier): Define.
26946 (atomic_write_barrier): Define.
26947
6e236b92
SP
269482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26949
26950 * shlib-versions: Add libgcc_s version information.
26951 * sysdeps/generic/libgcc_s.h: Remove.
26952 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26953 libgcc_s.h.
26954 * sysdeps/gnu/unwind-resume.c: Likewise.
26955 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26956
aab39a09
DM
269572012-04-25 David S. Miller <davem@davemloft.net>
26958
26959 * sysdeps/unix/sparc/brk.S: Delete.
26960 * sysdeps/unix/sparc/dl-brk.S: Delete.
26961 * sysdeps/unix/sparc/pipe.S: Delete.
26962 * sysdeps/unix/sparc/sysdep.S: Delete.
26963 * sysdeps/unix/sparc/sysdep.h: Delete.
26964 * sysdeps/unix/sparc/vfork.S: Delete.
26965 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26966 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26967 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26968 ret_ERRVAL, r0, r1, MOVE): Define.
26969 (JUMPTARGET): Remove.
26970 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26971 sysdeps/unix/sparc/sysdep.h
26972 (ENTRY, END): Remove.
26973 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26974
a3cc4f48
JM
269752012-04-25 Joseph Myers <joseph@codesourcery.com>
26976
2ed8cda2
JM
26977 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26978 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26979 -DIS_IN_build.
26980
35d76d59
JM
26981 * timezone/README: Update upstream location and email address for
26982 tzcode and tzdata.
26983 * timezone/zdump.c: Update from tzcode 2012b.
26984 * timezone/zic.c: Likewise.
26985
a3cc4f48
JM
26986 * configure.in (libc_cv_as_needed): Remove test.
26987 * configure: Regenerated.
26988 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26989 conditional definition.
26990 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26991 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26992 * config.make.in (have-as-needed): Remove variable.
26993
ceab42c3
SP
269942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26995 Paul Pluzhnikov <ppluzhnikov@google.com>
26996
26997 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26998 strings correctly.
26999
3ce2865f
CLT
270002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27001
27002 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27003 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27004 * sysdeps/sh/strlen.S: Likewise.
27005
f37e0d68
JM
270062012-04-24 Joseph Myers <joseph@codesourcery.com>
27007
ae186e9a
JM
27008 * sysdeps/unix/fork.S: Remove file.
27009 * sysdeps/unix/i386/fork.S: Likewise.
27010 * sysdeps/unix/sparc/fork.S: Likewise.
27011
b96914af
JM
27012 * sysdeps/unix/system.c: Remove file.
27013 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27014
f37e0d68
JM
27015 * sysdeps/unix/getegid.S: Remove file.
27016 * sysdeps/unix/geteuid.S: Likewise.
27017
87ef29ca
RM
270182012-04-24 Roland McGrath <roland@hack.frob.com>
27019
83bcd236
RM
27020 * scripts/check-localplt.awk: New file.
27021 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27022 of diff.
27023 * scripts/data/localplt-generic.data: Add a comment.
27024
87ef29ca
RM
27025 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27026 NODE when __dir_mkfile failed.
27027 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27028 Reported by Ludovic Courtès <ludo@gnu.org>.
27029
e5a6e567
AJ
270302012-04-24 Andreas Jaeger <aj@suse.de>
27031
27032 * Makerules (common-clean): Also remove gen-as-const-headers
27033 files.
27034
c1820385
JM
270352012-04-24 Joseph Myers <joseph@codesourcery.com>
27036
27037 * Makerules (native-compile): Do not change working directory for
27038 build. Use $(OUTPUT_OPTION) in command.
27039 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27040
94e02fc4
AZ
270412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27042
27043 [BZ #13886]
27044 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27045 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27046 * math/libm-test.inc (floor_test): Add more tests.
27047 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27048
3a533ca3
JM
270492012-04-24 Joseph Myers <joseph@codesourcery.com>
27050
940ab4b3
JM
27051 * sysdeps/unix/getdents.c: Remove file.
27052 * sysdeps/unix/sysv/getdents.c: Likewise.
27053 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27054
90e037bd
JM
27055 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27056 sysdeps/unix/mman/syscalls.list.
27057 (mmap): Likewise.
27058 (mprotect): Likewise.
27059 (msync): Likewise.
27060 (munmap): Likewise.
27061 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27062 * sysdeps/unix/mman/syscalls.list: Remove.
27063 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27064
3a533ca3
JM
27065 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27066 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27067 * configure: Regenerated.
27068 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27069 $(libgcc_s_suffix).
27070 * config.make.in (libgcc_s_suffix): Remove variable.
27071
1ad743de
JM
270722012-04-23 Joseph Myers <joseph@codesourcery.com>
27073
4ad451e2
JM
27074 * sysdeps/unix/sysv/gethostname.c: Move to ...
27075 * sysdeps/posix/gethostname.c: ... here.
27076
5e37ce39
JM
27077 * sysdeps/unix/execve.S: Remove file.
27078
1ad743de
JM
27079 * sysdeps/unix/_exit.S: Remove file.
27080
4e681b5b
AJ
270812012-04-23 Andreas Jaeger <aj@suse.de>
27082
27083 [BZ #13739]
27084 * manual/Makefile: Remove make dist support, there's no
27085 need for a stand-alone documentation tar ball.
27086 (TEXI2DVI): Define always, it's not in Makeconfig.
27087 (dist): Removed.
27088 (tar-it): Removed.
27089 (edition): Removed.
27090 (glibc-doc-$(edition).tar): Removed
27091 (%.Z): Removed.
27092 (%.gz): Removed.
27093 (%.uu): Removed.
27094 (ETAGS): Remove, it's in Makeconfig.
27095 (move-if-change): Remove, it's in Makeconfig.
27096
38686a03 270972012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
27098
27099 [BZ #13970]
27100 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27101 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27102 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27103 (strtod_l, strtof_l, strtold_l): Remove __wur.
27104 It is not necessarily an error to ignore strtol's return value.
27105 One can reliably look at the stored endptr to decide whether
27106 the number had valid syntax.
27107
7c0616fa
AJ
271082012-04-21 Andreas Jaeger <aj@suse.de>
27109
803cb6b7 27110 [BZ #13739]
7c0616fa
AJ
27111 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27112
b0fe253f
JM
271132012-04-21 Joseph Myers <joseph@codesourcery.com>
27114
27115 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27116 * sysdeps/unix/sysv/Versions: Remove file.
27117
8280f22d
MT
271182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27119
27120 [BZ #13927]
27121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27122
75ce411f 271232012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
27124
27125 [BZ #7064]
27126 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27127 version from __vm86.
27128
097d59fa
JM
271292012-04-20 Joseph Myers <joseph@codesourcery.com>
27130
a90f3bcb
JM
27131 * sysdeps/unix/common/lxstat.c: Remove file.
27132 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27133
edc7ea78
JM
27134 * sysdeps/unix/sysv/Makefile: Remove file.
27135
cb78c221
JM
27136 * sysdeps/unix/sysv/direct.h: Remove file.
27137
efa6a45f
JM
27138 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27139 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27140 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27141 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27142 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27143 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27144 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27145
9c9f2d0c
JM
27146 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27147
4541c83b
JM
27148 * sysdeps/unix/xmknod.c: Remove file.
27149 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27150
f5d153a0
JM
27151 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27152
aa746595
JM
27153 * sysdeps/unix/sysv/i386/time.S: Remove file.
27154
cce5905e
JM
27155 * sysdeps/unix/fxstat.c: Remove file.
27156 * sysdeps/unix/xstat.c: Likewise.
27157 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27158
37fa3841
JM
27159 * sysdeps/unix/sysv/sigaction.c: Remove file.
27160
ff1962a3
JM
27161 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27162 (sysdep_headers): Remove variable.
27163 [termio.h not in sysdep_headers] (generated): Likewise.
27164 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27165 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27166 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27167 * sysdeps/unix/sysv/tcflow.c: Likewise.
27168 * sysdeps/unix/sysv/tcflush.c: Likewise.
27169 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27170 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27171 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27172 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27173 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27174
e7740d31
JM
27175 * sysdeps/unix/siglist.c: Remove file.
27176
ee06f18b
JM
27177 * sysdeps/unix/getppid.S: Remove file.
27178
097d59fa
JM
27179 * sysdeps/unix/mkdir.c: Remove file.
27180 * sysdeps/unix/rmdir.c: Likewise.
27181
ff3d51ec
AS
271822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27183
27184 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27185 ERR_MAX value.
27186 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27187 errlist-compat value.
27188
50f81fd7
DM
271892012-04-18 David S. Miller <davem@davemloft.net>
27190
27191 * sysdeps/generic/memcopy.h (reg_char): Delete.
27192 * debug/strcat_chk.c: Use char, not reg_char.
27193 * debug/strcpy_chk.c: Likewise.
27194 * debug/strncat_chk.c: Likewise.
27195 * debug/strncpy_chk.c: Likewise.
27196 * string/memchr.c: Likewise.
27197 * string/memrchr.c: Likewise.
27198 * string/rawmemchr.c: Likewise.
27199 * string/strcat.c: Likewise.
27200 * string/strchr.c: Likewise.
27201 * string/strchrnul.c: Likewise.
27202 * string/strcmp.c: Likewise.
27203 * string/strcpy.c: Likewise.
27204 * string/strncat.c: Likewise.
27205 * string/strncmp.c: Likewise.
27206 * string/strncpy.c: Likewise.
27207
8ff41c46
WS
272082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27209
27210 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27211 __builtin_memcopy is called when src and dest ranges are known to not
27212 overlap.
27213
6b652f46
WS
272142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27215
27216 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27217 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27218 fwd_align_merge macro call.
27219 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27220 bwd_align_merge macro call.
27221 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27222
b282631e
WS
272232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27224
27225 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27226 bwd_align_merge macros.
27227 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27228 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27229 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27230
95aa737c
DM
272312012-04-18 David S. Miller <davem@davemloft.net>
27232
27233 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27234
7a99a614
AJ
272352012-04-18 Andreas Jaeger <aj@suse.de>
27236
27237 [BZ# 6794]
27238 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27239 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27240 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27241
27242 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27243 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27244 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27245
27246 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27247 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27248 Adjust for changed ldbl-128 files.
27249
27250 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27251 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27252 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27253
e5270c23
DM
272542012-04-17 David S. Miller <davem@davemloft.net>
27255
27256 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27257
fb5e92c9
AS
272582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27259
27260 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27261 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27262 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27263 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27264 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27265 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27266
76da7265
AZ
272672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27268
27269 [BZ #6794]
27270 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27271 * math/libm-test.inc: Add ilogb errno and exception tests.
27272 * math/w_ilogb.c: New file: ilogb wrapper.
27273 * math/w_ilogbf.c: New file: ilogbf wrapper.
27274 * math/w_ilogbl.c: New file: ilogbl wrapper.
27275 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27276 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27277 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27278 exception being thrown with 0.0 as argument.
27279 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27280 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27281 exception being thrown with 0.0 as argument.
27282 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27283 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27284 exception being thrown with 0.0 as argument.
27285 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27286 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27287 exception being thrown with 0.0 as argument.
27288 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27289 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 27290 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
27291 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27292 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27293 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27294 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27295 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27296 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27297
0396e69d
PB
272982012-04-17 Petr Baudis <pasky@ucw.cz>
27299
27300 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27301 with altivec.
27302
750b5926
MP
273032012-04-16 Marek Polacek <polacek@redhat.com>
27304
27305 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27306
751728a1
MP
273072012-04-16 Marek Polacek <polacek@redhat.com>
27308
27309 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27310 operands of fdivp instruction.
27311
34a27407
L
273122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27313
27314 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27315 * elf/tst-auditmod3b.c: Likewise.
27316 * elf/tst-auditmod4b.c: Likewise.
27317 * elf/tst-auditmod5b.c: Likewise.
27318 * elf/tst-auditmod6b.c: Likewise.
27319 * elf/tst-auditmod6c.c: Likewise.
27320 * elf/tst-auditmod7b.c: Likewise.
27321 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27322 * sysdeps/x86_64/preconfigure.in: Likewise.
27323 * sysdeps/x86_64/preconfigure: Regenerated.
27324
7e73e17d
L
273252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27326
27327 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27328 __ILP32__.
27329
c7a6ab72
AB
273302012-04-13 Antoine Balestrat <merkil33@gmail.com>
27331
27332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27333 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27334
a9e8e0e0
CL
273352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27336
27337 [BZ #13973]
27338 * locale/iso-639.def: Fix gl language name. Spotted by
27339 Yaron Shahrabani.
27340
ec98af7d
RM
273412012-04-12 Roland McGrath <roland@hack.frob.com>
27342
27343 [BZ #2074]
27344 * libio/libio.h (__io_write_fn): Update comment.
27345
247c3ede
PB
273462012-04-12 Petr Baudis <pasky@ucw.cz>
27347
27348 [BZ #2074]
27349 * stdio.texi (Hook Functions): The user provided writer function
27350 is not allowed to return -1.
27351
55939d6d
DM
273522012-04-11 David S. Miller <davem@davemloft.net>
27353
27354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27355
90020f5a
MF
273562012-04-11 Mike Frysinger <vapier@gentoo.org>
27357
27358 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27359 Add a leading slash to rtkaio.
27360
288f9098
JM
273612012-04-11 Jim Meyering <meyering@redhat.com>
27362
90020f5a
MF
27363 [BZ #11959]
27364 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27365 It is not necessarily an error to ignore fwrite's return
27366 value. One can reliably use ferror to test for errors after
27367 the fact.
288f9098 27368
4be2b570
L
273692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27370
27371 * bits/types.h (__snseconds_t): New type.
27372 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27373
27374 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27375 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27376 (__SNSECONDS_T_TYPE): Likewise.
27377 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27378 (__SNSECONDS_T_TYPE): Likewise.
27379 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27380 (__SNSECONDS_T_TYPE): Likewise.
27381
288f9098 273822012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27383
27384 [BZ #2636]
27385 * manual/time.texi (Processor Time): Return type of times is
27386 elapsed real time since an arbitrary point in the past.
27387 (CPU Time): Move CLK_TCK from here...
27388 (Processor Time): ...to here. Correct description.
27389 * manual/conf.texi (Constants for Sysconf): Correct description of
27390 _SC_CLK_TCK.
27391
d7dd4413
DM
273922012-04-10 David S. Miller <davem@davemloft.net>
27393
27394 [BZ #13967]
27395 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27396 where the is a gap between DT_REL(A) and DT_JMPREL.
27397
b46068fc
L
273982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27399
27400 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27401 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27402 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27403
73d65cc3
SP
274042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27405
27406 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27407 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27408 (dl_main): Handle --inhibit-cache.
27409 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27410 _dl_inhibit_cache.
27411 * elf/dl-load.c (_dl_map_object): Use it.
27412 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27413
bcc8d661
JM
274142012-04-09 Joseph Myers <joseph@codesourcery.com>
27415
8f9a2fae
JM
27416 [BZ #13872]
27417 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27418 (__ieee754_powl): Saturate large exponents rather than testing for
27419 overflow of y*log2(x).
27420 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27421 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27422 exceptions.
27423
bcc8d661
JM
27424 [BZ #11521]
27425 * math/s_ctan.c: Include <float.h>.
27426 (__ctan): Avoid internal overflow or cancellation in calculating
27427 denominator.
27428 * math/s_ctanf.c: Likewise.
27429 * math/s_ctanl.c: Likewise.
27430 * math/s_ctanh.c: Likewise.
27431 * math/s_ctanhf.c: Likewise.
27432 * math/s_ctanhl.c: Likewise.
27433 * math/libm-test.inc (ctan_test): Add more tests.
27434 (ctanh_test): Likewise.
27435 * sysdeps/i386/fpu/libm-test-ulps: Update.
27436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27437
823fbbb4
AJ
274382012-04-09 Andreas Jaeger <aj@suse.de>
27439
03879793
AJ
27440 [BZ #6894]
27441 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27442 is an optional BSD extension.
27443
823fbbb4
AJ
27444 [BZ #10254]
27445 * manual/stdio.texi (Opening Streams): Document additional fopen
27446 parameters.
27447
8de131cb
RM
274482012-04-09 Roland McGrath <roland@hack.frob.com>
27449
27450 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27451 %eax without telling the compiler.
27452
c0ed9d7d
CD
274532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27454
27455 [BZ # 13963]
27456 * manual/install.texi: Use sourceware.org.
27457
c483f6b4
JM
274582012-04-09 Joseph Myers <joseph@codesourcery.com>
27459
d7dd9453
JM
27460 [BZ #13873]
27461 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27462 (__ieee754_pow): Generate overflow and underflow using huge*huge
27463 and tiny*tiny rather than just returning constant infinity or zero
27464 for large exponents.
27465 * math/libm-test.inc (pow_test): Require overflow exceptions for
27466 applicable cases of large exponents.
27467
c483f6b4
JM
27468 [BZ #706]
27469 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27470 (__ieee754_pow): Use iterative multiplication algorithm only for
27471 integer exponents with absolute value below 1024. Check for odd
27472 integer exponents when using algorithm for real exponents.
27473 * math/libm-test.inc (pow_test): Add more tests.
27474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27475
d2de7579
JM
274762012-04-08 Joseph Myers <joseph@codesourcery.com>
27477
27478 [BZ #13705]
27479 * math/libm-test.inc (exp_test): Do not allow overflow exception
27480 on underflow test.
27481
f77f1232
AJ
274822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27483
27484 [BZ #13705]
27485 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27486 instead of __kernel_standard_f.
27487
3884932b
MF
274882012-04-08 Mike Frysinger <vapier@gentoo.org>
27489
27490 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27491 * sysdeps/x86_64/memset_chk.S: Likewise.
27492
54472e9c
AJ
274932012-04-08 Andreas Jaeger <aj@suse.de>
27494
6ab0fbfc
AJ
27495 [BZ #10153]
27496 * manual/startup.texi (Environment Access): Describe return value
27497 for putenv and setenv.
27498
61efba8c
AJ
27499 [BZ #6895]
27500 * manual/filesys.texi (Directory Entries): Add description for
27501 DT_LNK.
27502
95c3f29a
AJ
27503 [BZ #6890]
27504 * manual/filesys.texi (Directory Entries): Clarify that it's file
27505 system not operating system in the description of DT_UNKNOWN.
27506
54472e9c
AJ
27507 [BZ #6578]
27508 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27509
624254b1
SC
275102012-04-08 Stephen Compall <s11@member.fsf.org>
27511
27512 [BZ #6649]
27513 * manual/llio.texi (Opening and Closing Files): Add cross
27514 reference to explain mode argument.
27515
1e4920e0
MF
275162012-04-07 Mike Frysinger <vapier@gentoo.org>
27517
27518 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27519 * sysdeps/x86_64/memset_chk.S: Likewise.
27520
5ed848f3
DM
275212012-04-07 David S. Miller <davem@davemloft.net>
27522
27523 * elf/elf.h (R_SPARC_WDISP10): Define.
27524 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27525 R_SPARC_SIZE32.
27526 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27527 R_SPARC_SIZE64 and R_SPARC_H34.
27528
96154cd8
CD
275292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27530
27531 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27532 conditions and remove no longer applicable assertion.
27533
9904dc47
L
275342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27535
27536 * bits/byteswap.h: Include <features.h>.
27537 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27538 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27539
f8887d0a
L
275402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27541
27542 * bits/byteswap.h (__bswap_16): Removed.
27543 Include <bits/byteswap-16.h> to get __bswap_16.
27544 * sysdeps/i386/bits/byteswap.h: Likewise.
27545 * sysdeps/s390/bits/byteswap.h: Likewise.
27546 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27547 * bits/byteswap-16.h: New file.
27548 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27549 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27550 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27551 * string/Makefile (headers): Add bits/byteswap-16.h.
27552
62470f60
PP
275532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27554
27555 [BZ #13895]
27556 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27557 extra indirection.
27558 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27559 * nss/tst-nss-static.c: New.
27560
4dad7bab
RM
275612012-04-06 Robert Millan <rmh@gnu.org>
27562
27563 [BZ #6486]
27564 * manual/llio.texi (File Position Primitive): lseek
27565 refers to WHENCE when it really means OFFSET.
27566
e9142a17
AJ
275672012-04-06 Andreas Jaeger <aj@suse.de>
27568
2c040eff
AJ
27569 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27570 strncmp declarations.
27571
e9142a17
AJ
27572 * abilist/libc.abilist: Add __poll and __ppoll.
27573
ff9f1c5f
DM
275742012-04-05 David S. Miller <davem@davemloft.net>
27575
dcd2ae90
DM
27576 * scripts/check-local-headers.sh: Accept a host triplet in the
27577 path matched by the exclude regexp.
27578
993eb054
DM
27579 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27580 definition.
27581 * sysdeps/powerpc/powerpc32/dl-machine.h
27582 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27583 * sysdeps/s390/s390-32/dl-machine.h
27584 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27585 * sysdeps/sparc/sparc32/dl-machine.h
27586 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27587 * sysdeps/sparc/sparc64/dl-machine.h
27588 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27589
ff9f1c5f
DM
27590 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27591 lazy binding.
48e2e132 27592 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27593 undefined symbol errors.
27594
48e2e132 27595 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27596 DT_NEEDED entries.
27597
e80d6f94
MM
275982012-04-05 Michael Matz <matz@suse.de>
27599
27600 [BZ #13592]
27601 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27602
349fa79f
AJ
276032012-04-05 Andreas Jaeger <aj@suse.de>
27604
27605 [BZ #13908]
27606 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27607 comment.
27608
f402708f
KK
276092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27610
27611 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27612 which ROUND is no valid rounding mode.
27613
2ecccfc9
KK
276142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27615
27616 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27617 read again.
27618 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27619
8a53f50f
KK
276202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27621
27622 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27623 an exception using FPU order intentionally.
27624
276252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27626
27627 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27628 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27629 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27630 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27631
d653abb7
SJ
276322012-04-05 Simon Josefsson <simon@josefsson.org>
27633
27634 [BZ #12340]
27635 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27636 EINVAL when BUFLEN is too smal.
27637
c3b1bf7d
TS
276382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27639
27640 [BZ #13553]
27641 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27642 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27643
b1aa60f3
AJ
276442012-04-03 Andreas Jaeger <aj@suse.de>
27645
c3b1bf7d 27646 [BZ #13938]
67f60a26
AJ
27647 * manual/setjmp.texi (System V contexts): Fix sentence.
27648
b1aa60f3
AJ
27649 [BZ #13926]
27650 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27651 New macro for this case.
27652 [!__GNUC__] (__bswap_64): New inline function for this case.
27653 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27654 * bits/byteswap.h: Likewise.
27655 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27656 ull, guard with __GLIBC_HAVE_LONG_LONG.
27657
27658 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27659 __GLIBC_HAVE_LONG_LONG.
27660
27661 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27662 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27663
39c59c35
TMQMF
276642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27665
27666 [BZ #13691]
27667 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27668 inptr and inend, rather than using last_ch.
27669
135ffda8
DM
276702012-04-02 David S. Miller <davem@davemloft.net>
27671
27672 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27673 * stdio-common/printf-parse.h (read_int): Change return type to
27674 'int', return -1 on INT_MAX overflow.
27675 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27676 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27677 overflows INT_MAX. Check for overflow of in-format-string precision
27678 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27679 SIZE_MAX not INT_MAX for integer overflow test.
27680 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27681 skip the construct in the format string but do not record anything.
27682 * stdio-common/bug22.c: Adjust to test both width/prevision
27683 INT_MAX overflow as well as total length INT_MAX overflow. Check
27684 explicitly for proper errno values.
27685
228c019e
TS
276862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27687
302cadd3
TS
27688 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27689 CHAR_MAX.
27690 * string/test-strcmp.c [! WIDE]: Likewise.
27691 * time/tst-mktime2.c: Likewise for INT_MAX.
27692 * string/test-string.h: #include <sys/param.h> for MIN.
27693
228c019e
TS
27694 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27695 * sysdeps/i386/init-first.c (init): Likewise.
27696 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27697 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27698 * sysdeps/sh/init-first.c (init): Likewise.
27699
cfa633f5
UD
277002012-04-01 Ulrich Drepper <drepper@gmail.com>
27701
27702 * po/ru.po: Update from translation team.
d1635ef8 27703 * po/vi.po: Likewise.
cfa633f5 27704
6cd0a5ea
SP
277052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27706
27707 * resolv/nss_dns/dns-host.c: Merge copyright years.
27708
4b43400f
LD
277092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27710
27711 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27712 Optimize memcpy with prefetch if
27713 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27714 src, dst pointers have unequal 16 byte alignments.
27715
48c41d04
SP
277162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27717
27718 [BZ #13928]
27719 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27720 from a CNAME entry and return the minimum ttl for the query.
27721 (gaih_getanswer_slice): Likewise.
27722
b8dc394d
JL
277232012-03-30 Jeff Law <law@redhat.com>
27724
27725 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27726 due to long keys.
27727 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27728 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27729
2f5a5ed0
JL
27730 * resolv/nss_dns/dns-host.c: Update copyright year.
27731
1d39e359
UD
277322012-03-30 Ulrich Drepper <drepper@gmail.com>
27733
c030f70c 27734 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27735 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27736
1d39e359
UD
27737 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27738 comments for sendmmsg.
27739
277402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27741
27742 [BZ #13691]
27743 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27744 with only 1 character between 0x0041 and 0x01b0.
27745 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27746 * wcsmbs/tst-mbsnrtowcs.c: New file.
27747
20fde227
DM
277482012-03-29 David S. Miller <davem@davemloft.net>
27749
27750 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27751 small copies by hand.
27752
984a4237
JL
277532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27754
27755 [BZ #13761]
27756 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27757 _nss_compat_initgroups_dyn): Fall back to malloc/free
27758 for large group memberships.
27759
18c9d62b
DM
277602012-03-28 David S. Miller <davem@davemloft.net>
27761
88d85d4f
DM
27762 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27763 that branches into memcpy.
27764 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27765 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27766 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27767 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27768 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27769 bits.
27770 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27771 implementation too.
27772 * sysdeps/sparc/mempcpy.S: New file.
27773
e5aa83e1
DM
27774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27775 the IFUNC routine in the libc case.
27776 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27777
88570753
DM
27778 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27779 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27780 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27781 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27782 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27783 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27784 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27785 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27786
249d7567
DM
27787 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27788 loop to 256 bytes instead of 64 bytes and fix test signedness.
27789
18c9d62b
DM
27790 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27791 * sysdeps/sparc/sparc32/Makefile: rather than here...
27792 * sysdeps/sparc/sparc64/Makefile: and here.
27793
05f3d1f6
UD
277942012-03-28 Ulrich Drepper <drepper@gmail.com>
27795
27796 * malloc/mallocbug.c: Avoid warnings about unused variables.
27797
86ae07a8
JL
277982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27799
27800 [BZ #13760]
27801 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27802 in the right place. Discard and retry query if response is
27803 larger than input buffer size.
27804
41bf21a1
JM
278052012-03-28 Joseph Myers <joseph@codesourcery.com>
27806
d6270972
JM
27807 [BZ #369]
27808 [BZ #2678]
27809 [BZ #3866]
27810 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27811 x for large integer exponent.
27812 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27813 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27814 sign of result as needed afterwards.
27815 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27816 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27817 result for underflowing pow the same as for overflow.
27818 (__kernel_standard_l): Handle powl overflow and underflow here
27819 rather than calling __kernel_standard.
27820 * math/libm-test.inc (pow_test): Add more tests.
27821
414fca03 27822 [BZ #3868]
41bf21a1
JM
27823 [BZ #13879]
27824 [BZ #13910]
27825 [BZ #13911]
27826 [BZ #13912]
27827 [BZ #13913]
27828 [BZ #13915]
27829 [BZ #13916]
27830 [BZ #13917]
27831 [BZ #13918]
27832 [BZ #13919]
27833 [BZ #13920]
27834 [BZ #13921]
27835 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27836 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27837 (__kernel_standard_l): New function.
27838 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27839 __kernel_standard.
27840 * math/w_acosl.c (__acosl): Likewise.
27841 * math/w_asinl.c (__asinl): Likewise.
27842 * math/w_atan2l.c (__atan2l): Likewise.
27843 * math/w_atanhl.c (__atanhl): Likewise.
27844 * math/w_coshl.c (__coshl): Likewise.
27845 * math/w_exp10l.c (__exp10l): Likewise.
27846 * math/w_exp2l.c (__exp2l): Likewise.
27847 * math/w_fmodl.c (__fmodl): Likewise.
27848 * math/w_hypotl.c (__hypotl): Likewise.
27849 * math/w_j0l.c (__j0l, __y0l): Likewise.
27850 * math/w_j1l.c (__j1l, __y1l): Likewise.
27851 * math/w_jnl.c (__jnl, __ynl): Likewise.
27852 * math/w_lgammal.c (__lgammal): Likewise.
27853 * math/w_log10l.c (__log10l): Likewise.
27854 * math/w_log2l.c (__log2l): Likewise.
27855 * math/w_logl.c (__logl): Likewise.
27856 * math/w_powl.c (__powl): Likewise.
27857 * math/w_remainderl.c (__remainderl): Likewise.
27858 * math/w_scalbl.c (sysv_scalbl): Likewise.
27859 * math/w_sinhl.c (__sinhl): Likewise.
27860 * math/w_sqrtl.c (__sqrtl): Likewise.
27861 * math/w_tgammal.c (__tgammal): Likewise.
27862 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27863 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27864 * math/libm-test.inc (acos_test): Add more tests.
27865 (acosh_test): Likewise.
27866 (asin_test): Likewise.
27867 (atanh_test): Likewise.
27868 (exp_test): Likewise.
27869 (exp10_test): Likewise.
27870 (exp2_test): Likewise.
27871 (expm1_test): Likewise.
27872 (lgamma_test): Likewise.
27873 (log_test): Likewise.
27874 (log10_test): Likewise.
27875 (log1p_test): Likewise.
27876 (log2_test): Likewise.
27877 (pow_test): Do not allow some spurious overflow exceptions.
27878 (sqrt_test): Add more tests.
27879 (tgamma_test): Likewise.
27880 (y0_test): Likewise.
27881 (y1_test): Likewise.
27882 (yn_test): Likewise.
27883
dd62fda6
AB
278842012-03-27 Anton Blanchard <anton@samba.org>
27885
27886 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27887 MAP_HUGETLB.
27888 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27889 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27890 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27891
1e3cdfda
AJ
278922012-03-27 David S. Miller <davem@davemloft.net>
27893
b855ab85
DM
27894 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27895
1e3cdfda
AJ
27896 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27897 have-as-vis3 check.
27898
278992012-03-27 Andreas Jaeger <aj@suse.de>
27900
27901 * sysdeps/x86_64/elf/configure.in: Moved to ...
27902 * sysdeps/x86_64/configure.in: ... here.
27903 * sysdeps/x86_64/elf/start.S: Moved to ...
27904 * sysdeps/x86_64/start.S: ... here.
27905 * sysdeps/x86_64/elf/configure: Delete.
27906
27907 * sysdeps/x86_64/configure.in: Merge contents from
27908 sysdeps/i386/configure.in (without i686 check).
27909
27910 * sysdeps/i386/elf/Versions: Merge into ...
27911 * sysdeps/i386/Versions: ... this.
27912 * sysdeps/i386/elf/Versions: Delete file.
27913 * sysdeps/i386/elf/start.S: Moved to ...
27914 * sysdeps/i386/start.S: ...here.
27915 * sysdeps/i386/elf/configure.in: Merge into...
27916 * sysdeps/i386/configure.in: ...here.
27917 * sysdeps/i386/elf/configure.in: Delete file.
27918 * sysdeps/i386/elf/configure: Delete file.
27919
27920 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27921 * debug/backtracesyms.c: ... here.
27922 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27923 * debug/backtracesymsfd.c: ... here.
27924 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27925 * sysdeps/generic/ifunc-sel.h: ... here.
27926
27927 * sysdeps/unix/i386/start.c: Delete file.
27928 * sysdeps/unix/sparc/start.c: Delete file.
27929 * sysdeps/unix/start.c: Delete file.
27930
27931 * sysdeps/sh/elf/configure.in: Moved to ...
27932 * sysdeps/sh/configure.in: ... here.
27933 * sysdeps/sh/elf/start.S: Moved to ...
27934 * sysdeps/sh/start.S: ... here.
27935 * sysdeps/sh/elf/configure: Delete file.
27936
27937 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27938 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27939 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27940 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27941 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27942 * sysdeps/powerpc/powerpc64/start.S: here.
27943 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27944 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27945 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27946 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27947 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27948
27949 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27950 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27951 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27952 * sysdeps/powerpc/powerpc32/start.S: ... here.
27953 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27954 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27955 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27956
27957 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27958 * sysdeps/powerpc/ifunc-sel.h: ... here.
27959 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27960 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27961
27962 * sysdeps/sparc/elf/configure.in: Moved to ...
27963 * sysdeps/sparc/configure.in: ... here.
27964 * sysdeps/sparc/elf/configure: Delete file.
27965 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27966 * sysdeps/sparc/sparc32/start.S: ... here.
27967 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27968 * sysdeps/sparc/sparc64/start.S: ... here.
27969 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27970 * sysdeps/sparc/sparc32/Makefile: ... this.
27971 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27972 * sysdeps/sparc/sparc64/Makefile: ... this.
27973
27974 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27975 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27976 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27977 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27978 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27979 * sysdeps/s390/s390-32/setjmp.S: ... here.
27980 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27981 * sysdeps/s390/s390-32/configure.in: ... here.
27982 * sysdeps/s390/s390-32/elf/configure: Delete file.
27983 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27984 * sysdeps/s390/s390-32/start.S: ... here.
27985
27986 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27987 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27988 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27989 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27990 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27991 * sysdeps/s390/s390-64/setjmp.S: ... here.
27992 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27993 * sysdeps/s390/s390-64/configure.in: ... here
27994 * sysdeps/s390/s390-64/elf/configure: Delete file.
27995 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27996 * sysdeps/s390/s390-64/start.S: ... here.
27997 * sysdeps/s390/s390-64/elf/configure: Delete.
27998
27999 * configure.in: Remove support for elf directories in sysdeps.
28000
28001 * configure: Regenerated.
28002 * sysdeps/i386/configure: Regenerated.
28003 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28004 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28005 * sysdeps/s390/s390-32/configure: Regenerated.
28006 * sysdeps/s390/s390-64/configure: Regenerated.
28007 * sysdeps/sh/configure: Regenerated.
28008 * sysdeps/sparc/configure: Regenerated.
28009 * sysdeps/x86_64/configure: Regenerated.
28010
a3f61311
AS
280112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28012
c876e002
AS
28013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28014
a3f61311
AS
28015 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28016 denormal result into account.
28017
ac4c54f0
RM
280182012-03-25 Roland McGrath <roland@hack.frob.com>
28019
28020 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28021 Reported by Allan McRae <allan@archlinux.org>.
28022
6a9b9c02
JL
280232012-03-23 Jeff Law <law@redhat.com>
28024
28025 * nss/getnssent.c (__nss_getent): Fix typo.
28026
4c42a0c1
DM
280272012-03-23 David S. Miller <davem@davemloft.net>
28028
28029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28030
1532c7ac
L
280312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28032
28033 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28034 to pad to uint64_t for each field.
28035 (dl_tls_index): Replace unsigned long with uint64_t.
28036
3ff42526
PP
280372012-03-23 Daniel Jacobowitz <dmj@google.com>
28038 Paul Pluzhnikov <ppluzhnikov@google.com>
28039
28040 [BZ #6528]
28041 * grp/Makefile (otherlibs): Don't set it.
28042 * inet/Makefile (otherlibs): Likewise.
28043 * login/Makefile (otherlibs): Likewise.
28044 * nscd/Makefile (otherlibs): Likewise.
28045 * posix/Makefile (otherlibs): Likewise.
28046 * pwd/Makefile (otherlibs): Likewise.
28047 * rt/Makefile (otherlibs): Likewise.
28048 * sunrpc/Makefile (otherlibs): Likewise.
28049 * nss/Makefile (otherlibs): Likewise.
28050 Add libnss_files to routines and static-only-routines.
28051 ($(objpfx)getent): Remove rule.
28052 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28053 static-only-routines.
28054
7c69cd14
JM
280552012-03-22 Joseph Myers <joseph@codesourcery.com>
28056
28057 [BZ #13892]
28058 * math/s_cexp.c: Include <float.h>.
28059 (__cexp): Handle exp result overflowing not necessarily
28060 overflowing both real and imaginary parts of result.
28061 * math/s_cexpf.c: Likewise.
28062 * math/s_cexpl.c: Likewise.
28063 * math/libm-test.inc (cexp_test): Add more tests.
28064 * sysdeps/i386/fpu/libm-test-ulps: Update.
28065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28066
81b035fe
L
280672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28068
28069 * include/link.h (ELFW): New macro.
28070 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28071 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28072
1da7940c
L
280732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28074
28075 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28076 with uint64_t.
28077
b749dbb9
L
280782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28079
28080 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28081 declaration.
28082 (struct La_x32_retval): Likewise.
28083
2ff87f3f
L
280842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28085
28086 * sysdeps/x86_64/preconfigure.in: New file.
28087 * sysdeps/x86_64/preconfigure: New generated file.
28088
c0df8e69
JM
280892012-03-22 Joseph Myers <joseph@codesourcery.com>
28090
48e44791
JM
28091 [BZ #13824]
28092 * math/e_exp2l.c: Include <float.h>.
28093 (__ieee754_exp2l): Handle overflow and underflow cases
28094 separately. Only pass fractional part of argument to
28095 __ieee754_expl.
28096 * math/libm-test.inc (exp2_test): Add more tests.
28097
c0df8e69
JM
28098 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28099 negating x to take absolute value.
28100 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28101 Likewise.
28102 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28103 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28104 Likewise.
28105 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28106 computing low part if x was negated.
28107 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28108
c8e43ba7
L
281092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28110
28111 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28112 la_x32_gnu_pltexit.
28113 (pltexit): Cast int_retval to ptrdiff_t.
28114 * elf/tst-auditmod3b.c: Likewise.
28115 * elf/tst-auditmod4b.c: Likewise.
28116 * elf/tst-auditmod5b.c: Likewise.
28117 * elf/tst-auditmod6b.c: Likewise.
28118 * elf/tst-auditmod6c.c: Likewise.
28119 * elf/tst-auditmod7b.c: Likewise.
28120
28121 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28122 and x32_gnu_pltexit.
28123
28124 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28125 __ELF_NATIVE_CLASS.
28126 (La_x32_regs): New macro.
28127 (La_x32_retval): Likewise.
28128 (la_x32_gnu_pltenter): New function prototype.
28129 (la_x32_gnu_pltexit): Likewise.
28130
7998fa78
AS
281312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28132
dcb33988
AS
28133 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28134 exponent.
28135
233fc563
AS
28136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28137
7998fa78
AS
28138 * configure.in (libc_cv_cc_nofma): Check for option to disable
28139 generation of FMA instructions.
28140 * configure: Regenerate.
28141 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28142 * sysdeps/ieee754/dbl-64/Makefile: New file.
28143 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28144 Remove brandred-fma4.
28145 (CFLAGS-brandred-fma4.c): Remove.
28146 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28147 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28148 define.
28149 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28150 define.
28151
8e95c99a
L
281522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28153
28154 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28155 LLONG_MAX != LONG_MAX.
28156 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28157 (_fitoa_word): Likewise.
28158 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28159 LLONG_MAX != LONG_MAX.
28160 * stdio-common/_itowa.h: Include <_itoa.h>.
28161 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28162 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28163 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28164 only if not defined.
28165 (_ITOA_WORD_TYPE): Likewise.
28166 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28167 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28168
6f4db457
DM
281692012-03-21 David S. Miller <davem@davemloft.net>
28170
28171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28172
7785fe5a
L
281732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28174
28175 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28176 of x86_64 when setting libc_cv_slibdir, libdir and
28177 libc_cv_localedir.
28178 * sysdeps/unix/sysv/linux/configure: Regenerated.
28179
4535cd55
JM
281802012-03-21 Joseph Myers <joseph@codesourcery.com>
28181
28182 * manual/lang.texi (Old Varargs): Remove section.
28183 (How Variadic): Update menu.
28184 (va_start): Do not mention varargs.h.
28185
17228132
TS
281862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28187 Joseph Myers <joseph@codesourcery.com>
28188
28189 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28190 link test.
28191 * configure: Regenerated.
28192
8149f976
TS
281932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28194
05f3d1f6
UD
28195 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28196 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28197 conformtest.pl
8149f976 28198
1a4ac776
JM
281992012-03-21 Joseph Myers <joseph@codesourcery.com>
28200
be22ce65
JM
28201 * NOTES: Remove.
28202 * Makefile (files-for-dist): Remove NOTES.
28203 (NOTES): Remove rule.
28204 * README: Don't refer to NOTES.
28205 * manual/creature.texi: Don't include macros.texi.
28206 * manual/intro.texi (creature.texi): Remove comment referring to
28207 NOTES.
28208
40b601fb
JM
28209 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28210 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28211 * configure: Regenerated.
28212 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28213 LIBC_TRY_CC_OPTION.
28214 (libc_cv_as_i686): Likewise.
28215 (libc_cv_cc_avx): Likewise.
28216 (libc_cv_cc_sse2avx): Likewise.
28217 (libc_cv_cc_fma4): Likewise.
28218 (libc_cv_cc_novzeroupper): Likewise.
28219 * sysdeps/i386/configure: Regenerated.
28220
1a4ac776
JM
28221 [BZ #13883]
28222 * sysdeps/i386/fpu/s_cexp.S: Remove.
28223 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28224 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28225 * math/libm-test.inc (cexp_test): Add more tests.
28226 * sysdeps/i386/fpu/libm-test-ulps: Update.
28227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28228
a458e7fe
AM
282292012-03-21 Allan McRae <allan@archlinux.org>
28230
28231 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28232
0cb7efc5
JM
282332012-03-21 Joseph Myers <joseph@codesourcery.com>
28234
28235 [BZ #13871]
28236 * math/w_exp2.c: Do not include <float.h>.
28237 (o_threshold, u_threshold): Remove.
28238 (__exp2): Calculate result before checking finiteness and calling
28239 __kernel_standard.
28240 * math/w_exp2f.c: Likewise.
28241 * math/w_exp2l.c: Likewise.
28242 * math/libm-test.inc (exp2_test): Require overflow exception for
28243 1e6 input.
2460d3aa
JM
28244
28245 [BZ #3866]
28246 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28247 range of signed 64-bit integers before using fistpll. Remove
28248 checks for whether integers fit in mantissa bits.
28249 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28250 the range of signed 32-bit integers before using fistpl. Remove
28251 checks for whether integers fit in mantissa bits.
28252 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28253 (__ieee754_powl): Test for y outside the range of signed 64-bit
28254 integers before using fistpll. Reduce 64-bit values to 63-bit
28255 ones as needed.
28256 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28257 divide-by-zero is raised for zero to large negative powers.
28258 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28259 (__ieee754_powl): Test for y outside the range of signed 64-bit
28260 integers before using fistpll. Reduce 64-bit values to 63-bit
28261 ones as needed.
28262 * math/libm-test.inc (pow_test): Add more tests.
28263
eb96ffb0
L
282642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28265
28266 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28267 <stdio-common/_itoa.h>.
28268 * debug/segfault.c: Likewise.
28269 * elf/dl-cache.c: Likewise.
28270 * elf/dl-minimal.c: Likewise.
28271 * elf/dl-misc.c: Likewise.
28272 * elf/dl-sysdep.c: Likewise.
28273 * elf/dl-version.c: Likewise.
28274 * elf/rtld.c: Likewise.
28275 * hurd/hurdsock.c: Likewise.
28276 * hurd/lookup-retry.c: Likewise.
28277 * malloc/malloc.c: Likewise.
28278 * malloc/mtrace.c: Likewise.
28279 * nscd/nscd_getgr_r.c: Likewise.
28280 * nscd/nscd_getpw_r.c: Likewise.
28281 * nscd/nscd_getserv_r.c: Likewise.
28282 * posix/getopt_init.c: Likewise.
28283 * posix/wordexp.c: Likewise.
28284 * stdio-common/_itoa.c: Likewise.
28285 * stdio-common/printf_fphex.c: Likewise.
28286 * stdio-common/vfprintf.c: Likewise.
28287 * string/_strerror.c: Likewise.
28288 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28289 * sysdeps/i386/i686/hp-timing.h: Likewise.
28290 * sysdeps/mach/_strerror.c: Likewise.
28291 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28292 * sysdeps/mach/hurd/sethostid.c: Likewise.
28293 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28294 * sysdeps/mach/xpg-strerror.c: Likewise.
28295 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28296 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28297 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28298 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28299 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28300 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28301 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28302 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28303 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28304 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28305 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28306 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28307 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28308 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28309 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28310 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28311 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28312 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28313 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28314 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28315 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28316
28317 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28318
28319 * stdio-common/_itoa.h: Moved to ...
28320 * sysdeps/generic/_itoa.h: Here.
28321
28322 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28323
28324 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28325 instead of "_itoa.h" and "_itowa.h".
28326 * stdio-common/vfprintf.: Likewise.
28327
d1af992d
L
283282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28329
28330 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28331 <bits/wordsize.h>.
28332 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28333 (__signbit): Likwise.
28334 (llrintf): Likwise.
28335 (llrint): Likwise.
28336
114883e0
L
283372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28338
28339 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28340 __WORDSIZE != 64.
28341
c135cc1b
JM
283422012-03-20 Joseph Myers <joseph@codesourcery.com>
28343
28344 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28345 OVERFLOW_EXCEPTION_OK.
28346 * math/libm-test.inc ("Philosophy"): Update comment about
28347 exception testing.
28348 (OVERFLOW_EXCEPTION): Define.
28349 (OVERFLOW_EXCEPTION_OK): Likewise.
28350 (INVALID_EXCEPTION_OK): Renumber.
28351 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28352 (IGNORE_ZERO_INF_SIGN): Likewise.
28353 (test_exceptions): Handle FE_OVERFLOW.
28354 (exp10_test): Expect overflow exceptions.
28355 (exp2_test): Likewise.
28356 (expm1_test): Likewise.
28357 (nextafter_test): Likewise.
28358 (pow_test): Likewise.
28359 (scalbn_test): Likewise.
28360 (scalbln_test): Likewise.
28361
95443d88
L
283622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28363
28364 * sysdeps/x86_64/bits/atomic.h
28365 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28366 64bit integer.
28367 (atomic_exchange_acq): Likewise.
28368 (__arch_exchange_and_add_body): Likewise.
28369 (__arch_add_body): Likewise.
28370 (atomic_add_negative): Likewise.
28371 (atomic_add_zero): Likewise.
28372
490df6c4
L
283732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28374
c2722551 28375 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28376 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28377
5e52b189
L
283782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28379
28380 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28381 Check __x86_64__ instead of __WORDSIZE.
28382
a9879d4c
L
283832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28384
28385 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28386
5df98260
DM
283872012-03-19 David S. Miller <davem@davemloft.net>
28388
e1497744
DM
28389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28390
5df98260
DM
28391 * sysdeps/sparc/fpu/fenv_private.h: New file.
28392 * sysdeps/sparc/fpu/math_private.h: Use it.
28393 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28394 Remove.
28395 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28396 (libc_feholdexcept_setroundl): Remove.
28397 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28398 Remove.
28399 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28400 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28401
b4c35121
L
284022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28403
28404 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28405 int64_t instead of long int.
28406 (INSERT_WORDS64): Likwise.
28407
56965fd7
L
284082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28409
28410 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28411 _Unwind_GetCFA return to _Unwind_Ptr first.
28412
83d1aec8
JM
284132012-03-19 Joseph Myers <joseph@codesourcery.com>
28414
1897ad44
JM
28415 [BZ #13629]
28416 * math/s_clog.c: Include <float.h>.
28417 (__clog): Scale large or subnormal inputs.
28418 * math/s_clogf.c: Likewise.
28419 * math/s_clogl.c: Likewise.
28420 * math/s_clog10.c: Include <float.h>.
28421 (M_LOG10_2): Define.
28422 (__clog10): Scale large or subnormal inputs.
28423 * math/s_clog10f.c: Likewise.
28424 * math/s_clog10l.c: Likewise.
28425 * math/libm-test.inc (clog_test): Add more tests.
28426 (clog10_test): Likewise.
28427 * sysdeps/i386/fpu/libm-test-ulps: Update.
28428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28429
7726d6a9
JM
28430 [BZ #11451]
28431 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28432 x and y.
28433 * math/libm-test.inc (atan2_test): Add another test.
28434
83d1aec8
JM
28435 * Makerules (common-objdir-compile): Remove.
28436 * sysdeps/unix/Makefile (config-generated): Do not add
28437 $(unix-generated) to variable.
28438 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28439 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28440 Remove rule.
28441 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28442 Likewise.
28443 [generic bits/local_lim.h] (before-compile): Do not append to
28444 variable.
28445 [generic bits/local_lim.h] (common-generated): Likewise.
28446 [generic sys/param.h] (before-compile): Do not append to variable.
28447 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28448 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28449 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28450 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28451 include.
28452 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28453 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28454 [generic sys/param.h] ($(addprefix
28455 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28456 [generic sys/param.h] (common-generated): Do not append to
28457 variable.
28458 [generic sys/param.h] (sysdep_headers): Likewise.
28459 [generic bits/errno.h] (before-compile): Do not append to
28460 variable.
28461 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28462 rule.
28463 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28464 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28465 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28466 [generic bits/errno.h] (common-generated): Do not append to
28467 variable.
28468 [generic bits/ioctls.h] (before-compile): Do not append to
28469 variable.
28470 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28471 rule.
28472 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28473 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28474 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28475 rule.
28476 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28477 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28478 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28479 [generic bits/ioctls.h] (common-generated): Do not append to
28480 variable.
28481 [generic sys/syscall.h] (syscall.h): Remove variable.
28482 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28483 rule.
28484 [generic sys/syscall.h] (before-compile): Do not append to
28485 variable.
28486 [generic sys/syscall.h] (common-generated): Likewise.
28487 * sysdeps/unix/errnos-tmpl.c: Remove file.
28488 * sysdeps/unix/errnos.awk: Likewise.
28489 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28490 * sysdeps/unix/ioctls.awk: Likewise.
28491 * sysdeps/unix/mk-local_lim.c: Likewise.
28492 * sysdeps/unix/snarf-ioctls: Likewise.
28493
4851a949
RH
284942012-03-19 Richard Henderson <rth@twiddle.net>
28495
bd37f2ee
RH
28496 * sysdeps/i386/fpu/fenv_private.h: New file.
28497 * sysdeps/i386/fpu/math_private.h: Use it.
28498 (math_opt_barrier, math_force_eval): Remove.
28499 (libc_feholdexcept_setround_53bit): Remove.
28500 (libc_feupdateenv_53bit): Remove.
28501 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28502 (math_opt_barrier, math_force_eval): Remove.
28503 (libc_feholdexcept): Remove.
28504 (libc_feholdexcept_setround): Remove.
28505 (libc_fetestexcept, libc_fesetenv): Remove.
28506 (libc_feupdateenv_test): Remove.
28507 (libc_feupdateenv, libc_feholdsetround): Remove.
28508 (libc_feresetround): Remove.
28509
d0adc922
RH
28510 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28511 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28512
0fe0f1f8
RH
28513 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28514 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28515 (libc_feupdateenv_testl): New.
28516 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28517 (libc_feupdateenv_testf): New.
28518 (libc_feupdateenv): Use libc_feupdateenv_test.
28519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28520 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28521
eb92c487
RH
28522 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28523 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28524 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28525 (libc_feresetround_noex): New.
28526 (libc_feresetround_noexf): New.
28527 (libc_feresetround_noexl): New.
28528 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28529 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28530 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28531 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28532 SET_RESTORE_ROUND.
28533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28534 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28535 (__cos): Likewise.
28536 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28537 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28538 SET_RESTORE_ROUND_NOEX.
28539 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28540 SET_RESTORE_ROUND_NOEXF.
28541 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28542 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28543 (libc_feholdsetroundf): New.
28544 (libc_feresetround, libc_feresetroundf): New.
28545
7d2e8012
RH
28546 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28547 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28548 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28549
b4dabbb4
RH
28550 * sysdeps/generic/math_private.h: Include <fenv.h>.
28551 (default_libc_feholdexcept): New.
28552 (default_libc_feholdexcept_setround): New.
28553 (default_libc_fesetenv, default_libc_feupdateenv): New.
28554 (libc_feholdexcept): Only define if undefined.
28555 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28556 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28557 (libc_feholdexcept_setroundl): Likewise.
28558 (libc_feholdexcept_setround_53bit): Likewise.
28559 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28560 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28561 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28562 (libc_feupdateenv_53bit): Likewise.
28563 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28564 (libc_feholdexcept): Convert from macro to inline function.
28565 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28566 (libc_fesetenv, libc_feupdateenv): Likewise.
28567
4851a949
RH
28568 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28569 not previously defined.
28570 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28571 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28572 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28573 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28574 * sysdeps/ieee754/flt-32/math_private.h: New file.
28575 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28576 math_private.h below SET_FLOAT_WORD.
28577 (__isnan, __isinf_ns, __finite): Remove.
28578 (__isnanf, __isinf_nsf, __finitef): Remove.
28579
e79d442e
AS
285802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28581
28582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28583
90b80344
DM
285842012-03-17 David S. Miller <davem@davemloft.net>
28585
28586 [BZ #6471]
28587 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28588 for 2.16.
28589
edc21804
DM
285902012-03-16 David S. Miller <davem@davemloft.net>
28591
77e927af
DM
28592 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28593 warnings.
28594
374976dd
DM
28595 [BZ #6471]
28596 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28597 properly.
28598 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28599 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28600 sysdep_routines when subdir is sysvipc.
28601 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28602 __getshmlba helper.
28603
edc21804
DM
28604 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28605
473c3ef3
L
286062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28607
28608 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28609 [__LP64__].
28610
eb0f39b6
L
286112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28612
28613 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28614 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28615 (__lround): Renamed to ...
28616 (__llround): This. Replace long int with long long int.
28617 Define lround functions as aliases of llround functions.
28618 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28619
6b6cd74b
L
286202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28621
28622 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28623 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28624 adresses to uintptr_t. Replace "long int" and "unsigned long
28625 int" with "greg_t" on va_arg.
28626
f1a77b01
L
286272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28628
28629 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28630 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28631
28632 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28633 Move e_machine check before EI_CLASS check. Handle x32
28634 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28635 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28636 SKIP_EM_IA_64 and include
28637 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28638
28639 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28640 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28641 (add_system_dir): New macro.
28642
28643 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28644 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28645
11b90b9f
JM
286462012-03-16 Joseph Myers <joseph@codesourcery.com>
28647
c36e1d23
JM
28648 [BZ #2551]
28649 [BZ #2552]
28650 [BZ #2553]
28651 [BZ #2554]
28652 [BZ #2562]
28653 [BZ #2563]
28654 [BZ #2565]
28655 [BZ #2566]
28656 [BZ #2576]
28657 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28658 (y0): Likewise.
28659 * math/w_j0f.c (j0f): Likewise.
28660 (y0f): Likewise.
28661 * math/w_j0l.c (__j0l): Likewise.
28662 (__y0l): Likewise.
28663 * math/w_j1.c (j1): Likewise.
28664 (y1): Likewise.
28665 * math/w_j1f.c (j1f): Likewise.
28666 (y1f): Likewise.
28667 * math/w_j1l.c (__j1l): Likewise.
28668 (__y1l): Likewise.
28669 * math/w_jn.c (jn): Likewise.
28670 (yn): Likewise.
28671 * math/w_jnf.c (jnf): Likewise.
28672 (ynf): Likewise.
28673 * math/w_jnl.c (__jnl): Likewise.
28674 (__ynl): Likewise.
28675 * math/libm-test.inc (j0_test): Add more tests.
28676 (j1_test): Likewise.
28677 (jn_test): Likewise. Add trailing semicolon to existing test.
28678 (y0_test): Likewise.
28679 (y1_test): Likewise.
28680 * sysdeps/i386/fpu/libm-test-ulps: Update.
28681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28682
11b90b9f
JM
28683 [BZ #13851]
28684 [BZ #13854]
28685 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28686 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28687 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28688 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28689 (__tanl): Set errno for infinite argument.
28690 * sysdeps/i386/fpu/mptan.c: Remove.
28691 * sysdeps/i386/fpu/s_tan.S: Likewise.
28692 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28693 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28694 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28695 * math/libm-test.inc (tan_test): Add more tests and enable more
28696 tests for double and long double.
28697 * sysdeps/i386/fpu/libm-test-ulps: Update.
28698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28699
6a1bd2a1
JK
287002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28701
28702 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28703 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28704
10a803e0
RM
287052012-03-16 Roland McGrath <roland@hack.frob.com>
28706
28707 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28708 * configure.in: Use it for both main tree and add-ons.
28709 * configure: Regenerated.
28710
f196c7f7
L
287112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28712
28713 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28714
8848d99d
JM
287152012-03-16 Joseph Myers <joseph@codesourcery.com>
28716
96cbe7f4
JM
28717 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28718 in comment.
28719
8848d99d
JM
28720 [BZ #13851]
28721 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28722 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28726 infinite argument.
28727 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28728 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28729 != 0 for prec == 2.
28730 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28731 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28732 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28733 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28734 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28735 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28736 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28737 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28738 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28739 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28740 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28741 * math/libm-test.inc (cos_test): Add more tests and enable more
28742 tests for long double.
28743 (sin_test): Likewise.
28744 (sincos_test): Likewise.
28745 * sysdeps/i386/fpu/libm-test-ulps: Update.
28746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28747
dd7f4703
DM
287482012-03-16 David S. Miller <davem@davemloft.net>
28749
28750 * sysdeps/sparc/fpu/math_private.h: New file.
28751
006f1daa
DM
287522012-03-15 David S. Miller <davem@davemloft.net>
28753
c0c83bc8
DM
28754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28755 file.
e6a62e18 28756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28758 file.
e6a62e18
DM
28759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28765 sysdep routines.
28766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28767
88cb87d9
DM
28768 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28769 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28770
006f1daa 28771 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28773 sparc-ifunc.h
006f1daa 28774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28776 Likewise.
28777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28778 Likewise.
006f1daa
DM
28779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28783 Likewise.
006f1daa
DM
28784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28789 Likewise.
28790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28791 Likewise.
006f1daa
DM
28792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28797 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28798 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28799 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28813 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28814 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28815 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28816
11e0098e
AS
288172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28818
28819 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28820 scaling.
28821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28822
e85b09d0
AJ
288232012-03-15 Andreas Jaeger <aj@suse.de>
28824
28825 [BZ #13852]
28826 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28827 ieee754/flt-32 implementation for sin, cos and sincos.
28828 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28829 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28830 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28831 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28832 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28833 ieee754/flt-32 implementation for tan.
28834
28835 * math/libm-test.inc (cos_test): Enable some large input tests for
28836 float as well
28837 (sin_test): Likewise.
28838 (sincos_test): Likewise.
28839 (tan_test): Add tests for large input.
28840
28841 * sysdeps/i386/fpu/libm-test-ulps: Update.
28842
81c64153
AJ
288432012-03-15 Andreas Jaeger <aj@suse.de>
28844
28845 [BZ #13658]
28846 * math/libm-test.inc (cos_test): Add more test cases.
28847 (sin_test): Likewise.
28848 (sincos_test): Likewise.
28849
7bbfa5c6
AJ
288502012-03-15 Andreas Jaeger <aj@suse.de>
28851
28852 [BZ #13837]
28853 * math/libm-test.inc (cos_test): Add a test case for large input
28854 value.
28855 (sin_test): Likewise.
28856 (sincos_test): Likewise.
28857
288582012-03-15 Andreas Jaeger <aj@suse.de>,
28859 Joseph Myers <joseph@codesourcery.com>
28860
28861 [BZ #13658]
0671f479 28862 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28863 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28864 * sysdeps/i386/fpu/branred.c: Likewise.
28865 * sysdeps/i386/fpu/dosincos.c: Likewise.
28866 * sysdeps/i386/fpu/mpa.c: Likewise.
28867 * sysdeps/i386/fpu/s_cos.S: Likewise.
28868 * sysdeps/i386/fpu/s_sin.S: Likewise.
28869 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28870 * sysdeps/i386/fpu/sincos32.c: Likewise.
28871
28872 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28873 Define.
28874 (libc_feupdateenv_53bit): Define.
28875 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28876 Define.
28877 (libc_feupdateenv_53bit): Define.
28878
28879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28880 53 bit (without extend i386 double precision).
28881
28882 * math/libm-test.inc (sincos_test): Add tests for large input.
28883 (sin): Likewise.
28884 (cos): Likewise.
28885
28886 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28887
9cad04ea
AS
288882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28889
28890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28891
f7062b9a
DM
288922012-03-15 David S. Miller <davem@davemloft.net>
28893
28894 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28895 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28896 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28897 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28910 file.
f7062b9a 28911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28913 file.
f7062b9a 28914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28916 file.
f7062b9a 28917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28919 file.
f7062b9a
DM
28920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28922 fmin/fmax sysdep routines.
28923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28924
7bd951ff
DM
289252012-03-14 David S. Miller <davem@davemloft.net>
28926
559398ab
DM
28927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28931 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28932 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28933 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28934 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28947 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28948 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28949 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28950 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28951 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28952 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28953 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28954 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28956 routines.
28957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28958 file.
559398ab 28959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28961 file.
559398ab 28962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28964 file.
559398ab 28965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28967 file.
559398ab 28968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28970 file.
559398ab 28971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28973 file.
28974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28975 file.
28976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28977 file.
28978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28979 file.
28980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28981 New file.
28982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28983 file.
28984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28985 file.
559398ab 28986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28988 file.
559398ab 28989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28991 file.
559398ab 28992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28994 file.
559398ab 28995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28997 VIS3 routines.
559398ab
DM
28998
28999 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29000 New file.
29001
5a1c1e32
DM
29002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29003
eae47a36
DM
29004 * sysdeps/sparc/configure.in: New file.
29005 * sysdeps/sparc/configure: Generate.
29006 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29007 * configure: Regenerate.
29008 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29009 * config.make.in (have-as-vis3): New.
29010 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29011 available use -Av9d instead of -Av9a.
29012 * sysdeps/sparc/sparc64/Makefile: Likewise.
29013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
29014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29015 New file.
29016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29017 file.
29018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29019 New file.
29020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29021 file.
eae47a36
DM
29022 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29023 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29024 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29025 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29026 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29027
c0c83bc8
DM
29028 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29029 fzeros/fnegs to load 0x80000000 into a float register instead of
29030 using the stack.
7bd951ff
DM
29031 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29032
bd951ccb
JM
290332012-03-14 Joseph Myers <joseph@codesourcery.com>
29034
29035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29036 bits/syscall.h.
29037 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29038 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29039 ($(inst_includedir)/bits/syscall.h): Remove rule.
29040 ($(objpfx)bits/syscall.d): Include instead of
29041 $(objpfx)syscall-list.d.
29042 (generated): Change syscall-list.h and syscall-list.d to
29043 bits/syscall.h and bits/syscall.d.
29044
bb4e6db2
RM
290452012-03-14 Roland McGrath <roland@hack.frob.com>
29046
29047 [BZ #13846]
29048 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29049
aa4a2ae1
JM
290502012-03-14 Joseph Myers <joseph@codesourcery.com>
29051
e456826d
JM
29052 [BZ #13841]
29053 * math/s_csqrt.c: Include <float.h>.
29054 (__csqrt): Scale large or subnormal inputs.
29055 * math/s_csqrtf.c: Likewise.
29056 * math/s_csqrtl.c: Likewise.
29057 * math/libm-test.inc (csqrt_test): Add more tests.
29058 * sysdeps/i386/fpu/libm-test-ulps: Update.
29059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29060
aa4a2ae1
JM
29061 [BZ #13840]
29062 * math/libm-test.inc (hypot_test): Add more tests.
29063
7c10fd35
DM
290642012-03-13 David S. Miller <davem@davemloft.net>
29065
29066 [BZ #13840]
29067 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29068 double-precision for the calculation instead of scaling.
29069
f453b98b
JM
290702012-03-13 Joseph Myers <joseph@codesourcery.com>
29071
29072 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29073 manipulate bits before adding and subtracting TWO52[sx].
29074 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29075 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29076 Likewise.
29077 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29078
09a3453f
DM
290792012-03-13 David S. Miller <davem@davemloft.net>
29080
8e59da90
DM
29081 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29082 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29084 rtld-global-offsets.h
29085 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29086
2a8ab7f2
DM
29087 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29088 large parameters.
29089
10f62770
DM
29090 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29091
5f0bdb18
DM
29092 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29093 'err' in the ifdef scope in which it is actually used.
29094
09a3453f
DM
29095 * nss/nss_db/db-init.c: Include string.h
29096
b4b2eb5e
DM
290972012-03-12 David S. Miller <davem@davemloft.net>
29098
98bb2f1c
DM
29099 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29100 masking out of the most significant byte of random value used.
29101 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29102 Fix coding style in previous change.
29103
b4b2eb5e
DM
29104 * sysdeps/unix/sysv/linux/kernel-features.h
29105 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29106 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29107 expression.
29108 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29109 later.
29110
6e226b09
DM
291112012-03-11 David S. Miller <davem@davemloft.net>
29112
a1bcbd40
DM
29113 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29114 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29115 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29116 for 'resultvar' otherwise things get truncated on 64-bit.
29117
cb9d6174
DM
29118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29119 Fix masking out of the most significant byte of random value used.
29120
6e226b09
DM
29121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29122
058c132d
AS
291232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29124
29125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29126
2d2cd515
DM
291272012-03-09 David S. Miller <davem@davemloft.net>
29128
29129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29130 variables with appropriate CPP guards.
29131 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29132 frame pointer, not the stack pointer. Correct layout comments. Fix test
29133 on resulting framesize and the management of the outregs buffer for pltexit.
29134 Preserve floating point return values across _dl_call_pltexit call.
29135 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29136 framesize and the management of the outregs buffer for pltexit.
29137 Preserve floating point return values across _dl_call_pltexit
29138 call.
29139 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29140 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29141 (print_exit): Fix format string for return register value.
29142
9a07f9d0
JM
291432012-03-10 Joseph Myers <joseph@codesourcery.com>
29144
29145 * sunrpc/Makefile (others): Add rpcgen.
29146 ($(objpfx)rpcgen): Remove special build rule and dependency on
29147 libc.
29148 * sunrpc/rpcgen.c: New file.
29149
547b5e30
PE
291502012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29151
c524201a
PE
29152 [BZ #13673]
29153 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29154 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29155 * sysdeps/i386/crti.S: Likewise.
29156 * sysdeps/i386/crtn.S: Likewise.
29157 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29158 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29159 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29160 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29161 * sysdeps/sh/crti.S: Likewise.
29162 * sysdeps/sh/crtn.S: Likewise.
29163 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29164
7b6235f2
PE
29165 [BZ #13673]
29166 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29167 with URL.
29168 * locale/programs/locfile-kw.gperf: Likewise.
29169 * locale/programs/charmap-kw.h: Regenerated.
29170 * locale/programs/locfile-kw.h: Likewise.
29171
547b5e30
PE
29172 [BZ #13673]
29173 * intl/plural.y: Replace FSF snail mail address with URL.
29174 * intl/plural.c: Regenerated.
29175
5f0a5dae
RH
291762012-03-09 Richard Henderson <rth@twiddle.net>
29177
29178 * include/math_private.h: Remove file.
29179 * math/math_private.h: Move file ...
29180 * sysdeps/generic/math_private.h: ... here.
29181
b8c03620
RH
29182 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29183 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29184 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29185
4e234f5d 29186 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
29187 and <math_private.h>.
29188 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29189 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29190 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29191 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29192 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29193 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29194 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29196 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29197 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29198 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29199 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29200 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29201 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29202 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29203 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29204 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29205 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29206 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29207 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29208 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29209 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29210 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29211 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29212 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29213 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29214 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29215 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29216 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29217 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29218 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29219 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29220 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29221 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29222 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29223 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29224 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29225 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29226 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29227 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29228 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29229 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29230 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29231 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29232 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29233 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29234 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29235 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29236 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29237 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29238 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29239 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29240 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29241 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29242 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29243 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29244 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29245 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29246 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29247 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29248 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29249 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29251 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29252 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29253 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29254 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29255 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29256 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29257 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29258 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29259 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29260 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29261 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29262 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29263 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29264 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29265 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29266 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29267 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29268 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29270 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29271 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29272 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29274 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29275 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29276 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29277 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29278 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29279 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29280 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29281 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29282 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29283 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29284 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29285 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29286 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29287 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29288 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29289 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29290 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29291 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29292 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29293 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29294 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29295 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29296 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29297 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29298 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29299 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29300 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29301 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29302 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29303 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29304 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29305 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29306 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29307 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29308 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29309 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29310 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29311 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29312 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29313 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29314 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29315 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29316 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29317 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29318 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29319 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29320 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29321 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29322 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29323 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29324 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29325 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29326 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29327 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29328 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29329 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29330 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29331 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29332 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29333 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29334 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29335 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29336 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29337 * sysdeps/ieee754/k_standard.c: Likewise.
29338 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29339 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29340 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29341 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29342 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29343 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29344 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29345 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29346 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29347 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29349 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29350 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29351 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29352 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29353 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29354 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29355 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29356 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29357 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29358 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29359 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29360 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29361 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29362 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29363 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29364 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29365 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29366 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29367 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29368 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29369 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29370 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29371 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29372 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29373 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29374 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29375 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29376 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29377 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29378 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29379 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29380 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29381 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29382 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29383 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29384 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29385 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29386 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29387 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29388 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29389 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29390 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29391 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29392 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29393 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29394 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29395 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29396 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29397 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29398 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29399 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29400 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29401 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29402 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29403 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29404 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29405 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29406 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29407 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29408 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29409 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29410 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29411 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29412 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29413 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29414 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29415 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29416 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29417 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29418 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29419 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29420 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29421 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29422 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29423 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29424 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29425 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29426 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29427 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29428 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29429 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29430 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29431 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29432 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29433 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29434 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29435 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29436 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29437 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29438 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29439 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29440 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29441 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29442 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29443 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29444 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29445 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29446 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29447 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29448 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29449 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29450 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29451 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29452 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29453 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29454 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29455 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29456 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29457 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29458 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29459 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29460 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29461 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29462 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29463 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29464 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29465 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29466 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29467 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29468 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29469 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29470 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29471 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29472 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29473 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29474 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29475 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29476 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29477 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29478 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29479 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29480 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29481 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29482 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29483 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29484 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29485 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29486 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29487 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29488 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29489 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29490 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29491 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29492 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29493 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29494 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29495 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29496 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29497 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29498 * sysdeps/ieee754/s_lib_version.c: Likewise.
29499 * sysdeps/ieee754/s_matherr.c: Likewise.
29500 * sysdeps/ieee754/s_signgam.c: Likewise.
29501 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29502 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29503 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29504 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29505 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29506 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29507 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29508 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29509 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29510 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29511 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29512 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29513 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29514 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29515 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29516 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29517 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29518 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29519 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29521 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29522
1991fa03
JM
295232012-03-09 Joseph Myers <joseph@codesourcery.com>
29524
29525 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29526 * sunrpc/rpc_main.c: Likewise.
29527 * sunrpc/rpc_svcout.c: Likewise.
29528
60d6f5a6
DM
295292012-03-09 David S. Miller <davem@davemloft.net>
29530
29531 * include/math_private.h: New file.
29532
4962050e
JM
295332012-03-09 Joseph Myers <joseph@codesourcery.com>
29534
02a6f887
JM
29535 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29536 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29537 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29538 from <bits/socket_type.h>.
29539 (enum __socket_type): Don't define here.
29540 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29542 bits/socket_type.h.
29543
c6e013c1
JM
29544 [BZ #13566]
29545 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29546 checking __USE_GNU.
29547
4962050e
JM
29548 * Makerules ($(inst_includedir)/%.h): New rule.
29549 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29550 (install-others): Remove variable setting.
29551 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29552
38842f45
RH
295532012-03-08 Richard Henderson <rth@twiddle.net>
29554
67bb6da6
RH
29555 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29556 from macro to inline function; merge with the
29557 !__LIBC_INTERNAL_MATH_INLINES version.
29558 (__ieee754_sqrtf): Likewise.
29559
15194b4b
RH
29560 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29561 to inline function.
29562 (__rintf, __floor, __floorf): Likewise.
29563
64e21ede
RH
29564 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29565 macro to inline function.
29566 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29567
38842f45
RH
29568 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29569 not <math/math_private.h>.
29570
c64bf5fe
DM
295712012-03-08 David S. Miller <davem@davemloft.net>
29572
29573 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29574 copyright year.
29575 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29576
82d86f28
TS
295772012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29578
29579 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29580 normalization.
29581 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29582 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29583
aea5d727
UD
295842012-03-08 Ulrich Drepper <drepper@gmail.com>
29585
29586 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29587 be defined individually, they must be defined as a block. Define
29588 S for printing a string instead of hidint the different by using a
29589 macro for adding the 'l'.
29590 * stdio-common/tst-fphex-wide.c: Adjust.
29591
70bca0a3
MP
295922012-03-07 Marek Polacek <polacek@redhat.com>
29593
29594 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29595
65b81130
MP
295962012-03-08 Marek Polacek <polacek@redhat.com>
29597
29598 [BZ #13806]
29599 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29600 * stdio-common/tst-fphex.c: Define a few macros to make the
29601 test reusable. Use them.
29602 * stdio-common/tst-fphex-wide.c: New file.
29603
07037eeb
JM
296042012-03-08 Joseph Myers <joseph@codesourcery.com>
29605
a7a93d50
JM
29606 [BZ #6911]
29607 * manual/macros.texi (gnusystems): New macro.
29608 (nongnusystems): Likewise.
29609 (gnulinuxhurdsystems): Likewise.
29610 (gnuhurdsystems): Likewise..
29611 (gnulinuxsystems): Likewise.
29612 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29613 variants of the GNU system, not "GNU system".
29614 * manual/conf.texi: Likewise.
29615 * manual/errno.texi: Likewise. Update example of errno macro
29616 expansion.
29617 * manual/filesys.texi: Likewise.
29618 (getumask): Document as specific to GNU/Hurd.
29619 * manual/install.texi: Likewise. Reword some references to
29620 GNU/Linux.
29621 * manual/intro.texi: Likewise.
29622 * manual/io.texi: Likewise.
29623 (File Name Portability): Detail which constraints are inapplicable
29624 to all GNU systems and which are only inapplicable to GNU/Hurd.
29625 * manual/job.texi: Likewise.
29626 * manual/llio.texi: Likewise.
29627 (O_NOCTTY): Document as present on GNU/Linux.
29628 * manual/maint.texi: Likewise.
29629 * manual/memory.texi: Likewise.
29630 * manual/pattern.texi: Likewise.
29631 * manual/pipe.texi: Likewise.
29632 * manual/process.texi: Likewise.
29633 * manual/resource.texi: Likewise.
29634 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29635 child on GNU/Hurd.
29636 * manual/setjmp.texi: Likewise.
29637 * manual/signal.texi: Likewise.
29638 * manual/startup.texi: Likewise.
29639 * manual/stdio.texi: Likewise.
29640 * manual/terminal.texi: Likewise.
29641 (ONLCR): Document as POSIX.
29642 (OXTABS): Document availability on GNU/Linux as XTABS.
29643 (ONOEOT): Document availability separately from other bits.
29644 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29645 * manual/time.texi: Likewise.
29646 * manual/users.texi: Likewise.
29647 * INSTALL: Regenerated.
29648 * sysdeps/gnu/errlist.c: Regenerated.
29649
07037eeb
JM
29650 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29651 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29652 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29653 puts.
29654 * configure: Regenerated.
29655
d1d3431a
JM
296562012-03-07 Joseph Myers <joseph@codesourcery.com>
29657
af6a1e37
JM
29658 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29659 default includes instead of AC_HEADER_CHECK.
29660 * sysdeps/i386/configure: Regenerated.
29661
d1d3431a
JM
29662 [BZ #10716]
29663 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29664 * math/s_cacoshf.c (__cacoshf): Likewise.
29665 * math/s_cacoshl.c (__cacoshl): Likewise.
29666 * math/s_casinh.c (__casinh): Set signs of result from argument.
29667 * math/s_casinhf.c (__casinhf): Likewise.
29668 * math/s_casinhl.c (__casinhl): Likewise.
29669 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29670 (casinh_test): Add more tests.
29671 * sysdeps/i386/fpu/libm-test-ulps: Update.
29672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29673
482ff4da
UD
296742012-03-07 Ulrich Drepper <drepper@gmail.com>
29675
872fda05
UD
29676 * po/zh_TW.po: Update from translation team.
29677
a4300c7a
UD
29678 * login/Makefile (distribute): Remove variable.
29679 * catgets/Makefile: Likewise.
29680 * mach/Makefile: Likewise.
29681 * malloc/Makefile: Likewise.
29682 * misc/Makefile: Likewise.
29683 * iconv/Makefile: Likewise.
29684 * nscd/Makefile: Likewise.
29685 * hurd/Makefile: Likewise.
29686 * manual/Makefile: Likewise.
29687 * locale/Makefile: Likewise.
29688 * intl/Makefile: Likewise.
29689 * conform/Makefile: Likewise.
29690 * nss/Makefile: Likewise.
29691 * time/Makefile: Likewise.
29692 * soft-fp/Makefile: Likewise.
29693 * dirent/Makefile: Likewise.
29694 * gmon/Makefile: Likewise.
29695 * po/Makefile: Likewise.
29696 * rt/Makefile: Likewise.
29697 * socket/Makefile: Likewise.
29698 * math/Makefile: Likewise.
29699 * signal/Makefile: Likewise.
29700 * debug/Makefile: Likewise.
29701 * elf/Makefile: Likewise.
29702 * timezone/Makefile: Likewise.
29703 * stdlib/Makefile: Likewise.
29704 * iconvdata/Makefile: Likewise.
29705 * sunrpc/Makefile: Likewise.
29706 * io/Makefile: Likewise.
29707 * argp/Makefile: Likewise.
29708 * inet/Makefile: Likewise.
29709 * hesiod/Makefile: Likewise.
29710 * grp/Makefile: Likewise.
29711 * csu/Makefile: Likewise.
29712 * wctype/Makefile: Likewise.
29713 * crypt/Makefile: Likewise.
29714 * libio/Makefile: Likewise.
29715 * string/Makefile: Likewise.
29716 * nis/Makefile: Likewise.
29717 * resolv/Makefile: Likewise.
29718 * stdio-common/Makefile: Likewise.
29719 * wcsmbs/Makefile: Likewise.
29720 * dlfcn/Makefile: Likewise.
29721 * posix/Makefile: Likewise.
29722
3b7c4e74 29723 [BZ #6959]
482ff4da
UD
29724 * timezone/Makefile: Don't install timezone files, just the programs
29725 and scripts.
29726
f72ed77d
UD
297272012-03-06 Ulrich Drepper <drepper@gmail.com>
29728
a000466f
UD
29729 * nss/databases.def: Add missing gshadow entry.
29730
f72ed77d
UD
29731 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29732
a53b7a4e
MP
297332012-03-06 Marek Polacek <polacek@redhat.com>
29734
29735 [BZ #13726]
29736 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29737 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29738 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29739 * stdio-common/tst-long-dbl-fphex.c: New file.
29740
e9258400
DM
297412012-03-06 David S. Miller <davem@davemloft.net>
29742
29743 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29744 (set_obp_int): New function.
29745 (get_obp_int): New function.
29746 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29747 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29748 Avoid unused variable warnings on 'val' and use builtin_expect.
29749 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29750 __builtin_expect.
e9258400
DM
29751 (INLINE_CLONE_SYSCALL): Likewise.
29752
3bd2c723
DM
297532012-03-05 David S. Miller <davem@davemloft.net>
29754
29755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29756
bbb78d03
AS
297572012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29758
884c5db4
AS
29759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29760
bbb78d03
AS
29761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29762 only for |x| >= 40.
29763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29764
1c9f702a 297652012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29766
29767 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29768 Replace gettimeofday with __vdso_gettimeofday.
29769
7be16f82
RM
29770 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29771 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29772 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29773
29774 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29775 time with __vdso_time.
29776
ed58a00f
JM
297772012-03-05 Joseph Myers <joseph@codesourcery.com>
29778
29779 * manual/lang.texi (size_t): Note types to which size_t may be
29780 equivalent with the GNU C Library, but do not describe when
29781 differences between them are significant.
29782
30ee4ced
AJ
297832012-03-05 Andreas Jaeger <aj@suse.de>
29784
29785 * sysdeps/i386/fpu/libm-test-ulps: Update.
29786
b7cd39e8
JM
297872012-03-05 Joseph Myers <joseph@codesourcery.com>
29788
29789 [BZ #3976]
29790 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29791 (__ieee754_pow): Save and restore rounding mode and use
29792 round-to-nearest for main computations.
29793 * math/libm-test.inc (pow_test_tonearest): New function.
29794 (pow_test_towardzero): Likewise.
29795 (pow_test_downward): Likewise.
29796 (pow_test_upward): Likewise.
29797 (main): Call the new functions.
29798 * sysdeps/i386/fpu/libm-test-ulps: Update.
29799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29800
29801 [BZ #3976]
29802 * math/libm-test.inc (cosh_test_tonearest): New function.
29803 (cosh_test_towardzero): Likewise.
29804 (cosh_test_downward): Likewise.
29805 (cosh_test_upward): Likewise.
29806 (sinh_test_tonearest): Likewise.
29807 (sinh_test_towardzero): Likewise.
29808 (sinh_test_downward): Likewise.
29809 (sinh_test_upward): Likewise.
29810 (main): Call the new functions.
29811 * sysdeps/i386/fpu/libm-test-ulps: Update.
29812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29813
6c6a98c9
TV
298142012-03-05 Tom de Vries <tom@codesourcery.com>
29815
29816 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29817 default stack guard is set in last bytes.
29818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29819
21bb2d2e 298202012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29821
21bb2d2e 29822 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29823
21bb2d2e
AJ
29824 [BZ #13656]
29825 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29826 possibly allocate from heap instead of stack.
29827 * stdio-common/bug-vfprintf-nargs.c: New file.
29828 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29829
c6922934
AS
298302012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29831
29832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29833
bc957d53
MP
298342012-03-03 Marek Polacek <polacek@redhat.com>
29835
29836 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29837 * math/math_private.h: Likewise.
29838 * stdlib/tst-strtod.c: Likewise.
29839 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29840 * sysdeps/x86_64/bits/atomic.h: Likewise.
29841
6358490d
DM
298422012-03-02 David S. Miller <davem@davemloft.net>
29843
29844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29848 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29849 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29850 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29851 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29852
01ae168d
RM
298532012-03-02 Roland McGrath <roland@hack.frob.com>
29854
d9a17c07
RM
29855 [BZ #13792]
29856 * manual/examples/README: New file, says the example source files
29857 can be used under GPL>=2.
29858 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29859 line containing just "*/".
29860 * manual/examples/add.c: Add copyright header (GPL>=2).
29861 * manual/examples/argp-ex1.c: Likewise.
29862 * manual/examples/argp-ex2.c: Likewise.
29863 * manual/examples/argp-ex3.c: Likewise.
29864 * manual/examples/argp-ex4.c: Likewise.
29865 * manual/examples/atexit.c: Likewise.
29866 * manual/examples/db.c: Likewise.
29867 * manual/examples/dir.c: Likewise.
29868 * manual/examples/dir2.c: Likewise.
29869 * manual/examples/execinfo.c: Likewise.
29870 * manual/examples/filecli.c: Likewise.
29871 * manual/examples/filesrv.c: Likewise.
29872 * manual/examples/fmtmsgexpl.c: Likewise.
29873 * manual/examples/genpass.c: Likewise.
29874 * manual/examples/inetcli.c: Likewise.
29875 * manual/examples/inetsrv.c: Likewise.
29876 * manual/examples/isockad.c: Likewise.
29877 * manual/examples/longopt.c: Likewise.
29878 * manual/examples/memopen.c: Likewise.
29879 * manual/examples/memstrm.c: Likewise.
29880 * manual/examples/mkfsock.c: Likewise.
29881 * manual/examples/mkisock.c: Likewise.
29882 * manual/examples/mygetpass.c: Likewise.
29883 * manual/examples/pipe.c: Likewise.
29884 * manual/examples/popen.c: Likewise.
29885 * manual/examples/rprintf.c: Likewise.
29886 * manual/examples/search.c: Likewise.
29887 * manual/examples/select.c: Likewise.
29888 * manual/examples/setjmp.c: Likewise.
29889 * manual/examples/sigh1.c: Likewise.
29890 * manual/examples/sigusr.c: Likewise.
29891 * manual/examples/stpcpy.c: Likewise.
29892 * manual/examples/strdupa.c: Likewise.
29893 * manual/examples/strftim.c: Likewise.
29894 * manual/examples/strncat.c: Likewise.
29895 * manual/examples/subopt.c: Likewise.
29896 * manual/examples/swapcontext.c: Likewise.
29897 * manual/examples/termios.c: Likewise.
29898 * manual/examples/testopt.c: Likewise.
29899 * manual/examples/testpass.c: Likewise.
29900 * manual/examples/timeval_subtract.c: Likewise.
29901
01ae168d
RM
29902 [BZ #13792]
29903 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29904 function to ...
29905 * manual/timeval_subtract.c.texi: ... here, new file.
29906
49efa33d
DM
299072012-03-02 David S. Miller <davem@davemloft.net>
29908
29909 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29910
28afd92d
JM
299112012-03-02 Joseph Myers <joseph@codesourcery.com>
29912
804360ed
JM
29913 [BZ #3976]
29914 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29915 (__sin): Save and restore rounding mode and use round-to-nearest
29916 for all computations.
29917 (__cos): Save and restore rounding mode and use round-to-nearest
29918 for all computations.
29919 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29920 <fenv.h>.
29921 (tan): Save and restore rounding mode and use round-to-nearest for
29922 all computations.
29923 * math/libm-test.inc (cos_test_tonearest): New function.
29924 (cos_test_towardzero): Likewise.
29925 (cos_test_downward): Likewise.
29926 (cos_test_upward): Likewise.
29927 (sin_test_tonearest): Likewise.
29928 (sin_test_towardzero): Likewise.
29929 (sin_test_downward): Likewise.
29930 (sin_test_upward): Likewise.
29931 (tan_test_tonearest): Likewise.
29932 (tan_test_towardzero): Likewise.
29933 (tan_test_downward): Likewise.
29934 (tan_test_upward): Likewise.
29935 (main): Call the new functions.
29936 * sysdeps/i386/fpu/libm-test-ulps: Update.
29937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29938
a6d06d7b
JM
29939 [BZ #10135]
29940 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29941 small n, then large n, before computing and testing k+n.
29942 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29944 Likewise.
29945 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29946 Likewise.
29947 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29948 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29949 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29950 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29951 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29952 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29953 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29954 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29955 * math/libm-test.inc (scalbn_test): Add more tests.
29956 (scalbln_test): Likewise.
29957
07e12bb3
JM
29958 * manual/filesys.texi (mode_t): Describe constraints on size and
29959 signedness, not exact equivalence to a particular type.
29960 (ino_t): Likewise.
29961 (ino64_t): Likewise.
29962 (dev_t): Likewise.
29963 (nlink_t): Likewise.
29964 (blkcnt_t): Likewise.
29965 (blkcnt64_t): Likewise.
29966 * manual/llio.texi (off_t): Likewise.
29967
28afd92d
JM
29968 [BZ #3976]
29969 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29970 (__ieee754_exp): Save and restore rounding mode and use
29971 round-to-nearest for all computations.
29972 * math/libm-test.inc (exp_test_tonearest): New function.
29973 (exp_test_towardzero): Likewise.
29974 (exp_test_downward): Likewise.
29975 (exp_test_upward): Likewise.
29976 (main): Call the new functions.
29977 * sysdeps/i386/fpu/libm-test-ulps: Update.
29978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29979
b1eeb65d
CD
299802012-03-01 Chris Demetriou <cgd@google.com>
29981
29982 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29983 have predictable order.
29984
53362a4b
DM
299852012-03-01 David S. Miller <davem@davemloft.net>
29986
3c969083
DM
29987 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29988
759707de
DM
29989 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29990 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29991 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29992 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29993
dfdb8ff2
DM
29994 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29995 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29996 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29998 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29999 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30000 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30001 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30002 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30003
ead89f96
DM
30004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30005
7f66bd07
DM
30006 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30007 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30008 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30009
53362a4b
DM
30010 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30011 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30012 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30013 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30014 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30015 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30016 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30017 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30018 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30019 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30020 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30021 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30022 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30023 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30024 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30026 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30027 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30028 * sysdeps/sparc/elf/configure: Regenerated.
30029
7b1902cb
JM
300302012-03-01 Joseph Myers <joseph@codesourcery.com>
30031
bec039bc
JM
30032 * configure.in (AS, LD): Require binutils 2.20 or later.
30033 * configure: Regenerated.
30034 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30035 as required minimum version.
30036 * INSTALL: Regenerated.
30037
7b1902cb
JM
30038 [BZ #2541]
30039 [BZ #4108]
30040 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30041 before squaring exponent.
30042 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30043 bottom long double and 27 bits of top long double before squaring
30044 exponent.
30045 * math/libm-test.inc (erfc_test): Add more tests.
30046 * sysdeps/i386/fpu/libm-test-ulps: Update.
30047 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30049
f775c276
KT
300502012-03-01 Kai Tietz <ktietz@redhat.com>
30051
30052 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30053 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30054 containing bit-fields.
30055 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30056 * soft-fp/single.h (_FP_UNION_S): Likewise.
30057 * soft-fp/double.h (_FP_UNION_D): Likewise.
30058
5b8a4d4a
JM
300592012-02-29 Joseph Myers <joseph@codesourcery.com>
30060
0bab47b6
JM
30061 [BZ #13786]
30062 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30063 not include ../strcmp.S.
30064 [USE_AS_STRNCASECMP_L]: Likewise.
30065 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30066 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30067 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30068 (__strncasecmp_l_ia32): Define as alias to
30069 __strncasecmp_l_nonascii.
30070
0fcad3e2
JM
30071 [BZ #5794]
30072 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30073 * sysdeps/i386/fpu/libm-test-ulps: Update.
30074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30075
5b8a4d4a
JM
30076 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30078
8fdceb2e
JL
300792012-02-29 Jeff Law <law@redhat.com>
30080
30081 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30082 out of bounds read.
30083
1f393a11
MP
300842012-02-29 Marek Polacek <polacek@redhat.com>
30085
30086 [BZ #13706]
30087 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30088 * elf/Makefile: Add rules to run tst-unused-dep.out.
30089
8847f037
DM
300902012-02-28 David S. Miller <davem@davemloft.net>
30091
30092 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30093 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30094 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30095 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30096 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30097 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30098
169d7f11
JM
300992012-02-29 Joseph Myers <joseph@codesourcery.com>
30100
30101 * math/libm-test.inc (llround_test): Move one test from
30102 lround_test. Use TEST_f_L in moved test.
30103 (lround_test): Move misplaced test to llround_test. Add testcase
30104 from bug 2561.
30105
39adf059
UD
301062012-02-28 Ulrich Drepper <drepper@gmail.com>
30107
30108 * sysdeps/x86_64/fpu/e_expf.S: New file.
30109 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30110
71b5d1c5
SB
301112012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30112
30113 [BZ #13637]
30114 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30115 of remain_len that may cause incomplete multi-byte character and
30116 false match.
30117 * posix/bug-regex33.c: New file.
30118 * posix/Makefile (tests): Add bug-regex33.
30119
1f77f049
JM
301202012-02-28 Joseph Myers <joseph@codesourcery.com>
30121
30122 * manual/macros.texi: New file.
30123 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30124 * manual/libc.texinfo: Include macros.texi.
30125 * manual/creatute.texi: Likewise.
30126 * manual/install.texi: Likewise.
30127 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30128 @glibcadj{} in references to the GNU C Library.
30129 * manual/charset.texi: Likewise.
30130 * manual/conf.texi: Likewise.
30131 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30132 when not using those macros.
30133 * manual/creature.texi: Likewise.
30134 * manual/crypt.texi: Likewise.
30135 * manual/errno.texi: Likewise.
30136 * manual/filesys.texi: Likewise.
30137 * manual/header.texi: Likewise.
30138 * manual/install.texi: Likewise.
30139 * manual/intro.texi: Likewise.
30140 * manual/io.texi: Likewise.
30141 * manual/job.texi: Likewise.
30142 * manual/lang.texi: Likewise.
30143 * manual/libc.texiinfo: Likewise.
30144 * manual/llio.texi: Likewise.
30145 * manual/locale.texi: Likewise.
30146 * manual/maint.texi: Likewise.
30147 * manual/math.texi: Likewise.
30148 * manual/memory.texi: Likewise.
30149 * manual/message.texi: Likewise.
30150 * manual/nss.texi: Likewise.
30151 * manual/pattern.texi: Likewise.
30152 * manual/process.texi: Likewise.
30153 * manual/resource.texi: Likewise.
30154 * manual/search.texi: Likewise.
30155 * manual/setjmp.texi: Likewise.
30156 * manual/signal.texi: Likewise.
30157 * manual/socket.texi: Likewise.
30158 * manual/startup.texi: Likewise.
30159 * manual/stdio.texi: Likewise.
30160 * manual/string.texi: Likewise.
30161 * manual/sysinfo.texi: Likewise.
30162 * manual/syslog.texi: Likewise.
30163 * manual/terminal.texi: Likewise.
30164 * manual/time.texi: Likewise.
30165 * manual/users.texi: Likewise.
30166 * INSTALL: Regenerated.
30167 * NOTES: Regenerated.
d40c5d54 30168 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 30169
450bf206
AS
301702012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30171
30172 * include/dirent.h: Include <dirstream.h> before
30173 <dirent/dirent.h>.
30174
741a235b
DM
301752012-02-28 David S. Miller <davem@davemloft.net>
30176
30177 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30178 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30179 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30180 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30181
d6b5aa58
DM
301822012-02-27 David S. Miller <davem@davemloft.net>
30183
1aff59a3
DM
30184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30186 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30187 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30188
d6b5aa58
DM
30189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30190 frame pointer instead of stack pointer relative arg slot.
30191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30192 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30193 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30194
433f48bf
CD
301952012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30196
30197 [BZ #3992]
30198 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30199
d674b76d
DM
302002012-02-27 David S. Miller <davem@davemloft.net>
30201
30202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30206 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30207 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30208 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30209 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30210
0e7727f7
JM
302112012-02-27 Joseph Myers <joseph@codesourcery.com>
30212
30213 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30214 later. Allow versions 5-9.
43be4ca2 30215 * configure: Regenerated.
0e7727f7
JM
30216 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30217 required minimum version and 4.6 as recommended version. Do not
30218 mention bugs in GCC 2.7 and 2.8.
43be4ca2 30219 * INSTALL: Regenerated.
0e7727f7 30220
a78bc654
DM
302212012-02-27 David S. Miller <davem@davemloft.net>
30222
428d5830
DM
30223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30227 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30228 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30229 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30230 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30231
a78bc654
DM
30232 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30233 manipulate bits before adding and subtracting TWO112[sx].
30234 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30235
4579f81c
RM
302362012-02-27 Roland McGrath <roland@hack.frob.com>
30237
36c8acb4
RM
30238 [BZ #13775]
30239 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30240 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30241 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30242 being in POSIX, because they are in 1003.1-2008.
30243
84ad622b
RM
30244 * rt/tst-aio.c: Include <fcntl.h>.
30245 * rt/tst-aio7.c: Likewise.
30246 * rt/tst-aio64.c: Likewise.
30247
4579f81c
RM
30248 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30249
abd923db
JM
302502012-02-27 Joseph Myers <joseph@codesourcery.com>
30251
30252 * manual/install.texi (--with-headers): Describe headers as
30253 interface headers, not private headers.
30254 (Specific advice for GNU/Linux systems): Describe use of headers
30255 from "make headers_install", not private headers from older
30256 kernels.
43be4ca2 30257 * INSTALL: Regenerated.
abd923db
JM
30258 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30259 Change to 2.6.19.
30260 * sysdeps/unix/sysv/linux/configure: Regenerated.
30261
6664049b
JM
30262 * manual/llio.texi (fclean): Remove documentation.
30263
bb8b6697
JM
30264 * manual/Makefile (libc-texi-generated): New variable. Include
30265 version.texi.
30266 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30267 $(libc-texi-generated), not duplicated list of files.
30268 (version.texi, stamp-version): New rules.
30269 (realclean): Remove $(libc-texi-generated), not individual files
30270 from that list. Do not remove dir-add.texinfo.
30271 * manual/libc.texinfo: Comment out uses of edition numbers and
30272 references to printed manual. Remove last-updated dates.
30273 (EDITION): Comment out.
30274 (ISBN): Likewise.
30275 (VERSION, UPDATED): Remove.
30276 (version.texi): Include.
30277
12e5c3b9
AS
302782012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30279
30280 * sysdeps/posix/spawni.c: Include <signal.h>.
30281 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30282 * sysdeps/pthread/aio_fsync.c: Likewise.
30283
4efeffc1 302842012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 30285
ba63ba08
UD
30286 * conform/Makefile (tests): Run only when not cross-compiling and
30287 when fast-check is not defined.
30288
d94a4670
UD
30289 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30290 * conform/data/limits.h-data: Fixes for POSIX2008.
30291 * conform/run-conformtest.sh: Run all tests.
30292 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30293 headers.
30294 * include/bits/dlfcn.h: Likewise.
30295 * include/langinfo.h: Likewise.
30296 * include/monetary.h: Likewise.
30297 * include/sys/poll.h: Likewise.
30298
30299 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30300 for __USE_GNU.
30301 * posix/spawn.h: Define __need_sigset_t.
30302 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30303 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30304 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30305 to get sigevent_t only.
30306 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30307 only for __USE_GNU.
30308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30309 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30310 process_vm_writev only for __USE_GNU.
30311 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
30312
30313 * conform/Makefile: For now ignore errors from run-conformtest.
30314 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30315 POSIX to avoid namespace pollution. Don't prepend headers.
30316 * conform/data/aio.h-data: Fixes for POSIX testing.
30317 * conform/data/fcntl.h-data: Likewise.
30318 * conform/data/glob.h-data: Likewise.
30319 * conform/data/grp.h-data: Likewise.
30320 * conform/data/pthread.h-data: Likewise.
30321 * conform/data/pwd.h-data: Likewise.
30322 * conform/data/signal.h-data: Likewise.
30323 * conform/data/spawn.h-data: Likewise.
30324 * conform/data/stdio.h-data: Likewise.
30325 * conform/data/stdlib.h-data: Likewise.
30326 * conform/data/stropts.h-data: Likewise.
30327 * conform/data/sys/mman.h-data: Likewise.
30328 * conform/data/sys/stat.h-data: Likewise.
30329 * conform/data/sys/types.h-data: Likewise.
30330 * conform/data/sys/wait.h-data: Likewise.
30331 * conform/data/time.h-data: Likewise.
30332 * conform/data/unistd.h-data: Likewise.
30333 * conform/data/utime.h-data: Likewise.
30334
30335 * io/sys/stat.h: fchmod was always in POSIX.
30336 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30337 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30338 * rt/aio.h: Define __need_timespec before including <time.h>.
30339 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30340 struct. Add forward declaration of pthread_attr_t and use it in
30341 sigevent.
30342 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30343 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30344 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30345 always remove CLK_TCK definition.
30346
c20105c3
AS
303472012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30348
30349 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30350
7a270350
UD
303512012-02-25 Ulrich Drepper <drepper@gmail.com>
30352
31341567
UD
30353 * conform/run-conformtest.sh: New file.
30354 * conform/Makefile: Run run-conformtest for tests.
30355 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30356 support.
30357
30358 * conform/data/uchar.h-data: New file.
30359 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30360 * conform/data/arpa/inet.h-data: Likewise.
30361 * conform/data/assert.h-data: Likewise.
30362 * conform/data/complex.h-data: Likewise.
30363 * conform/data/cpio.h-data: Likewise.
30364 * conform/data/ctype.h-data: Likewise.
30365 * conform/data/dirent.h-data: Likewise.
30366 * conform/data/dlfcn.h-data: Likewise.
30367 * conform/data/errno.h-data: Likewise.
30368 * conform/data/fcntl.h-data: Likewise.
30369 * conform/data/float.h-data: Likewise.
30370 * conform/data/fmtmsg.h-data: Likewise.
30371 * conform/data/fnmatch.h-data: Likewise.
30372 * conform/data/ftw.h-data: Likewise.
30373 * conform/data/glob.h-data: Likewise.
30374 * conform/data/grp.h-data: Likewise.
30375 * conform/data/iconv.h-data: Likewise.
30376 * conform/data/inttypes.h-data: Likewise.
30377 * conform/data/langinfo.h-data: Likewise.
30378 * conform/data/libgen.h-data: Likewise.
30379 * conform/data/limits.h-data: Likewise.
30380 * conform/data/locale.h-data: Likewise.
30381 * conform/data/math.h-data: Likewise.
30382 * conform/data/monetary.h-data: Likewise.
30383 * conform/data/mqueue.h-data: Likewise.
30384 * conform/data/ndbm.h-data: Likewise.
30385 * conform/data/net/if.h-data: Likewise.
30386 * conform/data/netdb.h-data: Likewise.
30387 * conform/data/netinet/in.h-data: Likewise.
30388 * conform/data/nl_types.h-data: Likewise.
30389 * conform/data/poll.h-data: Likewise.
30390 * conform/data/pthread.h-data: Likewise.
30391 * conform/data/pwd.h-data: Likewise.
30392 * conform/data/regex.h-data: Likewise.
30393 * conform/data/sched.h-data: Likewise.
30394 * conform/data/search.h-data: Likewise.
30395 * conform/data/semaphore.h-data: Likewise.
30396 * conform/data/setjmp.h-data: Likewise.
30397 * conform/data/signal.h-data: Likewise.
30398 * conform/data/spawn.h-data: Likewise.
30399 * conform/data/stdarg.h-data: Likewise.
30400 * conform/data/stdio.h-data: Likewise.
30401 * conform/data/stdlib.h-data: Likewise.
30402 * conform/data/string.h-data: Likewise.
30403 * conform/data/strings.h-data: Likewise.
30404 * conform/data/stropts.h-data: Likewise.
30405 * conform/data/sys/ipc.h-data: Likewise.
30406 * conform/data/sys/mman.h-data: Likewise.
30407 * conform/data/sys/msg.h-data: Likewise.
30408 * conform/data/sys/resource.h-data: Likewise.
30409 * conform/data/sys/select.h-data: Likewise.
30410 * conform/data/sys/sem.h-data: Likewise.
30411 * conform/data/sys/shm.h-data: Likewise.
30412 * conform/data/sys/socket.h-data: Likewise.
30413 * conform/data/sys/stat.h-data: Likewise.
30414 * conform/data/sys/statvfs.h-data: Likewise.
30415 * conform/data/sys/time.h-data: Likewise.
30416 * conform/data/sys/timeb.h-data: Likewise.
30417 * conform/data/sys/times.h-data: Likewise.
30418 * conform/data/sys/types.h-data: Likewise.
30419 * conform/data/sys/uio.h-data: Likewise.
30420 * conform/data/sys/un.h-data: Likewise.
30421 * conform/data/sys/utsname.h-data: Likewise.
30422 * conform/data/sys/wait.h-data: Likewise.
30423 * conform/data/syslog.h-data: Likewise.
30424 * conform/data/tar.h-data: Likewise.
30425 * conform/data/termios.h-data: Likewise.
30426 * conform/data/utime.h-data: Likewise.
30427 * conform/data/utmpx.h-data: Likewise.
30428 * conform/data/varargs.h-data: Likewise.
30429 * conform/data/wchar.h-data: Likewise.
30430 * conform/data/wctype.h-data: Likewise.
30431 * conform/data/wordexp.h-data: Likewise.
30432
30433 * include/stropts.h: New file.
30434 * include/uchar.h: New file.
30435 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30436 * include/assert.h: Likewise.
30437 * include/ctype.h: Likewise.
30438 * include/dirent.h: Likewise.
30439 * include/dlfcn.h: Likewise.
30440 * include/fcntl.h: Likewise.
30441 * include/fnmatch.h: Likewise.
30442 * include/glob.h: Likewise.
30443 * include/grp.h: Likewise.
30444 * include/libio.h: Likewise.
30445 * include/locale.h: Likewise.
30446 * include/math.h: Likewise.
30447 * include/net/if.h: Likewise.
30448 * include/netdb.h: Likewise.
30449 * include/netinet/in.h: Likewise.
30450 * include/pthread.h: Likewise.
30451 * include/pwd.h: Likewise.
30452 * include/regex.h: Likewise.
30453 * include/sched.h: Likewise.
30454 * include/search.h: Likewise.
30455 * include/setjmp.h: Likewise.
30456 * include/signal.h: Likewise.
30457 * include/stdio.h: Likewise.
30458 * include/stdlib.h: Likewise.
30459 * include/string.h: Likewise.
30460 * include/sys/cdefs.h: Likewise.
30461 * include/sys/mman.h: Likewise.
30462 * include/sys/msg.h: Likewise.
30463 * include/sys/resource.h: Likewise.
30464 * include/sys/select.h: Likewise.
30465 * include/sys/socket.h: Likewise.
30466 * include/sys/stat.h: Likewise.
30467 * include/sys/statvfs.h: Likewise.
30468 * include/sys/time.h: Likewise.
30469 * include/sys/times.h: Likewise.
30470 * include/sys/uio.h: Likewise.
30471 * include/sys/utsname.h: Likewise.
30472 * include/sys/wait.h: Likewise.
30473 * include/termios.h: Likewise.
30474 * include/time.h: Likewise.
30475 * include/ulimit.h: Likewise.
30476 * include/unistd.h: Likewise.
30477 * include/utime.h: Likewise.
30478 * include/wchar.h: Likewise.
30479 * include/wctype.h: Likewise.
30480 * include/wordexp.h: Likewise.
30481
30482 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30483
7a270350
UD
30484 * time/time.h: TIME_UTC must be a macro.
30485 Make timespec_get available for ISO C11 only as well.
30486
7724defc
UD
304872012-02-24 Ulrich Drepper <drepper@gmail.com>
30488
30489 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30490 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30491
6b1d1d46
JM
304922012-02-24 Joseph Myers <joseph@codesourcery.com>
30493
30494 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30495
0f8bbd69
JM
304962012-02-24 Joseph Myers <joseph@codesourcery.com>
30497
30498 * manual/texinfo.tex: Update to version 2012-01-19.16.
30499
66ab80bc
JM
305002012-02-24 Joseph Myers <joseph@codesourcery.com>
30501
30502 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30503
74981cc5
RM
305042012-02-24 Roland McGrath <roland@hack.frob.com>
30505
ee968201
RM
30506 [BZ #13738]
30507 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30508 * manual/fdl-1.3.texi: New file.
30509 * manual/fdl-1.1.texi: File removed.
30510
74981cc5
RM
30511 [BZ #13738]
30512 * manual/libc.texinfo (FDL_VERSION): New @set.
30513 Use it for mention of FDL in cover text.
30514 (Documentation License): Use it in @include file name.
30515
7bb764bc
JM
305162012-02-22 Joseph Myers <joseph@codesourcery.com>
30517 Roland McGrath <roland@hack.frob.com>
30518
30519 [BZ #5461]
30520 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30521 not LONG_LONG_MAX and LONG_LONG_MIN.
30522 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30523 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30524 name.
30525 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30526
6cbeae47
JM
305272012-02-22 Joseph Myers <joseph@codesourcery.com>
30528
30529 [BZ #2547]
30530 [BZ #11365]
30531 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30532 manipulate bits before adding and subtracting TWO23[sx].
30533 * math/libm-test.inc (nearbyint_test): Add more tests.
30534
fe45ce09
JM
305352012-02-22 Joseph Myers <joseph@codesourcery.com>
30536
30537 [BZ #2548]
30538 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30539 bits before adding and subtracting TWO23[sx].
30540 * math/libm-test.inc (rint_test): Add more tests.
30541 (rint_test_tonearest): Likewise.
30542 (rint_test_towardzero): Likewise.
30543 (rint_test_downward): Likewise.
30544 (rint_test_upward: Likewise.
30545
ff3b3d82
JM
305462012-02-22 Joseph Myers <joseph@codesourcery.com>
30547
30548 [BZ #10110]
30549 * include/stdc-predef.h: New file. Extracted from features.h.
30550 * include/features.h: Include stdc-predef.h.
30551 * Makefile (headers): Add stdc-predef.h.
30552 * CONFORMANCE (Compiler limitations): Update.
30553
ef0aab35
JM
305542012-02-22 Joseph Myers <joseph@codesourcery.com>
30555
30556 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30557
58639409
DM
305582012-02-21 David S. Miller <davem@davemloft.net>
30559
30560 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30561 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30562
c0e70b25
DM
305632012-02-20 David S. Miller <davem@davemloft.net>
30564
30565 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30566 using a normal save/restore sequence, rather than allocating a
30567 dummy stack frame just to store a frame pointer and restore.
30568 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30569
fb06851d
JM
305702012-02-21 Joseph Myers <joseph@codesourcery.com>
30571
30572 * manual/install.texi: Fix stray word in line-wrapped comment.
30573
7a8b71c3
DM
305742012-02-20 David S. Miller <davem@davemloft.net>
30575
d510c123
DM
30576 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30577 both binutils and gcc support GOTDATA.
30578
0722d7c2
DM
30579 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30580 "rd %pc" in the PIC register setup sequences.
30581
3d2b3019
DM
30582 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30583 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30584 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30585 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30586 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30587 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30588 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30589 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30590 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30591 (SYSCALL_ERROR_HANDLER): Likewise.
30592 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30593 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30595 (SYSCALL_ERROR_HANDLER): Likewise.
30596
c80098a9
DM
30597 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30598 (HAVE_GCC_GOTDATA): New.
30599 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30600 relocation support in both binutils and gcc.
30601 * sysdeps/sparc/elf/configure: Regenerate.
30602
3a2545a0
DM
30603 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30604 * sysdeps/sparc/sparc32/elf/configure: Delete.
30605 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30606 * sysdeps/sparc/sparc64/elf/configure: Delete.
30607 * sysdeps/sparc/elf/configure.in: New file.
30608 * sysdeps/sparc/elf/configure: Generate.
30609
7a8b71c3
DM
30610 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30611 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30612 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30613 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30614 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30615
f1e86fca
JM
306162012-02-21 Joseph Myers <joseph@codesourcery.com>
30617
30618 * manual/install.texi: Do not mention specific glibc version
30619 numbers.
30620 * manual/libc.texinfo (VERSION, UPDATED): Update.
30621 (@copying): Use @copyright{} and range of years.
30622
0e7dfaef
JM
306232012-02-21 Joseph Myers <joseph@codesourcery.com>
30624
30625 [BZ #13695]
30626 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30627 [crti.S not in sysdirs] (generated): Do not append.
30628 [crti.S not in sysdirs] (omit-deps): Likewise.
30629 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30630 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30631 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30632 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30633 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30634 Likewise.
30635 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30636 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30637 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30638 * csu/defs.awk: Remove file.
30639 * sysdeps/generic/initfini.c: Likewise.
30640 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30641 variable.
30642 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30643 Likewise.
30644
599af3ca
JM
306452012-02-20 Joseph Myers <joseph@codesourcery.com>
30646
30647 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30648 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30649 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30650 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30651 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30652 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30653 <bits/epoll.h>.
30654 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30655 (__EPOLL_PACKED): Define to empty if not defined by
30656 <bits/epoll.h>.
30657 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30659 bits/epoll.h.
30660
0e499750
JM
306612012-02-20 Joseph Myers <joseph@codesourcery.com>
30662
30663 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30664 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30665 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30666 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30667 <bits/timerfd.h>.
30668 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30670 bits/timerfd.h.
30671
5ad91f6e
JM
306722012-02-20 Joseph Myers <joseph@codesourcery.com>
30673
30674 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30675 in C locale.
30676 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30677 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30678 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30680
06b99b02
AJ
306812012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30682
30683 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30684 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30685
7638c0fd
AS
306862012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30687
30688 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30689 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30690 defined.
30691 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30692 Likewise.
30693 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30694 entry for 2.16.
30695
92221550
AJ
306962012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30697
30698 * math/w_acos.c: Use non-signaling floating-point comparisons.
30699 * math/w_acosf.c: Likewise.
30700 * math/w_acosh.c: Likewise.
30701 * math/w_acoshf.c: Likewise.
30702 * math/w_acoshl.c: Likewise.
30703 * math/w_acosl.c: Likewise.
30704 * math/w_asin.c: Likewise.
30705 * math/w_asinf.c: Likewise.
30706 * math/w_asinl.c: Likewise.
30707 * math/w_atanh.c: Likewise.
30708 * math/w_atanhf.c: Likewise.
30709 * math/w_atanhl.c: Likewise.
30710 * math/w_exp2.c: Likewise.
30711 * math/w_exp2f.c: Likewise.
30712 * math/w_exp2l.c: Likewise.
30713 * math/w_j0.c: Likewise.
30714 * math/w_j0f.c: Likewise.
30715 * math/w_j0l.c: Likewise.
30716 * math/w_j1.c: Likewise.
30717 * math/w_j1f.c: Likewise.
30718 * math/w_j1l.c: Likewise.
30719 * math/w_jn.c: Likewise.
30720 * math/w_jnf.c: Likewise.
30721 * math/w_log.c: Likewise.
30722 * math/w_log10.c: Likewise.
30723 * math/w_log10f.c: Likewise.
30724 * math/w_log10l.c: Likewise.
30725 * math/w_log2.c: Likewise.
30726 * math/w_log2f.c: Likewise.
30727 * math/w_log2l.c: Likewise.
30728 * math/w_logf.c: Likewise.
30729 * math/w_logl.c: Likewise.
30730 * math/w_sqrt.c: Likewise.
30731 * math/w_sqrtf.c: Likewise.
30732 * math/w_sqrtl.c: Likewise.
30733 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30734 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30735 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30736 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30737 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30738
ebaf36eb
JM
307392012-02-19 Joseph Myers <joseph@codesourcery.com>
30740
30741 [BZ #9739]
30742 * manual/string.texi (strnlen): Use correct parameter name in
30743 equivalent expression.
30744
71c254a6
JM
307452012-02-19 Joseph Myers <joseph@codesourcery.com>
30746
30747 [BZ #11174]
30748 * manual/users.texi (seteuid): Consistently use neweuid for
30749 argument name.
30750
16d2c631
JM
307512012-02-19 Joseph Myers <joseph@codesourcery.com>
30752
30753 [BZ #13704]
30754 * manual/nss.texi (Services in the NSS configuration): Correct
30755 list of services in example configuration file.
30756
cd837b09
NB
307572012-02-19 Nick Bowler <nbowler@draconx.ca>
30758
30759 [BZ #11322]
30760 * manual/arith.texi: Remove statements about negative zero
30761 behaving identically to zero.
30762
02c4bbad
JM
307632012-02-18 Joseph Myers <joseph@codesourcery.com>
30764
30765 [BZ #5993]
30766 * manual/install.texi: Do not document upgrading from libc5.
30767
366842e7
JM
307682012-02-18 Joseph Myers <joseph@codesourcery.com>
30769
30770 [BZ #4596]
30771 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30772
dd54084d
DM
307732012-02-18 David S. Miller <davem@davemloft.net>
30774
30775 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30776 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30777 %o7 across the call.
30778 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30779 instead.
30780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30781 SETUP_PIC_REG_LEAF.
30782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30783 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30784 * sysdeps/sparc/crtn.S: Likewise.
30785
2bcc53a3
UD
307862012-02-17 Ulrich Drepper <drepper@gmail.com>
30787
30788 * aout/Makefile: Remove.
30789
09c093b5
RK
307902012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30791
30792 [BZ #13058]
30793 * manual/examples/argp-ex1.c (main): Format definition in GNU
30794 style.
30795 * manual/examples/argp-ex2.c (main): Likewise.
30796 * manual/examples/argp-ex3.c (main): Likewise.
30797 * manual/examples/argp-ex4.c (main): Likewise.
30798 * manual/examples/longopt.c (main): Use new-style prototype
30799 definition.
30800 * manual/examples/strncat.c (main): Specify return type and use
30801 (void) for arguments.
30802 * manual/examples/subopt.c (main): Use char **argv argument.
30803
2ee633a2
JM
308042012-02-17 Joseph Myers <joseph@codesourcery.com>
30805
30806 [BZ #5077]
30807 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30808 rounding modes.
30809
0520adde
FB
308102012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30811
30812 [BZ #6907]
30813 * manual/string.texi (strchr): Change when strchrnul is
30814 recommended.
30815
3f4081cd
DGM
308162012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30817
30818 [BZ #174]
30819 * manual/locale.texi (setlocale): Document LOCPATH.
30820
d1b10e78
JM
308212012-02-17 Joseph Myers <joseph@codesourcery.com>
30822
30823 [BZ #10210]
30824 * manual/process.texi (execle): Move @dots{} before last argument.
30825
79c6869c
PB
308262012-02-17 Paul Bolle <pebolle@tiscali.nl>
30827
30828 [BZ #12047]
30829 * manual/charset.texi (Generic Charset Conversion): Fix typo
30830 (LC_TYPE -> LC_CTYPE).
30831
cc6e48bc
NB
308322012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30833
30834 [BZ #5805]
30835 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30836 (scalbnf): Likewise.
30837 (scalbnl): Likewise.
30838 (scalbln): Likewise.
30839 (scalblnf): Likewise.
30840 (scalblnl): Likewise.
30841 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30842 (vwarnx): Likewise.
30843 (verr): Likewise.
30844 (verrx): Likewise.
30845 * manual/filesys.texi (telldir): Use braces around return type.
30846 * manual/llio.texi (mmap): Add space after comma.
30847 (mmap64): Likewise.
30848 * manual/math.texi (jn): Use @var{} on parameter names.
30849 (jnf): Likewise.
30850 (jnl): Likewise.
30851 (yn): Likewise.
30852 (ynf): Likewise.
30853 (ynl): Likewise.
30854 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30855 line.
30856 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30857 "...".
30858 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30859 (sched_get_priority_max): Likewise.
30860 * manual/signal.texi (sigvec): Add space after comma.
30861 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30862 names.
30863 (if_indextoname): Likewise.
30864 (if_freenameindex): Likewise.
30865 (sendto): Use ',' instead of '.' in prototype.
30866 * manual/startup.texi (syscall): Use @dots{} instead of literal
30867 "...".
30868 * manual/stdio.texi (__fpending): Separate initial words of
30869 paragraph from @deftypefun line.
30870 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30871 "...".
30872 (vsyslog): Use @var{} on parameter names.
30873 * manual/terminal.texi (stty): Use @var{} on parameter names.
30874 * manual/users.texi (getutmp): Use @var{} on parameter names.
30875 (getutmpx): Likewise.
30876
5b23062f
JM
308772012-02-17 Joseph Myers <joseph@codesourcery.com>
30878
30879 [BZ #6884]
30880 * manual/stdio.texi (fopen): Fix typos in description of
30881 ",ccs=STRING".
30882
8dee4833
AJ
308832012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30884
30885 [BZ #4026]
30886 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30887 get clock_id definition.
30888
9078ce93
TS
308892012-02-17 Thomas Schwinge <thomas@schwinge.name>
30890
30891 [BZ #4822]
30892 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30893 (madvise): Cast every argument to void on its own.
30894
3835c55f
JM
308952012-02-17 Joseph Myers <joseph@codesourcery.com>
30896
30897 [BZ #9902]
30898 * manual/startup.texi (Exit Status): Fix typo.
30899
35c47e37
JM
309002012-02-17 Joseph Myers <joseph@codesourcery.com>
30901
30902 [BZ #10140]
30903 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30904 * manual/examples/argp-ex2.c: Likewise.
30905 * manual/examples/argp-ex3.c: Likewise.
30906
e3b69ca7
RH
309072012-02-16 Richard Henderson <rth@redhat.com>
30908
30909 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30910 * sysdeps/s390/s390-32/initfini.c: Remove.
30911 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30912 * sysdeps/s390/s390-64/initfini.c: Remove.
30913
df83af67
KK
309142012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30915
30916 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30917 compiler output for sysdeps/generic/initfini.c.
30918 * sysdeps/sh/elf/initfini.c: Remove file.
30919
f63f3380
DM
309202012-02-16 David S. Miller <davem@davemloft.net>
30921
fb59b3a4
DM
30922 [BZ #11494]
30923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30924
f63f3380
DM
30925 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30926 * sysdeps/sparc/crti.S: New file.
30927 * sysdeps/sparc/crtn.S: New file.
30928 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30929 * sysdeps/sparc/sparc64/Makefile: Likewise.
30930
df6a4a4a
MF
309312012-02-15 Mike Frysinger <vapier@gentoo.org>
30932
6dd8f3dc 30933 [BZ #3335]
df6a4a4a
MF
30934 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30935
1cac7236
RM
309362012-02-15 Roland McGrath <roland@hack.frob.com>
30937
d2c736f8
RM
30938 [BZ #4822]
30939 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30940
1cac7236
RM
30941 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30942 (write, read, close): Likewise.
30943 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30944
8e475601
JM
309452012-02-15 Joseph Myers <joseph@codesourcery.com>
30946
30947 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30948 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30949 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30950 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30951 <bits/signalfd.h>.
30952 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30954 bits/signalfd.h.
30955
ed656b40
MP
309562012-02-14 Marek Polacek <polacek@redhat.com>
30957
30958 * sysdeps/x86_64/crti.S: New file.
30959 * sysdeps/x86_64/crtn.S: New file.
30960 * sysdeps/x86_64/elf/initfini.c: Remove file.
30961
2a979d3a
JM
309622012-02-13 Joseph Myers <joseph@codesourcery.com>
30963
30964 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30965 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30966 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30967 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30968 <bits/inotify.h>.
30969 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30971 bits/inotify.h.
30972
2a418ac3
JM
309732012-02-13 Joseph Myers <joseph@codesourcery.com>
30974
30975 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30976 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30977 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30978 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30979 <bits/eventfd.h>.
30980 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30982 bits/eventfd.h.
30983
fb779be7
TS
309842012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30985
e19e83c5
RM
30986 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30987 __feraiseexcept instead of feraiseexcept.
7c35ffed 30988
fb779be7
TS
30989 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30990 nanosleep invocations.
30991 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30992 strings, and add error checking for a nanosleep invocations.
30993
59ba27a6
PE
309942012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30995
30996 Replace FSF snail mail address with URLs, as per GNU coding standards.
30997 Most of the snail mail addresses were wrong anyway, and omitting
30998 them makes the source code easier to maintain. Almost all of the
30999 changes are to license notices and to locale LC_IDENTIFICATION
31000 addresses, except for this one:
31001 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31002 not its snail mail address.
31003
57b957eb
RH
310042012-02-09 Richard Henderson <rth@twiddle.net>
31005
af850b1c
RH
31006 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31007 of kernel-features.h.
31008
57b957eb
RH
31009 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31010
6b73181a
MP
310112012-02-08 Marek Polacek <polacek@redhat.com>
31012
31013 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31014 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31015 * sysdeps/gnu/_G_config.h: Likewise.
31016 * sysdeps/generic/_G_config.h: Likewise.
31017
26ecc33a
AS
310182012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31019
6c6dbc63
AS
31020 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31021 tests.
31022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31023
e216c012
AS
31024 * sysdeps/powerpc/powerpc32/crti.S: New file.
31025 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31026 * sysdeps/powerpc/powerpc64/crti.S: New file.
31027 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31028
26ecc33a
AS
31029 * Makeconfig (have-initfini): Don't set.
31030 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31031 * configure.in (nopic_initfini): Don't substitute.
31032 * config.h.in (HAVE_INITFINI): Don't #undef.
31033 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31034 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31035
3add8e13
JM
310362012-02-08 Joseph Myers <joseph@codesourcery.com>
31037
31038 Support crti.S and crtn.S provided directly by architectures.
31039 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31040 [crti.S in sysdirs] (omit-deps): Likewise.
31041 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31042 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31043 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31044 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31045 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31046 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31047 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31048 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31049 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31050 compiler output for sysdeps/generic/initfini.c.
31051 * sysdeps/i386/elf/Makefile: Remove file.
31052 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31053
a22f12b4
MP
310542012-02-07 Marek Polacek <polacek@redhat.com>
31055
31056 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31057 * sysdeps/gnu/_G_config.h: Likewise.
31058 * sysdeps/mach/hurd/_G_config.h: Likewise.
31059
148cf100
MP
310602012-02-07 Marek Polacek <polacek@redhat.com>
31061
31062 * math/Makefile (tests): Add tst-CMPLX2.
31063 * math/tst-CMPLX2.c: New file.
31064
cfdc0dd7
AS
310652012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31066
84ba42c4
AS
31067 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31068
cfdc0dd7
AS
31069 * math/libm-test.inc (jn_test): Add missing L suffix.
31070
622c86f4
MP
310712012-02-06 Marek Polacek <polacek@redhat.com>
31072
31073 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31074 * sysdeps/i386/fpu/e_powf.S: Likewise.
31075 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31076 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31077 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31078 * sysdeps/i386/fpu/e_pow.S: Likewise.
31079 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31080 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31081 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31082 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31083 * sysdeps/i386/fpu/e_log2.S: Likewise.
31084 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31085 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31086 * sysdeps/i386/fpu/e_powl.S: Likewise.
31087 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31088 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31089 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31090 * sysdeps/i386/fpu/e_logl.S: Likewise.
31091 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31092 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31093 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31094 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31095 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31096 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31097 * sysdeps/i386/fpu/e_log.S: Likewise.
31098 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31099 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31100 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31101 * sysdeps/i386/fpu/e_logf.S: Likewise.
31102 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31103 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31104 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31105 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31106 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31107 * sysdeps/i386/fpu/e_log10.S: Likewise.
31108 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31109 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31110 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31111 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31112 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31113 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31114 * sysdeps/i386/asm-syntax.h: Likewise.
31115 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31116 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31117 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31118 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31119 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31120 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31121 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31122 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31123 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31124 * sysdeps/powerpc/sysdep.h: Likewise.
31125 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31126 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31127
d4a54ac6
JM
311282012-02-06 Joseph Myers <joseph@codesourcery.com>
31129
31130 [BZ #411]
31131 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31132
314054ea
JM
311332012-02-06 Joseph Myers <joseph@codesourcery.com>
31134
31135 * sysdeps/i386/sysdep.h: Include <features.h>.
31136 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31137 version.
31138
d8e0ca50
JM
311392012-02-05 Joseph Myers <joseph@codesourcery.com>
31140
31141 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31142 Define.
31143 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31144 LOAD_PIC_REG_STR.
31145
b1da7dd9
JM
311462012-02-03 Joseph Myers <joseph@codesourcery.com>
31147
31148 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31149 (SETUP_PIC_REG): Use GET_PC_THUNK.
31150 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31151 macro.
31152
9a1d9254
JM
311532012-02-03 Joseph Myers <joseph@codesourcery.com>
31154
31155 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31156 for non-PIC compilation.
31157 (SETUP_PIC_REG): Add .p2align directive.
31158 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31159 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31160 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31161 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31162 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31163 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31164 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31165 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31166 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31167 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31168 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31169 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31170 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31171 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31172 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31173 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31174 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31175 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31176 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31177 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31178 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31179 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31180 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31181 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31182 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31183 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31184 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31185 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31186 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31187 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31188 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31189 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31190 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31191 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31192 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31193 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31194 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31195 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31196 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31197 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31198 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31199
65dc3b75
JM
312002012-02-03 Joseph Myers <joseph@codesourcery.com>
31201
31202 * math/tst-CMPLX.c: Include <stdio.h>.
31203
d55bf177
JM
312042012-01-31 Joseph Myers <joseph@codesourcery.com>
31205
31206 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31207 float.
31208 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31209 * sysdeps/sparc/bits/mathdef.h: Likewise.
31210
69db4f8f
MP
312112012-01-31 Marek Polacek <polacek@redhat.com>
31212
31213 * libio/libio.h: Don't define _PARAMS.
31214 * locale/programs/config.h: Don't define PARAMS.
31215 * stdlib/strtol_l.c: Likewise.
31216 (__strtol_l): Remove PARAMS from the prototype.
31217
41b81892
UD
312182012-01-31 Ulrich Drepper <drepper@gmail.com>
31219
3b49edc0
UD
31220 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31221 names. Just use the correct names. Remove unnecessary wrapper
31222 functions.
31223 * malloc/arena.c: Likewise.
31224 * malloc/hooks.c: Likewise.
31225
41b81892
UD
31226 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31227 ARENA_TEST says not to. Simplify test for creation of a new arena.
31228 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31229
27a25b6e
UD
312302012-01-30 Ulrich Drepper <drepper@gmail.com>
31231
31232 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31233 into tail calls.
31234 (update_get_addr): New function.
31235 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31236 GET_ADDR_MODULE parameter.
31237
c8a89e7d
JM
312382012-01-30 Joseph Myers <joseph@codesourcery.com>
31239
31240 * crypt/cert.c: Remove __STDC__ conditionals.
31241 * crypt/crypt-entry.c: Likewise.
31242 * crypt/crypt_util.c: Likewise.
31243 * libio/filedoalloc.c: Likewise.
31244 * libio/fileops.c: Likewise.
31245 * libio/genops.c: Likewise.
31246 * libio/iofclose.c: Likewise.
31247 * libio/iofdopen.c: Likewise.
31248 * libio/iofopen.c: Likewise.
31249 * libio/iofopen64.c: Likewise.
31250 * libio/iogetdelim.c: Likewise.
31251 * libio/iopopen.c: Likewise.
31252 * libio/obprintf.c: Likewise.
31253 * libio/oldfileops.c: Likewise.
31254 * libio/oldiofclose.c: Likewise.
31255 * libio/oldiofdopen.c: Likewise.
31256 * libio/oldiofopen.c: Likewise.
31257 * libio/oldiopopen.c: Likewise.
31258 * libio/wfiledoalloc.c: Likewise.
31259 * libio/wgenops.c: Likewise.
31260 * locale/programs/xmalloc.c: Likewise.
31261 * misc/syslog.c: Likewise.
31262 * stdio-common/xbug.c: Likewise.
31263 * string/memchr.c: Likewise.
31264 * string/memcmp.c: Likewise.
31265 * string/memrchr.c: Likewise.
31266 * string/rawmemchr.c: Likewise.
31267 * sysdeps/posix/getcwd.c: Likewise.
31268 * time/strftime_l.c: Likewise.
31269
3b100462
JM
312702012-01-30 Joseph Myers <joseph@codesourcery.com>
31271
31272 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
31273 * config.make.in (config-cflags-sse2avx): Define.
31274 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31275 Fix typo.
31276
607998af
CM
312772012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31278
31279 * scripts/config.guess: Update from upstream config git repository.
31280 * scripts/config.sub: Likewise.
31281
3601428f
CM
312822012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31283
3ac8b282
CM
31284 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31285 (EM_NUM): Update.
31286 (R_TILEPRO_*, R_TILEGX_*): New macros.
31287
e034841e
CM
31288 * scripts/firstversions.awk: Fix bug in version range handling.
31289
540d7568
CM
31290 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31291
3601428f
CM
31292 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31293
463de862
CM
31294 * include/sys/epoll.h: New file.
31295 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31296 libc_hidden_def.
31297
73139a76
UD
312982012-01-28 Ulrich Drepper <drepper@gmail.com>
31299
96bc5b45
UD
31300 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31301 Avoid unnecessary __WORDSIZE == 64 test.
31302 (fmaxf): Use VEX format if possible.
31303 (fmax): Likewise.
31304 (fminf): Likewise.
31305 (fmin): Likewise.
31306
56f6f6a2
UD
31307 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31308 * math/math_private.h: Remove libc_fegetround* and
31309 libc_fesetround*.
31310 * sysdeps/i386/configure.in: Check for -msse2avx.
31311 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31312 also if SSE2AVX is defined.
31313 Remove libc_fegetround* and libc_fesetround*.
31314 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31315 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31316 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31317 of HAS_YMM_USABLE.
31318 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31319 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31320 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31321 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31322 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31323
73139a76
UD
31324 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31325
d73f93a4
AZ
313262012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31327
31328 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31329 size is not set.
31330 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31331
6ee65ed6
UD
313322012-01-27 Ulrich Drepper <drepper@gmail.com>
31333
31334 [BZ #13618]
31335 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31336 relocation.
31337 * Makeconfig (libm): Define.
31338 * elf/Makefile: Add rules to build and run tst-relsort1.
31339 * elf/tst-relsort1.c: New file.
31340 * elf/tst-relsort1mod1.c: New file.
31341 * elf/tst-relsort1mod2.c: New file.
31342
8db21882
JM
313432012-01-27 Joseph Myers <joseph@codesourcery.com>
31344
31345 * math/s_ldexp.c: Remove __STDC__ conditionals.
31346 * math/s_ldexpf.c: Likewise.
31347 * math/s_ldexpl.c: Likewise.
31348 * math/s_nextafter.c: Likewise.
31349 * math/s_nexttowardf.c: Likewise.
31350 * math/s_significand.c: Likewise.
31351 * math/s_significandf.c: Likewise.
31352 * math/s_significandl.c: Likewise.
31353 * math/w_jnl.c: Likewise.
31354 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31355 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31356 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31357 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31358 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31359 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31360 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31361 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31362 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31363 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31364 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31365 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31366 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31367 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31368 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31369 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31370 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31371 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31372 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31373 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31374 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31375 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31376 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31377 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31378 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31379 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31380 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31381 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31382 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31383 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31384 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31385 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31386 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31387 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31388 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31389 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31390 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31391 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31392 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31393 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31394 * sysdeps/ieee754/k_standard.c: Likewise.
31395 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31396 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31397 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31398 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31399 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31400 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31401 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31402 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31403 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31404 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31405 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31406 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31407 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31408 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31409 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31410 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31411 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31412 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31413 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31414 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31415 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31416 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31417 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31418 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31419 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31420 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31421 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31423 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31424 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31425 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31426 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31427 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31428 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31429 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31430 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31431 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31432 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31433 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31434 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31435 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31436 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31437 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31438 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31439 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31440 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31441 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31442 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31443 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31444 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31445 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31446 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31447 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31448 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31449 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31450 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31451 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31452 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31453 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31454 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31455 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31456 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31457 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31458 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31459 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31460 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31461 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31462 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31463 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31464 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31465 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31466 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31467 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31468 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31469 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31470 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31471 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31472 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31473 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31474 * sysdeps/ieee754/s_matherr.c: Likewise.
31475 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31476 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31477 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31478 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31479
965a54a4
JM
314802012-01-26 Joseph Myers <joseph@codesourcery.com>
31481
31482 * crypt/md5.h: Remove __STDC__ conditionals.
31483 * libio/libioP.h: Likewise.
31484 * locale/programs/config.h: Likewise.
31485 * sysdeps/generic/sysdep.h: Likewise.
31486 * sysdeps/i386/asm-syntax.h: Likewise.
31487 * sysdeps/s390/asm-syntax.h: Likewise.
31488 * sysdeps/unix/sysdep.h: Likewise.
31489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31491
7071ad79
JM
314922012-01-26 Joseph Myers <joseph@codesourcery.com>
31493
31494 * libio/libio.h: Remove __STDC__ conditionals.
31495 * malloc/obstack.h: Likewise.
31496 * math/complex.h: Likewise.
31497 * math/math.h: Likewise.
31498 * sysdeps/generic/_G_config.h: Likewise.
31499 * sysdeps/gnu/_G_config.h: Likewise.
31500 * sysdeps/mach/hurd/_G_config.h: Likewise.
31501 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31502 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31503 * sysdeps/sparc/bits/mathdef.h: Likewise.
31504
afc5ed09
UD
315052012-01-26 Ulrich Drepper <drepper@gmail.com>
31506
31507 [BZ #13583]
31508 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31509 Clean up HAS_* macros.
afc5ed09 31510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31511 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31512 possible.
31513 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31514 HAS_AVX.
31515 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31516 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31517 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31518 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31519 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31520
bdb6de1d
JM
315212012-01-25 Joseph Myers <joseph@codesourcery.com>
31522
31523 * elf/tst-unique3.cc (gets): Remove declaration.
31524 * elf/tst-unique3lib.cc (gets): Likewise.
31525 * elf/tst-unique3lib2.cc (gets): Likewise.
31526 * elf/tst-unique4.cc (gets): Likewise.
31527
b15549e6
UD
315282012-01-24 Ulrich Drepper <drepper@gmail.com>
31529
31530 * include/stdio.h: Add C++ protection. Add gets declarations and
31531 definitions.
31532 * debug/tst-chk1.c: Don't declare gets here.
31533 * stdio-common/tst-gets.c: Likewise.
31534
a037381f
JM
315352012-01-24 Joseph Myers <joseph@codesourcery.com>
31536
31537 * posix/glob: Remove directory.
31538
f1d4aa75
JM
315392012-01-24 Joseph Myers <joseph@codesourcery.com>
31540
31541 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31542
81c0c964
PT
315432012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31544
31545 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31546 of the non-standard EPFNOSUPPORT.
31547
0ea698ae
ST
315482011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31549
31550 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31551 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31552 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31553
d220b117
UD
315542012-01-21 Ulrich Drepper <drepper@gmail.com>
31555
31556 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31557
3e1aa84e
UD
315582012-01-20 Ulrich Drepper <drepper@gmail.com>
31559
31560 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31561 transient errors.
31562 * nscd/grpcache.c (cache_addgr): Likewise.
31563 * nscd/hstcache.c (cache_addhst): Likewise.
31564 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31565 * nscd/pwdcache.c (cache_addpw): Likewise.
31566 * nscd/servicescache.c (cache_addserv): Likewise.
31567
400aa020
UD
315682012-01-16 Ulrich Drepper <drepper@gmail.com>
31569
d77e7869
UD
31570 * malloc/malloc.c: Various cleanups.
31571 * malloc/hooks.c: Likewise.
31572
400aa020
UD
31573 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31574 * stdlib/bug-fmtmsg1.c: New file.
31575
31576 * stdlib/fmtmsg.c (init): Add missing unlock.
31577 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31578
e0a309cf
MP
315792012-01-12 Marek Polacek <polacek@redhat.com>
31580
31581 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31582 and _GNU_SOURCE.
31583
929d11c7
WS
315842012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31585
31586 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31587 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31588 macro to ensure uniqueness of label name.
31589 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31590 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31591
41d0e869
UD
315922012-01-11 Ulrich Drepper <drepper@gmail.com>
31593
0cc5ed3b
UD
31594 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31595
41d0e869
UD
31596 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31597 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31598 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31600
a47a831a
UD
316012012-01-10 Ulrich Drepper <drepper@gmail.com>
31602
daa891c0
UD
31603 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31604
31605 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31606 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31607 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31608
e58ef0f2
UD
31609 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31610
a47a831a 31611 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31612 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31613 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31614 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31615
31616 * math/bits/math-finite.h: Add ldexp support.
31617
a0bfc9c7
MP
316182012-01-10 Marek Polacek <polacek@redhat.com>
31619
31620 * locale/programs/localedef.h (show_archive_content): Add noreturn
31621 attribute.
31622
d6e97a1d
UD
316232012-01-09 Ulrich Drepper <drepper@gmail.com>
31624
31625 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31626
d5835c26
UD
316272012-01-08 Ulrich Drepper <drepper@gmail.com>
31628
e5f484c6
UD
31629 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31630
d5835c26
UD
31631 * io/Makefile (headers): Add bits/poll2.h.
31632
d1f741e9
WS
316332011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31634
31635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31636 typo #include statement.
31637
ec09c1c4
UD
316382012-01-08 Ulrich Drepper <drepper@gmail.com>
31639
31640 * include/sys/cdefs.h: Define __attribute_alloc_size.
31641 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31642 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31643 * elf/pldd.c: Likewise.
31644 * iconv/iconv_charmap.c: Likewise.
31645 * iconv/iconvconfig.c: Likewise.
31646 * iconv/strtab.c: Likewise.
31647 * locale/programs/locale.c: Likewise.
31648 * locale/programs/localedef.h: Likewise.
31649 * locale/programs/simple-hash.c: Likewise.
31650 * nscd/nscd.h: Likewise.
31651 * nss/makedb.c: Likewise.
31652 * sysdeps/generic/ldconfig.h: Likewise.
31653 * locale/programs/localedef.c: Remove xmalloc prototype.
31654 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31655
20b38e03
PP
316562012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31657
31658 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31659 appropriate.
31660
a0da5fe1
UD
316612012-01-08 Ulrich Drepper <drepper@gmail.com>
31662
1d5a644a 31663 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31664 * math/tst-CMPLX.c: New file.
1d5a644a 31665
8784a6db
UD
31666 * math/complex.h (CMPLXL): Fix typo.
31667
d9a216c0
UD
31668 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31669 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31670 GLIBC_2.16.
31671 * debug/tst-chk1.c: Add poll and ppoll tests.
31672 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31673 * include/sys/poll.h: Add hidden proto for ppoll.
31674 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31675 * sysdeps/mach/hurd/ppoll.c: Likewise.
31676 * io/ppoll.c: Likewise.
31677 * debug/poll_chk.c: New file.
31678 * debug/ppoll_chk.c: New file.
31679 * include/bits/poll2.h: New file.
31680 * io/bits/poll2.h: New file.
31681
ac097f5c
UD
31682 [BZ #1350]
31683 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31684
2119dcfa
UD
31685 * configure.in: static is always set to yes. Remove.
31686 * config.make.in: Don't set build-static.
31687 * Makeconfig: Remove use of build-static.
31688 * dlfcn/Makefile: Likewise.
31689 * elf/Makefile: Likewise.
31690 * math/Makefile: Likewise.
31691 * misc/Makefile: Likewise.
31692 * nptl/Makefile: Likewise.
31693 * sysdeps/mach/hurd/Makefile: Likewise.
31694
121766a9
UD
31695 * configure.in: PWD_P is not used anymore.
31696 * config.make.in: Remove PWD_P entry.
31697
51a1d39c 31698 * configure.in: Remove last remnants of RANLIB.
8720d066 31699 No need to check for signed size_t anymore.
215f4bdc
UD
31700 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31701 and IA-64.
3857022a 31702 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31703 * aclocal.m4: Likewise.
31704
d3ed7225
UD
31705 * wcsmbs/mbrtoc16.c: Implement using towc function.
31706 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31707 * wcsmbs/wcsmbsload.c: Likewise.
31708 * iconv/gconv_simple.c: Likewise.
31709 * iconv/gconv_int.h: Likewise.
31710 * iconv/gconv_builtin.h: Likewise.
31711 * iconv/iconv_prog.c: Remove CHAR16 handling.
31712
31713 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31714
31715 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31716
a0da5fe1
UD
31717 * configure.in: Remove --with-elf and --enable-bounded options.
31718 Dont set base_machine for ia64. More non-ELF conditions removed.
31719 Remove testing and setting of leading underscore information.
31720 * config.make.in (build-bounded): Set to no.
31721 * config.h.in: Remove NO_UNDERSCORES entry.
31722 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31723 them.
31724 * csu/start.c: Remove !NO_UNDERSCORE code.
31725 * locale/localeinfo.h: Likewise.
31726 * sysdeps/generic/machine-gmon.h: Likewise.
31727 * sysdeps/generic/sysdep.h: Likewise.
31728 * sysdeps/i386/sysdep.h: Likewise.
31729 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31730 * sysdeps/mach/sysdep.h: Likewise.
31731 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31732 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31733 * sysdeps/sh/sysdep.h: Likewise.
31734 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31735 * sysdeps/unix/i386/sysdep.S: Likewise.
31736 * sysdeps/unix/sparc/start.c: Likewise.
31737 * sysdeps/unix/sparc/sysdep.S: Likewise.
31738 * sysdeps/unix/sparc/sysdep.h: Likewise.
31739 * sysdeps/unix/start.c: Likewise.
31740 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31741 * sysdeps/x86_64/sysdep.h: Likewise.
31742
df78418a
UD
317432012-01-07 Ulrich Drepper <drepper@gmail.com>
31744
a784e502
UD
31745 [BZ #13553]
31746 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31747 for non-gcc.
31748 * argp/argp-fmtstream.h: Use const instead __const.
31749 * argp/argp.h: Likewise.
31750 * assert/assert.h: Likewise.
31751 * bits/fenv.h: Likewise.
31752 * bits/sched.h: Likewise.
31753 * bits/sigset.h: Likewise.
31754 * bits/sigthread.h: Likewise.
31755 * catgets/nl_types.h: Likewise.
31756 * conform/data/pthread.h-data: Likewise.
31757 * crypt/crypt-private.h: Likewise.
31758 * crypt/crypt.h: Likewise.
31759 * crypt/crypt_util.c: Likewise.
31760 * ctype/ctype.h: Likewise.
31761 * debug/execinfo.h: Likewise.
31762 * debug/mbsnrtowcs_chk.c: Likewise.
31763 * debug/mbsrtowcs_chk.c: Likewise.
31764 * debug/wcsnrtombs_chk.c: Likewise.
31765 * debug/wcsrtombs_chk.c: Likewise.
31766 * debug/wcstombs_chk.c: Likewise.
31767 * dirent/dirent.h: Likewise.
31768 * dlfcn/dlfcn.h: Likewise.
31769 * elf/neededtest4.c: Likewise.
31770 * grp/grp.h: Likewise.
31771 * gshadow/gshadow.h: Likewise.
31772 * iconv/gconv.h: Likewise.
31773 * iconv/gconv_int.h: Likewise.
31774 * iconv/gconv_simple.c: Likewise.
31775 * iconv/iconv.h: Likewise.
31776 * iconv/loop.c: Likewise.
31777 * iconv/skeleton.c: Likewise.
31778 * include/aio.h: Likewise.
31779 * include/aliases.h: Likewise.
31780 * include/argz.h: Likewise.
31781 * include/arpa/inet.h: Likewise.
31782 * include/assert.h: Likewise.
31783 * include/dirent.h: Likewise.
31784 * include/dlfcn.h: Likewise.
31785 * include/execinfo.h: Likewise.
31786 * include/fcntl.h: Likewise.
31787 * include/fenv.h: Likewise.
31788 * include/glob.h: Likewise.
31789 * include/grp.h: Likewise.
31790 * include/libintl.h: Likewise.
31791 * include/mntent.h: Likewise.
31792 * include/netdb.h: Likewise.
31793 * include/pwd.h: Likewise.
31794 * include/rpc/netdb.h: Likewise.
31795 * include/sched.h: Likewise.
31796 * include/search.h: Likewise.
31797 * include/shadow.h: Likewise.
31798 * include/signal.h: Likewise.
31799 * include/stdio.h: Likewise.
31800 * include/stdlib.h: Likewise.
31801 * include/string.h: Likewise.
31802 * include/sys/socket.h: Likewise.
31803 * include/sys/stat.h: Likewise.
31804 * include/sys/statfs.h: Likewise.
31805 * include/sys/statvfs.h: Likewise.
31806 * include/sys/syslog.h: Likewise.
31807 * include/sys/time.h: Likewise.
31808 * include/sys/uio.h: Likewise.
31809 * include/time.h: Likewise.
31810 * include/unistd.h: Likewise.
31811 * include/utmp.h: Likewise.
31812 * include/wchar.h: Likewise.
31813 * include/wctype.h: Likewise.
31814 * inet/aliases.h: Likewise.
31815 * inet/arpa/inet.h: Likewise.
31816 * inet/netinet/ether.h: Likewise.
31817 * inet/netinet/in.h: Likewise.
31818 * intl/libintl.h: Likewise.
31819 * io/bits/fcntl2.h: Likewise.
31820 * io/fcntl.h: Likewise.
31821 * io/ftw.h: Likewise.
31822 * io/sys/poll.h: Likewise.
31823 * io/sys/stat.h: Likewise.
31824 * io/sys/statfs.h: Likewise.
31825 * io/sys/statvfs.h: Likewise.
31826 * io/utime.h: Likewise.
31827 * libio/bits/stdio.h: Likewise.
31828 * libio/bits/stdio2.h: Likewise.
31829 * libio/libio.h: Likewise.
31830 * libio/libioP.h: Likewise.
31831 * libio/stdio.h: Likewise.
31832 * locale/lc-ctype.c: Likewise.
31833 * locale/locale.h: Likewise.
31834 * login/utmp.h: Likewise.
31835 * malloc/arena.c: Likewise.
31836 * malloc/malloc.c: Likewise.
31837 * malloc/malloc.h: Likewise.
31838 * malloc/mcheck.c: Likewise.
31839 * malloc/mtrace.c: Likewise.
31840 * math/bits/mathcalls.h: Likewise.
31841 * math/fenv.h: Likewise.
31842 * math/math_private.h: Likewise.
31843 * misc/bits/error.h: Likewise.
31844 * misc/bits/syslog.h: Likewise.
31845 * misc/err.h: Likewise.
31846 * misc/error.h: Likewise.
31847 * misc/fstab.h: Likewise.
31848 * misc/mntent.h: Likewise.
31849 * misc/regexp.h: Likewise.
31850 * misc/search.h: Likewise.
31851 * misc/sgtty.h: Likewise.
31852 * misc/sys/mman.h: Likewise.
31853 * misc/sys/syslog.h: Likewise.
31854 * misc/sys/uio.h: Likewise.
31855 * misc/sys/xattr.h: Likewise.
31856 * misc/ttyent.h: Likewise.
31857 * nis/rpcsvc/ypclnt.h: Likewise.
31858 * nss/nss.h: Likewise.
31859 * posix/bits/unistd.h: Likewise.
31860 * posix/fnmatch.h: Likewise.
31861 * posix/glob.h: Likewise.
31862 * posix/sched.h: Likewise.
31863 * posix/spawn.h: Likewise.
31864 * posix/sys/wait.h: Likewise.
31865 * posix/unistd.h: Likewise.
31866 * posix/wordexp.h: Likewise.
31867 * pwd/pwd.h: Likewise.
31868 * resolv/netdb.h: Likewise.
31869 * resource/sys/resource.h: Likewise.
31870 * rt/aio.h: Likewise.
31871 * rt/bits/mqueue2.h: Likewise.
31872 * rt/mqueue.h: Likewise.
31873 * shadow/shadow.h: Likewise.
31874 * signal/signal.h: Likewise.
31875 * socket/send.c: Likewise.
31876 * socket/sendto.c: Likewise.
31877 * socket/sys/socket.h: Likewise.
31878 * stdio-common/printf.h: Likewise.
31879 * stdlib/bits/stdlib.h: Likewise.
31880 * stdlib/fmtmsg.h: Likewise.
31881 * stdlib/monetary.h: Likewise.
31882 * stdlib/stdlib.h: Likewise.
31883 * stdlib/ucontext.h: Likewise.
31884 * streams/stropts.h: Likewise.
31885 * string/argz.h: Likewise.
31886 * string/bits/string2.h: Likewise.
31887 * string/string.h: Likewise.
31888 * string/strings.h: Likewise.
31889 * sunrpc/rpc/auth.h: Likewise.
31890 * sunrpc/rpc/auth_des.h: Likewise.
31891 * sunrpc/rpc/clnt.h: Likewise.
31892 * sunrpc/rpc/netdb.h: Likewise.
31893 * sunrpc/rpc/pmap_clnt.h: Likewise.
31894 * sunrpc/rpc/xdr.h: Likewise.
31895 * sysdeps/generic/inttypes.h: Likewise.
31896 * sysdeps/generic/net/if.h: Likewise.
31897 * sysdeps/generic/sys/swap.h: Likewise.
31898 * sysdeps/gnu/net/if.h: Likewise.
31899 * sysdeps/gnu/utmpx.h: Likewise.
31900 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31901 * sysdeps/i386/i486/bits/string.h: Likewise.
31902 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31903 * sysdeps/s390/bits/string.h: Likewise.
31904 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31905 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31906 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31907 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31908 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31909 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31910 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31911 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31912 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31913 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31914 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31915 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31916 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31917 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31918 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31919 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31920 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31921 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31922 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31924 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31925 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31926 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31927 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31928 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31929 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31930 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31931 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31932 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31933 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31934 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31935 * sysvipc/sys/ipc.h: Likewise.
31936 * sysvipc/sys/msg.h: Likewise.
31937 * sysvipc/sys/sem.h: Likewise.
31938 * sysvipc/sys/shm.h: Likewise.
31939 * termios/termios.h: Likewise.
31940 * time/sys/time.h: Likewise.
31941 * time/time.h: Likewise.
31942 * wcsmbs/bits/wchar2.h: Likewise.
31943 * wcsmbs/uchar.h: Likewise.
31944 * wcsmbs/wchar.h: Likewise.
31945 * wctype/wctype.h: Likewise.
31946
0269750c
UD
31947 [BZ #13551]
31948 * Makeconfig: Remove all but ELF support including AIX support.
31949 * Makerules: Likewise.
31950 * config.h.in: Likewise.
31951 * config.make.in: Likewise.
31952 * configure: Likewise.
31953 * configure.in: Likewise.
31954 * csu/Makefile: Likewise.
31955 * csu/version.c: Likewise.
31956 * debug/Makefile: Likewise.
31957 * dlfcn/Makefile: Likewise.
31958 * elf/Makefile: Likewise.
31959 * extra-lib.mk: Likewise.
31960 * iconv/Makefile: Likewise.
31961 * include/libc-symbols.h: Likewise.
31962 * include/shlib-compat.h: Likewise.
31963 * resolv/Makefile: Likewise.
31964 * resolv/res_libc.c: Likewise.
31965 * rt/Makefile: Likewise.
31966 * sysdeps/i386/asm-syntax.h: Likewise.
31967 * sysdeps/i386/sysdep.h: Likewise.
31968 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31969 * sysdeps/mach/sysdep.h: Likewise.
31970 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31971 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31972 * sysdeps/s390/asm-syntax.h: Likewise.
31973 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31974 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31975 * sysdeps/sh/sysdep.h: Likewise.
31976 * sysdeps/unix/sparc/sysdep.h: Likewise.
31977 * sysdeps/wordsize-32/divdi3.c: Likewise.
31978 * sysdeps/x86_64/sysdep.h: Likewise.
31979
00bbd29b
UD
31980 * argp/Versions: Remove _argp_unlock_xxx.
31981
31982 [BZ #13559]
31983 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31984 * abilist/libBrokenLocale.abilist: Likewise.
31985 * abilist/libanl.abilist: Likewise.
31986 * abilist/libc.abilist: Likewise.
31987 * abilist/libcrypt.abilist: Likewise.
31988 * abilist/libdl.abilist: Likewise.
31989 * abilist/libm.abilist: Likewise.
31990 * abilist/libnsl.abilist: Likewise.
31991 * abilist/libpthread.abilist: Likewise.
31992 * abilist/libresolv.abilist: Likewise.
31993 * abilist/librt.abilist: Likewise.
31994 * abilist/libthread_db.abilist: Likewise.
31995 * abilist/libutil.abilist: Likewise.
31996 * abilist/libnss_db.abilist: New file.
31997
31998 * scripts/abilist.awk: Add support for indirect functions.
31999
a2693a0e
UD
32000 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32001
3f05895f
UD
32002 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32003
ecb6fb48
UD
32004 * shlib-versions: Remove entries for ports architectures.
32005
664f8cb9
UD
32006 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32007 files in ports.
32008 * elf/stackguard-macros.h: Remove support for IA-64.
32009 * elf/tst-auditmod1.c: Likewise.
32010 * sysdeps/generic/ldsodefs.h: Likewise.
32011
7ae81d88
UD
32012 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32013 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32014 configure files.
32015
bdeba135
UD
32016 [BZ #13552]
32017 * configure.in: Remove --enable-omitfp support.
32018 * FAQ.in: Adjust.
32019 * config.make.in: Likewise.
32020 * Makeconfig: Likewise.
32021 * manual/install.texi: Likewise.
32022
d75a0a62
UD
32023 In case anyone cares, the IA-64 architecture could move to ports.
32024 * sysdeps/ia64/*: Removed.
32025 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 32026 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 32027
dcc9756b
UD
32028 [BZ #13555]
32029 * configure.in: Remove entries for unsupported architectures.
32030
d3761ebc 32031 [BZ #13533]
9954432e
UD
32032 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32033 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32034 routines.
32035 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32036 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32037 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32038 fall back to using wcrtomb.
32039 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32040 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32041 renaming.
32042 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32043 * wcsmbs/tst-c16c32-1.c: New file.
32044
32045 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32046 local variable.
32047
c3a87236
UD
32048 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32049
28926a1b
UD
32050 * elf/tst-unique3.cc: Add explicit declaration of gets.
32051 * elf/tst-unique3lib.cc: Likewise.
32052 * elf/tst-unique3lib2.cc: Likewise.
32053 * elf/tst-unique4.cc: Likewise.
32054
df78418a
UD
32055 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32056
8ecd6b2a
JM
320572012-01-06 Joseph Myers <joseph@codesourcery.com>
32058
32059 [BZ #13566]
32060 * assert/assert.h (static_assert): Don't define for C++.
32061 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32062 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32063
9f115170
UD
320642012-01-03 Ulrich Drepper <drepper@gmail.com>
32065
5e0d0300
UD
32066 * iconv/loop.c (single loop): Fix assertion in storing of
32067 remaining bytes.
32068
9f115170
UD
32069 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32070
81fb02b0
UD
320712012-01-01 Ulrich Drepper <drepper@gmail.com>
32072
32073 * posix/getconf.c: Update copyright year.
32074 * nss/getent.c: Likewise.
a316c1f6 32075 * nss/makedb.c: Likewise.
81fb02b0
UD
32076 * iconv/iconvconfig.c: Likewise.
32077 * iconv/iconv_prog.c: Likewise.
32078 * elf/ldconfig.c: Likewise.
a316c1f6
UD
32079 * elf/pldd.c: Likewise.
32080 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
32081 * catgets/gencat.c: Likewise.
32082 * csu/version.c: Likewise.
32083 * elf/ldd.bash.in: Likewise.
32084 * elf/sprof.c (print_version): Likewise.
32085 * locale/programs/locale.c: Likewise.
32086 * locale/programs/localedef.c: Likewise.
a316c1f6 32087 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
32088 * nscd/nscd.c (print_version): Likewise.
32089 * debug/xtrace.sh: Likewise.
32090 * malloc/memusage.sh: Likewise.
32091 * malloc/mtrace.pl: Likewise.
32092 * debug/catchsegv.sh: Likewise.
32093
2ba92745
JJ
320942011-12-30 Jakub Jelinek <jakub@redhat.com>
32095
32096 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32097 pure attribute.
32098
dadebdae
UD
320992011-12-24 Ulrich Drepper <drepper@gmail.com>
32100
d3761ebc 32101 [BZ #13533]
db6af3eb
UD
32102 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32103 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32104 transformations.
32105 * iconv/gconv_int.h: Likewise.
32106 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32107 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32108 from libc for GLIBC_2.16.
32109 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32110 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32111 * wcsmbs/uchar.h: Really define mbstate_t.
32112 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32113 * wcsmbs/c16rtomb.c: New file.
32114 * wcsmbs/mbrtoc16.c: New file.
32115 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32116 for C/POSIX locale.
32117 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32118 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32119
dadebdae
UD
32120 * wcsmbs/wchar.h: Add missing __restrict.
32121
67371b56
UD
321222011-12-23 Ulrich Drepper <drepper@gmail.com>
32123
74033a25
UD
32124 [BZ #13532]
32125 * time/Makefile (routines): Add timespec_get.
32126 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32127 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32128 timespec for ISO C11.
32129 * time/timespec_get.c: New file.
32130 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32131 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32132
380d7e87
UD
32133 [BZ #13531]
32134 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32135 * stdlib/stdlib.h: Declare aligned_alloc.
32136 * Versions.def: Add GLIBC_2.16 for libc.
32137 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32138
4e9e7a35
UD
32139 [BZ 13527]
32140 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32141 ISO C11.
32142
380d7e87 32143 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
32144 code.
32145
03a71829
UD
32146 [BZ #13528]
32147 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32148
839e283e
UD
32149 [BZ #13529]
32150 * assert/assert.h (static_assert): Define.
32151
ce5294e2 32152 * version.h: Update for 2.16 development version.
90fa7312 32153
8d44e150 32154 [BZ #13526]
d7809905
UD
32155 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32156 _ISOC11_SOURCE.
32157
c0da14cd
UD
32158 * version.h (RELEASE): Bump for 2.15 release.
32159 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32160
530a3249
MP
32161 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32162 Patch by Marek Polacek <mpolacek@redhat.com>.
32163
67371b56
UD
32164 * bits/byteswap.h: Protect long long constants with __extension__.
32165 * sysdeps/i386/bits/byteswap.h: Likewise.
32166 * sysdeps/ia64/bits/byteswap.h: Likewise.
32167 * sysdeps/s390/bits/byteswap.h: Likewise.
32168 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32169
15db4de1
LD
321702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32171
32172 [BZ #13540]
bbe315ea
LD
32173 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32174 destination buffer.
15db4de1
LD
32175 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32176
2b2596b1
MP
321772011-12-23 Marek Polacek <polacek@redhat.com>
32178
32179 * elf/dl-addr.c (determine_info): Add inline keyword.
32180 * elf/tst-auditmod4b.c (check_avx): Likewise.
32181 * elf/tst-auditmod6b.c (check_avx): Likewise.
32182 * elf/tst-auditmod6c.c (check_avx): Likewise.
32183 * elf/tst-auditmod7b.c (check_avx): Likewise.
32184
70c6c246
UD
321852011-12-23 Ulrich Drepper <drepper@gmail.com>
32186
32187 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32188 !__SSE_MATH__.
32189
c044cf14
LD
321902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32191
15db4de1 32192 [BZ #13540]
c044cf14
LD
32193 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32194 processing for last bytes.
32195
6b13d9d9
BH
321962011-08-06 Bruno Haible <bruno@clisp.org>
32197
d455f537
BH
32198 [BZ #13061]
32199 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32200 U+0385, not to U+1FEE.
32201
6b13d9d9
BH
32202 [BZ #13062]
32203 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32204 entry for U+00A5 U+0301.
32205
db910efd
UD
322062011-12-22 Ulrich Drepper <drepper@gmail.com>
32207
27deeafc
UD
32208 [BZ #13166]
32209 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32210 buffer for the output is too small.
32211
aed9d171
UD
32212 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32213 optimization.
32214
db910efd
UD
32215 [BZ #13185]
32216 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32217 SSE flags if possible.
32218
2bd779ae
LD
322192011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32220
e7f9dac3 32221 [BZ #13540]
2bd779ae
LD
32222 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32223 processing for last bytes.
32224
154bfc16
JM
322252011-12-22 Joseph Myers <joseph@codesourcery.com>
32226
32227 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32228 (syscall-list-default-options, syscall-list-default-condition)
32229 (syscall-list-includes): Define.
32230 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32231 list of ABIs and options and #if conditions for each ABI. Do not
32232 handle common syscalls between ABIs specially.
32233 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32234 Remove.
32235 (syscall-list-variants, syscall-list-32bit-options)
32236 (syscall-list-32bit-condition, syscall-list-64bit-options)
32237 (syscall-list-64bit-condition): Define.
32238 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32239 (syscall-list-variants, syscall-list-32bit-options)
32240 (syscall-list-32bit-condition, syscall-list-64bit-options)
32241 (syscall-list-64bit-condition): Define.
32242 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32243 Remove.
32244 (syscall-list-variants, syscall-list-32bit-options)
32245 (syscall-list-32bit-condition, syscall-list-64bit-options)
32246 (syscall-list-64bit-condition): Define.
32247 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32248 Remove.
32249 (syscall-list-variants, syscall-list-32bit-options)
32250 (syscall-list-32bit-condition, syscall-list-64bit-options)
32251 (syscall-list-64bit-condition): Define.
32252
21eaf3a5
UD
322532011-12-22 Ulrich Drepper <drepper@gmail.com>
32254
16c6f992
UD
32255 * locale/iso-639.def: Add brx entry.
32256
41043168
UD
32257 [BZ #13328]
32258 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32259 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32260
21eaf3a5
UD
32261 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32262 __feraiseexcept_renamed.
32263
e3a851a2
UD
322642011-12-21 Ulrich Drepper <drepper@gmail.com>
32265
4920765e
UD
32266 [BZ #13538]
32267 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32268 EPOLLET with unsigned values.
32269 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32270 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32271
e3a851a2
UD
32272 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32273 to large cancellation.
32274 * math/s_cacoshf.c: Likewise.
32275 * math/s_cacoshl.c: Likewise.
32276
b27e24b8
RK
322772011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32278
32279 [BZ #13305]
aebefeee 32280 [BZ #12786]
b27e24b8
RK
32281 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32282 * math/s_cacoshf.c: Likewise.
32283 * math/s_cacoshl.c: Likewise.
32284
ee190f67
UD
322852011-12-21 Ulrich Drepper <drepper@gmail.com>
32286
32287 [BZ #13439]
32288 * iconv/gconv.h: Define __GCONV_SWAP.
32289 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32290 * iconvdata/utf-16.c: Likewise.
32291 * iconvdata/utf-32.c: Likewise.
32292
707f25df
AS
322932011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32294
32295 [BZ #13524]
32296 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32297 numerator after shifting it by one limb.
32298
d2daaa1e
RÁE
322992011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32300
32301 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32302 under [__USE_EXTERN_INLINES].
32303
a4647e72
UD
323042011-12-17 Ulrich Drepper <drepper@gmail.com>
32305
32306 [BZ #13446]
32307 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32308
f0b264f1
AZ
323092011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32310
32311 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32312 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32313 optimized code.
32314 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32315 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32316 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32317 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32318 for strncasecmp/strncasecmp_l compilation.
32319 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32320 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32321
8ef4f244
MP
323222011-12-08 Marek Polacek <mpolacek@redhat.com>
32323
32324 [BZ #13484]
32325 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32326 of __asm__.
32327
97ac2654
UD
323282011-12-17 Ulrich Drepper <drepper@gmail.com>
32329
32330 [BZ #13506]
32331 * time/tzfile.c (__tzfile_read): Check values from file header.
32332
91d2a845
WS
323332011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32334
32335 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32336 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32337 * powerpc/powerpc32/dl-start.S: Likewise.
32338 * powerpc/powerpc32/elf/start.S: Likewise.
32339 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32340 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32341 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32342 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32343 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32344 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32345 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32346 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32347 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32348 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32349 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32350 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32351 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32352 * powerpc/powerpc32/memset.S: Likewise.
32353 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32354 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32355 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32356 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32357 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32358 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32359 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32360 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32361 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32362 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32363 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32364 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32365 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32366
a1267ba1
AZ
323672011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32368
32369 * math/libm-test.inc: Added more nearbyint tests.
32370 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32371 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32372 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32374
ad8ac1bd
RL
323752011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32376
32377 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32378 FD_CLOEXEC.
32379
1d3e4b61
UD
323802011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32381
32382 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32383 Add wcscpy-ssse3 wcscpy-c.
32384 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32385 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32386 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32387 * sysdeps/x86_64/wcschr.S: New file.
32388 * sysdeps/x86_64/wcsrchr.S: New file.
32389 * string/test-strcmp.c: Remove checking of wcscmp function for
32390 wrong alignments.
32391 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32392 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32393 wcsrchr-sse2 wcsrchr-c.
32394 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32395 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32396 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32397 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32398 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32399 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32400 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32401 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32402 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32403 * wcsmbc/wcschr.c (WCSCHR): New macro.
32404
5b330a2d
UD
324052011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32406
32407 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32408 * wcsmbs/test-wcsrchr.c: New file.
32409 * string/test-strrchr.c: Add wcsrchr support.
32410 (WIDE): New macro.
32411 * wcsmbs/test-wcscpy.c: New file.
32412 * string/test-strcpy.c: Add wcscpy support.
32413 (WIDE): New macro.
26428b7c 32414
f039c043
UD
324152011-12-10 Ulrich Drepper <drepper@gmail.com>
32416
32417 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32418 the inner loop.
32419
850fb039
AS
324202011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32421
32422 [BZ #13472]
32423 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32424
4efbd5cb
UD
324252011-12-04 Ulrich Drepper <drepper@gmail.com>
32426
52ff5dd0 32427 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32428 Minor optimizations.
52ff5dd0 32429
4efbd5cb
UD
32430 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32431 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32432 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32433
8a426e12
UD
324342011-12-03 Ulrich Drepper <drepper@gmail.com>
32435
aff2453d
UD
32436 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32437 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32438 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32439 for gcc to avoid warnings.
32440 * inet/Makefile (tests): Add tst-checks.
32441 * inet/tst-checks.c: New file.
32442
32443 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32444 warning.
32445
32446 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32447 __wmemcmp_sse2.
32448
32449 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32450 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32451
8a426e12
UD
32452 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32453
9bea3473
UD
324542011-12-02 Ulrich Drepper <drepper@gmail.com>
32455
3a965496
UD
32456 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32457 problem.
32458
9bea3473
UD
32459 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32460
f101631b
UD
324612011-11-29 Joseph Myers <joseph@codesourcery.com>
32462
32463 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32464 conditional on GCC version.
32465 (__arch_compare_and_exchange_val_8_acq)
32466 (__arch_compare_and_exchange_val_16_acq)
32467 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32468 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32469 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32470
a98275aa
UD
324712011-12-02 Joseph Myers <joseph@codesourcery.com>
32472
32473 * sysdeps/sh/backtrace.c: New file.
32474
d4cc29a2
AS
324752011-12-02 Andreas Schwab <schwab@redhat.com>
32476
32477 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32478 parenthesis.
32479
6257af2d
AS
324802011-12-01 Andreas Schwab <schwab@redhat.com>
32481
32482 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32483 falling back to utime.
32484
b5f44c1a
AS
324852011-11-30 Andreas Schwab <schwab@redhat.com>
32486
32487 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32488 expectations for float.
32489
f3a6cc0a
AS
324902011-11-29 Andreas Schwab <schwab@redhat.com>
32491
32492 * locale/weight.h (findidx): Add parameter len.
32493 * locale/weightwc.h (findidx): Likewise.
32494 * posix/fnmatch_loop.c (FCT): Adjust caller.
32495 * posix/regcomp.c (build_equiv_class): Likewise.
32496 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32497 * posix/regexec.c (check_node_accept_bytes): Likewise.
32498 * string/strcoll_l.c (STRCOLL): Likewise.
32499 * string/strxfrm_l.c (STRXFRM): Likewise.
32500
9d65ea3a
UD
325012011-11-17 Ulrich Drepper <drepper@gmail.com>
32502
32503 * Makefile.in: Remove CVSOPT handling.
32504 * configure.in: Remove use of AC_REVISION.
32505 * iconvdata/Makefile (distribute): No need to filter out CVS.
32506 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32507 handling.
32508
5583a086
AS
325092011-11-16 Andreas Schwab <schwab@redhat.com>
32510
32511 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32512 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32513 [USE_AS_STRNCASECMP_L]: Likewise.
32514 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32515 NO_TLS_DIRECT_SEG_REFS.
32516 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32517 Fix argument offsets for non-PIC.
32518 [USE_AS_STRNCASECMP_L]: Likewise.
32519 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32520 NO_TLS_DIRECT_SEG_REFS.
32521
d62a8200
UD
325222011-11-15 Ulrich Drepper <drepper@gmail.com>
32523
9d65ea3a 32524 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32525 O_CLOEXEC.
32526 * locale/loadlocale.c (_nl_load_locale): Likewise.
32527
09f93bd3
AS
325282011-11-15 Andreas Schwab <schwab@redhat.com>
32529
446514f9
AS
32530 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32531 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32532 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32533 (SYSCALL_GETTIME): Set errno on error.
32534
09f93bd3
AS
32535 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32536 count references to noai6ai_cached.
32537
312be3f9
UD
325382011-11-15 Ulrich Drepper <drepper@gmail.com>
32539
32540 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32541
32542 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32543 FD_CLOEXEC for /proc/self/maps.
32544
32545 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32546 FD_CLOEXEC for /proc/meminfo.
32547
32548 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32549 gai.conf.
32550
32551 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32552 FD_CLOEXEC for given file.
32553
32554 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32555
32556 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32557 FD_CLOEXEC for /etc/hosts.
32558 (_gethtent): Likewise.
32559
32560 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32561
32562 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32563 cancellation and set FD_CLOEXEC for /etc/netgroup.
32564
32565 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32566 reading /etc/publickey.
32567
32568 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32569 allow cancellation when reading /etc/group.
32570
32571 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32572 cancellation.
32573 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32574
32575 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32576 when using data file.
32577
32578 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32579
32580 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32581 (write_nis_obj): Use "c" and "e" in fopen.
32582
32583 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32584
32585 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32586
32587 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32588
32589 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32590
32591 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32592 locale.alias.
32593
32594 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32595
32596 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32597
32598 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32599
32600 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32601 file parsing and set FD_CLOEXEC.
32602
82af0fa8
UD
326032011-11-14 Ulrich Drepper <drepper@gmail.com>
32604
32605 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32606
a5fb313c
AS
326072011-11-14 Andreas Schwab <schwab@redhat.com>
32608
32609 * malloc/arena.c (arena_get2): Don't call reused_arena when
32610 _int_new_arena failed.
32611
6abf3465
UD
326122011-11-14 Ulrich Drepper <drepper@gmail.com>
32613
32614 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32615 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32616 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32617 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32618 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32619 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32620 to compile strcasecmp and strncasecmp.
32621 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32622 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32623
32624 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32625
76e3966e
UD
326262011-11-13 Ulrich Drepper <drepper@gmail.com>
32627
32628 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32629 locale-defines.sym to gen-as-const-headers.
32630 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32631 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32632 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32633 to compile strcasecmp and strncasecmp.
32634 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32635 strcasecmp_l and strncasecmp_l.
32636 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32637 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32638 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32639 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32640 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32641 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32642 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32643 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32644 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32645 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32646 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32647
ab26144e
UD
326482011-11-12 Ulrich Drepper <drepper@gmail.com>
32649
7edb22ef
UD
32650 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32651 result of SYSDEP_GETTIME_CPU to retval.
32652 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32653 parameter list to macro. Remove trailing semicolon. Adjust users.
32654
9694fc44
UD
32655 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32656 variable.
32657
8ad89ef8
UD
32658 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32659 mantissa words.
32660 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32661
0c822ef9
UD
32662 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32663 from unused variable.
32664
874e0564
UD
32665 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32666 DWARF definitions.
32667 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32668 for assembling.
32669
3a2edc79
UD
32670 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32671 over namespaces.
32672
f3c2577f
UD
32673 * sunrpc/rpc_prot.c (rejected): Fix case value.
32674
294ce126
UD
32675 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32676 unsigned long long int to avoid warnings in shift.
32677
5e2b63c6
UD
32678 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32679 of use of trans.
32680 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32681 variable tmp.
32682
e7f4b08e
UD
32683 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32684 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32685 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32686
ab26144e
UD
32687 * nis/nis_table.c (nis_list): Use variable of correct type for
32688 result of __follow_path call.
32689
8a6d5255
AZ
326902011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32691
32692 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32693 of math functions ceil, trunc, floor, round, and sqrt, when
32694 avaliable on the platform.
32695 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32696 name clash.
32697 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32698 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32699 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32700
aaddc98c
MP
327012011-10-30 Marek Polacek <mpolacek@redhat.com>
32702
32703 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32704 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32705
95b7042b
RM
327062011-11-11 Roland McGrath <roland@hack.frob.com>
32707
32708 * include/unistd.h: Fix __readlink return type.
32709 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32710
57769839
UD
327112011-11-11 Ulrich Drepper <drepper@gmail.com>
32712
32713 * stdlib/ucontext.h: Undo last change for makecontext.
32714
edc5984d
AS
327152011-11-11 Andreas Schwab <schwab@redhat.com>
32716
98591e58
AS
32717 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32718
edc5984d
AS
32719 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32720 * setjmp/setjmp.h: Mark functions as non-leaf.
32721 * setjmp/bits/setjmp2.h: Likewise.
32722 * stdlib/ucontext.h: Likewise.
32723
77cdc054
AS
327242011-11-10 Andreas Schwab <schwab@redhat.com>
32725
32726 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32727 (reused_arena): Don't check arena limit.
32728 (arena_get2): Atomically check arena limit.
32729
fe72eebd
UD
327302011-11-08 Ulrich Drepper <drepper@gmail.com>
32731
5f078c32
UD
32732 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32733 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32734
fe72eebd
UD
32735 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32736 instructions.
32737
ae1bc2fa
AS
327382011-11-07 Andreas Schwab <schwab@redhat.com>
32739
7583a88d
AS
32740 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32741 handler when locking.
32742
ae1bc2fa
AS
32743 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32744 Fix size of allocated buffer.
32745
10fb0bfa
AS
327462011-11-04 Andreas Schwab <schwab@redhat.com>
32747
998832a4
AS
32748 [BZ #10103]
32749 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32750 declarations for long double functions.
32751 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32752
10fb0bfa
AS
32753 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32754
3d7ba52b
AS
327552011-11-03 Andreas Schwab <schwab@redhat.com>
32756
a9ae54a1
AS
32757 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32758 installed.
32759
3d7ba52b
AS
32760 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32761 is disabled.
32762
bc8db248
ST
327632011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32764
32765 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32766
45b96dd6
AS
327672011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32768
647776f6
AS
32769 * include/alloca.h (stackinfo_alloca_round): Define.
32770 (extend_alloca): Use it.
32771 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32772 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32773 here.
32774
d91a8b93
AS
32775 * scripts/check-local-headers.sh: Ignore libaudit.h.
32776
45b96dd6
AS
32777 * nscd/Makefile (extra-objs): Make recursively expanded.
32778
432d41ce
UD
327792011-11-01 Ulrich Drepper <drepper@gmail.com>
32780
34372fc6
UD
32781 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32783
fadb59f8
UD
32784 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32785 * posix/tst-rfc3484-2.c: Likewise.
32786 * posix/tst-rfc3484-3.c: Likewise.
32787
78239589
UD
32788 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32789 process_vm_writev.
32790 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32791 process_vm_writev.
32792 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32793 process_vm_writev from libc using GLIBC_2.15 version.
32794
432d41ce
UD
32795 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32796
02f9c6cf
PP
327972011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32798
32799 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32800 stack usage.
32801
3a2c0242
UD
328022011-10-31 Ulrich Drepper <drepper@gmail.com>
32803
f4ec4833
UD
32804 [BZ #13367]
32805 * nss/getent.c (initgroups_keys): Show error message in case no group
32806 names are given.
32807
3a2c0242
UD
32808 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32809 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32810 __bump_nl_timestamp.
32811 * nscd/connections (nscd_init): When host database is served open
32812 netlink socket and request notification about configuration changes.
32813 (main_loop_poll): Track netlink file descriptor and bump timestamp
32814 in case data becomes available.
32815 (main_loop_epoll): Likewise.
32816 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32817 (database_pers_head): Add extra_data fileds.
32818 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32819 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32820 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32821 Adjust caller.
32822 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32823 in6ai data, call __free_in6ai.
32824 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32825 Add -DHAVE_NETLINK.
32826 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32827 interface information. Reuse previous data if netlink timestamp
32828 is not changed.
32829 (__bump_nl_timestamp): New function.
32830 (__free_in6ai): New function.
32831
636064eb
UD
328322011-10-30 Ulrich Drepper <drepper@gmail.com>
32833
32834 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32835 close_not_cancel_no_status here.
32836 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32837
9beb2334
UD
328382011-10-29 Ulrich Drepper <drepper@gmail.com>
32839
6ef76f3b
UD
32840 [BZ #13276]
32841 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32842 return value.
32843
0ffc4f3e 32844 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32845 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32846 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32847
cb95113e
UD
328482011-07-03 Andreas Jaeger <aj@suse.de>
32849
32850 [BZ #10709]
32851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32852 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32853 * math/libm-test.inc (sin_test): Add test case.
32854
a1b560ff
UD
328552011-10-29 Ulrich Drepper <drepper@gmail.com>
32856
c9aaface
UD
32857 [BZ #13337]
32858 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32859 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32860
d272e7f1
UD
32861 * elf/chroot_canon.c (chroot_canon): Cleanups.
32862
1bc33071
UD
32863 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32864
1760874d
TJ
32865 [BZ #13335]
32866 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32867 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32868
51d91b18
UD
32869 * string/test-strchr.c: Make usable for strchrnul testing.
32870 * string/test-strchrnul.c: New file.
32871 * string/Makefile (strop-tests): Add strchrnul.
32872
a1b560ff 32873 * po/it.po: Update from translation team.
b611fb81 32874 * po/es.po: Likewise.
a1b560ff 32875
a5b81e1f
UD
328762011-10-28 Ulrich Drepper <drepper@gmail.com>
32877
fd52bc6d
UD
32878 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32879 the three constants needed as parameters. Drop the others.
32880 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32881 __m128i_strloadu_tolower.
52e4b9eb
UD
32882 Create and initialize variable zero and use it in all the places
32883 where _mm_setzero_si128 was used.
fd52bc6d 32884
a5b81e1f
UD
32885 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32886 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32887 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32888 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32889 anymore.
32890 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32891 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32892 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32893 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32894 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32895 __mpranred, __mptan.
32896 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32897 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32898 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32899 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32900 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32901 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32902 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32903 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32904 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32905
b4343346
AS
329062011-10-28 Andreas Schwab <schwab@redhat.com>
32907
0c92d8a8
AS
32908 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32909 redefine if SHARED.
32910 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32911
b4343346
AS
32912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32913 wide char related routines to wcsmbs subdir.
32914
3871f58f
AS
329152011-10-27 Andreas Schwab <schwab@redhat.com>
32916
32917 [BZ #13344]
32918 * misc/sys/cdefs.h (__THROWNL): Define.
32919 * posix/unistd.h: Use __THREADNL instead of __THREAD
32920 for memory synchronization functions.
32921
94d44d9f
RM
329222011-10-26 Roland McGrath <roland@hack.frob.com>
32923
21b64b15 32924 [BZ #13349]
94d44d9f
RM
32925 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32926 doesn't exist.
32927 * manual/stdio.texi (Obstack Streams): Node removed.
32928
f6ce9294
AS
329292011-10-26 Andreas Schwab <schwab@redhat.com>
32930
80479147
AS
32931 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32932 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32933 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32934
f6ce9294
AS
32935 * math/math_private.h (math_force_eval): Allow non-addressable
32936 arguments.
32937 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32938
618280a1
UD
329392011-10-25 Ulrich Drepper <drepper@gmail.com>
32940
e0016b11
UD
32941 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32942 file is not needed.
32943
32944 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32945 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32946 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32947 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32948 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32949 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32950 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32951 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32952 Add AVX variants.
32953 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32954 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32955 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32956 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32957 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32958 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32959 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32960 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32961 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32962 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32963 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32964 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32965 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32966 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32967 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32968 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32969 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32970 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32971 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32972
32973 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32974 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32975
618280a1
UD
32976 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32977 place. Use VEX encoding when compiling for AVX.
32978
37822576
AS
329792011-10-25 Andreas Schwab <schwab@redhat.com>
32980
1f1e1947
AS
32981 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32982 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32983
37822576
AS
32984 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32985
31ea014d
UD
329862011-10-25 Ulrich Drepper <drepper@gmail.com>
32987
d7826aa1 32988 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32989 useless if() expression.
d7826aa1
UD
32990 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32991 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32992 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32993 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32999 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33000 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33001 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33002 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33003 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33004 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33005 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33006 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33007 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33008 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33009
31ea014d
UD
33010 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33011
16437fec
AS
330122011-10-25 Andreas Schwab <schwab@redhat.com>
33013
33014 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33015 condition.
33016 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33017
31d3cc00
UD
330182011-10-25 Ulrich Drepper <drepper@gmail.com>
33019
33020 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33021 .text section. Avoid duplicate constants.
33022 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33031 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33032 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33033 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33034 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33037 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33038 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33039 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33040 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33041 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33042 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33043 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33044 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33045 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33046 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33047 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33048 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33049 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33050 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33051 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33052 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33053 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33054 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33055 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33056 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33057 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33058 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33059 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33060 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33061 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33062 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33063 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33064 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33065 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33066 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33067
58985aa9
UD
330682011-10-24 Ulrich Drepper <drepper@gmail.com>
33069
202c9deb
UD
33070 * sysdeps/x86_64/dla.h: Move to ...
33071 * sysdeps/x86_64/fpu/dla.h: ...here.
33072 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33073 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 33074
af968f62
UD
33075 * config.make.in: Add have-mfma4 entry.
33076 * configure.in: Substitute libc_cv_cc_fma4.
33077 * math/Makefile (dbl-only-routines): Add sincostab.
33078 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33079 Use __sincostab not sincos.
33080 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33081 name is a macro.
33082 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33083 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33084 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33086 using __copysign.
33087 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33088 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33089 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33090 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33091 and __inv.
33092 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33093 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33094 __copysign.
33095 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33096 define aliases when function name is a macro.
33097 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33098 sysdeps/ieee754/dbl-64/sincos.tbl.
33099 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33100 fma4-enabled routines.
33101 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33102 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33103 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33104 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33105 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33106 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33107 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33108 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33109 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33110 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33111 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33112 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33113 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33114 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33115 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33116 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33117 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33118 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33119 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33120 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33121 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33122 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33123 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33124 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33125 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33126 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33127 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33128 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33129 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33130 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33131
58985aa9
UD
33132 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33133 rename.
33134 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33139 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33140 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33141 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33142
a201fbcf
AS
331432011-10-24 Andreas Schwab <schwab@redhat.com>
33144
33145 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33146
fc2ee42a
LD
331472011-10-23 Ulrich Drepper <drepper@gmail.com>
33148
bb3129bd
UD
33149 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33150
0275fff8
UD
33151 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33152 prediction.
33153 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33154
2fa2ae85
UD
33155 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33156 Remove unused variable magic_bits.
33157 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33158
fc2ee42a
LD
33159 * string/strnlen.c: Define and use STRNLEN macro.
33160 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33161 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33162 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33163 * wcsmbs/wcslen.c: Define and use WCSLEN.
33164 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33165 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33166 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33167 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33168 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33169 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33170 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33171
ce7dd29f
LD
331722011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33173
33174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33175 strnlen-sse2-no-bsf.
33176 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33177 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33178 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33179 Add strnlen support.
33180 (USE_AS_STRNLEN): New macro.
33181 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33182 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33183 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33184 * sysdeps/x86_64/wcslen.S: New file.
33185
979c70a3
MZ
331862011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33187
33188 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33189 XMM-moves are used for copying on small sizes.
33190
2d09f82f
LD
331912011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33192
33193 * wcsmbs/Makefile (strop-tests): Add wcschr.
33194 * wcsmbs/test-wcschr.c: New file.
33195 * string/test-strchr.c: Update.
33196 Add wcschr support.
33197 (WIDE): New macro.
33198
619fccca
LD
331992011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33200
2d09f82f 33201 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
33202 * wcsmbs/test-wcslen.c: New file.
33203 * string/test-strlen.c: Update.
33204 Add wcslen support.
33205 (WIDE): New macro.
33206
09f699ea
UD
332072011-10-23 Ulrich Drepper <drepper@gmail.com>
33208
33209 * po/it.po: Update from translation team.
33210
95584d3b
LD
332112011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33212
33213 * sysdeps/x86_64/wcscmp.S: Update.
33214 Fix wrong comparison semantics.
33215 wcscmp shall use signed comparison not unsigned.
33216 Don't use substraction to avoid overflow bug.
33217 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33218 * wcsmbc/wcscmp.c: Likewise.
33219 * string/test-strcmp.c: Likewise.
33220 Add new tests to check cases with negative values.
33221
c8b3296b
UD
332222011-10-23 Ulrich Drepper <drepper@gmail.com>
33223
33224 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33225 * sysdeps/x86_64/dla.h: ...here. New file.
33226 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33227 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33228 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33229 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33230 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33231 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33233 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33234 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33235
246ad57a
AS
332362011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33237
33238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33239 __ynl_finite aliases.
33240
a1a87169
UD
332412011-10-22 Ulrich Drepper <drepper@gmail.com>
33242
0d355eb7
UD
33243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33244
a1a87169
UD
33245 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33246 define DLA_FMA.
33247 [DLA_FMA] (EMULV): Use DLA_FMA.
33248 [DLA_FMA] (MUL12): Use EMULV.
33249 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33250 that are not needed.
33251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33253 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33256 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33258
ee2aafe0
AS
332592011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33260
33261 * math/s_nan.c: Undef __nan.
33262 * math/s_nanf.c: Undef __nanf.
33263 * math/s_nanl.c: Undef __nanl.
33264 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33265 "math_private.h".
33266
bc62c2fb
UD
332672011-10-22 Ulrich Drepper <drepper@gmail.com>
33268
77425c63
UD
33269 * math/s_catan.c: Add branch predictions.
33270 * math/s_catanf.c: Likewise.
33271 * math/s_catanh.c: Likewise.
33272 * math/s_catanhf.c: Likewise.
33273 * math/s_catanhl.c: Likewise.
33274 * math/s_catanl.c: Likewise.
33275 * math/s_cexp.c: Likewise.
33276 * math/s_cexpf.c: Likewise.
33277 * math/s_cexpl.c: Likewise.
33278 * math/s_clog.c: Likewise.
33279 * math/s_clog10.c: Likewise.
33280 * math/s_clog10f.c: Likewise.
33281 * math/s_clog10l.c: Likewise.
33282 * math/s_clogf.c: Likewise.
33283 * math/s_clogl.c: Likewise.
33284 * math/s_csqrt.c: Likewise.
33285 * math/s_csqrtf.c: Likewise.
33286 * math/s_csqrtl.c: Likewise.
33287 * math/s_ctanf.c: Likewise.
33288 * math/s_ctanh.c: Likewise.
33289 * math/s_ctanhf.c: Likewise.
33290 * math/s_ctanhl.c: Likewise.
33291 * math/s_ctanl.c: Likewise.
33292
bc62c2fb
UD
33293 * math/math_private.h: Define __nan, __nanf, __nanl.
33294 * math/s_cacosh.c: Include <math_private.h>.
33295 * math/s_cacoshl.c: Likewise.
33296 * math/s_casinh.c: Likewise.
33297 * math/s_casinhf.c: Likewise.
33298 * math/s_casinhl.c: Likewise.
33299 * math/s_ccos.c: Rely entire on ccosh.
33300 * math/s_ccosf.c: Rely entire on ccoshf.
33301 * math/s_ccosl.c: Rely entirely on ccoshl.
33302 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33303 Remove tests for FE_INVALID.
33304 * math/s_ccoshf.c: Likewise.
33305 * math/s_ccoshl.c: Likewise.
33306 * math/s_csin.c: Likewise.
33307 * math/s_csinf.c: Likewise.
33308 * math/s_csinh.c Likewise.
33309 * math/s_csinhf.c: Likewise.
33310 * math/s_csinhl.c: Likewise.
33311 * math/s_csinl.c: Likewise.
33312 * math/s_ctan.c: Likewise.
33313 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33314 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33315 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33316
8ec250a4
UD
333172011-10-21 Ulrich Drepper <drepper@gmail.com>
33318
c196fed8
UD
33319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33320 compilation problems.
33321
8ec250a4
UD
33322 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33323 __builtin_expect.
33324
8d4f46c6
UD
333252011-10-20 Ulrich Drepper <drepper@gmail.com>
33326
ed72b654
UD
33327 * sysdeps/i386/configure.in: Test for -mfma4 option.
33328 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33329 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33330 COMMON_CPUID_INDEX_80000001.
33331 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33332 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33333 use it if FMA3 is not supported.
33334 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33335
8d4f46c6
UD
33336 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33337 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33338
d45c60c2
AS
333392011-10-20 Andreas Schwab <schwab@redhat.com>
33340
33341 [BZ #12892]
33342 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33343 it would create a cycle with a link time dependency.
33344
d9a4d2ab
UD
333452011-10-19 Ulrich Drepper <drepper@gmail.com>
33346
855d1560
UD
33347 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33348 instruction.
33349 * string/Makefile (strop-tests): Add rawmemchr.
33350 * string/test-rawmemchr.c: New file.
33351
d9a4d2ab
UD
33352 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33353 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33354 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33355 when compiling str{,n}casecmp and when AVX is available. Hook up
33356 new optimized code in initializers.
33357
8f3b1ffe
AS
333582011-10-19 Andreas Schwab <schwab@redhat.com>
33359
33360 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33361 __feraiseexcept instead of feraiseexcept.
33362
d38f1dba
UD
333632011-10-18 Ulrich Drepper <drepper@gmail.com>
33364
d9a8d0ab
UD
33365 * math/math_private.h: Define defaults for libc_fetestexcept and
33366 libc_feupdateenv.
33367 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33368 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33369 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33370 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33371 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33372 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33373 libc_fetestexcept and libc_feupdateenv.
33374
4855e3dd
UD
33375 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33376 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33377 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33378 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33379 libc_feholdexcept_setround.
33380
581d30e3
UD
33381 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33382 Add s_nearbyint-c and s_nearbyintf-c.
33383 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33384 nearbyintf inlines.
33385 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33386 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33387 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33388 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33389
d38f1dba
UD
33390 * math/math_private.h: Define defaults for libc_fegetround,
33391 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33392 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33393 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33394 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33395 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33396 standard functions.
33397 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33398 Remove comments and hacks for old compiler versions.
33399 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33400 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33401 libc_feholdexceptl.
33402
caa6c9d8
AS
334032011-10-18 Andreas Schwab <schwab@redhat.com>
33404
33405 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33406 (__feraiseexcept_renamed): Add __NTH.
33407 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33408 namespace violations.
33409
97c066e6
UD
334102011-10-17 Ulrich Drepper <drepper@gmail.com>
33411
99ce7b04
UD
33412 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33413
1004d182
UD
33414 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33415
228a984d
UD
33416 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33417 recently added interfaces.
33418 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33419
c8553a6a
UD
33420 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33421 about macro parameter expansion.
33422
ed22dcf6
UD
33423 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33424 __NO_MATH_INLINES is defined. Cleanups.
33425
33426 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33427 and __floorf is target has SSE4.1.
33428 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33429 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33430 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33431 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33432
b171c137
UD
33433 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33434 name.
33435 (floorf): Likewise.
33436
97c066e6
UD
33437 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33438
629f62ef
AS
334392011-10-17 Andreas Schwab <schwab@redhat.com>
33440
49a43d80
AS
33441 * misc/sys/cdefs.h: Fix last change.
33442
629f62ef
AS
33443 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33444 database lookup.
33445
e453f6cd
UD
334462011-10-16 Ulrich Drepper <drepper@gmail.com>
33447
aa78043a
UD
33448 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33449
ad0f5cad
UD
33450 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33451 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33452 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33453 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33454 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33455 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33456 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33457 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33458 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33459 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33460 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33461 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33462 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33463 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33464 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33465 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33466 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33467 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33468 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33469 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33470 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33471 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33472
33473 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33474 ceil, ceilf, floor, floorf.
33475
33476 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33477 Perform IRELATIVE relocations last.
33478
e453f6cd
UD
33479 * elf/do-rel.h: Add another parameter nrelative, replacing the
33480 local variable with the same name. Change name of the function
33481 to end in Rel or Rela (uppercase).
33482 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33483 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33484 elf_dynamic_do_##reloc function.
33485
fd5bdc09
UD
334862011-10-15 Ulrich Drepper <drepper@gmail.com>
33487
79b195b5
UD
33488 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33489 is sufficient, at least on modern CPUs.
33490
d4a28569
UD
33491 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33492
b61099b5
UD
33493 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33494 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33495
bcf01e6d
UD
33496 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33497 __expl_finite.
33498 * math/bits/math-finite.h: Add entries for exp.
33499 * math/e_expl.c: Add __*_finite alias.
33500 * sysdeps/i386/fpu/e_exp.S: Likewise.
33501 * sysdeps/i386/fpu/e_expf.S: Likewise.
33502 * sysdeps/i386/fpu/e_expl.c: Likewise.
33503 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33504 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33505 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33506 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33507 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33508 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33509 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33510
ba1a0d59
UD
33511 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33512 is sufficient, at least on modern CPUs.
33513
fd5bdc09
UD
33514 * ctype/ctype-info.c (__ctype_init): Define.
33515 * include/ctype.h (__ctype_init): Declare.
33516 (__ctype_b_loc): The variable is always initialized.
33517 (__ctype_toupper_loc): Likewise.
33518 (__ctype_tolower_loc): Likewise.
33519 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33520 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33521
7872cfb0
AS
335222011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33523
b468825a
AS
33524 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33525
7872cfb0
AS
33526 * configure.in: Also look in $cxxmachine/include for C++ system
33527 headers.
33528
be13f7bf
LD
335292011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33530
33531 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33532 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33533 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33534 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33535 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33536 (USE_AS_WMEMCMP): New macro.
33537 Fixing indents.
33538 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33539 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33540 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33541 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33542 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33543 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33544 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33545 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33546 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33547 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33548 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33549 (USE_AS_WMEMCMP): New macro.
33550 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33551 * sysdeps/string/test-memcmp.c: Update.
33552 Fix simple_wmemcmp.
33553 Add new tests.
33554 * wcsmbs/wmemcmp.c: Update.
33555 (WMEMCMP): New macro.
33556 Fix overflow bug.
33557
556a2007
AJ
335582011-10-12 Andreas Jaeger <aj@suse.de>
33559
33560 [BZ #13268]
33561 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33562
538faaa7
UD
335632011-10-15 Ulrich Drepper <drepper@gmail.com>
33564
ab6737ff
UD
33565 * libio/iofwide.c (do_length): Avoid warning.
33566
538faaa7
UD
33567 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33568
396a21b1
UD
335692011-10-14 Ulrich Drepper <drepper@gmail.com>
33570
cdf2901f
UD
33571 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33572
38ad40ce
UD
33573 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33574 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33575 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33576 * sysdeps/i386/i686/fpu/e_log.S: New file.
33577 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33578 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33579
396a21b1
UD
33580 * ctype/ctype.h: Add support for inlined isXXX functions when
33581 compiling C++ code.
33582
6b1f68c9
AS
335832011-10-14 Andreas Schwab <schwab@redhat.com>
33584
349290c0
AS
33585 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33586
6b1f68c9
AS
33587 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33588
f2282d42
RM
335892011-10-13 Roland McGrath <roland@hack.frob.com>
33590
33591 [BZ #13291]
33592 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33593
5298ffa8
AS
335942011-10-13 Andreas Schwab <schwab@redhat.com>
33595
714fad23
AS
33596 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33597 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33598 feraiseexcept.
33599
81dcc7fb
AS
33600 * sysdeps/x86_64/memrchr.S: Check for zero size.
33601
5298ffa8
AS
33602 * string/stratcliff.c: Add memrchr tests.
33603
951fbcec
LD
336042011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33605
33606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33607 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33608 rawmemchr-sse2 rawmemchr-sse2-bsf.
33609 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33610 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33611 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33612 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33613 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33614 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33615 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33616 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33617 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33618 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33619 * string/memrchr.c (MEMRCHR): New macro.
33620
0ac5ae23
UD
336212011-10-12 Ulrich Drepper <drepper@gmail.com>
33622
33623 Add integration with gcc's -ffinite-math-only and optimize wrapper
33624 functions in libm.
33625 * Versions.def: Define GLIBC_2.15 version for libm.
33626 * math/Makefile (headers): Add bits/math-finite.h.
33627 * math/bits/math-finite.h: New file.
33628 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33629 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33630 * math/e_acoshl.c: Add __*_finite alias.
33631 * math/e_acosl.c: Likewise.
33632 * math/e_asinl.c: Likewise.
33633 * math/e_atan2l.c: Likewise.
33634 * math/e_atanhl.c: Likewise.
33635 * math/e_coshl.c: Likewise.
33636 * math/e_exp10.c: Likewise.
33637 * math/e_exp10f.c: Likewise.
33638 * math/e_exp10l.c: Likewise.
33639 * math/e_exp2l.c: Likewise.
33640 * math/e_fmodl.c: Likewise.
33641 * math/e_gammal_r.c: Likewise.
33642 * math/e_hypotl.c: Likewise.
33643 * math/e_j0l.c: Likewise.
33644 * math/e_j1l.c: Likewise.
33645 * math/e_jnl.c: Likewise.
33646 * math/e_lgammal_r.c: Likewise.
33647 * math/e_log10l.c: Likewise.
33648 * math/e_log2l.c: Likewise.
33649 * math/e_logl.c: Likewise.
33650 * math/e_powl.c: Likewise.
33651 * math/e_sinhl.c: Likewise.
33652 * math/e_sqrtl.c: Likewise.
33653 * math/e_scalb.c: Completely rewritten and optimized.
33654 * math/e_scalbf.c: Likewise.
33655 * math/e_scalbl.c: Likewise.
33656 * math/w_acos.c: Likewise.
33657 * math/w_acosf.c: Likewise.
33658 * math/w_acosl.c: Likewise.
33659 * math/w_acosh.c: Likewise.
33660 * math/w_acoshf.c: Likewise.
33661 * math/w_acoshl.c: Likewise.
33662 * math/w_asin.c: Likewise.
33663 * math/w_asinf.c: Likewise.
33664 * math/w_asinl.c: Likewise.
33665 * math/w_atan2.c: Likewise.
33666 * math/w_atan2f.c: Likewise.
33667 * math/w_atan2l.c: Likewise.
33668 * math/w_atanh.c: Likewise.
33669 * math/w_atanhf.c: Likewise.
33670 * math/w_atanhl.c: Likewise.
33671 * math/w_exp10.c: Likewise.
33672 * math/w_exp10f.c: Likewise.
33673 * math/w_exp10l.c: Likewise.
33674 * math/w_fmod.c: Likewise.
33675 * math/w_fmodf.c: Likewise.
33676 * math/w_fmodl.c: Likewise.
33677 * math/w_j0.c: Likewise.
33678 * math/w_j0f.c: Likewise.
33679 * math/w_j0l.c: Likewise.
33680 * math/w_j1.c: Likewise.
33681 * math/w_j1f.c: Likewise.
33682 * math/w_j1l.c: Likewise.
33683 * math/w_jn.c: Likewise.
33684 * math/w_jnf.c: Likewise.
33685 * math/w_log.c: Likewise.
33686 * math/w_logf.c: Likewise.
33687 * math/w_logl.c: Likewise.
33688 * math/w_log10.c: Likewise.
33689 * math/w_log10f.c: Likewise.
33690 * math/w_log10l.c: Likewise.
33691 * math/w_log2.c: Likewise.
33692 * math/w_log2f.c: Likewise.
33693 * math/w_log2l.c: Likewise.
33694 * math/w_pow.c: Likewise.
33695 * math/w_powf.c: Likewise.
33696 * math/w_powl.c: Likewise.
33697 * math/w_remainder.c: Likewise.
33698 * math/w_remainderf.c: Likewise.
33699 * math/w_remainderl.c: Likewise.
33700 * math/w_scalb.c: Likewise.
33701 * math/w_scalbf.c: Likewise.
33702 * math/w_scalbl.c: Likewise.
33703 * math/w_sqrt.c: Likewise.
33704 * math/w_sqrtf.c: Likewise.
33705 * math/w_sqrtl.c: Likewise.
33706 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33707 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33708 used.
33709 * math/math_private.h: Declare __kernel_standard_f.
33710 * math/w_cosh.c: Remove cruft and optimize a bit.
33711 * math/w_coshf.c: Likewise.
33712 * math/w_coshl.c: Likewise.
33713 * math/w_exp2.c: Likewise.
33714 * math/w_exp2f.c: Likewise.
33715 * math/w_exp2l.c: Likewise.
33716 * math/w_hypot.c: Likewise.
33717 * math/w_hypotf.c: Likewise.
33718 * math/w_hypotl.c: Likewise.
33719 * math/w_lgamma.c: Likewise.
33720 * math/w_lgamma_r.c: Likewise.
33721 * math/w_lgammaf.c: Likewise.
33722 * math/w_lgammaf_r.c: Likewise.
33723 * math/w_lgammal.c: Likewise.
33724 * math/w_lgammal_r.c: Likewise.
33725 * math/w_sinh.c: Likewise.
33726 * math/w_sinhf.c: Likewise.
33727 * math/w_sinhl.c: Likewise.
33728 * math/w_tgamma.c: Likewise.
33729 * math/w_tgammaf.c: Likewise.
33730 * math/w_tgammal.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33732 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33733 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33734 Minor optimizations. Pretty printing. Remove cruft.
33735 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33736 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33737 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33738 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33739 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33740 * sysdeps/i386/fpu/e_asin.S: Likewise.
33741 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33742 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33743 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33744 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33745 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33746 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33747 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33748 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33749 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33750 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33751 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33752 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33753 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33754 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33755 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33756 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33757 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33758 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33759 * sysdeps/i386/fpu/e_log.S: Likewise.
33760 * sysdeps/i386/fpu/e_log10.S: Likewise.
33761 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33762 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33763 * sysdeps/i386/fpu/e_log2.S: Likewise.
33764 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33765 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33766 * sysdeps/i386/fpu/e_logf.S: Likewise.
33767 * sysdeps/i386/fpu/e_logl.S: Likewise.
33768 * sysdeps/i386/fpu/e_pow.S: Likewise.
33769 * sysdeps/i386/fpu/e_powf.S: Likewise.
33770 * sysdeps/i386/fpu/e_powl.S: Likewise.
33771 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33772 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33773 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33774 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33775 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33776 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33777 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33778 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33779 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33780 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33781 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33782 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33783 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33784 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33785 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33786 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33787 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33788 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33789 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33790 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33795 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33800 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33801 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33802 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33803 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33804 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33805 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33806 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33807 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33808 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33809 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33810 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33811 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33812 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33813 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33814 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33815 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33816 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33817 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33818 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33819 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33820 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33821 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33822 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33826 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33830 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33860 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33863 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33865 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33866 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33868 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33871 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33872 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33873 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33874 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33875 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33876 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33877 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33878 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33879 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33880 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33881 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33882 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33883 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33884 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33885 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33886 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33887 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33888 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33889 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33890 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33891 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33892 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33893 (__isnanf): Likewise.
33894 (__isinf_ns): Likewise.
33895 (__isinf_nsf): Likewise.
33896 (__finite): Likewise.
33897 (__finitef): Likewise.
33898 (__ieee754_sqrt): Define as macro.
33899 (__ieee754_sqrtf): Define as macro.
33900 (__ieee754_sqrtl): Define as macro.
33901 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33902 inlined copy.
33903 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33904 __FINITE_MATH_ONLY__ consistent.
33905 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33906
12cc2fcd
AS
339072011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33908
a843a204
AS
33909 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33910 of rawmemchr.
33911
12cc2fcd
AS
33912 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33913
c853acd5
UD
339142011-10-09 Ulrich Drepper <drepper@gmail.com>
33915
33916 * po/ja.po: Update from translation team.
33917
c658d255
RM
339182011-10-08 Roland McGrath <roland@hack.frob.com>
33919
110946e4
RM
33920 * locale/programs/locarchive.c (prepare_address_space): New function.
33921 (create_archive, enlarge_archive, open_archive): Use it.
33922
50604220
RM
33923 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33924 inside [SHARED], where it is used.
33925
c658d255
RM
33926 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33927
33928 * nss/getent.c (netgroup_keys): Remove unused variable.
33929 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33930
6a621eb7
UD
339312011-10-08 Ulrich Drepper <drepper@gmail.com>
33932
7edb55ce
UD
33933 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33934 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33936 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33937 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33938 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33939 * math/Makefile (libm-calls): Add s_isinf_ns.
33940 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33941 * math/multc3.c: Likewise.
33942 * math/s_casin.c: Likewise.
33943 * math/s_casinf.c: Likewise.
33944 * math/s_casinl.c: Likewise.
33945 * math/s_ccos.c: Likewise.
33946 * math/s_ccosf.c: Likewise.
33947 * math/s_ccosl.c: Likewise.
33948 * math/s_ctan.c: Likewise.
33949 * math/s_ctanf.c: Likewise.
33950 * math/s_ctanh.c: Likewise.
33951 * math/s_ctanhf.c: Likewise.
33952 * math/s_ctanhl.c: Likewise.
33953 * math/s_ctanl.c: Likewise.
33954 * math/w_fmod.c: Likewise.
33955 * math/w_fmodf.c: Likewise.
33956 * math/w_fmodl.c: Likewise.
33957 * math/w_remainder.c: Likewise.
33958 * math/w_remainderf.c: Likewise.
33959 * math/w_remainderl.c: Likewise.
33960 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33961 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33964 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33965 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33966 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33967 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33968
187da0ae
UD
33969 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33970 of the number.
33971 * stdio-common/printf_fphex.c: Likewise.
33972 * stdio-common/printf_size.c: Likewise.
33973
9277c064
UD
33974 * math/e_exp10.c: Include math_private.h using <...> not "...".
33975 * math/e_exp10f.c: Likewise.
33976 * math/e_exp10l.c: Likewise.
33977 * math/e_exp2l.c: Likewise.
33978 * math/e_j0l.c: Likewise.
33979 * math/e_j1l.c: Likewise.
33980 * math/e_jnl.c: Likewise.
33981 * math/e_lgammal_r.c: Likewise.
33982 * math/e_rem_pio2l.c: Likewise.
33983 * math/e_scalb.c: Likewise.
33984 * math/e_scalbf.c: Likewise.
33985 * math/e_scalbl.c: Likewise.
33986 * math/k_cosl.c: Likewise.
33987 * math/k_sinl.c: Likewise.
33988 * math/k_tanl.c: Likewise.
33989 * math/s_cacoshf.c: Likewise.
33990 * math/s_catan.c: Likewise.
33991 * math/s_catanf.c: Likewise.
33992 * math/s_catanh.c: Likewise.
33993 * math/s_catanhf.c: Likewise.
33994 * math/s_catanhl.c: Likewise.
33995 * math/s_catanl.c: Likewise.
33996 * math/s_ccosh.c: Likewise.
33997 * math/s_ccoshf.c: Likewise.
33998 * math/s_ccoshl.c: Likewise.
33999 * math/s_cexp.c: Likewise.
34000 * math/s_cexpf.c: Likewise.
34001 * math/s_cexpl.c: Likewise.
34002 * math/s_clog.c: Likewise.
34003 * math/s_clog10.c: Likewise.
34004 * math/s_clog10f.c: Likewise.
34005 * math/s_clog10l.c: Likewise.
34006 * math/s_clogf.c: Likewise.
34007 * math/s_clogl.c: Likewise.
34008 * math/s_csin.c: Likewise.
34009 * math/s_csinf.c: Likewise.
34010 * math/s_csinh.c: Likewise.
34011 * math/s_csinhf.c: Likewise.
34012 * math/s_csinhl.c: Likewise.
34013 * math/s_csinl.c: Likewise.
34014 * math/s_csqrt.c: Likewise.
34015 * math/s_csqrtf.c: Likewise.
34016 * math/s_csqrtl.c: Likewise.
34017 * math/s_ctan.c: Likewise.
34018 * math/s_ctanf.c: Likewise.
34019 * math/s_ctanh.c: Likewise.
34020 * math/s_ctanhf.c: Likewise.
34021 * math/s_ctanhl.c: Likewise.
34022 * math/s_ctanl.c: Likewise.
34023 * math/s_ldexp.c: Likewise.
34024 * math/s_ldexpf.c: Likewise.
34025 * math/s_ldexpl.c: Likewise.
34026 * math/s_significand.c: Likewise.
34027 * math/s_significandf.c: Likewise.
34028 * math/s_significandl.c: Likewise.
34029 * math/w_acos.c: Likewise.
34030 * math/w_acosf.c: Likewise.
34031 * math/w_acosh.c: Likewise.
34032 * math/w_acoshf.c: Likewise.
34033 * math/w_acoshl.c: Likewise.
34034 * math/w_acosl.c: Likewise.
34035 * math/w_asin.c: Likewise.
34036 * math/w_asinf.c: Likewise.
34037 * math/w_asinl.c: Likewise.
34038 * math/w_atan2.c: Likewise.
34039 * math/w_atan2f.c: Likewise.
34040 * math/w_atan2l.c: Likewise.
34041 * math/w_atanh.c: Likewise.
34042 * math/w_atanhf.c: Likewise.
34043 * math/w_atanhl.c: Likewise.
34044 * math/w_cosh.c: Likewise.
34045 * math/w_coshf.c: Likewise.
34046 * math/w_coshl.c: Likewise.
34047 * math/w_dremf.c: Likewise.
34048 * math/w_exp10.c: Likewise.
34049 * math/w_exp10f.c: Likewise.
34050 * math/w_exp10l.c: Likewise.
34051 * math/w_exp2.c: Likewise.
34052 * math/w_exp2f.c: Likewise.
34053 * math/w_fmod.c: Likewise.
34054 * math/w_fmodf.c: Likewise.
34055 * math/w_fmodl.c: Likewise.
34056 * math/w_hypot.c: Likewise.
34057 * math/w_hypotf.c: Likewise.
34058 * math/w_hypotl.c: Likewise.
34059 * math/w_j0.c: Likewise.
34060 * math/w_j0f.c: Likewise.
34061 * math/w_j0l.c: Likewise.
34062 * math/w_j1.c: Likewise.
34063 * math/w_j1f.c: Likewise.
34064 * math/w_j1l.c: Likewise.
34065 * math/w_jn.c: Likewise.
34066 * math/w_jnf.c: Likewise.
34067 * math/w_jnl.c: Likewise.
34068 * math/w_lgamma.c: Likewise.
34069 * math/w_lgamma_r.c: Likewise.
34070 * math/w_lgammaf.c: Likewise.
34071 * math/w_lgammaf_r.c: Likewise.
34072 * math/w_lgammal.c: Likewise.
34073 * math/w_lgammal_r.c: Likewise.
34074 * math/w_log.c: Likewise.
34075 * math/w_log10.c: Likewise.
34076 * math/w_log10f.c: Likewise.
34077 * math/w_log10l.c: Likewise.
34078 * math/w_log2.c: Likewise.
34079 * math/w_log2f.c: Likewise.
34080 * math/w_log2l.c: Likewise.
34081 * math/w_logf.c: Likewise.
34082 * math/w_logl.c: Likewise.
34083 * math/w_pow.c: Likewise.
34084 * math/w_powf.c: Likewise.
34085 * math/w_powl.c: Likewise.
34086 * math/w_remainder.c: Likewise.
34087 * math/w_remainderf.c: Likewise.
34088 * math/w_remainderl.c: Likewise.
34089 * math/w_scalb.c: Likewise.
34090 * math/w_scalbf.c: Likewise.
34091 * math/w_scalbl.c: Likewise.
34092 * math/w_sinh.c: Likewise.
34093 * math/w_sinhf.c: Likewise.
34094 * math/w_sinhl.c: Likewise.
34095 * math/w_sqrt.c: Likewise.
34096 * math/w_sqrtf.c: Likewise.
34097 * math/w_sqrtl.c: Likewise.
34098 * math/w_tgamma.c: Likewise.
34099 * math/w_tgammaf.c: Likewise.
34100 * math/w_tgammal.c: Likewise.
34101
6a621eb7
UD
34102 * po/ja.po: Update from translation team.
34103
bf582445
AJ
341042011-09-29 Andreas Jaeger <aj@suse.de>
34105
f9efbf3a
AJ
34106 [BZ #13179]
34107 * sunrpc/netname.c (netname2host): Fix logic.
34108
bf582445
AJ
34109 [BZ #6779]
34110 [BZ #6783]
34111 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34112 correctly.
34113 * math/w_remainder.c (__remainder): Likewise.
34114 * math/w_remainderf.c (__remainderf): Likewise.
34115 * math/libm-test.inc (remainder_test): Add test cases.
34116
48693bea
AK
341172011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34118
34119 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34120 sdiv_qrnnd.
34121
42622229
LD
341222011-10-07 Ulrich Drepper <drepper@gmail.com>
34123
34124 * string/test-memcmp.c: Avoid unncessary #defines.
34125 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34126
093ecf92
LD
341272011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34128
34129 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34130 Use new sse2 version for core i3 - i7 as it's faster
34131 than sse42 version.
34132 (bit_Prefer_PMINUB_for_stringop): New.
34133 * sysdeps/x86_64/rawmemchr.S: Update.
34134 Replace with faster SSE2 version.
34135 * sysdeps/x86_64/memrchr.S: New file.
34136 * sysdeps/x86_64/memchr.S: Update.
34137 Replace with faster SSE2 version.
34138
fde56e5c
MP
341392011-09-12 Marek Polacek <mpolacek@redhat.com>
34140
34141 * elf/dl-load.c (lose): Add cast to avoid warning.
34142
21fd49a9
UD
341432011-10-07 Ulrich Drepper <drepper@gmail.com>
34144
5a06e643
UD
34145 * po/ca.po: Update from translation team.
34146
684ae515
UD
34147 * inet/getnetgrent_r.c: Hook up nscd.
34148 * nscd/Makefile (routines): Add nscd_netgroup.
34149 (nscd-modules): Add netgroupcache.
34150 (CFLAGS-netgroupcache.c): Define.
34151 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34152 (cache_search): Add const to second parameter.
34153 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34154 INNETGR.
34155 (dbs): Add netgrdb entry.
34156 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34157 (verify_persistent_db): Handle netgrdb.
34158 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34159 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34160 GETFDNETGR.
34161 (netgroup_response_header): Define.
34162 (innetgroup_response_header): Define.
34163 (datahead): Add netgroup_response_header and innetgroup_response_header
34164 elements.
34165 * nscd/nscd.conf: Add entries for netgroup cache.
34166 * nscd/nscd.h (dbtype): Add netgrdb.
34167 (_PATH_NSCD_NETGROUP_DB): Define.
34168 (netgroup_iov_disabled): Declare.
34169 (xmalloc, xcalloc, xrealloc): Move declarations here.
34170 (cache_search): Adjust prototype.
34171 Add netgroup-related prototypes.
34172 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34173 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34174 (__nscd_innetgr): Declare.
34175 * nscd/selinux.c (perms): Use access_vector_t as element type and
34176 add netgroup-related initializers.
34177 * nscd/netgroupcache.c: New file.
34178 * nscd/nscd_netgroup.c: New file.
34179 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34180 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34181 For four parameters use innetgr.
34182 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34183 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34184 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34185 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34186
21fd49a9
UD
34187 * nscd/connections.c (register_traced_file): Don't register file
34188 for disabled databases.
34189
054c0457
UD
341902011-10-06 Ulrich Drepper <drepper@gmail.com>
34191
32b63198
UD
34192 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34193
054c0457
UD
34194 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34195 from tree and freeing node.
34196
64031225
JO
341972011-09-25 Jiri Olsa <jolsa@redhat.com>
34198
34199 * nss/nsswitch.c (__nss_database_lookup): Handle
34200 nss_parse_service_list out of memory case.
34201
0490345c
JO
342022011-09-15 Jiri Olsa <jolsa@redhat.com>
34203
34204 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34205 out of memory case.
34206
3a62d00d
AS
342072011-10-04 Andreas Schwab <schwab@redhat.com>
34208
34209 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34210 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34211 pass it down.
34212 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34213 elf_machine_rela, elf_machine_lazy_rel.
34214 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34215 (ELF_DYNAMIC_DO_REL): Likewise.
34216 (ELF_DYNAMIC_DO_RELA): Likewise.
34217 (ELF_DYNAMIC_RELOCATE): Likewise.
34218 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34219 to ELF_DYNAMIC_DO_REL.
34220 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34221 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34222 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34223 elf_machine_rela.
34224 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34225 skip_ifunc, don't call ifunc function if non-zero.
34226 (elf_machine_rela): Likewise.
34227 (elf_machine_lazy_rel): Likewise.
34228 (elf_machine_lazy_rela): Likewise.
34229 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34230 (elf_machine_lazy_rel): Likewise.
34231 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34232 Likewise.
34233 (elf_machine_lazy_rel): Likewise.
34234 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34235 Likewise.
34236 (elf_machine_lazy_rel): Likewise.
34237 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34238 (elf_machine_lazy_rel): Likewise.
34239 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34240 (elf_machine_lazy_rel): Likewise.
34241 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34242 (elf_machine_lazy_rel): Likewise.
34243 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34244 (elf_machine_lazy_rel): Likewise.
34245 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34246 (elf_machine_lazy_rel): Likewise.
34247 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34248 (elf_machine_lazy_rel): Likewise.
34249
68577918
UD
342502011-09-28 Ulrich Drepper <drepper@gmail.com>
34251
34252 * nss/nss_files/files-init.c (_nss_files_init): Use static
34253 initialization for all the *_traced_file variables.
34254
68822d74
AS
342552011-09-28 Andreas Schwab <schwab@redhat.com>
34256
34257 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34258
2056100b
RM
342592011-09-27 Roland McGrath <roland@hack.frob.com>
34260
34261 [BZ #13226]
34262 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34263
32c76b63
AS
342642011-09-27 Andreas Schwab <schwab@redhat.com>
34265
34266 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34267 Reread the line before reparsing it.
34268
bf972c9d
AS
342692011-09-26 Andreas Schwab <schwab@redhat.com>
34270
34271 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34272
e057a1b5
JM
342732011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34274 Maxim Kuvyrkov <maxim@codesourcery.com>
34275 Joseph Myers <joseph@codesourcery.com>
34276
34277 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34278 if needed for __stack_chk_guard.
34279
bc7e1c36
RM
342802011-09-19 Roland McGrath <roland@hack.frob.com>
34281
ecb1482f
RM
34282 * sysdeps/posix/spawni.c (script_execute): Always define it.
34283 It will be optimized away if unused.
34284 (maybe_script_execute): New function.
34285 (__spawni): Call it.
34286
bc7e1c36
RM
34287 * Makerules: Don't include tls.make.
34288 (config-tls): Always set to thread.
34289 * tls.make.c: File removed.
34290
1c3b002b
MF
342912011-09-19 Mike Frysinger <vapier@gentoo.org>
34292
34293 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34294 * config.make.in (CPPFLAGS-config): New substituted variable.
34295
2840865d
UD
342962011-09-15 Ulrich Drepper <drepper@gmail.com>
34297
88738eb6
UD
34298 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34299
cbf645a6 34300 [BZ #13192]
2840865d
UD
34301 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34302 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34303
b402e91a
RM
343042011-09-15 Roland McGrath <roland@hack.frob.com>
34305
34306 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34307 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34309 (CALL_FAIL): Likewise.
34310 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34311 (CALL_FAIL): Macro removed.
34312 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34313
4c1a1f71
UD
343142011-09-15 Ulrich Drepper <drepper@gmail.com>
34315
34316 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34317 for __FINITE_MATH_ONLY__ == 1.
34318
edc121be
AS
343192011-09-15 Andreas Schwab <schwab@redhat.com>
34320
34321 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34322 __ieee754_sqrt instead of sqrt.
34323 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34324 __ieee754_sqrtf instead of sqrtf.
34325 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34326 __floorf instead of floorf.
34327 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34328 __floorf, __truncf instead of floorf, truncf.
34329
cd205654
UD
343302011-09-14 Ulrich Drepper <drepper@gmail.com>
34331
ee4d0315
UD
34332 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34333
cd205654
UD
34334 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34335 __extern_always_inline.
34336 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34337 32-bit.
34338
48b67d71
AS
343392011-09-14 Andreas Schwab <schwab@redhat.com>
34340
34341 * elf/rtld.c (dl_main): Also relocate in dependency order when
34342 doing symbol dependency testing.
34343
1ae12c75
AS
343442011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34345
34346 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34347 Always define `refsym'.
34348
995a80df
AS
343492011-09-13 Andreas Schwab <schwab@redhat.com>
34350
e529793b
AS
34351 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34352 (__FD_ELT): Renamed from __FDELT.
34353 * misc/bits/select2.h (__FD_ELT): Likewise.
34354 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34355 __FD_MASK instead of __FDELT, __FDMASK.
34356 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34357 Likewise.
34358 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34359 Likewise.
34360
52d4fef8
AS
34361 * elf/Makefile (gen-ldd): Fix pattern.
34362
995a80df
AS
34363 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34364 (init_tls): Likewise.
34365
8682f8b0
UD
343662011-09-12 Ulrich Drepper <drepper@gmail.com>
34367
34368 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34369
de82006d
AS
343702011-09-12 Andreas Schwab <schwab@redhat.com>
34371
a7c8e6a1
AS
34372 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34373 `struct cmsghdr *' instead of `void *'.
34374 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34375 Likewise.
34376
0f31fe77
AS
343772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34378
34379 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34380 if non-absolute.
34381 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34382 ldd_rewrite_script.
0f31fe77 34383
32b4c839
UD
343842011-09-11 Ulrich Drepper <drepper@gmail.com>
34385
83cd1420
UD
34386 * configure.in: Remove --with-tls option.
34387 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34388 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34389 out in case it is missing.
34390 * sysdeps/ia64/elf/configure.in: Likewise.
34391 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34392 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34393 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34394 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34395 * sysdeps/sh/elf/configure.in: Likewise.
34396 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34397 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34398 * sysdeps/x86_64/elf/configure.in: Likewise.
34399 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34400 * sysdeps/mach/hurd/tls.h: Likewise.
34401
633f745d
UD
34402 [BZ #13067]
34403 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34404
f318beb8
UD
34405 [BZ #13090]
34406 * configure.in: Fix use of AC_INIT.
34407
32b4c839
UD
34408 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34409
3ce1f295
UD
344102011-09-10 Ulrich Drepper <drepper@gmail.com>
34411
bb016596
UD
34412 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34413 __set_errno.
8e58439c
UD
34414 * malloc/hooks.c: Likewise.
34415
aebae053 34416 [BZ #11929]
02d46fc4
UD
34417 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34418 variables statically.
34419 (narenas): Initialize.
34420 (list_lock): Initialize.
bb016596
UD
34421 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34422 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34423 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34424 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34425 Add initializers to main_arena and mp_.
34426 (malloc_state): Remove pagesize member. Change all users to use
34427 GLRO(dl_pagesize).
34428
34429 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34430 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34431 is always initialized.
34432
22a89187
UD
34433 * malloc/malloc.c: Removed unused configurations and dead code.
34434 * malloc/arena.c: Likewise.
34435 * malloc/hooks.c: Likewise.
02d46fc4 34436 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34437
d063d164
UD
34438 * include/tls.h: Removed. USE___THREAD must always be defined.
34439 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34440 * elf/dl-libc.c: Likewise.
34441 * elf/dl-tsd.c: Likewise.
34442 * include/errno.h: Likewise.
34443 * include/netdb.h: Likewise.
34444 * include/resolv.h: Likewise.
34445 * inet/herrno-loc.c: Likewise.
34446 * inet/herrno.c: Likewise.
34447 * malloc/arena.c: Likewise.
34448 * malloc/hooks.c: Likewise.
34449 * malloc/malloc.c: Likewise.
34450 * resolv/res-state.c: Likewise.
34451 * resolv/res_libc.c: Likewise.
34452 * sysdeps/i386/dl-machine.h: Likewise.
34453 * sysdeps/ia64/dl-machine.h: Likewise.
34454 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34455 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34456 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34457 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34458 * sysdeps/sh/dl-machine.h: Likewise.
34459 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34460 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34461 * sysdeps/unix/i386/sysdep.S: Likewise.
34462 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34463 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34464 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34465 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34466 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34467 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34468 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34470 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34472 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34473 * sysdeps/x86_64/dl-machine.h: Likewise.
34474 * tls.make.c: Likewise.
34475
3ce1f295
UD
34476 * configure.in: Remove --with-__thread option. Make tests for
34477 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34478 tls_model attribute fail if no support is available. Remove
34479 USE_IN_LIBIO.
34480 * Makeconfig: Adjust for dropped configure option. All features are
34481 now mandatory.
34482 * Makerules: Likewise.
34483 * Versions.def: Likewise.
34484 * argp/argp-fmtstream.c: Likewise.
34485 * argp/argp-fmtstream.h: Likewise.
34486 * argp/argp-help.c: Likewise.
34487 * assert/assert.c: Likewise.
34488 * config.h.in: Likewise.
34489 * config.make.in: Likewise.
34490 * configure: Likewise.
34491 * configure.in: Likewise.
34492 * csu/Versions: Likewise.
34493 * csu/init.c: Likewise.
34494 * elf/tst-audit2.c: Likewise.
34495 * elf/tst-tls10.c: Likewise.
34496 * elf/tst-tls10.h: Likewise.
34497 * elf/tst-tls11.c: Likewise.
34498 * elf/tst-tls12.c: Likewise.
34499 * elf/tst-tls14.c: Likewise.
34500 * elf/tst-tlsmod11.c: Likewise.
34501 * elf/tst-tlsmod12.c: Likewise.
34502 * elf/tst-tlsmod13.c: Likewise.
34503 * elf/tst-tlsmod13a.c: Likewise.
34504 * elf/tst-tlsmod14a.c: Likewise.
34505 * elf/tst-tlsmod15b.c: Likewise.
34506 * elf/tst-tlsmod16a.c: Likewise.
34507 * elf/tst-tlsmod16b.c: Likewise.
34508 * elf/tst-tlsmod7.c: Likewise.
34509 * elf/tst-tlsmod8.c: Likewise.
34510 * elf/tst-tlsmod9.c: Likewise.
34511 * gmon/gmon.c: Likewise.
34512 * grp/fgetgrent_r.c: Likewise.
34513 * grp/putgrent.c: Likewise.
34514 * hurd/fopenport.c: Likewise.
34515 * include/libc-symbols.h: Likewise.
34516 * include/tls.h: Likewise.
34517 * intl/gettextP.h: Likewise.
34518 * intl/loadinfo.h: Likewise.
34519 * locale/global-locale.c: Likewise.
34520 * locale/localeinfo.h: Likewise.
34521 * mach/devstream.c: Likewise.
34522 * malloc/arena.c: Likewise.
34523 * malloc/set-freeres.c: Likewise.
34524 * misc/err.c: Likewise.
34525 * misc/getttyent.c: Likewise.
34526 * misc/mntent_r.c: Likewise.
34527 * posix/getopt.c: Likewise.
34528 * posix/wordexp.c: Likewise.
34529 * pwd/fgetpwent_r.c: Likewise.
34530 * resolv/Versions: Likewise.
34531 * resolv/res_hconf.c: Likewise.
34532 * shadow/fgetspent_r.c: Likewise.
34533 * shadow/putspent.c: Likewise.
34534 * stdio-common/printf_fphex.c: Likewise.
34535 * stdio-common/tmpfile.c: Likewise.
34536 * stdlib/abort.c: Likewise.
34537 * stdlib/fmtmsg.c: Likewise.
34538 * sunrpc/auth_unix.c: Likewise.
34539 * sunrpc/clnt_perr.c: Likewise.
34540 * sunrpc/clnt_tcp.c: Likewise.
34541 * sunrpc/clnt_udp.c: Likewise.
34542 * sunrpc/clnt_unix.c: Likewise.
34543 * sunrpc/openchild.c: Likewise.
34544 * sunrpc/svc_simple.c: Likewise.
34545 * sunrpc/svc_tcp.c: Likewise.
34546 * sunrpc/svc_udp.c: Likewise.
34547 * sunrpc/svc_unix.c: Likewise.
34548 * sunrpc/xdr.c: Likewise.
34549 * sunrpc/xdr_array.c: Likewise.
34550 * sunrpc/xdr_rec.c: Likewise.
34551 * sunrpc/xdr_ref.c: Likewise.
34552 * sunrpc/xdr_stdio.c: Likewise.
34553
1248c1c4
PB
345542011-09-09 Ulrich Drepper <drepper@gmail.com>
34555
34556 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34557
345582011-07-03 Andreas Jaeger <aj@suse.de>
34559
34560 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34561 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34562 regenerate with gen-libm-tests.pl.
34563
345642010-05-12 Petr Baudis <pasky@suse.cz>
34565
34566 [BZ #11589]
34567 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34568 around j0() zero points by switching to j1().
34569 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34570 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34571 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34572 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34573
f22e1074
UD
345742011-09-09 Ulrich Drepper <drepper@gmail.com>
34575
f19009c1
UD
34576 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34577 instead of 0.
34578 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34579 instead of 0.
f19009c1
UD
34580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34581 Patch in part by Pavel Roskin <proski@gnu.org>.
34582
3f8cc204
UD
34583 [BZ #13138]
34584 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34585 realloc.
34586 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34587 Free memory block if necessary.
34588
f22e1074
UD
34589 [BZ #12847]
34590 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34591 be NULL. Don't lock in this case.
34592
0a2349f9
RM
345932011-09-09 Roland McGrath <roland@hack.frob.com>
34594
34595 * elf/elf.h (ELFOSABI_GNU): New macro.
34596 (ELFOSABI_LINUX): Define to that.
34597
f3cdd467
DZ
345982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34599
34600 * string/strncat.c (strncat): Undef the symbol in case it has been
34601 defined in bits/string.h.
34602
74718d13
UD
346032011-09-09 Ulrich Drepper <drepper@gmail.com>
34604
633e9e0f
UD
34605 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34606
0a2349f9 34607 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34608 link map.
34609
f9924780
AJ
346102011-08-17 Andreas Jaeger <aj@suse.de>
34611
34612 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34613
7f5517aa
PP
346142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34615 Ian Lance Taylor <iant@google.com>
34616
34617 * math/libm-test.inc (lround_test): New testcase.
34618 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34619
762011fe
UD
346202011-09-08 Ulrich Drepper <drepper@gmail.com>
34621
92963737
UD
34622 * Makefile: Remove support for automatic cvs check-ins.
34623 * Makerules: Likewise.
34624 * config.make.in: Likewise.
34625 * configure.in: Likewise.
34626 * intl/Makefile: Likewise.
34627 * locale/Makefile: Likewise.
34628 * po/Makefile: Likewise.
34629 * posix/Makefile: Likewise.
34630 * sysdeps/gnu/Makefile: Likewise.
34631 * sysdeps/mach/hurd/Makefile: Likewise.
34632 * sysdeps/sparc/sparc32/Makefile: Likewise.
34633
b0727fd8
JS
34634 [BZ #13118]
34635 * posix/Makefile (bug-regex32-ENV): Define.
34636 Patch by John Stanley <jpsinthemix@verizon.net>.
34637
a0f33f99
UD
34638 * misc/Makefile (headers): Add bits/select2.h.
34639 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34640 * misc/bits/select2.h: New file.
34641 * include/bits/select2.h: New file.
34642 * debug/Makefile (routines): Add fdelt_chk.
34643 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34644 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34645 FD_ISSET.
34646 * debug/fdelt_chk.c: New file.
34647
762011fe
UD
34648 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34649 * wcsmbs/test-wmemcmp.c: Likewise.
34650 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34651 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34652
346532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34654
34655 * string/Makefile (strop-tests): Add memcmp.
34656 * string/test-wmemcmp.c: New file.
34657 * string/test-memcmp.c: Add wmemcmp support.
34658
7f513ec8
RM
346592011-09-08 Roland McGrath <roland@hack.frob.com>
34660
0442afb4
RM
34661 [BZ #13153]
34662 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34663 2011-07-19 change.
34664
7f513ec8
RM
34665 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34666 garbage value in a __mach_port_mod_refs call in the cases of the
34667 task-self and thread-self ports.
34668
a12b2239
ST
346692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34670
34671 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34672
610f9ab4
AS
346732011-09-08 Andreas Schwab <schwab@redhat.com>
34674
7f513ec8 34675 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34676
48882a1a
LD
346772011-09-07 Ulrich Drepper <drepper@gmail.com>
34678
b49865be
UD
34679 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34680
fdc86bc9
UD
34681 * elf/dl-libc.c (dlerror_run): Pass back error code from
34682 dl_catch_error.
34683
c966526a
UD
34684 [BZ #13123]
34685 * elf/dl-load.c (lose): Free l_origin if it is valid.
34686
48882a1a
LD
34687 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34688 names.
34689 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34690 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34691 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34692 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34693 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34694 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34695
77a2a8b4
AZ
346962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34697
34698 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34699 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34700 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34701 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34702 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34703 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34704 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34705 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34706 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34707 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34708
24f579d8
AM
347092011-08-15 Alan Modra <amodra@gmail.com>
34710
34711 [BZ #13092]
34712 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34713 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34714 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34715 ppc_mcount to static-only-routines.
34716 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34717 __mcount_internal.
34718 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34719 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34720
3d4837df
UD
347212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34722
34723 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34724 for finite and infinity parameters.
34725
22700377
WS
347262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34727
34728 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34729 and add nop instructions for throughput optimization.
34730 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34731
5025581e
WS
347322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34733
34734 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34735 aligned copy for power7 with vector-scalar instructions.
34736 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34737
08a300c9
L
347382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34739
34740 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34741 AVX check.
34742
59178ef9
AS
347432011-09-07 Andreas Schwab <schwab@redhat.com>
34744
34745 [BZ #13144]
34746 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34747 last change.
34748
e38ba7ab
UD
347492011-09-07 Ulrich Drepper <drepper@gmail.com>
34750
34751 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34752 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34753 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34754 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34755 clock_gettime.
34756
d53a73ac
UD
347572011-09-06 Ulrich Drepper <drepper@gmail.com>
34758
fc8bffcc
UD
34759 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34760 Forgot to demangle the pointer.
34761
ceaa0c5d
UD
34762 * sysdeps/i386/sysdep.h: Define atom_text_section.
34763 * sysdeps/x86_64/sysdep.h: Likewise.
34764 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34765 section with atom_text_section.
34766 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34767 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34768 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34770 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34771
a77d3c17
UD
34772 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34773 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34774 already be defined. Change to take two parameters and don't assign
34775 result to variable. Adjust all users.
34776 Define INTERNAL_GETTIME if not already defined.
34777 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34778 call.
34779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34780 HAVE_CLOCK_GETTIME_VSYSCALL.
34781 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34782
d53a73ac
UD
34783 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34784 gettimeofday vsyscall, just use time.
34785
a8f84144
AS
347862011-09-06 Andreas Schwab <schwab@redhat.com>
34787
34788 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34789 <errno.h>.
34790
ef606249
UD
347912011-09-06 Ulrich Drepper <drepper@gmail.com>
34792
34793 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34794 syscall on x86-64.
34795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34796 syscall.
34797 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34798 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34799 syscall if possible.
34800
6585cb60
UD
348012011-09-05 Ulrich Drepper <drepper@gmail.com>
34802
34803 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34804 e_ident. Don't pass to find_mapsXX.
34805 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34806
a5f524e4
LD
348072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34808
34809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34810 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34811 * sysdeps/x86_64/multiarch/strchr.S: Update.
34812 Check bit_slow_BSF bit.
34813 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34814 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34815 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34816
554881ef
UD
348172011-09-05 Ulrich Drepper <drepper@gmail.com>
34818
d96de963
UD
34819 [BZ #13134]
34820 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34821 before glibc 2.15.
34822 (tryshell): Define.
34823 (__spawni): Change last parameter to be flag. Test
34824 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34825 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34826 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34827 * posix/spawni.c: Likewise.
34828 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34829 * posix/spawnp.c: Likewise. Change normal version to use
34830 SPAWN_XFLAGS_USE_PATH.
34831 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34832 SPAWN_XFLAGS_TRY_SHELL.
34833
d48e5868
UD
34834 [BZ #13150]
34835 * posix/glob.h: Remove gcc 1.x support.
34836
554881ef
UD
34837 [BZ #13068]
34838 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34839
693fb948
LD
348402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34841
34842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34843 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34844 strrchr-sse2-bsf
34845 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34846 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34847 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34848 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34849 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34850 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34851
1b48c537
UD
348522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34853
49d42c37
UD
34854 * sysdeps/x86_64/wcscmp.S: New file.
34855
1b48c537
UD
34856 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34857 wcscmp-c wcscmp-sse2
34858 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34859 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34860 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34861 * wcsmbs/wcscmp.c: Allow renaming.
34862
15c95c5d
DM
348632011-09-05 David S. Miller <davem@davemloft.net>
34864
34865 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34866 stack slot, rather than the struct return pointer slot.
34867 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34868 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34870 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34871
2f0ad8f3
UD
348722011-09-05 Ulrich Drepper <drepper@gmail.com>
34873
d88ae418
UD
34874 * po/ja.po: Update from translation team.
34875
2f0ad8f3
UD
34876 [BZ #13144]
34877 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34878 kernel in 64-bit binaries.
34879
5f4318d1
DM
348802011-09-01 David S. Miller <davem@davemloft.net>
34881
34882 * elf/elf.h (HWCAP_SPARC_*): Move to..
34883 * sysdeps/sparc/sysdep.h: this new file and add new values.
34884 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34885 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34886 _DL_HWCAP_COUNT to 24.
34887 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34888 entries.
34889 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34890 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34891 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34893 instead of magic constants.
34894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34895
3ba57516
DM
348962011-08-31 David S. Miller <davem@davemloft.net>
34897
34898 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34900 Reimplement to do errno handling inline.
34901 (SYSCALL_ERROR_HANDLER): New macro.
34902 (__SYSCALL_STRING): Do not do errno handling in asm.
34903 (__CLONE_SYSCALL_STRING): Delete.
34904 (__INTERNAL_SYSCALL_STRING): Delete.
34905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34906 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34907 (PSEUDO): Reimplement to do errno handling inline.
34908 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34909 (SYSCALL_ERROR_HANDLER): New macro.
34910 (__SYSCALL_STRING): Do not do errno handling in asm.
34911 (__CLONE_SYSCALL_STRING): Delete.
34912 (__INTERNAL_SYSCALL_STRING): Delete.
34913 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34914 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34915 i386.
34916 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34917 (inline_syscall*): Add 'err' argument.
34918 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34919 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34920 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34921 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34922
34923 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34924 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34925
2bc17433
AS
349262011-08-30 Andreas Schwab <schwab@redhat.com>
34927
34928 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34929
fbeb5f4d
JO
349302011-08-29 Jiri Olsa <jolsa@redhat.com>
34931
34932 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34933 directive.
34934
ad69cc26
DM
349352011-08-24 David S. Miller <davem@davemloft.net>
34936
34937 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34938
39dd69df
AS
349392011-08-24 Andreas Schwab <schwab@redhat.com>
34940
34941 * elf/Makefile: Add rules to build and run unload8 test.
34942 * elf/unload8.c: New file.
34943 * elf/unload8mod1.c: New file.
34944 * elf/unload8mod1x.c: New file.
34945 * elf/unload8mod2.c: New file.
34946 * elf/unload8mod3.c: New file.
34947
34948 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34949 it wasn't used.
34950
2c0b250a
DM
349512011-08-23 David S. Miller <davem@davemloft.net>
34952
34953 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34954 subtract stack bias.
34955 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34956 %sp not %fp in calculations.
34957 (_JMPBUF_UNWINDS_ADJ): Likewise.
34958
22044b48
DM
34959 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34960 (aio_suspend): Call it to force an exception region around the
34961 AIO_MISC_WAIT() invocation.
34962
2cae4995
AS
349632011-08-23 Andreas Schwab <schwab@redhat.com>
34964
34965 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34966 backslash.
34967
873a772e
AJ
349682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34969
34970 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34971 protection macro.
34972 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34973 and <dl-machine.h>.
34974 (Elf64_FuncDesc): Remove.
34975
25ad0df1
DM
349762011-08-22 David S. Miller <davem@davemloft.net>
34977
34978 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34979 sigaltstack check, add missing cfi directives.
34980 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34981 missing cfi directives, and sigaltstack handling.
34982
e888bcbe
AS
349832011-08-16 Andreas Schwab <schwab@redhat.com>
34984
34985 [BZ #11724]
34986 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34987 object is seen twice.
34988 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34989
34990 * elf/Makefile (distribute): Add tst-initorder2.c.
34991 (tests): Add tst-initorder2.
34992 (modules-names): Add tst-initorder2a tst-initorder2b
34993 tst-initorder2c tst-initorder2d. Add rules to build them.
34994 ($(objpfx)tst-initorder2.out): New rule.
34995 * elf/tst-initorder2.c: New file.
34996 * elf/tst-initorder2.exp: New file.
34997
87162f46
AS
349982011-08-22 Andreas Schwab <schwab@redhat.com>
34999
70538b7f
AS
35000 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35001
f55ffe58
AS
35002 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35003 dependencies back to end of function.
35004
87162f46
AS
35005 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35006 $(elfobjdir)/ld.so.
35007
91b392a4
UD
350082011-08-21 Ulrich Drepper <drepper@gmail.com>
35009
35010 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35011 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35012 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35013 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35014 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35015 of __vdso_gettimeofday.
35016 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35017 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35018 attribute_hidden.
35019 (_libc_vdso_platform_setup): Remove initialization of
35020 __vdso_gettimeofday and __vdso_time.
35021
5c43483f
UD
350222011-08-20 Ulrich Drepper <drepper@gmail.com>
35023
775a77e7
UD
35024 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35025 and fgetc_unlocked.
35026 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35027 getc_unlocked.
89f447ed 35028
49c74ba9
UD
35029 * elf/dl-open.c (add_to_global): Report additions to the global scope
35030 for LD_DEBUG=scopes.
35031 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 35032 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 35033
5c43483f
UD
35034 [BZ #13114]
35035 * stdio-common/Makefile (tests): Add bug24.
35036 * stdio-common/bug24.c: New file.
35037
a101b025
AJ
350382011-08-19 Andreas Jaeger <aj@suse.de>
35039
35040 [BZ #13114]
35041 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35042 non-existant file when using close-on-exec mode.
35043
c88f1766
UD
350442011-08-20 Ulrich Drepper <drepper@gmail.com>
35045
0276a718
UD
35046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35047 the very first instruction.
35048
c88f1766
UD
35049 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35050 the CFI state in the end.
35051 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35052 inclusion of dl-trampoline.h.
35053 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35054
51ccffa0
AS
350552011-08-19 Andreas Schwab <schwab@redhat.com>
35056
94d7165f
AS
35057 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35058 expectations for long double.
35059
51ccffa0
AS
35060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35061 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35062
fd708658 350632011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
35064
35065 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35066 artificual limit depends upon the system page size.
35067
44f0a71e
UD
350682011-08-17 Ulrich Drepper <drepper@gmail.com>
35069
35070 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35071 * resolv/Makefile: Define CFLAGS-libresolv.
35072
8de79a24
AS
350732011-08-17 Andreas Schwab <schwab@redhat.com>
35074
35075 * nss/makedb.c (compute_tables): Make variables used in nested
35076 function static.
35077
27724598
UD
350782011-08-17 Ulrich Drepper <drepper@gmail.com>
35079
c5305d88
UD
35080 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35081 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35082 if buffer was too small.
35083
27724598
UD
35084 * elf/pldd.c (main): Attach to all threads in the process.
35085 Rewrite /proc handling to use *at functions.
35086
076fe015
UD
350872011-08-16 Ulrich Drepper <drepper@gmail.com>
35088
174baab3
UD
35089 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35090 specifies first scope to show.
35091 (dl_open_worker): Update callers. Move printing scope of new
35092 object to before the relocation.
44f0a71e 35093 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
35094 * sysdeps/generic/ldsodefs.h: Update declaration.
35095
076fe015
UD
35096 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35097 string for the scope number.
35098
a60df2c3
UD
350992011-08-14 Ulrich Drepper <drepper@gmail.com>
35100
35101 * nscd/servicescache.c (cache_addserv): Make sure written is always
35102 initialized.
35103
5e4287d1
RM
351042011-08-14 Roland McGrath <roland@hack.frob.com>
35105
85ae0589
RM
35106 * sysdeps/i386/i486/bits/atomic.h
35107 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35108 statement expression, so as to suppress "set but not used" warning.
35109 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35110
69f63097
RM
35111 * string/strncat.c (STRNCAT): Use prototype definition.
35112
675456ef
RM
35113 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35114 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35115 -Iprograms here.
35116 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35117 (localedef-modules): Add localedef.
35118 (locale-modules): Add locale.
35119
5e4287d1
RM
35120 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35121 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35122 to avoid a warning.
35123
9c96ff23
DM
351242011-08-14 David S. Miller <davem@davemloft.net>
35125
35126 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35127 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35128
f9ddf089
UD
351292011-08-13 Ulrich Drepper <drepper@gmail.com>
35130
44f0a71e 35131 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
35132 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35133 * elf/rtld.c (dl_main): Set l_name of vDSO.
35134 Call _dl_show_scope when DL_DEBUG_SCOPES.
35135 (process_dl_debug): Recognize scopes flag and also set it for all.
35136 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35137 Declare _dl_show_scope.
35138
1dc27704
UD
35139 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35140 (do_dlopen): Pass caller_dlopen to dl_open.
35141 (__libc_dlopen_mode): Initialize caller_dlopen.
35142
f9ddf089
UD
35143 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35144 of libc. Make tolower call locale-independent. Optimize a bit by
35145 using isdigit instead of isalnum.
35146 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35147
9ac533d3
UD
351482011-08-12 Ulrich Drepper <drepper@gmail.com>
35149
35150 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35151 was a dependency or dynamically loaded.
35152
89edf2e9
UD
351532011-08-11 Ulrich Drepper <drepper@gmail.com>
35154
8e999d29
UD
35155 * intl/l10nflist.c: Allow architecture-specific pop function.
35156 * sysdeps/x86_64/l10nflist.c: New file.
35157
89edf2e9
UD
35158 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35159 classification.
35160
14d96785
AS
351612011-08-10 Andreas Schwab <schwab@redhat.com>
35162
35163 * include/dirent.h: Add libc_hidden_proto for scandirat and
35164 scandirat64. Don't declare __scandirat64.
35165 * dirent/scandirat.c: Add libc_hidden_def.
35166 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35167 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35168
6761ac04
DM
351692011-08-10 David S. Miller <davem@davemloft.net>
35170
35171 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35172 enum.
35173 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35174 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35175 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35176
c55fbd1e
UD
351772011-08-09 Ulrich Drepper <drepper@gmail.com>
35178
35179 * Versions.def [libc]: Add GLIBC_2.15.
35180 * dirent/Makefile (routines): Add scandirat and scandirat64.
35181 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35182 GLIBC_2.15.
35183 * dirent/dirent.h: Declare scandirat and scandirat64.
35184 * dirent/scandirat.c: New file.
35185 * dirent/scandirat64.c: New file.
35186 * sysdeps/wordsize-64/scandirat.c: New file.
35187 * sysdeps/wordsize-64/scandirat64.c: New file.
35188 * dirent/opendir.c: Define opendirat.
35189 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35190 using scandirat.
35191 * dirent/scandir64.c: Adjust for scandir.c change.
35192 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35193 __scandirat64, and __scandir_cancel_handler.
35194 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35195 additional parameter and use openat instead of open (outside of ld.so).
35196 Add new __opendir as wrapper around __opendirat.
35197 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35198 here without requiring old scandirat implementation.
35199
879165f2
UD
352002011-08-08 Ulrich Drepper <drepper@gmail.com>
35201
35202 * dirent/scandir.c (cancel_handler): Renamed to
35203 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35204 defined. Adjust users.
35205 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35206 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35207
cb7e923b
UD
352082011-08-04 Ulrich Drepper <drepper@gmail.com>
35209
16292edd
UD
35210 * string/test-string.h (IMPL): Use __STRING to expand name and then
35211 stringify it.
35212
cb7e923b
UD
35213 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35214 of cleanups.
35215
cff82933
LD
352162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35217
35218 * string/Makefile: Update.
35219 (strop-tests): Append strncat.
35220 * string/test-wcscmp.c: New file.
35221 New comprehensive test for wcscmp.
35222 * string/test-strcmp.c: Update.
35223 (WIDE): New define.
35224
9be9bfcc
AS
352252011-07-22 Andreas Schwab <schwab@redhat.com>
35226
35227 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35228 line.
35229
2e96f1c7
AS
352302011-07-26 Andreas Schwab <schwab@redhat.com>
35231
35232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35233 encoding to ACE if AI_IDN.
35234
85188888
JJ
352352011-08-01 Jakub Jelinek <jakub@redhat.com>
35236
35237 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35238 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35239
5fa16e9b
LD
352402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35241
35242 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35243 Fix overflow bug in strncat.
35244 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35245
35246 * string/test-strncat.c: Update.
35247 Add new tests for checking overflow bugs.
35248
352492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35250
35251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35252 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35253 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35254 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35255 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35256 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35257 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35258 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35259 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35260
35261 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35262 (USE_AS_STRCAT): Define.
35263 Add strcat and strncat support.
35264 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35265
8c1a459f
AS
352662011-07-25 Andreas Schwab <schwab@redhat.com>
35267
35268 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35269 __n bigger than INT_MAX+1.
35270 (__strncmp_g): Likewise.
35271
bba33c28
UD
352722011-07-23 Ulrich Drepper <drepper@gmail.com>
35273
798be72d
UD
35274 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35275 * libio/stido.h: Likewise.
35276
8accd4dc
UD
35277 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35278 (AF_NFC): Define.
35279 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35280 (AF_NFC): Define.
35281
cbff0d96
UD
35282 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35283 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35284 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35285 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35286 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35287
9191c04a
UD
35288 [BZ #13021]
35289 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35290 installed.
35291
bba33c28
UD
35292 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35293 typo.
35294 (_dl_x86_64_save_sse): Likewise.
35295
90f139dd
UD
352962011-07-22 Ulrich Drepper <drepper@gmail.com>
35297
1aae088a
UD
35298 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35299 OSXSAVE.
35300 (_dl_x86_64_save_sse): Likewise.
35301
8e2045f5
UD
35302 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35303
90f139dd
UD
35304 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35305
1d002f25
AS
353062011-07-21 Andreas Schwab <schwab@redhat.com>
35307
35308 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35309 change.
35310 (_dl_x86_64_save_sse): Use correct AVX check.
35311
21137f89
UD
353122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35313
35314 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35315 bug in strncpy/strncat.
35316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35317
a65c0b7a
UD
353182011-07-21 Ulrich Drepper <drepper@gmail.com>
35319
35320 * string/tester.c (test_strcat): Add tests for different alignments
35321 of source and destination.
35322 (test_strncat): Likewise.
35323
6986b98a
UD
353242011-07-20 Ulrich Drepper <drepper@gmail.com>
35325
90bb2039
UD
35326 [BZ #12852]
35327 * posix/glob.c (glob): Check passed in values before using them in
35328 expressions to avoid some overflows.
35329 (glob_in_dir): Likewise.
35330
5644ef54
UD
35331 [BZ #13007]
35332 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35333 check for AVX enablement so that we don't crash with old kernels and
35334 new hardware.
35335 * elf/tst-audit4.c: Add same checks here.
35336 * elf/tst-audit6.c: Likewise.
35337
35338 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 35339
bfc9dc9b
AS
353402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35341
35342 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35343
702e64bb
UD
353442011-07-20 Ulrich Drepper <drepper@gmail.com>
35345
35346 * po/cs.po: Update from translation team.
35347 * po/bg.po: Likewise.
35348
295e904f
MP
353492011-07-12 Marek Polacek <mpolacek@redhat.com>
35350
35351 * misc/sys/cdefs.h: Add support for const attribute.
35352 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35353 to gnu_dev_{major,minor,makedev} functions.
35354
3ff94596
MP
353552011-07-20 Marek Polacek <mpolacek@redhat.com>
35356
35357 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35358
28b59fca
AS
353592011-07-20 Andreas Schwab <schwab@redhat.com>
35360
35361 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35362 strlen results.
35363
19df733e
AK
353642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35365
35366 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35367 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35368 register in order to avoid conflicts with the soft frame pointer
35369 being held in r11 when necessary.
35370 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35371 (INTERNAL_VSYSCALL_NCS): Likewise.
35372
c8835729
MP
353732011-07-14 Marek Polacek <mpolacek@redhat.com>
35374
35375 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35376 * elf/dl-fini.c (_dl_fini): Adjust caller.
35377 * elf/dl-close.c (_dl_close_worker): Likewise.
35378 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35379
b902330c
MP
353802011-07-15 Marek Polacek <mpolacek@redhat.com>
35381
8991e135
MP
35382 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35383 "aux_cache->nlibs < 0".
35384
b902330c
MP
35385 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35386 in the reload-count case.
35387
99710781
LD
353882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35389
35390 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35391 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35392 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35393 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35394 * sysdeps/x86_64/multiarch/strcat.S: New file.
35395 * sysdeps/x86_64/multiarch/strncat.S: New file.
35396 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35397 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35398 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35399 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35400 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35401 (USE_AS_STRCAT): Define.
35402 Add strcat and strncat support.
35403 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35404 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35405 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35406 * string/strncat.c: Update.
35407 (USE_AS_STRNCAT): Define.
35408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35409 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35410 and i7.
35411 * sysdeps/x86_64/multiarch/init-arch.h
35412 (bit_Prefer_PMINUB_for_stringop): New.
35413 (index_Prefer_PMINUB_for_stringop): Likewise.
35414 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35415 bit_Prefer_PMINUB_for_stringop.
35416
7dc6bd90
UD
354172011-07-19 Ulrich Drepper <drepper@gmail.com>
35418
35419 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35420 buffer64.
35421 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35422 of casting of buffer.
35423 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35424 buffer32 and buffer64.
35425 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35426 writes instead of casting of buffer.
35427 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35428 buffer32.
35429 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35430 casting of buffer.
35431
e0e72284
AS
354322011-07-19 Andreas Schwab <schwab@redhat.com>
35433
35434 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35435
feb1eb0b
UD
354362011-07-19 Ulrich Drepper <drepper@gmail.com>
35437
35438 * nscd/nscd.c (termination_handler): Don't do anything for a database
35439 if it has not yet been initialized.
35440
298711ff
UD
354412011-07-18 Ulrich Drepper <drepper@gmail.com>
35442
35443 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35444
354452011-07-15 Marek Polacek <mpolacek@redhat.com>
35446
35447 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35448
f9d68389
UD
354492011-07-18 Ulrich Drepper <drepper@gmail.com>
35450
35451 * po/nl.po: Update from translation team.
35452 * po/sv.po: Likewise.
35453
db290cf5
RM
354542011-07-16 Roland McGrath <roland@hack.frob.com>
35455
35456 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35457 now disallowed by GCC.
5c550700 35458
fd5e21c7
RM
35459 * configure.in (use-default-link): Default to yes if a test -shared
35460 link meets our qualifications.
35461 * configure: Regenerated.
35462
5c550700
RM
35463 * config.make.in (output-format): New variable.
35464 * configure.in: Check for ld --print-output-format support.
35465 * configure: Regenerated.
35466 * Makerules ($(common-objpfx)format.lds)
35467 [$(output-format) != unknown]: Just use $(output-format),
35468 instead of the linker-script munging.
35469
9fa2c032
RM
354702011-07-14 Roland McGrath <roland@hack.frob.com>
35471
a6928d51
RM
35472 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35473 of $(common-objpfx)shlib.lds.
35474 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35475
661607b3
RM
35476 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35477 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35478
9fa2c032
RM
35479 * configure.in (-z relro check): Adjust test code to add a large
35480 writable data section after it.
35481 * configure: Regenerated.
35482
defe9061
RM
354832011-07-11 Roland McGrath <roland@hack.frob.com>
35484
35485 * configure.in (-z relro check): Fix test code to make the variable
35486 truly const.
35487 * configure: Regenerated.
35488
319b9ad4
UD
354892011-07-11 Ulrich Drepper <drepper@gmail.com>
35490
35491 * nscd/nscd.h (struct traced_file): Define.
35492 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35493 elements. Add traced_files.
35494 (inotify_fd): Declare.
35495 (register_traced_file): Declare.
35496 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35497 (inotify_fd): Export.
35498 (resolv_conf_descr): Remove.
35499 (nscd_init): Move inotify descriptor creation to main.
35500 Don't register files for notification here.
35501 (register_traced_file): New function.
35502 (invalidate_cache): Don't use reset_res to determine whether to call
35503 res_init, go through the list of registered files.
35504 (main_loop_poll): The inotify descriptors are now stored in the
35505 structures for the traced files.
35506 (main_loop_epoll): Likewise
35507 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35508 to __nss_disable_nscd.
35509 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35510 for a database anymore. Check the records for all the registered
35511 files instead.
35512 * nss/Makefile (libnss_files-routines): Add files-init.
35513 (libnss_db-routines): Add db-init.
35514 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35515 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35516 * nss/nss_db/db-init.c: New file.
35517 * nss/nss_files/files-init.c: New file.
35518 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35519 __nss_lookup_function.
35520 (__nss_lookup_function): Call nss_load_library.
35521 (nss_load_all_libraries): New function.
35522 (__nss_disable_nscd): Take parameter with callback function for files
35523 to register. Set is_nscd. Load all the DSOs for the NSS modules
35524 used for the cached services.
35525 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35526 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35527 options for features to all the files in nscd.
35528
35529 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35530
23bee3e8
RM
355312011-07-10 Roland McGrath <roland@hack.frob.com>
35532
35533 * csu/elf-init.c (__libc_csu_init): Comment typo.
35534
46a5b7f0
UD
355352011-07-09 Ulrich Drepper <drepper@gmail.com>
35536
35537 * po/pl.po: Update from translation team.
35538 * po/ja.po: Likewise.
35539 * po/ru.po: Likewise.
35540 * po/ko.po: Likewise.
35541 * po/fr.po: Likewise.
35542
d30cf5bb
RM
355432011-07-09 Roland McGrath <roland@hack.frob.com>
35544
113ddea4
RM
35545 * configure.in (.ctors/.dtors header and trailer check):
35546 Use an empirical test on a built program.
35547 * configure: Regenerated.
35548
574920b4
RM
35549 * configure.in (-z relro check): Use an empirical test on a built DSO.
35550 Detect, but do not require, on ia64.
35551 * configure: Regenerated.
35552
d30cf5bb
RM
35553 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35554 Update tests that use readelf to use $READELF instead.
35555 * configure: Regenerated.
35556
8538fdb3
UD
355572011-07-08 Ulrich Drepper <drepper@gmail.com>
35558
35559 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35560 if the result is not used.
35561
04d08991
AJ
355622011-07-05 Andreas Jaeger <aj@suse.de>
35563
35564 [BZ#9696]
35565 * stdlib/tst-strtod.c: Add testcase.
35566
de283087
AD
355672011-07-07 Ulrich Drepper <drepper@gmail.com>
35568
4e5f31c8 35569 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35570 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35571 The latter has a higher limit. Take additional parameter to pass to
35572 the new function.
35573 (__pathconf): Pass file to __statfs_link_max.
35574 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35575 __statfs_link_max.
35576 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35577 __statfs_link_max.
35578
de283087
AD
35579 [BZ #12868]
35580 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35581 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35582 Handle Lustre.
35583 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35584 (__statfs_filesize_max): Likewise.
35585 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35586
c75fa153
AJ
355872011-07-05 Andreas Jaeger <aj@suse.de>
35588
35589 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35590
1a544854
UD
355912011-07-06 Marek Polacek <mpolacek@redhat.com>
35592
35593 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35594 `status' variable.
35595 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35596 Likewise.
35597
6f0eec67
UD
355982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35599
35600 * Makefile (strop-tests): Add strncat.
35601 * string/test-strncat.c: New file.
35602
aae30307
UD
356032011-06-30 Marek Polacek <mpolacek@redhat.com>
35604
35605 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35606
c0cfb5eb
UD
356072011-06-21 Andreas Jaeger <aj@suse.de>
35608
35609 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35610 Copy rule from iconvdata/Makefile.
35611
01636b21
UD
356122011-07-06 Ulrich Drepper <drepper@gmail.com>
35613
35614 [BZ #12922]
35615 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35616 but no long options are defined, just return 'W'.
35617
9895c8bc
UD
356182011-06-22 Marek Polacek <mpolacek@redhat.com>
35619
35620 [BZ #9696]
35621 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35622
5d4cf042
UD
356232011-07-06 Ulrich Drepper <drepper@gmail.com>
35624
35625 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35626 netgroups to read.
960e5535 35627 (innetgr): Likewise.
5d4cf042 35628
751eb97e
RM
356292011-07-05 Roland McGrath <roland@hack.frob.com>
35630
35631 * config.make.in (install_root): Default to $(DESTDIR).
35632
f15f1e45
UD
356332011-07-05 Ulrich Drepper <drepper@gmail.com>
35634
35635 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35636
4e34ac6a
RM
356372011-07-02 Roland McGrath <roland@hack.frob.com>
35638
5e9b6af4
RM
35639 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35640
84f9ea0f
RM
35641 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35642 containing directory rather than embedding absolute directory names.
35643
ea5ee9f7
RM
35644 * scripts/check-local-headers.sh: Rewritten using awk.
35645 Match by word, not by line. Print error messages for matches.
35646 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35647
1b74661a
RM
35648 * Makerules [shlib-lds-flags empty]:
35649 ($(common-objpfx)libc_pic.opts): New target.
35650 ($(common-objpfx)libc_pic.os.clean): New target.
35651 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35652
35653 * config.make.in (OBJCOPY): New variable.
35654 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35655 * configure: Regenerated.
35656
f781ef40
RM
35657 * config.make.in (use-default-link): New variable.
35658 * configure.in (use_default_link): Grok --with-default-link to set it.
35659 * configure: Regenerated.
35660 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35661 (shlib-lds, shlib-lds-flags): Define to empty.
35662
2d4fa81e
RM
35663 * Makerules (shlib-lds): New variable.
35664 (shlib-lds-flags): New variable.
35665 (build-shlib, build-moduile, build-module-asneeded): Use it.
35666 ($(common-objpfx)libc.so): Use $(shlib-lds).
35667 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35668 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35669
31fffa6b
RM
35670 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35671 DT_FLAGS/DT_FLAGS_1 with zero flags.
35672
4e34ac6a
RM
35673 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35674 linker script munging.
35675
fcfc776b
UD
356762011-07-02 Ulrich Drepper <drepper@gmail.com>
35677
35678 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35679 as 128-bit value.
35680 * crypt/sha512.c (sha512_process_block): Perform total addition using
35681 128-bit if possible.
35682 (__sha512_finish_ctx): Likewise.
35683 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35684 as 64-bit value.
35685 * crypt/sha256.c (SWAP64): Define.
35686 (sha256_process_block): Perform total addition using 64-bit if
35687 possible.
35688 (__sha256_finish_ctx): Likewise.
35689
99231d9a
UD
356902011-07-01 Ulrich Drepper <drepper@gmail.com>
35691
35692 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35693 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35694 * nscd/hstcache.c (cache_addhst): Likewise.
35695 * nscd/grpcache.c (cache_addgr): Likewise.
35696 * nscd/aicache.c (addhstaiX): Likewise
35697 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35698
445b4a53
TK
356992011-07-01 Thorsten Kukuk <kukuk@suse.de>
35700
35701 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35702 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35703 * nscd/hstcache.c (cache_addhst): Likewise.
35704 * nscd/grpcache.c (cache_addgr): Likewise.
35705 * nscd/aicache.c (addhstaiX): Likewise
35706
6d4d8e8e
AS
357072011-07-01 Andreas Schwab <schwab@redhat.com>
35708
35709 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35710 domain only when needed.
35711
89f654c5
AS
357122011-06-30 Andreas Schwab <schwab@redhat.com>
35713
35714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35715 is always restored.
35716
cf3b23ff
UD
357172011-06-29 Ulrich Drepper <drepper@gmail.com>
35718
35719 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35720 are re-adding the entry.
35721 * nscd/servicescache.c (cache_addserv): Likewise.
35722
751626f9
AJ
357232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35724
35725 * sysdeps/generic/dl-irel.h: fix protection against multiple
35726 inclusions.
35727 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35728
9113ea1f
UD
357292011-06-28 Ulrich Drepper <drepper@gmail.com>
35730
5c0b8d90
UD
35731 [BZ #12935]
35732 * malloc/memusage.sh: Fix quoting in message.
35733 * debug/xtrace.sh: Likewise.
35734
9113ea1f
UD
35735 * configure.in: Remove support for --experimental-malloc option, make
35736 it the default.
35737 * config.make.in: Likewise.
35738 * malloc/Makefile: Likewise.
35739
a4172181
AS
357402011-06-27 Andreas Schwab <schwab@redhat.com>
35741
35742 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35743 two-byte characters.
35744
78a7eee7
RM
357452011-06-27 Roland McGrath <roland@hack.frob.com>
35746
62bede13
RM
35747 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35748 AC_CACHE_CHECK invocation.
35749 * configure: Regenerated.
35750
78a7eee7
RM
35751 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35752
5ce33a62
UD
357532011-06-27 Ulrich Drepper <drepper@gmail.com>
35754
034807a9
UD
35755 [BZ #12350]
35756 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35757 bit from old_res_options.
35758
4902da17
UD
35759 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35760
5ce33a62
UD
35761 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35762 value type for setfct.
35763
c2344f56
L
357642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35765
35766 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35767 __gettimeofday instead of gettimeofday.
35768
68468076
UD
357692011-06-26 Ulrich Drepper <drepper@gmail.com>
35770
35771 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35772
acb0d739
L
357732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35774
35775 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35776
35777 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35778 info.
35779
8912479f
L
357802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35781
35782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35783 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35784 strcpy-sse2-unaligned strncpy-sse2-unaligned
35785 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35786 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35787 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35788 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35789 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35790 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35792 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35793 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35794 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35795 (STRCPY): Support SSE2 and SSSE3 versions.
35796
d5495a11
UD
357972011-06-24 Ulrich Drepper <drepper@gmail.com>
35798
35799 [BZ #12874]
35800 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35801 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35802 kernels which artificially limit size of requests.
35803
0b1cbaae
L
358042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35805
35806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35807 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35808 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35809 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35810 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35811 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35812 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35813 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35814 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35815 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35816 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35817 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35818 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35819 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35820 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35822 Enable unaligned load optimization for Intel Core i3, i5 and i7
35823 processors.
35824 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35825 Define.
35826 (index_Fast_Unaligned_Load): Define.
35827 (HAS_FAST_UNALIGNED_LOAD): Define.
35828
07f494a0
MP
358292011-06-23 Marek Polacek <mpolacek@redhat.com>
35830
35831 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35832
fa3fc0fe
UD
358332011-06-22 Ulrich Drepper <drepper@gmail.com>
35834
35835 [BZ #12907]
35836 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35837 until it is clear that the information is realy needed.
35838 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35839
e12df166
AS
358402011-06-22 Andreas Schwab <schwab@redhat.com>
35841
35842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35843
852eb34d
UD
358442011-06-22 Ulrich Drepper <drepper@gmail.com>
35845
84e2a551
UD
35846 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35847 /sys/devices/system/cpu/online if it is usable.
35848
852eb34d
UD
35849 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35850 reading the information from the /proc filesystem to once a second.
35851
6e502e19
UD
358522011-06-21 Andreas Jaeger <aj@suse.de>
35853
35854 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35855 NULL after inclusion of kernel headers.
35856
75d39ff2
UD
358572011-06-21 Ulrich Drepper <drepper@gmail.com>
35858
51f9aa6a
UD
35859 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35860 calls to internal_setent.
35861
c0244a9d
UD
35862 [BZ #12885]
35863 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35864 addresses using gethostbyname4_r ignore IPv4 addresses.
35865
c5e3c2ae
UD
35866 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35867 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35868
75d39ff2
UD
35869 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35870
42675c6f
DM
358712011-06-20 David S. Miller <davem@davemloft.net>
35872
35873 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35874 inclusions.
35875 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35876
35877 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35878 (elf_irel): Use it.
35879 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35880 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35881 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35882 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35883 * sysdeps/x86_64/dl-irel.h: Likewise.
35884
35885 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35886 * elf/dl-sym.c: Likewise.
35887
57912a71
UD
358882011-06-15 Ulrich Drepper <drepper@gmail.com>
35889
35890 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35891 need to dereference resplen2.
35892
ee22793d
AS
358932011-06-14 Andreas Schwab <schwab@redhat.com>
35894
35895 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35896
a9e836b0
UD
358972011-06-15 Ulrich Drepper <drepper@gmail.com>
35898
77fb9117
UD
35899 * Makeconfig: Define vardbdir and inst_vardbdir.
35900 * nss/Makefile: Add rules to install db-Makefile.
35901
40c1b22c
UD
35902 * nss/nss_db/db-XXX.c: Cleanup.
35903
9f2da732
UD
35904 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35905 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35906 GLIBC_PRIVATE.
35907 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35908 * nss/makedb.c: Implement -g option to specify that value strings
35909 are generated and should not be added to table iterated over for
35910 get*ent calls.
35911 * nss/nss_db/db-initgroups.c: New file.
35912
82e9a1f7
UD
35913 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35914 interface.
35915
c41af17e
UD
35916 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35917 (internal_getgrouplist): Adjust to name change.
35918 Update use_initgroups_entry if this is not the first call.
35919 * nss/databases.def: Add initgroups entry.
35920
a9e836b0
UD
35921 * nss/makedb.c (compute_tables): Check result of multiple hash table
35922 sizes to minimize maximum chain length.
35923
2666d441
UD
359242011-06-14 Ulrich Drepper <drepper@gmail.com>
35925
35926 * Versions.def: Add entry for libnss_db.
35927 * shlib-versions: Likewise.
35928 * nss/Makefile: Add rules to build libnss_db.
35929 * nss/Versions: Add libnss_db information. Organize libnss_files
35930 entries better.
35931 * nss/db-Makefile: Add gshadow support. Change rules for the new
35932 makedb progra. Some minor improvements to generate smaller files.
35933 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35934 here from...
35935 * nss/makedb.c: ...here.
35936 Improve database format to be smaller and require less memory at
35937 runtime.
35938 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35939 db anymore.
35940 * nss/nss_db/db-netgrp.c: Likewise.
35941 * nss/nss_db/db-open.c: Likewise.
35942 * nss/nss_files/flies-XXX.x: Adjust comments.
35943 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35944 * nss/nss_files/files-grp.c: Likewise.
35945 * nss/nss_files/files-hosts.c: Likewise.
35946 * nss/nss_files/files-network.c: Likewise.
35947 * nss/nss_files/files-proto.c: Likewise.
35948 * nss/nss_files/files-pwd.c: Likewise.
35949 * nss/nss_files/files-rpc.c: Likewise.
35950 * nss/nss_files/files-service.c: Likewise.
35951 * nss/nss_files/files-sgrp.c: Likewise.
35952 * nss/nss_files/files-spwd.c: Likewise.
35953 * nss/nss_db/db-alias.c: Removed.
35954 * nss/nss_db/dummy-db.h: Removed.
35955
9ee76b5a
UD
359562011-06-02 Ulrich Drepper <drepper@gmail.com>
35957
35958 * nss/makedb.c: Rewritten to not use database library.
35959 * nss/Makefile: Update to build new makedb program.
35960
c71ca1f8
AJ
359612011-06-14 Andreas Jaeger <aj@suse.de>
35962
35963 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35964 memset declaration.
35965
3154bfb8
UD
359662011-06-10 Andreas Schwab <schwab@redhat.com>
35967
35968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35969 tmpbuf.
35970
b350afab
RM
359712011-06-10 Roland McGrath <roland@hack.frob.com>
35972
decd4e50
RM
35973 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35974 * elf/Makefile ($(objpfx)ld.so): Likewise.
35975
5615eaf2
RM
35976 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35977 Don't list ld.so twice in dependencies.
35978
35979 * posix/bug-regex31.c: Include <stdlib.h>.
35980
35981 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35982
35983 * nis/nss_compat/compat-spwd.c
35984 (getspent_next_nss_netgr): Remove unused variable.
35985 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35986
35987 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35988 nonmembers" output to use the right array.
35989
35990 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35991
35992 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35993
35994 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35995 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35996 * catgets/gencat.c (read_input_file): Likewise.
35997 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35998
35999 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36000 variable definition inside #if's controlling its use.
36001
36002 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36003
36004 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36005
36006 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36007
36008 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36009 unreachable code.
36010
36011 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36012
b68e08db
RM
36013 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36014 * configure: Regenerated.
36015
b350afab
RM
36016 * Makerules: Revert last change.
36017 * elf/Makefile: Likewise.
36018
28368601
RM
360192011-06-09 Roland McGrath <roland@hack.frob.com>
36020
36021 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36022 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36023 (reloc-link): Likewise.
36024
11988f8f
UD
360252011-06-09 Ulrich Drepper <drepper@gmail.com>
36026
36027 * elf/Makefile: Add rules to build pldd.
36028 * elf/pldd.c: New file.
36029 * elf/pldd-xx.c: New file.
36030
e80fab37
UD
360312011-06-07 Ulrich Drepper <drepper@gmail.com>
36032
36033 * version.h: Update for 2.15 development version.
36034
9b849836
DM
360352011-06-07 David S. Miller <davem@davemloft.net>
36036
36037 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36038 ifuncs.
36039 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36040 elf_machine_lazy_rel): Likewise.
36041 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36042 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36043 elf_machine_lazy_rel): Likewise.
36044 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36045 dl_hwcap via passed in argument.
36046 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36047 Likewise.
36048
5a31b283
AK
360492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36050
36051 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36052
069e52f8
RM
360532011-06-06 Roland McGrath <roland@hack.frob.com>
36054
36055 [BZ #12849]
36056 * manual/fdl-1.1.texi: New file, verbatim from:
36057 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36058 * manual/lgpl-2.1.texi: New file, verbatim from:
36059 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36060 * manual/Makefile (licenses): New variable, list those new file names.
36061 (texis): Use it.
36062 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36063
36064 * manual/fdl.texi: File removed.
36065 * manual/lesser.texi: File removed.
36066 * manual/libc.texinfo (Copying, Documentation License):
36067 Use new @include file names, put @appendix directive before @include.
36068
f16846a5
JJ
360692011-06-04 Jakub Jelinek <jakub@redhat.com>
36070
36071 [BZ #12841]
36072 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36073 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36074 (mq_open): Add __NTH.
36075
3d29045b
L
360762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36077
36078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36079 Assume Intel Core i3/i5/i7 processor if AVX is available.
36080
8c297311
UD
360812011-05-31 Ulrich Drepper <drepper@gmail.com>
36082
36083 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36084 typo.
36085
c8fc0c91
UD
360862011-05-31 Andreas Schwab <schwab@redhat.com>
36087
36088 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36089 memory. Use alloca_account. Fix memory leak when retrying.
36090
5b27a807
UD
360912011-05-31 Ulrich Drepper <drepper@gmail.com>
36092
356f8bc6
UD
36093 * version.h (RELEASE): Bump for 2.14 release.
36094 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36095
5b27a807
UD
36096 * config.make.in (RANLIB): Remove entry.
36097
01f16ab0
UD
360982011-05-30 Ulrich Drepper <drepper@gmail.com>
36099
41fce8bd
UD
36100 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36101 (libc.pot): Work around missing support for .ksh extension in xgettext.
36102
4769ae77
UD
36103 [BZ #12684]
36104 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36105 if both request failed.
36106 (send_dg): In case of server errors clear resplen or *resplen2.
36107
6b1e7d19
UD
36108 [BZ #12454]
36109 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36110 when there are multiple maps.
36111 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36112 (_dl_fini): Remove test here.
36113
01f16ab0
UD
36114 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36115
b1ebd700
UD
361162011-05-29 Ulrich Drepper <drepper@gmail.com>
36117
7ae22829
UD
36118 [BZ #12350]
36119 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36120 bit from old_res_options.
36121 (gaih_inet): Likewise.
36122
553149f6 36123 [BZ #11099]
18a84741 36124 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
36125 as signed.
36126
652ffab1
UD
36127 * resolv/res_init.c (res_setoptions): Make the code more compact.
36128
16985fd0
UD
36129 [BZ #11558]
36130 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36131 set RES_USEVC.
36132
0464f746
UD
36133 [BZ #11634]
36134 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36135
7d17596c
UD
36136 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36137
cf6bbbd7
UD
36138 [BZ #11781]
36139 * malloc/malloc.h: Declare malloc hook variables as volatile.
36140
13f1ab36
UD
36141 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36142 in last patch.
36143
b1ebd700
UD
36144 [BZ #11799]
36145 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 36146 raise in the comment.
80e2212d
UD
36147 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36148 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36149 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 36150
ce67228d
UD
361512011-05-28 Ulrich Drepper <drepper@gmail.com>
36152
8887a920
UD
36153 [BZ #12811]
36154 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36155 grow the buffers more if it already has to be sufficient.
36156 (build_wcs_upper_buffer): Likewise.
36157 * posix/regexec.c (check_matching): Likewise.
36158 (clean_state_log_if_needed): Likewise.
36159 (extend_buffers): Don't enlarge buffers beyond size of the input
36160 buffer.
36161 Patches mostly by Emil Wojak <emil@wojak.eu>.
36162 * posix/bug-regex32.c: New file.
36163 * posix/Makefile (tests): Add bug-regex32.
36164
4f031072
UD
36165 * locale/findlocale.c (_nl_find_locale): Return right away if
36166 _nl_explode_name failed.
36167 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36168
d0478f0c
UD
36169 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36170
de81b246
UD
36171 * debug/xtrace.sh: Unify messages.
36172 * malloc/memusage.sh: Likewise.
36173
c738465a
UD
36174 [BZ #12813]
36175 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36176 time symbol from vDSO. Substitute with vsyscall if not available.
36177 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36178 __vdso_time.
36179
f1f929d7
UD
36180 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36181 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36182 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36183 Add sendmmsg and internal_sendmmsg.
36184 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36185 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36186 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36187
ce67228d
UD
36188 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36189 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36190 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36191
e57420c6
UD
361922011-05-27 Ulrich Drepper <drepper@gmail.com>
36193
a8509ca5
UD
36194 [BZ #12813]
36195 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36196 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36197 available.
36198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36199 __vdso_getcpu.
36200
e57420c6
UD
36201 [BZ #12814]
36202 * iconvdata/Makefile (tests): Add bug-iconv9.
36203 * iconvdata/bug-iconv9.c: New file.
36204
4d07db15
AS
362052011-05-27 Andreas Schwab <schwab@redhat.com>
36206
36207 [BZ #12814]
36208 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36209
ea486f69
JJ
362102011-05-25 Jakub Jelinek <jakub@redhat.com>
36211
36212 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36213 (struct user_regs_struct): Change intcs field back to cs.
36214
6f038433
UD
362152011-05-25 Ulrich Drepper <drepper@gmail.com>
36216
36217 * po/ja.po: Update from translation team.
36218
67f86a25
UD
362192011-05-23 Ulrich Drepper <drepper@gmail.com>
36220
36221 [BZ #12795]
36222 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36223 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36224
def7fbd6
AS
362252011-05-20 Andreas Schwab <schwab@redhat.com>
36226
36227 * stdlib/longlong.h: Update from GCC.
36228
f50ef8f1
AS
362292011-05-23 Andreas Schwab <schwab@redhat.com>
36230
36231 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36232 parameter name.
36233 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36234 Add parameter name.
36235 (__sysconf): Pass it down.
36236
de7ce8f1
UD
362372011-05-22 Ulrich Drepper <drepper@gmail.com>
36238
f2962a71
UD
36239 [BZ #12671]
36240 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36241 some situations.
36242 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36243 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36244 add in in __libc_use_alloca calls. Adjust callers.
36245 (glob): Use malloc in some situations.
36246
de7ce8f1
UD
36247 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36248 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36249 pltexit.
36250
aec84f53
UD
362512011-05-21 Ulrich Drepper <drepper@gmail.com>
36252
05bb4a68
UD
36253 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36254 and CLOCK_BOOTTIME_ALARM.
36255
7ea72f99
UD
36256 [BZ #12782]
36257 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36258 is returned.
36259
7e4afad5
UD
36260 * string/_strerror.c (__strerror_r): Print negative errors as signed
36261 numbers.
36262
8e211fec
UD
36263 [BZ #12777]
36264 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36265 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36266 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36267
f7d82dc9
UD
36268 * configure.in: Fix typo in redirection and correct removal of test
36269 files in two cases.
36270
cc9e536d
UD
36271 [BZ #12788]
36272 * locale/setlocale.c (new_composite_name): Fix test to check for
36273 identical name of all categories.
36274
aec84f53
UD
36275 [BZ #12792]
36276 * libio/filedoalloc.c (local_isatty): New function.
36277 (_IO_file_doallocate): Use local_isatty.
36278 * stdio-common/perror.c (perror): In case a new stream is used
36279 forward the stream error.
36280 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36281 error flag.
36282
78e64fdc
RT
362832011-05-20 Ulrich Drepper <drepper@gmail.com>
36284
34a9094f
UD
36285 [BZ #11869]
36286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36287 alloca.
36288 * include/alloca.h (extend_alloca_account): Define.
36289
78e64fdc
RT
36290 [BZ #11857]
36291 * posix/regex.h: Fix comments with documentation of user-accessible
36292 fields after compilation and describe correct free'ing of pattern
36293 after re_compile_pattern.
36294 Patch by Reuben Thomas <rrt@sc3d.org>.
36295
457bddfc
RA
362962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36297
36298 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36299 and -mno-altivec to prevent the compiler from using Altivec and/or
36300 VSX instructions when the corresponding registers are not available.
36301
a4527b51
AS
363022011-05-19 Andreas Schwab <schwab@redhat.com>
36303
36304 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36305
ed690b2f
UD
363062011-05-19 Ulrich Drepper <drepper@gmail.com>
36307
36308 * libio/freopen.c (freopen): Use __dup2, not dup2.
36309 * libio/freopen64.c (freopen64): Likewise.
36310
8db73634
L
363112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36312
36313 [BZ #12775]
36314 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36315 * math/Makefile (tests): Add test-powl.
36316 (CFLAGS-test-powl.c): Define.
36317 * math/test-powl.c: New file.
36318
0a197a9d
L
363192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36320
36321 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36322
ee30c380
UD
363232011-05-17 Ulrich Drepper <drepper@gmail.com>
36324
36325 [BZ #11837]
36326 * iconvdata/gb18030.c: Update to GB18020-2005.
36327
6ce75379
UD
363282011-05-16 Ulrich Drepper <drepper@gmail.com>
36329
a4b89fd8
AR
36330 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36331 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36332 Patch by Aharon Robbins <arnold@skeeve.com>.
36333
ea389b12
UD
36334 [BZ #11892]
36335 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36336 on the stack.
36337
68a3f91f
UD
36338 [BZ #11895]
36339 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36340 through underflows.
36341
15cc7dd1
UD
36342 [BZ #12766]
36343 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36344 point to strings before performing equality test for error_one_per_line
36345 mode.
36346
f3799213
UD
36347 [BZ #11697]
36348 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36349
d79a9c94
UD
36350 [BZ #11820]
36351 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36352 (struct user_fpregs_struct): Avoid __uint*_t types.
36353
56e5eb46
UD
36354 [BZ #6420]
36355 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36356 symbol info. Use it instead of calling _dl_addr locally.
36357 (lock_and_info): New function.
36358 (tr_freehook): Call lock_and_info and pass symbol info as additional
36359 parameter to tr_where.
36360 (tr_mallochook): Likewise.
36361 (tr_reallochook): Likewise.
36362 (tr_memalignhook): Likewise.
36363
6ce75379
UD
36364 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36365 used and couldn't be at all thread-safe.
36366
f8a3b5bf
UD
363672011-05-15 Ulrich Drepper <drepper@gmail.com>
36368
94b7cc37
UD
36369 * libio/freopen.c (freopen): Don't close old file descriptor
36370 before the new one is opened. Instead dup the new file descriptor
36371 to the old one after the new stream is created.
36372 * libio/freopen64.c (freopen64): Likewise.
36373 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36374 * libio/fileops.c (_IO_new_file_close_it): Handle new
36375 _IO_FLAGS2_NOCLOSE flag.
36376 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36377 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36378 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36379 _IO_FLAGS2_NOCLOSE flag.
36380 * include/unistd.h: Add hidden_proto for dup3.
36381 Define __have_dup3.
36382 * io/dup3.c: Define hidden symbol.
36383 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36384
bd25564e
UD
36385 [BZ #7101]
36386 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36387 when an incomplete long option is used.
36388 * posix/tst-getopt_long1.c: New file.
36389 * posix/Makefile (tests): Add tst-getopt_long1.
36390
c84cfef4
UD
36391 [BZ #10138]
36392 * scripts/config.guess: Update from autoconf-2.68.
36393 * scripts/config.sub: Likewise.
36394
3b85df27
UD
36395 [BZ #10157]
36396 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36397 tests into ...
36398 (has_cpuclock): ...this. New function.
36399 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36400 macro here based on has_cpuclock code.
36401
15a856b1
UD
36402 [BZ #10149]
36403 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36404 First byte (not low byte) is now always NUL.
36405 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36406
05f399e6
UD
36407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36408 Use non-cancelable interfaces.
36409
10a52685 36410 [BZ #9809]
94ecc67d
UD
36411 * locale/iso-639.def: Add entry for Sorani.
36412
f8a3b5bf
UD
36413 [BZ #11901]
36414 * include/stdlib.h: Move include protection to the right place.
36415 Define abort_msg_s. Declare __abort_msg with it.
36416 * stdlib/abort.c (__abort_msg): Adjust type.
36417 * assert/assert.c (__assert_fail_base): New function. Majority
36418 of code from __assert_fail. Allocate memory for __abort_msg with
36419 mmap.
36420 (__assert_fail): Now call __assert_fail_base.
36421 * assert/assert-perr.c: Remove bulk of implementation. Use
36422 __assert_fail_base.
36423 * include/assert.hL Declare __assert_fail_base.
36424 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36425 mmap.
36426 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36427
1af4e298
UD
364282011-05-14 Ulrich Drepper <drepper@gmail.com>
36429
f8a3b5bf 36430 [BZ #11952]
d26dfc60
MG
36431 [BZ #12453]
36432 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36433 until all modules are registered in the DTV.
36434 * elf/Makefile: Add rules to build and run tst-tls19.
36435 * elf/tst-tls19.c: New file.
36436 * elf/tst-tls19mod1.c: New file.
36437 * elf/tst-tls19mod2.c: New file.
36438 * elf/tst-tls19mod3.c: New file.
36439 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36440
2fc54d6f
UD
36441 [BZ #12083]
36442 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36443 correctly.
36444
98d76b46
UD
36445 [BZ #12601]
36446 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36447 two-byte sequence errors.
36448 * iconvdata/Makefile (tests): Add bug-iconv8.
36449 * iconvdata/bug-iconv8.c: New file.
36450
da3c19ef
UD
36451 [BZ #12626]
36452 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36453 buf2 definition.
36454
ca408c15
UD
36455 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36456
d6f67f7d
UD
36457 [BZ #12432]
36458 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36459 (dummy_getcfa): New function.
36460 (init): Get _Unwind_GetCFA address, use dummy if not found.
36461 (backtrace_helper): In recursion check, also check whether CFA changes.
36462 (__backtrace): Completely initialize arg.
36463
1af4e298 36464 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36465 storing incomplete byte sequence in state object. Avoid testing for
36466 guaranteed too small input if we know there is enough data available.
1af4e298 36467
da62f81b
AS
364682011-05-11 Andreas Schwab <schwab@redhat.com>
36469
36470 * Makeconfig (+link-pie): Indent.
36471 * Rules (binaries-pie): Define if $(have-fpie) and
36472 $(build-shared).
36473 (binaries-shared): Also filter out $(binaries-pie).
36474 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36475 * nscd/Makefile (others-pie): Add nscd.
36476 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36477 ($(objpfx)nscd): Remove command override.
36478 * login/Makefile (others-pie): Add pt_chown.
36479 ($(objpfx)pt_chown): Remove command override.
36480 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36481 remove command overrides.
36482
fcabc0f8
UD
364832011-05-13 Ulrich Drepper <drepper@gmail.com>
36484
20030ae6
UD
36485 * libio/tst_putwc.c: Fix error messages.
36486
fcabc0f8
UD
36487 [BZ #12724]
36488 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36489 currently writing and seek to current position when not.
36490 * libio/Makefile (tests): Add bug-fclose1.
36491 * libio/bug-fclose1.c: New file.
36492
320a5dc0
PB
364932011-05-12 Ulrich Drepper <drepper@gmail.com>
36494
36495 [BZ #12511]
36496 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36497 don't set DF_1_NODELETE here.
36498 (do_lookup_x): When entering new entry test for copy relocation
36499 and if necessary set DF_1_NODELETE flag.
36500 * elf/tst-unique4.cc: New file.
36501 * elf/tst-unique4.h: New file.
36502 * elf/tst-unique4lib.cc: New file.
36503 * elf/Makefile: Add rules to build and run tst-unique4.
36504 Patch by Piotr Bury <pbury@goahead.com>.
36505
22836f52
UD
365062011-05-11 Ulrich Drepper <drepper@gmail.com>
36507
f574184a
UD
36508 [BZ #12052]
36509 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36510
e1fb097f
UD
36511 [BZ #12625]
36512 * misc/mntent_r.c (addmntent): Flush the stream after the output
36513
22836f52
UD
36514 [BZ #12393]
36515 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36516 (is_trusted_path_normalize): Skip initial colon. Append slash
36517 to empty buffer. Duplicate is_trusted_path code but allow
36518 constructed patch to be prefix.
36519 (is_dst): Allow $ORIGIN followed by /.
36520 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36521 Correct testing of result of is_trusted_path_normalize
36522 (decompose_rpath): Fix warning.
36523
7b3b0b2a
UD
365242011-05-10 Ulrich Drepper <drepper@gmail.com>
36525
36526 [BZ #11257]
36527 * grp/initgroups.c (internal_getgrouplist): When we found the service
36528 list through the initgroups entry in nsswitch.conf do not always
36529 continue on a successful lookup. Don't always use the
eac80ce2 36530 __nss_group_database value if it is set.
7b3b0b2a
UD
36531 * nss/nsswitch.conf (initgroups): Change action for successful db
36532 lookup to continue for compatibility.
36533
2a81eaa5
UD
365342011-05-09 Ulrich Drepper <drepper@gmail.com>
36535
be97a69e
UD
36536 [BZ #11532]
36537 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36538 and CP774 modules.
36539 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36540 and CP774 modules.
36541 * iconvdata/tst-tables.sh: Likewise.
36542 * iconvdata/cp770.c: New file.
36543 * iconvdata/cp771.c: New file.
36544 * iconvdata/cp772.c: New file.
36545 * iconvdata/cp773.c: New file.
36546 * iconvdata/cp774.c: New file.
36547 * iconvdata/testdata/CP770: New file.
36548 * iconvdata/testdata/CP770..UTF8: New file.
36549 * iconvdata/testdata/CP771: New file.
36550 * iconvdata/testdata/CP771..UTF8: New file.
36551 * iconvdata/testdata/CP772: New file.
36552 * iconvdata/testdata/CP772..UTF8: New file.
36553 * iconvdata/testdata/CP773: New file.
36554 * iconvdata/testdata/CP773..UTF8: New file.
36555 * iconvdata/testdata/CP774: New file.
36556 * iconvdata/testdata/CP774..UTF8: New file.
36557
36558 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36559 END CHARMAP line.
36560 * iconvdata/gen-8bit-gap.sh: Likewise.
36561 * iconvdata/gen-8bit.sh: Likewise.
36562
c1e9e399
UD
36563 * locale/iso-639.def: Add ary entry.
36564
24c55fb3 36565 [BZ #11258]
96b4b1b0
UD
36566 * locale/C-translit.h.in: Add U20A1 transliteration.
36567
bdc2f971
KB
36568 [BZ #12178]
36569 * locale/iso-639.def: Add wae entry.
36570 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36571
2952b117
UD
36572 [BZ #12545]
36573 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36574 for n.
36575
2a81eaa5
UD
36576 [BZ #12711]
36577 * locale/C-translit.h.in: Add entry for U20B9.
36578 Patch by pravin.d.s@gmail.com.
36579
28377d1b
UD
365802011-05-08 Ulrich Drepper <drepper@gmail.com>
36581
7fb90fb8
UD
36582 [BZ #12713]
36583 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36584 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36585 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36586 in rtld. Use *stat64.
7fb90fb8 36587 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36588 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36589 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36590 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36591 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36592 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36593 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36594 __fstatat64 macros.
7fb90fb8
UD
36595 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36596 * dirent/rewinddir.c: Add libc_hidden_def.
36597 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36598 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36599
28377d1b
UD
36600 * include/dirent.h (__alloc_dir): Add flags parameter.
36601 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36602 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36603 __alloc_dir.
36604 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36605 from fdopendir if O_CLOEXEC is already set.
36606
66bdbaa4
AM
366072011-03-15 Alan Modra <amodra@gmail.com>
36608
36609 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36610 l_tls_firstbyte_offset non-zero. Save padding offset in
36611 l_tls_firstbyte_offset for later use.
36612 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36613 freeing static tls block.
36614
95721191
JN
366152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36616
36617 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36618 where #ifdef was intended. The intent is to prevent ARG_MAX from
36619 being defined by the kernel headers.
36620
f87dfb1f
UD
366212011-05-07 Ulrich Drepper <drepper@gmail.com>
36622
36623 [BZ #12734]
36624 * resolv/resolv.h: Define RES_NOTLDQUERY.
36625 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36626 no-tld-query and set RES_NOTLDQUERY.
36627 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36628 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36629 modern BIND to search name as TLD unless forbidden.
36630
47c3cd7a
UD
366312011-05-07 Petr Baudis <pasky@suse.cz>
36632 Ulrich Drepper <drepper@gmail.com>
36633
36634 [BZ #12393]
36635 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36636 (is_trusted_path): ...to here.
c1e9ea35 36637 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36638 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36639 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36640
8a35c912
PP
366412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36642
36643 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36644 __BEGIN/__END_DECLS.
36645
acd41f47
UD
366462011-05-06 Ulrich Drepper <drepper@gmail.com>
36647
36648 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36649 NSS_STATUS_NOTFOUND if no record was found.
36650
597df647
AS
366512011-05-05 Andreas Schwab <schwab@redhat.com>
36652
36653 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36654 (headers-not-in-tirpc): Remove rpc/netdb.h
36655 * resolv/netdb.h: Revert last change.
36656
b9af1301
PP
366572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36658
36659 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36660 circular dependency between libgcc.a and libc.a.
36661
4e34d5f5
AS
366622011-05-05 Andreas Schwab <schwab@redhat.com>
36663
36664 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36665 * nis/Makefile: Don't install rpcsvc/*.
36666 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36667 instead of <rpc/types.h>.
36668 (MAXHOSTNAMELEN): Define.
36669
00ee369c
AS
366702011-05-03 Andreas Schwab <schwab@redhat.com>
36671
36672 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36673
0b592a30
MB
366742011-04-28 Maciej Babinski <mbabinski@google.com>
36675
36676 [BZ #12714]
36677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36678 gethostbyname4_r when IPv6 results are possible.
36679
6e04cbbe
UD
366802011-05-02 Ulrich Drepper <drepper@gmail.com>
36681
36682 [BZ #12723]
36683 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36684 _PC_PIPE_BUF handling.
36685
e4ecafe0
BH
366862011-04-30 Bruno Haible <bruno@clisp.org>
36687
36688 [BZ #12717]
36689 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36690 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36691 to 'int'.
36692 * inet/getnameinfo.c (getnameinfo): Likewise.
36693
125ee683
UD
366942011-04-29 Ulrich Drepper <drepper@gmail.com>
36695
36696 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36697 to groups setting in database lookup.
36698 * nss/nsswitch.conf: Add initgroups entry.
36699
b722481a
EB
367002011-04-22 Ulrich Drepper <drepper@gmail.com>
36701
36702 [BZ #12685]
36703 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36704 mode string.
36705 Patch by Eric Blake <eblake@redhat.com>.
36706
4df46dbd
L
367072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36708
36709 * sunrpc/Makefile (need-export-routines): Add svc_run.
36710 (routines): Remove svc_run.
36711 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36712 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36713 * sunrpc/svc_run.c (svc_run): Likewise.
36714 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36715
e84142d2
UD
367162011-04-21 Ulrich Drepper <drepper@gmail.com>
36717
36718 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36719 problem in reallocation in last patch.
36720
877175d8
UD
367212011-04-20 Ulrich Drepper <drepper@gmail.com>
36722
36723 * sunrpc/Makefile: Move inclusion of Rules.
36724
ab8eed78
UD
367252011-04-19 Ulrich Drepper <drepper@gmail.com>
36726
36727 * nss/nss_files/files-initgroups.c: New file.
36728 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36729 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36730 _nss_files_initgroups_dyn.
36731
e3d8f584
RS
367322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36733
36734 * elf/elf.h (R_ARM_IRELATIVE): Define.
36735
af190f45
UD
367362011-04-19 Ulrich Drepper <drepper@gmail.com>
36737
36738 * po/ru.po: Update from translation team.
36739
53cf59ef
UD
367402011-04-17 Ulrich Drepper <drepper@gmail.com>
36741
36742 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36743 dependencies.
36744
4c559bcd
MF
367452011-02-06 Mike Frysinger <vapier@gentoo.org>
36746
36747 [BZ #12653]
36748 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36749 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36750 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36751 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36752 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36753
4420675c
AS
367542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36755
36756 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36757 differing bytes.
36758 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36759 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36760 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36761
75ea32ab
UD
367622011-04-17 Ulrich Drepper <drepper@gmail.com>
36763
36764 [BZ #12420]
36765 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36766 storing it.
36767 * stdlib/bug-getcontext.c: New file.
36768 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36769
27390476
AK
367702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36771
36772 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36773 instructions into .machine "z9-109".
36774 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36775 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36776
10442705
AK
367772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36778
36779 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36780 between environment variables and auxiliary vector.
36781
7b57bfe5
UD
367822011-04-16 Ulrich Drepper <drepper@gmail.com>
36783
36784 * Makefile: Add rules to build linkobj/libc.so.
36785 * include/libc-symbols.h: Define libc_hidden_nolink.
36786 * include/rpc/auth.h: Mark functions which are to be hidden.
36787 * include/rpc/auth_des.h: Likewise.
36788 * include/rpc/auth_unix.h: Likewise.
36789 * include/rpc/clnt.h: Likewise.
36790 * include/rpc/des_crypt.h: Likewise.
36791 * include/rpc/key_prot.h: Likewise.
36792 * include/rpc/pmap_clnt.h: Likewise.
36793 * include/rpc/pmap_prot.h: Likewise.
36794 * include/rpc/pmap_rmt.h: Likewise.
36795 * include/rpc/rpc_msg.h: Likewise.
36796 * include/rpc/svc.h: Likewise.
36797 * include/rpc/svc_auth.h: Likewise.
36798 * include/rpc/xdr.h: Likewise.
36799 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36800 * nss/Makefile: Likewise.
36801 * sunrpc/Makefile: Don't install headers. Build library with normal
36802 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36803 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36804 for the compat linking library. Remove use of INTDEF/INTUSE.
36805 * sunrpc/auth_none.c: Likewise.
36806 * sunrpc/auth_unix.c: Likewise.
36807 * sunrpc/authdes_prot.c: Likewise.
36808 * sunrpc/authuxprot.c: Likewise.
36809 * sunrpc/clnt_gen.c: Likewise.
36810 * sunrpc/clnt_perr.c: Likewise.
36811 * sunrpc/clnt_raw.c: Likewise.
36812 * sunrpc/clnt_simp.c: Likewise.
36813 * sunrpc/clnt_tcp.c: Likewise.
36814 * sunrpc/clnt_udp.c: Likewise.
36815 * sunrpc/clnt_unix.c: Likewise.
36816 * sunrpc/des_crypt.c: Likewise.
36817 * sunrpc/des_soft.c: Likewise.
36818 * sunrpc/get_myaddr.c: Likewise.
36819 * sunrpc/key_call.c: Likewise.
36820 * sunrpc/key_prot.c: Likewise.
36821 * sunrpc/netname.c: Likewise.
36822 * sunrpc/pm_getmaps.c: Likewise.
36823 * sunrpc/pm_getport.c: Likewise.
36824 * sunrpc/pmap_clnt.c: Likewise.
36825 * sunrpc/pmap_prot.c: Likewise.
36826 * sunrpc/pmap_prot2.c: Likewise.
36827 * sunrpc/pmap_rmt.c: Likewise.
36828 * sunrpc/publickey.c: Likewise.
36829 * sunrpc/rpc_cmsg.c: Likewise.
36830 * sunrpc/rpc_common.c: Likewise.
36831 * sunrpc/rpc_dtable.c: Likewise.
36832 * sunrpc/rpc_prot.c: Likewise.
36833 * sunrpc/rpc_thread.c: Likewise.
36834 * sunrpc/rtime.c: Likewise.
36835 * sunrpc/svc.c: Likewise.
36836 * sunrpc/svc_auth.c: Likewise.
36837 * sunrpc/svc_authux.c: Likewise.
36838 * sunrpc/svc_raw.c: Likewise.
36839 * sunrpc/svc_run.c: Likewise.
36840 * sunrpc/svc_simple.c: Likewise.
36841 * sunrpc/svc_tcp.c: Likewise.
36842 * sunrpc/svc_udp.c: Likewise.
36843 * sunrpc/svc_unix.c: Likewise.
36844 * sunrpc/svcauth_des.c: Likewise.
36845 * sunrpc/xcrypt.c: Likewise.
36846 * sunrpc/xdr.c: Likewise.
36847 * sunrpc/xdr_array.c: Likewise.
36848 * sunrpc/xdr_float.c: Likewise.
36849 * sunrpc/xdr_intXX_t.c: Likewise.
36850 * sunrpc/xdr_mem.c: Likewise.
36851 * sunrpc/xdr_rec.c: Likewise.
36852 * sunrpc/xdr_ref.c: Likewise.
36853 * sunrpc/xdr_sizeof.c: Likewise.
36854 * sunrpc/xdr_stdio.c: Likewise.
36855
e6c61494
UD
368562011-04-10 Ulrich Drepper <drepper@gmail.com>
36857
36858 [BZ #12650]
36859 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36860 * sysdeps/ia64/dl-tls.h: Likewise.
36861 * sysdeps/powerpc/dl-tls.h: Likewise.
36862 * sysdeps/s390/dl-tls.h: Likewise.
36863 * sysdeps/sh/dl-tls.h: Likewise.
36864 * sysdeps/sparc/dl-tls.h: Likewise.
36865 * sysdeps/x86_64/dl-tls.h: Likewise.
36866 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36867
34fe483e
AS
368682011-03-14 Andreas Schwab <schwab@redhat.com>
36869
36870 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36871 rpath element also skip the following colon.
36872 (expand_dynamic_string_token): Add is_path parameter and pass
36873 down to DL_DST_REQUIRED and _dl_dst_substitute.
36874 (decompose_rpath): Call expand_dynamic_string_token with
36875 non-zero is_path. Ignore empty rpaths.
36876 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36877 with zero is_path.
36878
f12a32e6
AS
368792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36880
36881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36882 Make cancelable.
36883
38a7d692
UD
368842011-04-09 Ulrich Drepper <drepper@gmail.com>
36885
36886 [BZ #12655]
36887 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36888 Patch by Filipe David Manana <fdmanana@apache.org>.
36889
e451d22b
AS
368902011-04-07 Andreas Schwab <schwab@redhat.com>
36891
36892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36893 Maintain aligned stack.
36894 (CHECK_RSP): Remove unused macro.
36895
dedc7c7b
UD
368962011-04-03 Ulrich Drepper <drepper@gmail.com>
36897
36898 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36899 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36900
94521213
UD
369012011-04-02 Ulrich Drepper <drepper@gmail.com>
36902
36903 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36904
8cb700c0 36905 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36906
0354e355
L
369072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36908
36909 [BZ #12518]
36910 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36911 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36912 * sysdeps/x86_64/memmove.c: New file.
36913 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36914 (memcpy): Renamed to ...
36915 (__new_memcpy): This.
36916 (memcpy): Provide GLIBC_2_14 memcpy.
36917 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36918 (memcpy): Provide GLIBC_2_2_5 memcpy.
36919
8593482f
UD
369202011-04-01 Ulrich Drepper <drepper@gmail.com>
36921
36922 [BZ #12631]
36923 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36924
81a5726b
AS
369252011-03-30 Andreas Schwab <schwab@redhat.com>
36926
36927 * misc/syncfs.c: New file.
36928 * misc/Makefile (routines): Add syncfs.
36929 * posix/unistd.h: Declare syncfs.
36930 * sysdeps/unix/syscalls.list: Add syncfs.
36931
00e5419f
AS
369322011-04-01 Andreas Schwab <schwab@redhat.com>
36933
36934 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36935 open_by_handle_at.
36936 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36937 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36939 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36941 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36942 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36943
748876bf
UD
369442011-04-01 Ulrich Drepper <drepper@gmail.com>
36945
658e451d
UD
36946 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36947 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36948 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36949 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36950 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36952 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36953
748876bf
UD
36954 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36955 sync_file_range.c with -fexceptions.
36956 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36957 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36958 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36959 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36960 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36961 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36962 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36963 sync_file_range as cancellation point
36964 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36965 now a wrapper around __call_sync_file_range with cancellation handling.
36966 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36967 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36968 function name to __call_sync_file_range.
36969 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36970 Add call_sync_file_range.
748876bf 36971
6e63d5e1
AS
369722011-04-01 Andreas Schwab <schwab@redhat.com>
36973
36974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36975 bits/timex.h.
6e63d5e1 36976
46998f74
UD
369772011-04-01 Ulrich Drepper <drepper@gmail.com>
36978
4c1423ed
UD
36979 * iconv/iconv.h: Fix typo in comment.
36980 * io/fcntl.h: Likewise.
36981 * libio/stdio.h: Likewise.
36982 * posix/spawn.h: Likewise.
36983 * posix/unistd.h: Likewise.
36984 * stdlib/stdlib.h: Likewise.
36985 * time/time.h: Likewise.
36986 * wcsmbs/wchar.h: Likewise.
36987
158648c0
UD
36988 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36989 open_by_handle): Add.
36990 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36991 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36992 Augment a few comments.
36993 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36995 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36996 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36997 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36998 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36999 open_by_handle.
37000
46998f74
UD
37001 * io/fcntl.h (AT_EMPTY_PATH): Define.
37002
83fe108b
UD
370032011-03-30 Ulrich Drepper <drepper@gmail.com>
37004
37005 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37006 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37007 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37008 to...
37009 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
37010 * Versions.def: Add GLIBC_2.14.
37011 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37012 Export.
83fe108b 37013
bb242059
UD
370142011-03-22 Ulrich Drepper <drepper@gmail.com>
37015
37016 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37017 round counter.
37018 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37019
c97a1282
L
370202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37021
37022 [BZ #12597]
37023 * string/test-strncmp.c (do_page_test): New function.
37024 (check2): Likewise.
37025 (test_main): Call check2.
37026 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37027
2a115601
UD
370282011-03-20 Ulrich Drepper <drepper@gmail.com>
37029
37030 [BZ #12587]
37031 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37032 Handle cache information in CPU leaf 4.
37033 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37034
8126d904
UD
370352011-03-18 Ulrich Drepper <drepper@gmail.com>
37036
042c49c6 37037 [BZ #12583]
8126d904
UD
37038 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37039 character representation.
37040 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37041
ccfe366e
RA
370422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37043
37044 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37045 END(__isnan) to END(__isnanf) to match function entry point/label
37046 EALIGN(__isnanf,...).
37047
c6e13027
JJ
370482011-03-10 Jakub Jelinek <jakub@redhat.com>
37049
37050 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37051
33f85a3f
UD
370522011-03-10 Ulrich Drepper <drepper@gmail.com>
37053
028478fa
UD
37054 [BZ #12510]
37055 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37056 copy from the symbol referenced in the relocation to initialize the
37057 used variable.
37058 Patch by Piotr Bury <pbury@goahead.com>.
37059 * elf/Makefile: Add rules to build and tst-unique3.
37060 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37061 * elf/tst-unique3.cc: New file.
37062 * elf/tst-unique3.h: New file.
37063 * elf/tst-unique3lib.cc: New file.
37064 * elf/tst-unique3lib2.cc: New file.
37065
33f85a3f
UD
37066 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37067
03592fc7
MF
370682011-03-10 Mike Frysinger <vapier@gentoo.org>
37069
37070 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37071 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37072 to _start.
03592fc7 37073
6a5ee102
UD
370742011-03-06 Ulrich Drepper <drepper@gmail.com>
37075
37076 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37077 to-be-loaded object along a path to loader is ld.so.
37078
7e4ba49c
HJ
370792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37080 Ulrich Drepper <drepper@gmail.com>
37081
37082 * sysdeps/x86_64/memset.S: After aligning destination, code
37083 branches to different locations depending on the value of
37084 misalignment, when multiarch is enabled. Fix this.
37085
370862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37087
37088 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37089 Set _x86_64_preferred_memory_instruction for AMD processsors.
37090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37091 Set bit_Prefer_SSE_for_memop for AMD processors.
37092
13a804de
UD
370932011-03-04 Ulrich Drepper <drepper@gmail.com>
37094
37095 * libio/fmemopen.c (fmemopen): Optimize a bit.
37096
9d25c392
AS
370972011-03-03 Andreas Schwab <schwab@redhat.com>
37098
37099 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37100
a5543c6a
RM
371012011-03-03 Roland McGrath <roland@redhat.com>
37102
37103 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37104
012d35f7
DM
371052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37106
7e4ba49c 37107 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
37108 __bzero_ultra1 instead of __memset_ultra1.
37109
4bff6e01
AS
371102011-02-23 Andreas Schwab <schwab@redhat.com>
37111 Ulrich Drepper <drepper@gmail.com>
37112
37113 [BZ #12509]
37114 * include/link.h (struct link_map): Add l_orig_initfini.
37115 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37116 returning unsuccessfully.
37117 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37118 close of a file loaded at startup, restore the original l_initfini
37119 list.
37120 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37121 list, store the pointer.
37122 * elf/Makefile ($(objpfx)noload-mem): New rule.
37123 (noload-ENV): Define.
37124 (tests): Add $(objpfx)noload-mem.
37125 * elf/noload.c: Include <memcheck.h>.
37126 (main): Call mtrace. Close all opened handles.
37127
f2092faf
AS
371282011-02-17 Andreas Schwab <schwab@redhat.com>
37129
37130 [BZ #12454]
37131 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37132 dependencies are missing.
37133
6c8a2e88
ST
371342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37135
f2092faf 37136 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
37137 Hurd needs munmap.
37138 * sysdeps/mach/hurd/ifreq.h: New file.
37139
84a42118
PB
371402011-01-27 Petr Baudis <pasky@suse.cz>
37141 Ulrich Drepper <drepper@gmail.com>
37142
071f805e 37143 [BZ 12445]#
84a42118
PB
37144 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37145 to extend_alloca().
37146 * stdio-common/bug23.c: New file.
37147 * stdio-common/Makefile (tests): Add bug23.
37148
e23fe25b
AS
371492010-09-28 Andreas Schwab <schwab@redhat.com>
37150 Ulrich Drepper <drepper@gmail.com>
37151
37152 [BZ #12489]
37153 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37154 before performing relro protection. At old place add assertion
37155 to make sure nothing changed.
37156
d3f02e10
NS
371572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37158 Glauber de Oliveira Costa <glommer@gmail.com>
37159
37160 * elf/elf.h: Add new ARM TLS relocs.
37161
d55fd7a5
RA
371622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37163
37164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37165 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37166 cast from r3.
37167 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37168 'tests' variable.
37169 * sysdeps/wordsize-64/tst-writev.c: New file.
37170
2206397e
RA
371712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37172
37173 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37174 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37175 insns in _dl_start to prevent a TOC reference before relocs are
37176 resolved.
37177
e9433893
UD
371782011-02-15 Ulrich Drepper <drepper@gmail.com>
37179
37180 [BZ #12469]
37181 * Makeconfig: Remove RANLIB definition.
37182 * Makerules: Don't use RANLIB.
37183 * aclocal.m4: Remove ranlib test.
37184 * configure.in: No need to check for ranlib.
37185 * elf/rtld-Rules: Don't use RANLIB.
37186
f75286c6
ST
371872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37188
8e31c82d
ST
37189 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37190 protection macro.
37191 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37192 inclusion protection macro.
37193
f75286c6
ST
37194 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37195 SIGRTMIN and SIGRTMAX and print information in that case only when
37196 SIGRTMIN is defined.
37197
c1d0e639
JJ
371982011-02-11 Jakub Jelinek <jakub@redhat.com>
37199
37200 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37201 arginfo fn returning -1.
37202
37203 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37204 and thousands string is zero terminated.
37205
edf9294e
AS
372062011-02-03 Andreas Schwab <schwab@redhat.com>
37207
37208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37209 sysdeps/unix/sysv/linux/bits/socket.h.
37210
2b7e92df
ST
372112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37212
edf9294e
AS
37213 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37214 (__CPU_COUNT): Remove old macros.
37215 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37216 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37217 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
37218 (__sched_cpualloc, __sched_cpufree): Add declarations.
37219
a4c7ea7b
UD
372202011-02-05 Ulrich Drepper <drepper@gmail.com>
37221
37222 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37223 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37224 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37225 (readdhstai): Return value of addhstaiX call.
37226 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37227 (addgrbyX): Return value returned by cache_addgr.
37228 (readdgrbyname): Return value returned by addgrbyX.
37229 (readdgrbygid): Likewise.
37230 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37231 (addpwbyX): Return value returned by cache_addpw.
37232 (readdpwbyname): Return value returned by addhstbyX.
37233 (readdpwbyuid): Likewise.
37234 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37235 (addservbyX): Return value returned by cache_addserv.
37236 (readdservbyname): Return value returned by addservbyX:
37237 (readdservbyport): Likewise.
37238 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37239 (addhstbyX): Return value returned by cache_addhst.
37240 (readdhstbyname): Return value returned by addhstbyX.
37241 (readdhstbyaddr): Likewise.
37242 (readdhstbynamev6): Likewise.
37243 (readdhstbyaddrv6): Likewise.
37244 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37245 (readdinitgroups): Return value returned by addinitgroupsX.
37246 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37247 (prune_cache): Keep track of timeout value of re-added entries.
37248 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37249 * nscd/nscd.h: Adjust prototypes of readd* functions.
37250
a0bf67cc
RM
372512011-02-04 Roland McGrath <roland@redhat.com>
37252
37253 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37254 (nis_stats): Likewise.
37255 * nis/nis_modify.c (nis_modify): Likewise.
37256 * nis/nis_remove.c (nis_remove): Likewise.
37257 * nis/nis_add.c (nis_add): Likewise.
37258
37259 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37260
37261 * posix/fnmatch_loop.c: Add some consts.
37262
37263 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37264
435b95eb
L
372652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37266
37267 [BZ #12460]
37268 * config.make.in (config-cflags-novzeroupper): Define.
37269 * configure.in: Substitute libc_cv_cc_novzeroupper.
37270 * elf/Makefile (AVX-CFLAGS): Define.
37271 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37272 (CFLAGS-tst-auditmod4a.c): Likewise.
37273 (CFLAGS-tst-auditmod4b.c): Likewise.
37274 (CFLAGS-tst-auditmod6b.c): Likewise.
37275 (CFLAGS-tst-auditmod6c.c): Likewise.
37276 (CFLAGS-tst-auditmod7b.c): Likewise.
37277 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37278
8517b15e
UD
372792011-02-02 Ulrich Drepper <drepper@gmail.com>
37280
37281 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37282 function to the callback.
37283 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37284
10a656fe
AS
372852011-02-02 Andreas Schwab <schwab@redhat.com>
37286
37287 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37288 of errno.
37289
968dad0a
UD
372902011-01-19 Ulrich Drepper <drepper@gmail.com>
37291
9f94d2ea 37292 [BZ #11724]
968dad0a
UD
37293 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37294 of constructors.
37295 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37296 of destructors.
37297 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37298
37299 [BZ #11724]
37300 * elf/Makefile: Add rules to build and run new test.
37301 * elf/tst-initorder.c: New file.
37302 * elf/tst-initorder.exp: New file.
37303 * elf/tst-initordera1.c: New file.
37304 * elf/tst-initordera2.c: New file.
37305 * elf/tst-initordera3.c: New file.
37306 * elf/tst-initordera4.c: New file.
37307 * elf/tst-initorderb1.c: New file.
37308 * elf/tst-initorderb2.c: New file.
37309 * elf/tst-order-a1.c: New file.
37310 * elf/tst-order-a2.c: New file.
37311 * elf/tst-order-a3.c: New file.
37312 * elf/tst-order-a4.c: New file.
37313 * elf/tst-order-b1.c: New file.
37314 * elf/tst-order-b2.c: New file.
37315 * elf/tst-order-main.c: New file.
37316 New test case by George Gensure <werkt0@gmail.com>.
37317
86e92359
UD
373182010-10-01 Andreas Schwab <schwab@redhat.com>
37319
37320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37321 decoding ACE if AI_CANONIDN.
37322
5d5732b0
UD
373232011-01-18 Ulrich Drepper <drepper@gmail.com>
37324
37325 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37326
a77e8cbc
UD
373272011-01-17 Ulrich Drepper <drepper@gmail.com>
37328
6392473f
UD
37329 * version.h (RELEASE): Bump for 2.13 release.
37330 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37331
620a0529
UD
37332 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37333
18ba70a5
UD
37334 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37335 MADV_NOHUGEPAGE.
32465c3e
UD
37336 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37337 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37338 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37339 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37340 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37341 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37342
c0dafcf1
UD
37343 * posix/getconf.c: Update copyright year.
37344 * catgets/gencat.c: Likewise.
37345 * csu/version.c: Likewise.
37346 * debug/catchsegv.sh: Likewise.
37347 * debug/xtrace.sh: Likewise.
37348 * elf/ldconfig.c: Likewise.
37349 * elf/ldd.bash.in: Likewise.
37350 * elf/sprof.c (print_version): Likewise.
37351 * iconv/iconv_prog.c: Likewise.
37352 * iconv/iconvconfig.c: Likewise.
37353 * locale/programs/locale.c: Likewise.
37354 * locale/programs/localedef.c: Likewise.
37355 * malloc/memusage.sh: Likewise.
37356 * malloc/mtrace.pl: Likewise.
37357 * nscd/nscd.c (print_version): Likewise.
37358 * nss/getent.c: Likewise.
37359
a77e8cbc
UD
37360 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37361 PF_CAIF, and PF_ALG.
37362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37363
77e8bddf
AS
373642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37365
1f20b93a
AS
37366 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37367 (modules-names): Use them.
37368 (ifunc-test-modules, ifunc-pie-tests): Define.
37369 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37370 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37371 (test-extras): Likewise.
37372 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37373 $(compile-command.c).
37374 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37375 (all-built-dso): Define.
37376 (check-textrel.out, check-execstack.out): Depend on it.
37377
77e8bddf
AS
37378 * configure.in: Don't override --enable-multi-arch.
37379
bc425b33
UD
373802011-01-15 Ulrich Drepper <drepper@gmail.com>
37381
37382 [BZ #6812]
37383 * nscd/hstcache.c (tryagain): Define.
37384 (cache_addhst): Return tryagain not notfound for temporary errors.
37385 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37386 failed.
37387
794c3ad3
UD
373882011-01-14 Ulrich Drepper <drepper@gmail.com>
37389
70181fdd
UD
37390 [BZ #10563]
37391 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37392 to make the syscall.
37393 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37394
794c3ad3
UD
37395 [BZ #12378]
37396 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37397 and fall back to matching as normal character if the string ends before
37398 the matching ']' is found. This is what POSIX requires.
37399 * posix/testfnm.c: Adjust test result.
37400 * posix/globtest.sh: Adjust test result. Add new test.
37401 * posix/tst-fnmatch.input: Likewise.
37402 * posix/tst-fnmatch2.c: Add new test.
37403
68dc9497
AS
374042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37405
37406 * elf/Makefile (check-execstack): Revert last change. Depend on
37407 check-execstack.h.
37408 (check-execstack.h): New target.
37409 (generated): Add check-execstack.h.
37410 * elf/check-execstack.c: Include "check-execstack.h".
37411 (main): Revert last change.
37412 (handle_file): Return zero if GNU_STACK is absent and
37413 DEFAULT_STACK_PERMS doesn't include PF_X.
37414
451f001b
UD
374152011-01-13 Ulrich Drepper <drepper@gmail.com>
37416
cfa28e56
UD
37417 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37418 in child fails because the descriptor is already closed.
8cf8ce17
UD
37419 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37420 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37421 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37422
1086d70d
UD
37423 [BZ #12397]
37424 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37425 syscall.
37426
451f001b
UD
37427 [BZ #10484]
37428 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37429 temporary buffer used to handle multi lookups locally.
a85b5cb4 37430 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37431
08769175
UD
374322011-01-12 Ulrich Drepper <drepper@gmail.com>
37433
37434 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37435 loader is ld.so.
37436
5e49c52e
UD
374372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37438
37439 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37440 alignment for SSE2.
37441
60522a5f
UD
374422011-01-12 Ulrich Drepper <drepper@gmail.com>
37443
37444 [BZ #12394]
37445 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37446 characters. When rounding increased number of integer digits recompute
37447 number of groups.
37448 * stdio-common/tst-grouping.c: New file.
37449 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37450
f257bbd7
UD
374512011-01-09 Ulrich Drepper <drepper@gmail.com>
37452
37453 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37454 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37455
37456 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37457 void.
37458 * bits/select.h: Likewise.
37459
fa9c15cb
UD
374602011-01-08 Ulrich Drepper <drepper@gmail.com>
37461
37462 * po/ja.po: Update from translation team.
37463
16c2895f
DM
374642011-01-04 David S. Miller <davem@sunset.davemloft.net>
37465
37466 [BZ #11155]
37467 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37468 implementation just like for lxstat, fxstatat, et al.
37469
2543fef2
JM
374702010-12-27 Jim Meyering <meyering@redhat.com>
37471
37472 [BZ #12348]
37473 * posix/regexec.c (build_trtable): Return failure indication upon
37474 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37475
98727dbe
UD
374762010-12-25 Ulrich Drepper <drepper@gmail.com>
37477
5bd6dc5c
UD
37478 [BZ #12201]
37479 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37480 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37481 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37482 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37483
97983464
UD
37484 [BZ #12207]
37485 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37486
98727dbe
UD
37487 [BZ #12204]
37488 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37489 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37490
4a531bb0
L
374912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37492
37493 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37494 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37495 script has SORT_BY_INIT_PRIORITY.
37496 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37497 NO_CTORS_DTORS_SECTIONS is defined.
37498 * elf/soinit.c: Likewise.
37499 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37500 NO_CTORS_DTORS_SECTIONS is defined.
37501 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37502 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37503 * sysdeps/sh/init-first.c: Likewise.
37504 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37505
07eb4b71
UD
375062010-12-24 Ulrich Drepper <drepper@gmail.com>
37507
37508 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37509 always use the slow path.
37510
30950a5f
RA
375112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37512
37513 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37514 similar rule which adds the sysdep directories to the header search in
37515 order to pick up the correct platform stackinfo.h.
37516 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37517 perform test if it is, otherwise return successfully without testing.
37518 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37519 DEFAULT_STACK_PERMS define in stackinfo.h.
37520 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37521 defined in stackinfo.h.
37522 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37523 DEFAULT_STACK_PERMS defined in stackinfo.h.
37524 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37525 * sysdeps/ia64/stackinfo.h: Likewise.
37526 * sysdeps/s390/stackinfo.h: Likewise.
37527 * sysdeps/sh/stackinfo.h: Likewise.
37528 * sysdeps/sparc/stackinfo.h: Likewise.
37529 * sysdeps/x86_64/stackinfo.h: Likewise.
37530 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37531 PF_X for powerpc64. Retain PF_X for powerpc32.
37532
db753e2c
UD
375332010-12-19 Ulrich Drepper <drepper@gmail.com>
37534
14b697f7
UD
37535 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37536 accurately.
db753e2c
UD
37537 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37538 GETDENTS_64BIT_ALIGNED.
37539
28300719
UD
375402010-12-14 Ulrich Drepper <dreper@gmail.com>
37541
14b697f7 37542 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37543
4f197237
AS
375442010-12-10 Andreas Schwab <schwab@redhat.com>
37545
dbb0472f
AS
37546 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37547 _GNU_SOURCE.
37548
4f197237
AS
37549 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37550 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37551 Remove __restrict.
37552 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37553 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37554
fb88ac72
UD
375552010-12-09 Ulrich Drepper <drepper@gmail.com>
37556
37557 [BZ #11655]
37558 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37559 are initialized.
37560
42acbb92
JJ
375612010-12-09 Jakub Jelinek <jakub@redhat.com>
37562
37563 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37564
c038d98d
UD
375652010-12-03 Ulrich Drepper <drepper@gmail.com>
37566
37567 * po/it.po: Update from translation team.
37568
3a4a2499
L
375692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37570
37571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37572 unused codes.
37573
1e24cf6e
UD
375742010-11-30 Ulrich Drepper <drepper@gmail.com>
37575
37576 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37577
a7690819
AS
375782010-11-24 Andreas Schwab <schwab@redhat.com>
37579
37580 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37581 specially.
37582 (gaih_getanswer_slice): Likewise.
37583
3bf8d1b1
JJ
375842010-10-20 Jakub Jelinek <jakub@redhat.com>
37585
37586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37587
6db52fbb
PB
375882010-05-31 Petr Baudis <pasky@suse.cz>
37589
37590 [BZ #11149]
37591 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37592 silently even in the chroot mode.
37593
eaca7569
UD
375942010-11-22 Ulrich Drepper <drepper@gmail.com>
37595
37596 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37597 last patch a bit. Pretty printing
37598
3056dcdb
UD
375992010-05-31 Petr Baudis <pasky@suse.cz>
37600
37601 [BZ #10085]
37602 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37603 initialization of skip_initgroups_dyn.
37604
cf7c9078
UD
376052010-11-19 Ulrich Drepper <drepper@gmail.com>
37606
37607 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37608 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37609
a1fb5e3e
UD
376102010-11-16 Ulrich Drepper <drepper@gmail.com>
37611
37612 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37613
3540d66b
AS
376142010-11-11 Andreas Schwab <schwab@redhat.com>
37615
37616 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37617 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37618 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37619 ($(objpfx)tst-fnmatch-mem): New rule.
37620 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37621 * posix/tst-fnmatch.c (main): Call mtrace.
37622
13b69574
L
376232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37624
37625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37626 Support Intel processor model 6 and model 0x2c.
37627
da93d214
LM
376282010-11-10 Luis Machado <luisgpm@br.ibm.com>
37629
37630 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37631 signed comparison.
37632
8ca52c6e
L
376332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37634
37635 [BZ #12205]
37636 * string/test-strncasecmp.c (check_result): New function.
37637 (do_one_test): Use it.
37638 (check1): New function.
37639 (test_main): Use it.
37640 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37641 Support strcasecmp and strncasecmp.
37642
69da074d
UD
376432010-11-08 Ulrich Drepper <drepper@gmail.com>
37644
37645 [BZ #12194]
37646 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37647 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37648
ff02d528
L
376492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37650
37651 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37652 IFUNC support.
37653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37654 memset-x86-64.
37655 * sysdeps/x86_64/multiarch/bzero.S: New file.
37656 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37657 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37658 * sysdeps/x86_64/multiarch/memset.S: New file.
37659 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37661 Set bit_Prefer_SSE_for_memop for Intel processors.
37662 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37663 Define.
37664 (index_Prefer_SSE_for_memop): Define.
37665 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37666
344d0b54
LM
376672010-11-04 Luis Machado <luisgpm@br.ibm.com>
37668
37669 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37670 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37671
c0dde15b
UD
376722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37673
37674 [BZ #12191]
37675 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37676 (__x86_64_raw_data_cache_size_half): Likewise.
37677 (__x86_64_raw_shared_cache_size): Likewise.
37678 (__x86_64_raw_shared_cache_size_half): Likewise.
37679
37680 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37681 (__x86_64_raw_data_cache_size_half): Likewise.
37682 (__x86_64_raw_shared_cache_size): Likewise.
37683 (__x86_64_raw_shared_cache_size_half): Likewise.
37684 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37685 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37686 and __x86_64_raw_shared_cache_size_half. Round
37687 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37688 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37689 to multiple of 256 bytes.
37690
0e516e0e
MS
376912010-11-03 Ulrich Drepper <drepper@gmail.com>
37692
37693 [BZ #12167]
37694 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37695 of inacessible symlinks. Verify result of symlink before returning it.
37696 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37697 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37698
0e012e87
ER
376992010-10-28 Erich Ritz <erichritz@gmail.com>
37700
37701 * math/math.h (isinf): Fix typo in comment.
37702
de0ff7bc
UD
377032010-11-01 Ulrich Drepper <drepper@gmail.com>
37704
37705 * po/da.po: Update from translation team.
37706
fa41c84d
UD
377072010-10-26 Ulrich Drepper <drepper@gmail.com>
37708
37709 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37710 is added to the list.
37711
f0967738
AK
377122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37713 Ulrich Drepper <drepper@gmail.com>
37714
37715 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37716 the global list here. Move code to...
37717 (_dl_add_to_namespace_list): ...here. New function.
37718 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37719 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37720 * elf/dl-load.c (lose): Don't remove the element from the list.
37721 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37722 (_dl_map_object): Likewise.
37723
377242010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37725
37726 [BZ #12159]
37727 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37728 into all bytes of SSE register.
37729 Patch by Richard Li <richardpku@gmail.com>.
37730
f0967738 377312010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37732
37733 [BZ #12140]
37734 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37735 perturbing.
37736
d0b9e94f
MB
377372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37738
37739 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37740 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37741 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37742 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37744 submachine.
37745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37746
8e9f92e9
AS
377472010-10-22 Andreas Schwab <schwab@redhat.com>
37748
37749 * include/dlfcn.h (__RTLD_SECURE): Define.
37750 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37751 mode & __RTLD_SECURE instead.
37752 (open_path): Rename preloaded parameter to secure.
37753 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37754 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37755 * elf/dl-deps.c (openaux): Likewise.
37756 * elf/rtld.c (struct map_args): Remove is_preloaded.
37757 (map_doit): Don't use it.
37758 (dl_main): Likewise.
37759 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37760 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37761
bc96fbda
AS
377622010-09-09 Andreas Schwab <schwab@redhat.com>
37763
37764 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37765 (sysd-rules-targets): Remove duplicates.
37766 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37767 rtld-%.$o dependency.
37768
22cd1c9b
AS
377692010-10-18 Andreas Schwab <schwab@redhat.com>
37770
37771 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37772 _dl_map_object do it.
37773
18edac48
UD
377742010-10-19 Ulrich Drepper <drepper@gmail.com>
37775
37776 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37777 fast fma builtins, define the macros in the C99 standard.
37778 (FP_FAST_FMAF): Likewise.
37779 (FP_FAST_FMAL): Likewise.
37780 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37781
37782 * bits/mathdef.h: Update copyright year.
37783 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37784
d2050124
MM
377852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37786
37787 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37788 builtins, define the macros in the C99 standard.
37789 (FP_FAST_FMAF): Likewise.
37790 (FP_FAST_FMAL): Likewise.
37791 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37792 multiply/add.
37793 (FP_FAST_FMAF): Likewise.
37794
475facd1
JJ
377952010-10-15 Jakub Jelinek <jakub@redhat.com>
37796
37797 [BZ #3268]
37798 * math/libm-test.inc (fma_test): Some new testcases.
37799 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37800 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37801 y and infinite z. Do multiplication by C already in long double.
37802 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37804 y and infinite z. Do bitwise or of inexact bit into u.d.
37805 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37806 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37807 * sysdeps/i386/fpu/s_fma.S: Removed.
37808 * sysdeps/i386/fpu/s_fmal.S: Removed.
37809
7c08a05c
JJ
378102010-10-16 Jakub Jelinek <jakub@redhat.com>
37811
37812 [BZ #3268]
37813 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37815 computation is not scheduled after fetestexcept. Fix value
37816 of minimum denormal long double.
37817
f3f7372d
JJ
378182010-10-14 Jakub Jelinek <jakub@redhat.com>
37819
37820 [BZ #3268]
37821 * math/libm-test.inc (fma_test): Add some more tests.
37822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37823 correctly.
37824
14d43591
AS
378252010-10-15 Andreas Schwab <schwab@redhat.com>
37826
37827 * scripts/data/localplt-s390-linux-gnu.data: New file.
37828 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37829
5e908464
JJ
378302010-10-13 Jakub Jelinek <jakub@redhat.com>
37831
37832 [BZ #3268]
37833 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37834 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37835 instead of dbl-64.
37836 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37837 inlines.
37838 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37840 if one of x and y is very large and the other is subnormal.
37841 * sysdeps/s390/fpu/s_fmaf.c: New file.
37842 * sysdeps/s390/fpu/s_fma.c: New file.
37843 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37844 * sysdeps/powerpc/fpu/s_fma.S: New file.
37845 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37846 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37847 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37848
378492010-10-12 Jakub Jelinek <jakub@redhat.com>
37850
37851 [BZ #3268]
37852 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37853 fma tests.
37854 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37855 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37856 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37857 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37858 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37859 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37860 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37861
b833d51f
UD
378622010-10-12 Ulrich Drepper <drepper@redhat.com>
37863
37864 [BZ #12078]
37865 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37866 * posix/bug-regex31.input: Add test case.
37867
1751705d
UD
378682010-10-11 Ulrich Drepper <drepper@gmail.com>
37869
e9b9cbf5
UD
37870 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37871 * posix/bug-regex31.input: New file.
37872
37873 [BZ #12078]
37874 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37875 (parse_sub_exp): Fix last change, use postorder.
37876
ef06edbe
UD
37877 * posix/bug-regex31.c: New file.
37878 * posix/Makefile: Add rules to build and run bug-regex31.
37879
a129c80d
UD
37880 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37881
37882 [BZ #12078]
37883 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37884
b76b818e
UD
37885 [BZ #12108]
37886 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37887 to have entries in sys_siglist.
37888
1751705d
UD
37889 [BZ #12093]
37890 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37891 be NULL.
37892
9ff8d36f
JJ
378932010-10-07 Jakub Jelinek <jakub@redhat.com>
37894
37895 [BZ #3268]
37896 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37897 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37898 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37899 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37900 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37901 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37902 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37903 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37904 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37905 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37906 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37907 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37908 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37909 * math/ftestexcept.c (fetestexcept): Likewise.
37910 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37911 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37912 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37913 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37914 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37915 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37916 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37917
af325969
UD
379182010-10-11 Ulrich Drepper <drepper@gmail.com>
37919
c579b202 37920 [BZ #12107]
af325969
UD
37921 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37922 newline.
37923
67a67b95
UD
379242010-10-06 Ulrich Drepper <drepper@gmail.com>
37925
37926 * string/bug-strstr1.c: New file.
37927 * string/Makefile: Add rules to build and run bug-strstr1.
37928
5fb308bc
EB
379292010-10-05 Eric Blake <eblake@redhat.com>
37930
37931 [BZ #12092]
37932 * string/str-two-way.h (two_way_long_needle): Always clear memory
37933 when skipping input due to the shift table.
37934
45db99c7
UD
379352010-10-03 Ulrich Drepper <drepper@gmail.com>
37936
3b111893
UD
37937 [BZ #12005]
37938 * malloc/mcheck.c: Handle large requests.
37939
45db99c7
UD
37940 [BZ #12077]
37941 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37942 for strncmp and strncasecmp.
37943 * string/stratcliff.c: Add tests for strcmp and strncmp.
37944 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37945
cf7a1eb8
NI
379462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37947
37948 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37949 __set_fpscr.
37950
6484ba5e
AJ
379512010-09-30 Andreas Jaeger <aj@suse.de>
37952
37953 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37954 (CGROUP_SUPER_MAGIC): Define.
37955 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37956 Handle btrfs and cgroup file systems.
37957 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37958 Likewise.
37959
91c42559
LM
379602010-09-27 Luis Machado <luisgpm@br.ibm.com>
37961
37962 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37963 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37964
87a97932
AK
379652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37966
37967 [BZ #12067]
37968 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37969 trying to locate the ELF header.
37970
c21cc9bc
AS
379712010-09-27 Andreas Schwab <schwab@redhat.com>
37972
37973 [BZ #11611]
37974 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37975 Mask out sign-bit copies when constructing f_fsid.
37976
315970f6
PB
379772010-09-24 Petr Baudis <pasky@suse.cz>
37978
37979 * debug/stack_chk_fail_local.c: Add missing licence exception.
37980 * debug/warning-nop.c: Likewise.
37981
1ac7a2c7
JM
379822010-09-15 Joseph Myers <joseph@codesourcery.com>
37983
37984 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37985 implementing getdents64 using getdents syscall, set d_type if
37986 __ASSUME_GETDENTS32_D_TYPE.
37987
56801c50
AS
379882010-09-16 Andreas Schwab <schwab@redhat.com>
37989
37990 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37991 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37992
dda51327
UD
379932010-09-21 Ulrich Drepper <drepper@redhat.com>
37994
37995 [BZ #12037]
37996 * posix/unistd.h: Undo change of feature selection for ftruncate from
37997 2010-01-11.
37998
8ffcee4a
UD
379992010-09-20 Ulrich Drepper <drepper@redhat.com>
38000
a545ecd9 38001 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
38002 detection.
38003
e24f0a8b
AS
380042010-09-20 Andreas Schwab <schwab@redhat.com>
38005
38006 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38007 fanotify_mark.
38008 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38009
7291c56f
AS
380102010-09-14 Andreas Schwab <schwab@redhat.com>
38011
38012 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38013 variables after CHECK_SP call.
38014 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38015
bc5fb037
AS
380162010-09-13 Andreas Schwab <schwab@redhat.com>
38017 Ulrich Drepper <drepper@redhat.com>
38018
38019 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38020 re-relocationg ld.so.
38021 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38022 _dl_init_paths call.
38023 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38024 here anymore.
38025
e66e7419
UD
380262010-09-14 Ulrich Drepper <drepper@redhat.com>
38027
38028 * resolv/res_init.c (__res_vinit): Count the default server we added.
38029
c044aa75
CLT
380302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38031 Ulrich Drepper <drepper@redhat.com>
38032
38033 [BZ #11968]
38034 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38035 (____longjmp_chk): Use %ebx for saving value across system call.
38036 Add unwind info.
38037
32cf4069
AS
380382010-09-06 Andreas Schwab <schwab@redhat.com>
38039
38040 * manual/Makefile: Don't mix pattern rules with normal rules.
38041
817328ee
AS
380422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38043
38044 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38045 operation.
38046 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38047 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38048 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38049 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38050 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38051 Likewise.
38052
29fddf61
UD
380532010-09-04 Ulrich Drepper <drepper@redhat.com>
38054
38055 [BZ #11979]
38056 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38057 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38058
0959ffc9
UD
380592010-09-02 Ulrich Drepper <drepper@redhat.com>
38060
38061 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38062 * sysdeps/x86_64/addmul_1.S: Likewise.
38063 * sysdeps/x86_64/lshift.S: Likewise.
38064 * sysdeps/x86_64/mul_1.S: Likewise.
38065 * sysdeps/x86_64/rshift.S: Likewise.
38066 * sysdeps/x86_64/sub_n.S: Likewise.
38067 * sysdeps/x86_64/submul_1.S: Likewise.
38068
ece29840
ST
380692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38070
0959ffc9
UD
38071 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38072 Define __sched_param instead of SCHED_* and sched_param when
ece29840 38073 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 38074 * bits/sched.h [__need_schedparam]
ece29840 38075 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
38076 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38077 (__defined_schedparam): Define to 1.
ece29840
ST
38078 (__sched_param): New structure, identical to sched_param.
38079 (__need_schedparam): Undefine.
38080
e53a31fe
MF
380812010-08-31 Mike Frysinger <vapier@gentoo.org>
38082
fdc0c10d
MF
38083 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38084 (epoll_create1): Declare.
38085
e53a31fe
MF
38086 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38087
a726d796
AS
380882010-08-31 Andreas Schwab <schwab@redhat.com>
38089
38090 [BZ #7066]
38091 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38092 shifting retval into place.
38093
2f3e3dc7
UD
380942010-09-01 Ulrich Drepper <drepper@redhat.com>
38095
f2933da9
UD
38096 * nis/rpcsvc/nis.h: Update copyright notice.
38097 * nis/rpcsvc/nis.x: Likewise.
38098 * nis/rpcsvc/nis_callback.h: Likewise.
38099 * nis/rpcsvc/nis_callback.x: Likewise.
38100 * nis/rpcsvc/nis_object.x: Likewise.
38101 * nis/rpcsvc/nis_tags.h: Likewise.
38102 * nis/rpcsvc/yp.h: Likewise.
38103 * nis/rpcsvc/yp.x: Likewise.
38104 * nis/rpcsvc/ypupd.h: Likewise.
38105 * nis/yp_xdr.c: Likewise.
38106 * nis/ypupdate_xdr.c: Likewise.
38107
2f3e3dc7
UD
38108 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38109 mainly the body of pmap_getport. Add parameters to specify timeouts.
38110 (pmap_getport): Use __libc_rpc_getport.
38111 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38112 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38113 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38114
f3dcc2f9
AS
381152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38116
38117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38118 fanotify_mark.
38119
6d34eb5b
RM
381202010-08-27 Roland McGrath <roland@redhat.com>
38121
38122 * sysdeps/i386/i686/multiarch/Makefile
38123 (CFLAGS-varshift.c): New variable.
38124
9ea3de11
UD
381252010-08-27 Ulrich Drepper <drepper@redhat.com>
38126
c96d23fc
UD
38127 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38128 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38129
9ea3de11
UD
38130 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38131
38132 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38133
623aac7f
L
381342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38135
38136 * sysdeps/x86_64/strlen.S: Unroll the loop.
38137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38138 strlen-sse2 strlen-sse2-bsf.
38139 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38140 __strlen_no_bsf if bit_Slow_BSF is set.
38141 (__strlen_sse42): Removed.
38142 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38143 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38144
8b2b7715
RM
381452010-08-25 Roland McGrath <roland@redhat.com>
38146
38147 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38148 * sysdeps/x86_64/multiarch/varshift.c: New file.
38149 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38150 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38151 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38152 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38153
e73015f2
L
381542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38155
38156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38157 strlen-sse2 strlen-sse2-bsf.
38158 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38159 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38160 (__strlen_sse2): Removed.
38161 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38162 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38164 bit_Slow_BSF for Atom.
38165 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38166 (index_Slow_BSF): Define.
38167 (HAS_SLOW_BSF): Define.
38168
df24a73e
UD
381692010-08-25 Ulrich Drepper <drepper@redhat.com>
38170
38171 [BZ #10851]
38172 * resolv/res_init.c (__res_vinit): When no server address at all
38173 is given default to loopback.
38174
f2ac4868
RM
381752010-08-24 Roland McGrath <roland@redhat.com>
38176
09055553
RM
38177 * configure.in: Remove config-name.h generation.
38178 * configure: Regenerated.
38179 * config-name.in: File removed.
38180 * scripts/config-uname.sh: New file.
38181 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38182 ($(objdir)config-name.h): New target.
38183
f2ac4868
RM
38184 * sunrpc/rpc_parse.h: Avoid nested comment.
38185
73f27d5e
RH
381862010-08-24 Richard Henderson <rth@redhat.com>
38187 Ulrich Drepper <drepper@redhat.com>
38188 H.J. Lu <hongjiu.lu@intel.com>
38189
38190 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38192 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38193 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38194 _mm_alignr_epi8 with _mm_loadu_si128.
38195 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38196 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38197 (__m128i_shift_right): Removed.
38198 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38199 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38200 * sysdeps/x86_64/multiarch/varshift.h: New file.
38201 * sysdeps/x86_64/multiarch/varshift.S: New file.
38202
84b9230c
MF
382032010-08-21 Mike Frysinger <vapier@gentoo.org>
38204
38205 * configure.in: Move assembler checks to before sysdep dir checking.
38206
9bbd0ddc
PB
382072010-08-20 Petr Baudis <pasky@suse.cz>
38208
38209 * LICENSES: Sync the sunrpc license.
38210
9da4bb31
UD
382112010-08-19 Ulrich Drepper <drepper@redhat.com>
38212
a7ab6ec8
UD
38213 * sunrpc/auth_des.c: Update copyright notice once again.
38214 * sunrpc/auth_none.c: Likewise.
38215 * sunrpc/auth_unix.c: Likewise.
38216 * sunrpc/authdes_prot.c: Likewise.
38217 * sunrpc/authuxprot.c: Likewise.
38218 * sunrpc/bindrsvprt.c: Likewise.
38219 * sunrpc/clnt_gen.c: Likewise.
38220 * sunrpc/clnt_perr.c: Likewise.
38221 * sunrpc/clnt_raw.c: Likewise.
38222 * sunrpc/clnt_simp.c: Likewise.
38223 * sunrpc/clnt_tcp.c: Likewise.
38224 * sunrpc/clnt_udp.c: Likewise.
38225 * sunrpc/clnt_unix.c: Likewise.
38226 * sunrpc/des_crypt.c: Likewise.
38227 * sunrpc/des_soft.c: Likewise.
38228 * sunrpc/get_myaddr.c: Likewise.
38229 * sunrpc/getrpcport.c: Likewise.
38230 * sunrpc/key_call.c: Likewise.
38231 * sunrpc/key_prot.c: Likewise.
38232 * sunrpc/openchild.c: Likewise.
38233 * sunrpc/pm_getmaps.c: Likewise.
38234 * sunrpc/pm_getport.c: Likewise.
38235 * sunrpc/pmap_clnt.c: Likewise.
38236 * sunrpc/pmap_prot.c: Likewise.
38237 * sunrpc/pmap_prot2.c: Likewise.
38238 * sunrpc/pmap_rmt.c: Likewise.
38239 * sunrpc/rpc/auth.h: Likewise.
38240 * sunrpc/rpc/auth_unix.h: Likewise.
38241 * sunrpc/rpc/clnt.h: Likewise.
38242 * sunrpc/rpc/des_crypt.h: Likewise.
38243 * sunrpc/rpc/key_prot.h: Likewise.
38244 * sunrpc/rpc/netdb.h: Likewise.
38245 * sunrpc/rpc/pmap_clnt.h: Likewise.
38246 * sunrpc/rpc/pmap_prot.h: Likewise.
38247 * sunrpc/rpc/pmap_rmt.h: Likewise.
38248 * sunrpc/rpc/rpc.h: Likewise.
38249 * sunrpc/rpc/rpc_des.h: Likewise.
38250 * sunrpc/rpc/rpc_msg.h: Likewise.
38251 * sunrpc/rpc/svc.h: Likewise.
38252 * sunrpc/rpc/svc_auth.h: Likewise.
38253 * sunrpc/rpc/types.h: Likewise.
38254 * sunrpc/rpc/xdr.h: Likewise.
38255 * sunrpc/rpc_clntout.c: Likewise.
38256 * sunrpc/rpc_cmsg.c: Likewise.
38257 * sunrpc/rpc_common.c: Likewise.
38258 * sunrpc/rpc_cout.c: Likewise.
38259 * sunrpc/rpc_dtable.c: Likewise.
38260 * sunrpc/rpc_hout.c: Likewise.
38261 * sunrpc/rpc_main.c: Likewise.
38262 * sunrpc/rpc_parse.c: Likewise.
38263 * sunrpc/rpc_parse.h: Likewise.
38264 * sunrpc/rpc_prot.c: Likewise.
38265 * sunrpc/rpc_sample.c: Likewise.
38266 * sunrpc/rpc_scan.c: Likewise.
38267 * sunrpc/rpc_scan.h: Likewise.
38268 * sunrpc/rpc_svcout.c: Likewise.
38269 * sunrpc/rpc_tblout.c: Likewise.
38270 * sunrpc/rpc_util.c: Likewise.
38271 * sunrpc/rpc_util.h: Likewise.
38272 * sunrpc/rpcinfo.c: Likewise.
38273 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38274 * sunrpc/rpcsvc/key_prot.x: Likewise.
38275 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38276 * sunrpc/rpcsvc/mount.x: Likewise.
38277 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38278 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38279 * sunrpc/rpcsvc/rex.x: Likewise.
38280 * sunrpc/rpcsvc/rstat.x: Likewise.
38281 * sunrpc/rpcsvc/rusers.x: Likewise.
38282 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38283 * sunrpc/rpcsvc/spray.x: Likewise.
38284 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38285 * sunrpc/rtime.c: Likewise.
38286 * sunrpc/svc.c: Likewise.
38287 * sunrpc/svc_auth.c: Likewise.
38288 * sunrpc/svc_authux.c: Likewise.
38289 * sunrpc/svc_raw.c: Likewise.
38290 * sunrpc/svc_run.c: Likewise.
38291 * sunrpc/svc_simple.c: Likewise.
38292 * sunrpc/svc_tcp.c: Likewise.
38293 * sunrpc/svc_udp.c: Likewise.
38294 * sunrpc/svc_unix.c: Likewise.
38295 * sunrpc/svcauth_des.c: Likewise.
38296 * sunrpc/xcrypt.c: Likewise.
38297 * sunrpc/xdr.c: Likewise.
38298 * sunrpc/xdr_array.c: Likewise.
38299 * sunrpc/xdr_float.c: Likewise.
38300 * sunrpc/xdr_mem.c: Likewise.
38301 * sunrpc/xdr_rec.c: Likewise.
38302 * sunrpc/xdr_ref.c: Likewise.
38303 * sunrpc/xdr_sizeof.c: Likewise.
38304 * sunrpc/xdr_stdio.c: Likewise.
38305
9da4bb31
UD
38306 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38307 handling.
38308
bdaa77bc
AS
383092010-08-19 Andreas Schwab <schwab@redhat.com>
38310
38311 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38312
fe2f79db
LM
383132010-08-19 Luis Machado <luisgpm@br.ibm.com>
38314
38315 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38316 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38317 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38318 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38319 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38320 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38321 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38322 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38323 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38324 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38325 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38326 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38327 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38328 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38329
b9b42ee0
AB
383302010-07-26 Anton Blanchard <anton@samba.org>
38331
38332 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38333 * malloc/arena.c (heap_trim): Likewise.
38334
1c06ba31
UD
383352010-08-16 Ulrich Drepper <drepper@redhat.com>
38336
38337 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38338 here. Not...
38339 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38340 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38341
f8392f40
L
383422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38343
38344 * sysdeps/i386/elf/Makefile: New file.
38345
3162f12e
AS
383462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38347
38348 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38349 from fanotify_init.
38350 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38351 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38352
28c90b2c
UD
383532010-08-15 Ulrich Drepper <drepper@redhat.com>
38354
38355 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38356 of strncasecmp_l.
1feccb6c 38357 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38358
ca6bb004
UD
383592010-08-14 Ulrich Drepper <drepper@redhat.com>
38360
e9f82e0d
UD
38361 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38362 strncase_l-nonascii.
38363 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38364 Add strncase_l-ssse3.
38365 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38366 * sysdeps/x86_64/strcmp.S: Likewise.
38367 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38368 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38369 * sysdeps/x86_64/strncase.S: New file.
38370 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38371 * sysdeps/x86_64/strncase_l.S: New file.
38372 * string/Makefile (strop-tests): Add strncasecmp.
38373 * string/test-strncasecmp.c: New file.
38374
38375 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38376 warning.
38377
ca6bb004
UD
38378 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38379 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38380
052fa7b3
AS
383812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38382
38383 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38384
962dba78
UD
383852010-08-12 Ulrich Drepper <drepper@redhat.com>
38386
38387 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38388 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38389 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38390
bebff237
AM
383912010-05-01 Alan Modra <amodra@gmail.com>
38392
38393 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38394 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38395 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38396 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38397 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38398 tidying. Don't tail-call __sigjmp_save for static lib.
38399 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38400 save location.
38401 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38402 (CALL_MCOUNT): Add eh info, and nop after bl.
38403 (TAIL_CALL_SYSCALL_ERROR): New macro.
38404 (PSEUDO_RET): Use it.
38405 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38406 Correct save location of integer regs and cr.
38407 (_dl_profile_resolve): Correct cr save location. Delete nops
38408 after bl when SHARED. Reduce cfi size a little by better
38409 placement of cfi directives.
38410 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38411 make a stack frame. Instead use parm save area as a temp.
38412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38413 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38415 Don't make a stack frame for parent, use parm save area.
38416 Increase child stack frame to 112 bytes. Don't save unused reg,
38417 and adjust reg usage. Set up cfi on error recovery and
38418 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38420 (__makecontext): Add dummy nop after jump to exit.
38421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38422 Use correct parm save area and cr save, reduce stack frame.
38423 Correct cfi for possible PSEUDO_RET frame setup.
38424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38425 Branch to local label emitted by PSEUDO_RET rather than
38426 __syscall_error.
38427
02637374
AS
384282010-08-12 Andreas Schwab <schwab@redhat.com>
38429
38430 [BZ #11904]
38431 * locale/programs/locale.c (print_assignment): New function.
38432 (show_locale_vars): Use it.
38433
c3e2f19b
UD
384342010-08-11 Ulrich Drepper <drepper@redhat.com>
38435
3cdaa6ad
UD
38436 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38437 field.
38438 (struct statfs64): Likewise.
38439 (_STATFS_F_FLAGS): Define.
38440 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38441 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38442 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38443 (ST_VALID): Define locally.
38444 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38445 __statvfs_getflags, use the provided value.
38446 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38447 __ASSUME_STATFS_F_FLAGS.
38448
754f7da3
UD
38449 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38450
10b3bedc
UD
38451 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38452 Add sys/fanotify.h.
38453 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38454 fanotify_mask for GLIBC_2.13.
38455 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38456 fanotify_init and fanotify_mark.
38457 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38458 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38459
c08fb0d7
UD
38460 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38461 Add prlimit.
38462 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38463 prlimit64 for GLIBC_2.13.
38464 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38465 prlimit64.
38466 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38467 syscall.
38468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38469 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38470 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38471 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38472 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38473 add prlimit alias.
38474 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38475
15bac72b
UD
38476 [BZ #11903]
38477 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38478 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38479
c3e2f19b
UD
38480 * nss/Makefile: Add rules to build and run tst-nss-test1.
38481 * shlib-versions: Add entry for libnss_test1.
38482 * nss/nss_test1.c: New file.
38483 * nss/tst-nss-test1.c: New file.
38484
38485 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38486 (__nss_configure_lookup): Set appropriate entry in
38487 __nss_configure_lookup to true.
38488 * nss/nsswitch.h: Define enum with indeces of databases in
38489 databases and __nss_database_custom arrays. Declare
38490 __nss_database_custom.
38491 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38492 to avoid using nscd when custom rules are installed.
38493 * nss/getXXbyYY_r.c: Likewise.
38494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38495
38496 * nss/nss_files/files-parse.c: Whitespace fixes.
38497
f15ce4d8
UD
384982010-08-09 Ulrich Drepper <drepper@redhat.com>
38499
38500 [BZ #11883]
38501 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38502 * posix/fnmatch_loop.c: Likewise.
38503
d22e4cc9
AK
385042010-07-17 Andi Kleen <ak@linux.intel.com>
38505
38506 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38507 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38508 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38509 * Versions.def [GLIBC_2.13]: Add.
38510
805bc17d
UD
385112010-08-06 Ulrich Drepper <drepper@redhat.com>
38512
38513 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38514 Also fail if tpwd after pwuid call is NULL.
38515
5a42321d
ST
385162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38517
38518 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38519 when converting to ms.
38520
fd3ebeda
ST
385212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38522
38523 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38524 EOPNOTSUPP errors with ENOTTY.
38525 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38526 EOPNOTSUPP errors with ENOTTY.
38527
73507d3a
UD
385282010-07-31 Ulrich Drepper <drepper@redhat.com>
38529
38530 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38531 Add strcasecmp_l-ssse3.
38532 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38533 strcasecmp.
38534 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38535 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38536 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38537
fe36dd02
UD
385382010-07-30 Ulrich Drepper <drepper@redhat.com>
38539
66f6765a
UD
38540 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38541
42e08a54
UD
38542 * string/Makefile (strop-tests): Add strcasecmp.
38543 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38544 strcasecmp_l-nonascii.
38545 (gen-as-const-headers): Add locale-defines.sym.
38546 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38547 * sysdeps/x86_64/strcasecmp.S: New file.
38548 * sysdeps/x86_64/strcasecmp_l.S: New file.
38549 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38550 * sysdeps/x86_64/locale-defines.sym: New file.
38551 * string/test-strcasecmp.c: New file.
38552
fe36dd02
UD
38553 * string/test-strcasestr.c: Test both ends of the range of characters.
38554 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38555
48cbc0d6
RM
385562010-07-29 Roland McGrath <roland@redhat.com>
38557
76e6d6bc 38558 [BZ #11856]
48cbc0d6
RM
38559 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38560
880113d9
UD
385612010-07-27 Ulrich Drepper <drepper@redhat.com>
38562
38563 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38564 for ld.so.
38565
deb9cabb
AS
385662010-07-27 Andreas Schwab <schwab@redhat.com>
38567
38568 * manual/memory.texi (Malloc Tunable Parameters): Document
38569 M_PERTURB.
38570
1c7570ff
RM
385712010-07-26 Roland McGrath <roland@redhat.com>
38572
38573 [BZ #11840]
38574 * configure.in (-fgnu89-inline check): Set and substitute
38575 gnu89_inline, not libc_cv_gnu89_inline.
38576 * configure: Regenerated.
38577 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38578
24fb0f88
UD
385792010-07-26 Ulrich Drepper <drepper@redhat.com>
38580
38581 * string/test-strnlen.c: New file.
38582 * string/Makefile (strop-tests): Add strnlen.
38583 * string/tester.c (test_strnlen): Add a few more test cases.
38584 * string/tst-strlen.c: Better error reporting.
38585
38586 * sysdeps/x86_64/strnlen.S: New file.
38587
8e96b93a
UD
385882010-07-24 Ulrich Drepper <drepper@redhat.com>
38589
38590 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38591 lower-latency instructions.
38592
dbc676d4
UD
385932010-07-23 Ulrich Drepper <drepper@redhat.com>
38594
38595 * string/test-strcasestr.c: New file.
38596 * string/test-strstr.c: New file.
38597 * string/Makefile (strop-tests): Add strstr and strcasestr.
38598 * string/str-two-way.h: Don't undefine MAX.
38599 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38600
f6a31e0e
AS
386012010-07-21 Andreas Schwab <schwab@redhat.com>
38602
38603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38604 strcasestr-nonascii.
38605 (CFLAGS-strcasestr-nonascii.c): Define.
38606 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38607 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38608 Remove unused attribute.
38609
5dbc3b6c
RM
386102010-07-20 Roland McGrath <roland@redhat.com>
38611
38612 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38613 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38614 ld.so.cache was broken. With it, there is no way to disable dsocaps
38615 like LD_HWCAP_MASK can disable hwcaps.
38616
23d101d8
EPM
386172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38618
38619 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38620
cc9f2e47
UD
386212010-07-16 Ulrich Drepper <drepper@redhat.com>
38622
38623 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38624 call in strcasestr.
38625 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38626 __strcasestr_sse42_nonascii.
38627 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38628 strcasestr-nonascii.c.
38629 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38630
77c1b069
LM
386312010-06-15 Luis Machado <luisgpm@br.ibm.com>
38632
38633 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38634 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38635 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38636 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38637
440566c3
UD
386382010-07-09 Ulrich Drepper <drepper@redhat.com>
38639
38640 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38641 fcntl.
38642
5be9d05d
AS
386432010-07-06 Andreas Schwab <schwab@redhat.com>
38644
c30b7ee2 38645 [BZ #11577]
5be9d05d
AS
38646 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38647 dl_signal_cerror.
38648
8a492a67
UD
386492010-07-06 Ulrich Drepper <drepper@redhat.com>
38650
38651 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38652 _PC_PIPE_BUF using F_GETPIPE_SZ.
38653
713df3d5
RM
386542010-07-05 Roland McGrath <roland@redhat.com>
38655
38656 * manual/arith.texi (Rounding Functions): Fix rint description
38657 implicit in round description.
38658
702e8f14
UD
386592010-07-02 Ulrich Drepper <drepper@redhat.com>
38660
38661 * elf/Makefile: Fix linking for a few tests to make recent linker
38662 happy.
38663
52ed8be9
AS
386642010-06-30 Andreas Schwab <schwab@redhat.com>
38665
38666 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38667 $(common-objpfx)libc_nonshared.a.
38668
f47c9a11
LM
386692010-06-21 Luis Machado <luisgpm@br.ibm.com>
38670
38671 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38672 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38673 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38674 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38675 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38676 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38677 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38678 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38693 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38694 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38695 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38696 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38697 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38698 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38699 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38700 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38701 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38702 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38703 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38704 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38719
6fb8cbcb
L
387202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38721
38722 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38723 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38724 * string/memmove.c (memmove): Renamed to ...
38725 (MEMMOVE): ...this. Default to memmove.
38726 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38727 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38728 (END_CHK): Define.
38729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38730 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38731 mempcpy-ssse3-back memmove-ssse3-back.
38732 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38733 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38734 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38735 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38736 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38737 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38738 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38739 * sysdeps/x86_64/multiarch/memmove.c: New file.
38740 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38741 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38742 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38743 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38744 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38745 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38746 Define.
38747 (index_Fast_Copy_Backward): Define.
38748 (HAS_ARCH_FEATURE): Define.
38749 (HAS_FAST_REP_STRING): Define.
38750 (HAS_FAST_COPY_BACKWARD): Define.
38751
4e733bac 387522010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38753
38754 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38755 Restore proper fallback handling.
38756
63c4ed22
UD
387572010-06-19 Ulrich Drepper <drepper@redhat.com>
38758
ac2b484c
UD
38759 [BZ #11701]
38760 * posix/group_member.c (__group_member): Correct checking loop.
38761
63c4ed22
UD
38762 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38763 OOM in getpwuid_r correctly. Return error number when the caller
38764 should return, otherwise -1.
38765 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38766 call returning > 0 value.
38767 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38768
765ade4b
AS
387692010-06-07 Andreas Schwab <schwab@redhat.com>
38770
38771 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38772 libc_nonshared.a from targets in modules-names.
38773
80da2e09
KS
387742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38775
38776 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38777 requires it.
38778
158db122
LM
387792010-06-10 Luis Machado <luisgpm@br.ibm.com>
38780
38781 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38782 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38783 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38785
caa78cf8
AS
387862010-06-02 Andreas Schwab <schwab@redhat.com>
38787
38788 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38789
b2ef2c01
UD
387902010-06-14 Ulrich Drepper <drepper@redhat.com>
38791
38792 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38793 and F_GETPIPE_SZ.
38794 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38798 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38799 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38800
fbd643b6
RM
388012010-06-14 Roland McGrath <roland@redhat.com>
38802
38803 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38804
f32f2869
JJ
388052010-06-07 Jakub Jelinek <jakub@redhat.com>
38806
38807 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38808 __REDIRECT followed by __THROW.
38809 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38810 * posix/getopt.h (getopt): Likewise.
38811
2a50c078
EPM
388122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38813
38814 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38815 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38816 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38817 in AT_FLAGS.
38818 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38819 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38820
eb5ad2eb
LM
388212010-05-28 Luis Machado <luisgpm@br.ibm.com>
38822
38823 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38824
3c88fe1e
L
388252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38826
38827 [BZ #11640]
38828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38829 Properly check family and model.
38830
d2f73151
TY
388312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38832
38833 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38834
ebd2e13d
LM
388352010-05-24 Luis Machado <luisgpm@br.ibm.com>
38836
38837 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38838
b32b8b45
UD
388392010-05-21 Ulrich Drepper <drepper@redhat.com>
38840
38841 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38842 symbol reference.
38843
9acbe24d
AS
388442010-05-19 Andreas Schwab <schwab@redhat.com>
38845
38846 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38847 symbol reference.
38848
f0ccf6ea
AS
388492010-05-21 Andreas Schwab <schwab@redhat.com>
38850
3d04ff3a
AS
38851 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38852 and internal_recvmmsg.
38853 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38854 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38855 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38856 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38857
f0ccf6ea
AS
38858 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38859 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38860 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38861
5b08ac57
AS
388622010-05-20 Andreas Schwab <schwab@redhat.com>
38863
38864 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38865
4828935d
LM
388662010-05-17 Luis Machado <luisgpm@br.ibm.com>
38867
38868 POWER7 optimizations.
38869 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38870 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38871
373d545e
UD
388722010-05-19 Ulrich Drepper <drepper@redhat.com>
38873
38874 * version.h: Update for 2.13 development version.
38875
21a2b1ae
AS
388762010-05-12 Andrew Stubbs <ams@codesourcery.com>
38877
38878 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38879 exceptions. Return 0.
38880
3f7dcb2b
RM
388812010-05-07 Roland McGrath <roland@redhat.com>
38882
38883 * elf/ldconfig.c (main): Add a const.
38884
5f24d53a 388852010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38886
a160f8d8
UD
38887 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38888 (args_options): Add no-idn option.
38889 (ahosts_keys_int): Add idn_flags to ai_flags.
38890 (parse_option): Handle 'i' option to clear idn_flags.
38891
5f24d53a
UD
38892 * malloc/malloc.c (_int_free): Possible race in the most recently
38893 added check. Only act on the data if no current modification
38894 happened.
265bb1ce
UD
38895
38896See ChangeLog.17 for earlier changes.
This page took 4.994808 seconds and 5 git commands to generate.